Commit Graph

217 Commits

Author SHA1 Message Date
Athou
379e342e30 added on-demand database cleanup (date is hardcoded for the moment) 2013-06-16 12:06:59 +02:00
Athou
cabea47995 throw an exception if there are no items in the feed 2013-06-12 05:12:38 +02:00
Athou
7bb660986e use pathparam for id 2013-06-11 14:42:17 +02:00
Athou
1d8876a030 log levels 2013-06-11 13:52:27 +02:00
Athou
ddd65f69bf change favicon rest method to accept a subscription id 2013-06-11 13:47:23 +02:00
Athou
5d5b223ffb prevent NPE 2013-06-11 08:08:27 +02:00
Athou
17a1783789 refactoring favicon fetcher 2013-06-11 07:27:57 +02:00
Athou
2df2bae826 store last entry date 2013-06-10 13:24:31 +02:00
Athou
6b99489fcb use pubsub infos from fetched feed, not the existing feed 2013-06-10 13:22:45 +02:00
Athou
2baa2bbfe5 store average entry interval and use it to decide when to reschedule feed refresh when it returns 304 2013-06-10 12:53:46 +02:00
Athou
d855455b54 store feed content hash 2013-06-09 16:22:38 +02:00
Athou
703fd91856 validate published date only if not null 2013-06-09 06:42:25 +02:00
Athou
ca64278c08 use entry date if more recent than feed published date 2013-06-08 22:35:19 +02:00
Athou
3572c0344e use entry date if more recent than feed published date 2013-06-08 22:31:34 +02:00
Athou
517b92c35c change log level 2013-06-08 22:22:43 +02:00
Athou
f5930fcab5 better log line 2013-06-08 22:15:13 +02:00
Athou
349ed7f223 add a day to make sure we don't have issues with timezones 2013-06-08 22:13:44 +02:00
Athou
d820d9738e make sure the date is in the past 2013-06-08 22:00:22 +02:00
Athou
56c0e7f6e2 use table generator for better batch insert performances 2013-06-08 21:56:49 +02:00
Athou
a9dc2f05f7 validate the date 2013-06-08 21:56:01 +02:00
Athou
ceeeee8466 Merge remote-tracking branch 'origin/master' into tg 2013-06-08 21:47:45 +02:00
Athou
19a4a58d9e use publishedDate from feed to determine if we need to handle feed entries or not 2013-06-08 21:47:19 +02:00
Athou
27804db165 make sure the entry has been updated 2013-06-07 15:54:47 +02:00
Athou
6bce9eb8ac make sure the feed was not in error before using its last disabled date 2013-06-06 12:20:20 +02:00
Athou
be6db080fd hibernate tweaks 2013-06-06 09:54:17 +02:00
Athou
5661b00c9b reuse previous disabled period if available 2013-06-06 08:45:55 +02:00
Athou
dbe7b48a04 merge push infos into feeds 2013-06-05 21:50:26 +02:00
Athou
39f1a19c14 removed as it in fact hurts perfs 2013-06-05 18:37:24 +02:00
Athou
87d3cb6c34 handle entries with no title 2013-06-04 15:11:35 +02:00
Athou
1445486d4b tweaking for feeds returning 304 2013-06-04 13:50:23 +02:00
Athou
502938a1df refresh pubsubhubbub subscriptions every three days 2013-06-03 06:50:36 +02:00
Athou
4ba2f5dbd9 moving some code around 2013-06-02 19:44:25 +02:00
Athou
a3cc4ee269 use title if content is empty for rtl detection 2013-06-02 19:42:25 +02:00
Ebrahim Byagowi
c1d5c699a2 Some improvments for having better support for RTL/BiDi contents 2013-06-02 20:53:41 +01:00
Athou
4e7bcd004d make sure we have content 2013-05-31 09:31:59 +02:00
Athou
d0e37af52b keep text only before detecting direction, use jsoup because bidiutils html stripping is too restrictive 2013-05-31 09:28:51 +02:00
Athou
9568ccfeac experimental rtl support (#209) 2013-05-31 08:23:30 +02:00
Athou
ca82c3c369 make sure we have something to filter 2013-05-30 18:58:54 +02:00
Athou
2bd89f8238 filter list if not too large only 2013-05-30 15:26:39 +02:00
Athou
f9e9010545 revert to old factor 2013-05-30 15:23:07 +02:00
Athou
a2f28f2565 reduce factor to 2 for heavy load 2013-05-30 14:56:03 +02:00
Athou
7df071b023 use all timestamps available to build average time 2013-05-30 13:58:37 +02:00
Athou
2ba1614f1d filter out old entries 2013-05-30 13:51:18 +02:00
Athou
63349d6e14 small refactoring 2013-05-30 13:18:26 +02:00
Athou
47b9f49831 make sure we have something to do before entering synchronized block 2013-05-30 12:57:14 +02:00
Athou
4da9fca7ea Revert for the moment as it breaks pubsub handling 2013-05-30 11:55:15 +02:00
Athou
0aee6850d5 use a onetomany relationship for push info to avoid hibernate automatic lazy loading of onetoone optional relationships 2013-05-30 10:28:40 +02:00
Athou
145285dd20 handle entry content only if the entry is new 2013-05-29 16:42:45 +02:00
Athou
ed18bc55b7 fix opml export not showing head and title 2013-05-29 16:37:22 +02:00
Athou
5dad786802 no guid and no link, skip entry 2013-05-28 21:53:58 +02:00