Commit Graph

109 Commits

Author SHA1 Message Date
Gilles Crettenand
b611de131e also add date to books when not already set, also try to keep files from solr when available 2015-06-01 11:18:50 +02:00
Gilles Crettenand
cf6aa06ba6 rename AddFiles to AddBookData since we plan on adding more data 2015-06-01 11:03:12 +02:00
Gilles Crettenand
112ac74355 use new batch mode to add files 2015-06-01 10:01:20 +02:00
Gilles Crettenand
33649ccc03 rehabilitate the use of $start, and remove unused parameter 2015-05-29 15:57:42 +02:00
Gilles Crettenand
c83df2c7f6 prepare the way for batch files getting 2015-05-29 15:54:36 +02:00
Gilles Crettenand
d04c98fc33 mobile app compatibility 2015-05-29 15:08:50 +02:00
Gilles Crettenand
b2f876fd82 mobile apps need to have a 'files' array even empty 2015-05-29 13:22:02 +02:00
Gilles Crettenand
d8b48e8764 compatibility with iOS / Android apps 2015-05-29 12:48:13 +02:00
Gilles Crettenand
459237a3f5 separate editor and year like in solr 2015-05-29 11:42:44 +02:00
Gilles Crettenand
150d37b5ea restore compatibility with iOS and Android 2015-05-29 11:30:55 +02:00
Gilles Crettenand
b1abe9d446 we are expecting an array not a SolrObject 2015-05-29 11:23:02 +02:00
Gilles Crettenand
3e773bd32a fix issue where result was also top level in returned json 2015-05-29 11:20:31 +02:00
Gilles Crettenand
72ef14ad93 new fields name also in query result 2015-05-29 11:16:59 +02:00
Gilles Crettenand
f9c85c73dd Adapt to new Solr config :
- category -> genre
- cover in solr
- producer -> producerCode
2015-05-29 11:01:24 +02:00
Gilles Crettenand
28b4b8a985 move all exception declaration to their own file 2015-05-29 09:39:25 +02:00
Gilles Crettenand
16860ce7f7 better random book filter 2015-05-28 12:36:02 +02:00
Gilles Crettenand
47f9ce93be fix a bug : func is not yet filled before calling Call 2015-05-28 10:37:53 +02:00
Gilles Crettenand
2281c9a534 do not get deleted books on random 2015-05-28 10:34:59 +02:00
Gilles Crettenand
4821497804 new function to get Random Books 2015-05-28 10:20:41 +02:00
Gilles Crettenand
55a80f3d65 cleanup AddDownloadLog 2015-05-28 09:52:25 +02:00
Gilles Crettenand
fdf081493e Directly return data instead of using an Output method 2015-05-28 09:32:40 +02:00
Gilles Crettenand
4c85a079ed small SQL cleanup 2015-05-28 09:22:27 +02:00
Gilles Crettenand
90a1d8a6b6 no need to try to get files if we have no code 2015-05-28 09:22:22 +02:00
Gilles Crettenand
6afa8b55f7 Cleanup unused methods and code formatting 2015-05-21 16:04:36 +02:00
Gilles Crettenand
0d6841d106 Improve speed of wish related function 2015-05-21 15:07:54 +02:00
Gilles Crettenand
3406e640e9 catch all exceptions so that we have logs 2015-05-21 14:33:25 +02:00
Gilles Crettenand
eed4a1ef9c avoid calling non existing method 2015-05-21 14:32:13 +02:00
Gilles Crettenand
c1b68ccfe6 This static property does not exists anymore 2015-05-21 14:30:36 +02:00
Gilles Crettenand
a7705060a0 Raise a BookNotFoundException when the book is not found 2015-05-21 14:30:19 +02:00
Gilles Crettenand
c26e624480 book are not objects anymore 2015-05-21 14:25:43 +02:00
Gilles Crettenand
db1a9e911e return array instead of hashes 2015-05-21 10:59:33 +02:00
Gilles Crettenand
0a23f9deee books must be grouped by type 2015-05-20 16:33:29 +02:00
Gilles Crettenand
3400132b1b restore LastBooksByType 2015-05-20 16:27:28 +02:00
Gilles Crettenand
71b2af844f also use raw for wishes 2015-05-20 15:51:00 +02:00
Gilles Crettenand
a4713135f3 use improved method for get(Old)Circulations 2015-05-20 15:44:26 +02:00
Gilles Crettenand
afca12a232 remove LastBooksByType from the WS 2015-05-20 15:27:58 +02:00
Gilles Crettenand
c897f2c9c6 always load details in the same query 2015-05-20 15:22:51 +02:00
Gilles Crettenand
bb7c99e190 Old search always start at page 0 2015-05-19 16:25:04 +02:00
Gilles Crettenand
4160e2b3a7 Remove unused shortcuts 2015-05-19 12:49:20 +02:00
Gilles Crettenand
5018bf35ec Allow to avoid escaping in Solr query 2015-05-19 12:39:15 +02:00
Gilles Crettenand
11f315c458 Escape solr query, better query type management 2015-05-19 12:22:49 +02:00
Gilles Crettenand
de1d465ad3 Set queryType on old search 2015-05-19 11:10:39 +02:00
Gilles Crettenand
43829212be README.md edited online with Bitbucket 2015-05-18 08:05:19 +00:00
Gilles Crettenand
34fe2d52eb Adapt log file path to new server 2015-05-18 09:53:21 +02:00
Gilles Crettenand
84fba47661 Catch solr exceptions 2015-05-13 16:24:18 +02:00
Gilles Crettenand
5f3da4e586 more adaptation to new Solr config 2015-05-13 16:24:01 +02:00
Gilles Crettenand
6c33a2490e new path for covers 2015-05-13 15:57:30 +02:00
Gilles Crettenand
6669315735 fix solr with new config 2015-05-13 15:57:05 +02:00
Gilles Crettenand
b3986ed049 ignore logs and temporary files 2015-05-13 15:56:47 +02:00
Gilles Crettenand
ec7e2710f5 Adapt to new Solr config 2015-05-13 15:40:05 +02:00