Commit Graph

175 Commits

Author SHA1 Message Date
Athou
fcb6ad2af2 domain name not needed 2013-04-24 11:41:13 +02:00
Athou
b767980fe5 import using small database transactions, not a huge one with the whole OPML in it, prevents long table lock 2013-04-24 05:13:06 +02:00
Athou
23e6915643 use java classes instead of scala ones 2013-04-23 21:29:16 +02:00
Athou
5bba598b2e allows http threads to continue their job by asynchronously queuing database updates 2013-04-23 21:16:30 +02:00
Athou
c71b0aee96 don't batch refresh more than 100 feeds 2013-04-23 16:00:18 +02:00
Athou
83946373d9 use a constant instead 2013-04-23 15:58:56 +02:00
Athou
5c4df4e451 handle background threads ourselves, leave the stateless pool intact 2013-04-23 10:51:05 +02:00
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
29b3b92b85 throw an exception when needed, prevents html error pages parsing 2013-04-23 09:14:18 +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
6011411dc4 google analytics support 2013-04-22 20:49:24 +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
1cd153a4ba typo 2013-04-22 11:58:06 +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
c3a271fcd0 not needed anymore as we now strip utf8 4-byte characters 2013-04-21 18:59:38 +02:00
Athou
1e94cc434c skipping initial entries marking as the query takes too long to complete and locks the database 2013-04-21 18:57:31 +02:00
Athou
1f15cabfa5 strip down utf8 4-byte characters 2013-04-21 18:38:28 +02:00
Athou
0204dadc3f make sure dates are in an acceptable interval 2013-04-21 16:56:09 +02:00
Athou
e161ff4167 create a demo user on startup and prevent any profile modification 2013-04-21 13:50:10 +02:00
Athou
d4fa817983 import opml asynchronously 2013-04-21 12:39:10 +02:00
Athou
0cc26b9380 don't encode all html entities (#46) 2013-04-21 12:13:02 +02:00
Athou
c1db200c54 move write lock to feed creation only 2013-04-21 11:24:45 +02:00
Athou
d39503f586 handle opml 1.1 (from theoldreader) 2013-04-21 09:05:51 +02:00
Athou
35447ce3a3 make sure the title is not null 2013-04-20 12:27:52 +02:00
Athou
873aef829f etag column length not large enough 2013-04-19 15:22:39 +02:00
Athou
e10f25c601 allow unsecure https connections 2013-04-19 13:24:46 +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
f8a7241bc1 disable http retry manager 2013-04-19 11:49:22 +02:00
Athou
185c5de7af store duration of fetching 2013-04-19 09:37:07 +02:00
Athou
a4a7f6389c faster way of extracting declared encoding 2013-04-19 09:36:58 +02:00
Athou
38dd8237cf allow storage of 4-byte utf8 characters 2013-04-19 09:19:46 +02:00
Athou
6fdd07f810 store last login user timestamp 2013-04-18 16:58:56 +02:00
Athou
db8fc29d4f don't update the database if the feed didn't change 2013-04-18 13:22:59 +02:00
Athou
af109ccf5c fix for admin api 2013-04-18 13:08:17 +02:00
Athou
715dc8783f refactored resource classes 2013-04-17 16:49:43 +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
703a3bf0d5 make sure the title is not too long 2013-04-16 12:57:40 +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