Commit Graph

140 Commits

Author SHA1 Message Date
Athou
f230ad74b1 store normalized urls 2013-07-02 16:56:25 +02:00
Athou
8997024eb7 set a timeout on more queries 2013-07-01 21:15:32 +02:00
Athou
d3dd084dd7 better refresh algorithm using queues instead of synchronous database call 2013-06-30 12:35:17 +02:00
Athou
5a907dd093 fix exception when renaming a subscription with no parent category 2013-06-28 06:38:54 +02:00
Athou
97f3efbf7c fix postgresql deployment (fix #350) 2013-06-27 23:30:16 +02:00
Athou
57e08fdd36 cache subscriptions and categories 2013-06-27 12:49:50 +02:00
Athou
42a26b86ed cache settings and roles 2013-06-27 12:49:50 +02:00
Athou
d98a1621c8 cache users 2013-06-27 12:49:50 +02:00
Athou
0ff4438731 utility methods for enabling query cache and read only queries 2013-06-27 12:49:49 +02:00
Athou
158abadf19 use date constructor directly when a calendar is not needed, better performances 2013-06-25 16:57:48 +02:00
Athou
ad619a5262 filter duplicates 2013-06-23 16:10:34 +02:00
Athou
8936a0c784 faster existing entry detection 2013-06-23 15:16:21 +02:00
Athou
ddfca39d61 search in read items too (#325) 2013-06-22 16:41:35 +02:00
Athou
91f6a43b2f set timeout on unread count too 2013-06-22 06:21:37 +02:00
Athou
604343c3ce batch fetch for all subscription query 2013-06-21 09:38:49 +02:00
Athou
f4170b12f2 remove debug line 2013-06-21 09:18:40 +02:00
Athou
1b37e95336 smarter queries for other types 2013-06-20 23:31:28 +02:00
Athou
a203246e04 smarter findAll query 2013-06-20 16:49:18 +02:00
Athou
285baaafb7 added feeds cleanup method 2013-06-19 17:01:28 +02:00
Athou
5ce780e6a2 purge entries as well as statuses 2013-06-19 13:29:56 +02:00
Athou
491af8a6df don't sort when just marking 2013-06-18 13:48:07 +02:00
Athou
238a57cc27 database agnostic cleanup query 2013-06-18 13:00:03 +02:00
Athou
c4bb8da746 faster cleanup query 2013-06-18 10:34:11 +02:00
Athou
9b53e2b0fb better cleaning method 2013-06-18 08:54:53 +02:00
Athou
09533b8f24 wrong method called 2013-06-16 16:51:49 +02:00
Athou
e6a091d351 don't delete in a big transaction 2013-06-16 16:32:46 +02:00
Athou
c2f0efb448 not a good idea with maxresults, revert and use the same batch size as default_batch_fetch_size 2013-06-16 15:54:37 +02:00
Athou
93de8e48dc join fetch statuses 2013-06-16 15:48:27 +02:00
Athou
56f4f33707 cleanup by batch of 1000 2013-06-16 15:40:33 +02:00
Athou
379e342e30 added on-demand database cleanup (date is hardcoded for the moment) 2013-06-16 12:06:59 +02:00
Athou
05893088c7 optimized query when only a single category is needed 2013-06-15 15:40:55 +02:00
Athou
949ec1fd89 distinct not needed 2013-06-15 15:37:31 +02:00
Athou
cc1248f350 remove unnecessary join 2013-06-13 13:40:13 +02:00
Athou
b8a8a2b86d relationships are not nullable, no point in doing a left join 2013-06-12 16:57:31 +02:00
Athou
c6a9fdc8c3 flush the session for large inserts 2013-06-12 05:08:27 +02:00
Athou
62a77278ff load feeds only when needed 2013-06-12 05:05:10 +02:00
Athou
33f10f5e9c limit query execution time to 20s 2013-06-12 04:58:19 +02:00
Athou
23dd016f42 lazy load feeds from entries 2013-06-08 17:00:36 +02:00
Athou
ec163da9db removed easycriteria 2013-06-08 16:15:11 +02:00
Athou
feda8ca834 optional query parameter to filter out old entries from results 2013-06-08 14:09:46 +02:00
Athou
bff817b465 not useful 2013-06-07 15:45:58 +02:00
Athou
fe9797bd83 portable way to unwrap the session (#266) 2013-06-07 15:10:41 +02:00
Athou
6af55dfdb6 start at 1 since 0 % 0 is 0 2013-06-06 15:33:44 +02:00
Athou
66abb68097 tweaking params 2013-06-06 10:57:58 +02:00
Athou
be6db080fd hibernate tweaks 2013-06-06 09:54:17 +02:00
Athou
dbe7b48a04 merge push infos into feeds 2013-06-05 21:50:26 +02:00
Athou
f7b10cb6c6 use distinct for joins and fetches over one to many relationships 2013-06-05 13:42:00 +02:00
Athou
283efe108c fix query for null parent 2013-06-04 10:36:56 +02:00
Athou
555f35407b added rest methods for updating positions 2013-06-02 12:01:58 +02:00
Athou
969e3ca0e9 not needed for count 2013-05-31 16:50:30 +02:00