Commit graph

193 commits

Author SHA1 Message Date
Benjamin Kitt 0ef551c8c8 Remove logging 2015-12-12 16:37:02 -06:00
Benjamin Kitt 4845dfa425 Trim leading slash from $_SERVER["SCRIPT_NAME"] so that server side rendered links are relative instead of absolute. 2015-12-12 16:32:58 -06:00
George Litos 62a7034ab8 Merge branch 'master' of github.com:seblucas/cops 2015-10-29 19:46:06 +02:00
Sébastien Lucas 933292553d Add a check for a altered database id in the query. Fixes the problem reported in the issue but there may be a lot more to do.
fix #216
2015-10-14 17:46:59 +02:00
George Litos a141fb50c4 Code cleanup
removing unused code
2015-06-03 13:54:45 +03:00
George Litos 674c9d4846 code cleanup 2015-06-03 13:28:28 +03:00
George Litos d0f0507c99 Transliteration of search text
with the help of drupal transliteration module (https://www.drupal.org/project/transliteration)

please set:
$config ['cops_normalized_search'] = "1";

Issue 49 (https://github.com/seblucas/cops/issues/49) fixed
Goal : search for Honore should return books written by Honoré de Balzac
achieved
2015-05-28 15:16:03 +03:00
Sébastien Lucas 3b855b9e42 Add some comments on the language code normalization 2015-02-06 20:55:32 +01:00
Sébastien Lucas c5c9ffc3b0 Add other unit tests and fix a bug which caused COPS to be in english on a french IE11 2015-02-06 20:55:02 +01:00
Sébastien Lucas bc91c92ced Prepare COPS to handle language and country code. Still some stuff to fix but shouldn't be much. 2015-02-05 21:44:00 +01:00
Sébastien Lucas 37b7ef9037 Prepare next release (hopefully it will be 1.0.0). 2014-12-29 18:25:13 +01:00
Sandy Pleyte 10297299d4 Added a config param to force a specific language 2014-12-27 17:09:27 +01:00
Shin e1567d040f Default template added to configuration 2014-12-24 23:37:39 +01:00
Sébastien Lucas 7ae6041c29 Add a proper test for server side rendering (can check syntax errors). re #171 2014-08-27 10:02:15 +02:00
Sébastien Lucas be50ee2cb8 Update Version to be sure (best way not to forget it) 2014-08-26 22:36:58 +02:00
Sébastien Lucas 3a0b78c9d5 Add a pointer to better show that the switch is clickable. re #79 2014-07-30 21:58:49 +02:00
Sébastien Lucas dfa02b6c11 Clicking on the link switch to bootstrap immediately. re #79 2014-07-30 21:15:40 +02:00
Sébastien Lucas 0f4ef8de02 Add a tricky way of enabling bootstrap theme 2014-07-24 15:22:17 +02:00
Sébastien Lucas f095e9426e Add the number of elements with the publishers. re #79 2014-06-02 22:04:41 +02:00
Sébastien Lucas f8c7c4a3ef Add the nmuber of elemnts in search and multidatabase view. re #79 2014-06-02 21:33:10 +02:00
Sébastien Lucas 270c281741 Centralize a little the code
Should be easier to add the count of element. re #79
2014-06-02 21:31:55 +02:00
Sébastien Lucas 90847eb85b Better bootstrap template with as little text as possible. 2014-05-30 15:00:46 +02:00
Sébastien Lucas 4be0366a0a Centralize the getCount function. 2014-05-30 06:47:38 +02:00
Sébastien Lucas 9aee96d7e2 Centralize some of the database function (linked to the normalized search). re #48, #49 2014-05-28 16:13:57 +02:00
Sébastien Lucas 78d42b48e2 Allow normalized search (without diacritics) it should also fix the case problem with non latin languages (cyrillic).
The last part is not tested.

disclaimer : Slow !

re #49, #48
2014-05-03 17:57:06 +02:00
Sébastien Lucas 15e78a852a Author can now be searched by sort or by name (Carroll, Lewis or Lewis Carroll will work). fix #155 2014-04-30 15:10:37 +02:00
Sébastien Lucas 0442ca9b24 Prepare next version 2014-04-04 22:09:22 +02:00
Sébastien Lucas 362f290972 Update Phing file. 2014-03-20 16:00:54 +01:00
Sébastien Lucas 4b0ff71750 Fix warning 2014-03-10 21:41:35 +01:00
Sébastien Lucas e67e620ba3 Simplify a little getLink 2014-03-10 21:14:54 +01:00
Michael 1ad15d410c adding ratings category to possible ignores and merge lang update (nl)
had to change rating.title to ratings.title due to $keyPlural in base.php#L997
2014-03-05 11:15:20 +01:00
Michael fa61d0e4ed ratings detail title 2014-02-28 11:10:04 +01:00
michael 4b7743397b raw sketch of ratings category 2014-02-27 00:33:40 +01:00
Sébastien Lucas 8803152273 Move all default styles in the templates directory. re #79
--HG--
rename : styles/FontAwesome.otf => templates/default/styles/FontAwesome.otf
rename : styles/font-awesome.css => templates/default/styles/font-awesome.css
rename : styles/fontawesome-webfont.eot => templates/default/styles/fontawesome-webfont.eot
rename : styles/fontawesome-webfont.svg => templates/default/styles/fontawesome-webfont.svg
rename : styles/fontawesome-webfont.ttf => templates/default/styles/fontawesome-webfont.ttf
rename : styles/fontawesome-webfont.woff => templates/default/styles/fontawesome-webfont.woff
rename : styles/style-base.css => templates/default/styles/style-base.css
rename : styles/style-default.css => templates/default/styles/style-default.css
rename : styles/style-eink.css => templates/default/styles/style-eink.css
rename : styles/style-iphone.css => templates/default/styles/style-iphone.css
2014-02-16 16:55:38 +01:00
Sébastien Lucas 655589d407 Duplicate 2014-02-13 18:03:38 +01:00
Sébastien Lucas b397e7e9f8 Bad commit 2014-02-09 21:18:05 +01:00
Sébastien Lucas 034e4bd331 Better bookdetail 2014-02-09 21:17:04 +01:00
Sébastien Lucas 0cf1383db0 Begin the templating 2014-02-06 21:26:20 +01:00
Sébastien Lucas 3e29824a78 Fix some warnings 2014-01-11 18:21:18 +01:00
Sébastien Lucas 1dfdd22f43 Finish the refactoring for Json. 2014-01-08 10:54:16 +01:00
Sébastien Lucas 91aa062860 Big refactoring of the Json handling, I followed what I did from OPDS. It doesn't still feel right but I think it's better. 2014-01-07 21:22:35 +01:00
Sébastien Lucas f651184928 Fix trailing spaces 2014-01-06 21:24:45 +01:00
Sébastien Lucas e96eaf86e5 Add a test for function creation. I can't manage to make it fail when needed. Still I'll commit anyway ! 2014-01-06 21:24:11 +01:00
Sébastien Lucas c829a3fe74 Prepare next version 2014-01-02 12:23:37 +01:00
Sébastien Lucas dbe6dedd44 Try to simplify a little the search. 2014-01-02 12:23:04 +01:00
Sébastien Lucas 55a82f5d93 Next version will be 0.9.0 2013-12-31 11:26:26 +01:00
Sébastien Lucas f8249e73c6 Add the search by category with the standard search. Again inspired by At-Libitum. re #34 2013-12-23 08:58:56 +01:00
Sébastien Lucas 9a15d0e1a4 Integrate a little better the typeahead search in the normal search page. Heavily based on At-Libitum work. re #34 2013-12-22 18:40:03 +01:00
Sébastien Lucas ebbd830a33 Refactorize a little. re #127 2013-12-20 15:16:57 +01:00
Sébastien Lucas 1c50ed49fe little code refactoring. re #34 2013-12-19 08:38:26 +01:00