Commit Graph

73 Commits

Author SHA1 Message Date
Athou
24198689a5 properly detect invalid characters 2013-04-23 09:40:13 +02:00
Athou
8500589943 combine all characters stripping in one place 2013-04-23 09:31:02 +02:00
Athou
92e76d469f check for nulls before querying the database 2013-04-23 09:06:35 +02:00
Athou
64747881de detect encoding and trim invalid characters before parsing xml (#60) 2013-04-23 07:20:21 +02:00
Athou
fbba5dce16 completely disable transactions for background threads 2013-04-22 18:02:57 +02:00
Athou
8376b69f25 prevent NPE 2013-04-22 17:56:30 +02:00
Athou
faaf18f5cf trim unicode characters from url if any 2013-04-22 13:20:17 +02:00
Athou
839beb5d14 small optimizations 2013-04-22 10:23:53 +02:00
Athou
bb5d76109a Integer.MAX_VALUE is actually the maximum value in seconds, construct date with milliseconds (#56) 2013-04-22 09:05:04 +02:00
Athou
d28c74ea25 use a default date instead of null 2013-04-21 23:07:19 +02:00
Athou
0204dadc3f make sure dates are in an acceptable interval 2013-04-21 16:56:09 +02:00
Athou
d4fa817983 import opml asynchronously 2013-04-21 12:39:10 +02:00
Athou
7502707930 check if the feed has changed by using publishDate of the feed or the first entry 2013-04-19 12:53:25 +02:00
Athou
a4a7f6389c faster way of extracting declared encoding 2013-04-19 09:36:58 +02:00
Athou
db8fc29d4f don't update the database if the feed didn't change 2013-04-18 13:22:59 +02:00
Athou
ef3508f393 speed feeds refresh up by using http headers 2013-04-17 12:52:17 +02:00
Athou
8343434882 remove circular dependency 2013-04-17 07:57:43 +02:00
Athou
af4e294a0c log feed url in message when available 2013-04-16 14:57:36 +02:00
Athou
743b389808 initial metrics system 2013-04-16 13:52:20 +02:00
Athou
94251d2be7 ability to queue a feed for refresh 2013-04-16 12:50:41 +02:00
Athou
11a9d68948 transaction not needed 2013-04-16 10:53:56 +02:00
Athou
852f834377 api tweak 2013-04-16 10:42:34 +02:00
Athou
b6d8072090 smarter way of stopping things 2013-04-16 09:29:33 +02:00
Athou
b9fbf0fdf3 force a feed refresh when someone subscribes 2013-04-16 07:30:23 +02:00
Athou
c35363a8cb just log the error and go on 2013-04-15 22:46:41 +02:00
Athou
f8faa69f02 remove serializable as it does not make sense 2013-04-15 11:47:48 +02:00
Athou
0da3ce1bc5 scale based on number of background threads 2013-04-15 10:50:25 +02:00
Athou
5be7c487ad optimizations 2013-04-14 18:51:12 +02:00
Athou
86edd54a21 index hashes 2013-04-14 18:28:48 +02:00
Athou
6217f236fa avoid an extra database roundtrip 2013-04-14 18:12:35 +02:00
Athou
b3465f33c1 cancel threads when application stops/restarts 2013-04-13 11:41:33 +02:00
Athou
c41c4fe8b9 forgot to refresh lastUpdate field 2013-04-13 10:13:41 +02:00
Athou
544ebb8e86 injetions cleanup 2013-04-13 09:17:38 +02:00
Athou
281ff6d883 smarter way of getting the next feed to update 2013-04-13 07:02:59 +02:00
Athou
9d7c6b17c0 don't stop the worker, just log the exception and go on 2013-04-13 06:39:12 +02:00
Athou
5b5ad242e0 major classes refactoring 2013-04-11 20:49:08 +02:00
Athou
54ebf7b9db more threads 2013-04-11 19:35:16 +02:00
Athou
4b49625a8f better background refresh 2013-04-11 19:11:27 +02:00
Athou
70b6fd1fd3 disable feeds for a little bit when unable to refresh the feed several times in a row 2013-04-11 16:50:20 +02:00
Athou
36a9a7a795 format message 2013-04-11 12:57:21 +02:00
Athou
25dd0aab51 propagate exceptions 2013-04-11 12:50:41 +02:00
Athou
84f055b67a store entry content externally and load only when needed 2013-04-11 10:31:19 +02:00
Athou
7d982a440a fix #29 2013-04-09 13:37:00 +02:00
Athou
e6a0247bf1 generate default date when no date is found while parsing entry 2013-04-09 12:52:50 +02:00
Athou
71499b5ed0 fix #19 2013-04-09 11:50:21 +02:00
Athou
7b9bfeb816 fix #25 2013-04-09 09:03:52 +02:00
Athou
99ce880fe0 populate statuses as read when a user subscribes 2013-04-08 15:49:34 +02:00
Athou
b2421eb1ff fix encoding issues with idiots using word for writing content 2013-04-06 16:55:52 +02:00
Athou
648b4017d7 fix NPE when content is empty and fix character encoding issues 2013-04-05 22:38:35 +02:00
Athou
3db578a2d6 remove ejb behavior for services that do not benefit from it 2013-04-05 21:57:22 +02:00