Commit Graph

270 Commits

Author SHA1 Message Date
Athou
9ea1278823 added utility methods 2013-04-25 14:43:37 +02:00
Athou
735c2efb34 queue feed for refresh after a subscription 2013-04-25 14:41:56 +02:00
Athou
8944687006 new frontend model class instead of using the backend feed model 2013-04-25 13:14:56 +02:00
Athou
98d73ab747 rewrote query (#53) 2013-04-25 13:14:33 +02:00
Athou
effa009241 new fetchedfeed class 2013-04-25 12:30:21 +02:00
Athou
7f80ccec2c name of columns were actually inverted 2013-04-25 07:08:10 +02:00
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
d6597d8cdd simulate internet ag 2013-04-23 11:55:47 +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
21366e15a8 link to log in with demo account on the welcome page 2013-04-21 14:11:49 +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
95bb581405 style error page 2013-04-21 11:12:24 +02:00
Athou
74227c2fef use cdnjs instead of netdna 2013-04-21 10:46:30 +02:00
Athou
cb55865652 attempt to fix invalid_grant error 2013-04-21 10:20:30 +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
d66395c9c0 censoring the logo and restyling the welcome page a little bit 2013-04-20 11:59:40 +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
1ba9d32c9f use basic authentication if cookie is not found 2013-04-19 10:39:13 +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