Commit graph

105 commits

Author SHA1 Message Date
Joerg Reichert
5ef5975ad7 by default sort by published date, as initial web site shows all papers and thus there is no query yet that can be sorted by relevance 2016-03-26 13:40:39 +01:00
Joerg Reichert
0718e86f07 added mapping for attribute published_at to fix sorting by date. Note this requires rebuilding the elasticsearch index 2016-03-26 13:33:27 +01:00
Joerg Reichert
1734b8bfd6 Login button entfernt 2016-03-26 10:00:04 +01:00
Joerg Reichert
46f795fb88 fixed rss content and added header information to rss link 2016-03-02 22:48:59 +01:00
Joerg Reichert
1b7d35a7b8 first version of RSS builder 2016-03-02 21:27:34 +01:00
Lars Henrik Mai
9ae58e3a8d Add spec for search result pagination 2016-02-24 11:39:12 +01:00
Lars Henrik Mai
fda0d54717 Update kaminari pagination views 2016-02-24 10:58:15 +01:00
Lars Henrik Mai
e98655cbc2 Hide search score from items 2016-02-23 11:37:53 +01:00
Lars Henrik Mai
25ceb50141 Rework search-results markup 2016-02-23 11:04:50 +01:00
Lars Henrik Mai
6dd6387b39 Initial feature spec for search page 2016-02-19 08:22:59 +01:00
Lars Henrik Mai
463d01f44f Fix label for filter_select inputs 2016-02-18 09:06:06 +01:00
Lars Henrik Mai
4e2c37f67f Fix html in layout 2016-02-18 08:48:28 +01:00
Lars Henrik Mai
8890354909 Simplify search_params in search_controller 2016-02-17 21:04:53 +01:00
Lars Henrik Mai
d790e97535 Create environment specific index name for papers
This will require re-indexing your development database
2016-02-17 20:45:29 +01:00
Lars Henrik Mai
fce65636f7 Make PaperSearch persistent 2015-11-23 22:10:45 +01:00
Lars Henrik Mai
7d2314fb6d Use form builder for search form 2015-11-23 22:10:44 +01:00
Lars Henrik Mai
19616d215e Start using form builder for Paper Search Query 2015-11-23 22:10:44 +01:00
Lars Henrik Mai
f883df3347 Use PaperSearch definition in controller 2015-11-23 22:10:44 +01:00
Lars Henrik Mai
8929f07745 Add option for sort criteria to form 2015-11-23 22:10:44 +01:00
Lars Henrik Mai
c434dc3e85 Show search score in search results 2015-11-23 22:10:44 +01:00
Lars Henrik Mai
2ec222281c Extract search query into own class 2015-11-23 22:10:44 +01:00
Lars Henrik Mai
ebca521e2f Refactor and expand Paper validations 2015-11-23 22:10:43 +01:00
Lars Henrik Mai
d5849c2bea Add paper validation tests 2015-11-23 22:10:43 +01:00
Lars Henrik Mai
ae8ff0e95e use german analyzer 2015-07-18 12:44:40 +02:00
Lars Henrik Mai
25e7a580a8 split originator on indexing 2015-07-18 12:44:40 +02:00
Lars Henrik Mai
df8c525159 display count of facets in filter selects 2015-07-18 12:44:40 +02:00
Lars Henrik Mai
d27f78afba fix aggregations to work more like drill down 2015-07-18 12:44:40 +02:00
Lars Henrik Mai
2b7ab65432 reenable select boxes for filter by facets 2015-07-18 12:44:40 +02:00
Lars Henrik Mai
2caec3d721 fix facets attribute access 2015-07-18 12:44:40 +02:00
Lars Henrik Mai
4aa0b2424b refactor facets_list helper 2015-07-18 12:44:40 +02:00
Lars Henrik Mai
1cf5485356 add filter for originator 2015-07-18 12:44:39 +02:00
Lars Henrik Mai
41ed4a9674 add filter by paper_type 2015-07-18 12:44:39 +02:00
Lars Henrik Mai
7a7083c2ad helper for facet lists 2015-07-18 12:44:39 +02:00
Lars Henrik Mai
cb877d510e originator facets 2015-07-18 12:44:39 +02:00
Lars Henrik Mai
f709c399be paper_type facets 2015-07-18 12:44:39 +02:00
Lars Henrik Mai
5b677ab3ca use dsl for search definition and fix pagination 2015-07-18 12:43:43 +02:00
Andreas Haller
8afc7c9c93 Make papers.published_at optional 2015-07-08 20:04:50 +02:00
Lars Henrik Mai
be19256457 adds filters and breaks pagination 2015-05-18 22:14:46 +02:00
Andreas Haller
ff58856c99 Localize date format via rails-i18n 2015-05-17 19:19:59 +02:00
Andreas Haller
b1197df490 Sort by published_at 2015-05-17 19:18:23 +02:00
Andreas Haller
46de026234 Add importer model, validations to paper model 2015-05-17 18:30:03 +02:00
Andreas Haller
568abb631f Hide TODO 2015-04-28 00:49:42 +02:00
Andreas Haller
5ea5aae4b8 Don’t import the same URI multiple times
Use url as unique identifier during import
2015-04-28 00:47:57 +02:00
Andreas Haller
553c1e653c Show the number of all papers on homepage 2015-04-27 23:28:35 +02:00
Andreas Haller
40eeac2021 Add pagination via kaminari 2015-04-27 23:14:48 +02:00
Andreas Haller
f71c083722 Show last 30 papers on homepage 2015-04-27 22:35:11 +02:00
Andreas Haller
973af9f0d9 Replace direct ES access with elasticsearch-model 2015-04-27 21:26:37 +02:00
Andreas Haller
2b4281ad87 Import JSON data from morph.io via rake task
Usage: 
MORPH_API_KEY=‘your key’ b rake import_papers:from_morph
2015-04-27 21:03:58 +02:00
Andreas Haller
d39f00165e Add Paper model, Paper.import_from_csv 2015-04-13 22:09:28 +02:00
Andreas Haller
6bda241d8b Autofocus search field 2014-11-19 23:01:18 +01:00
Andreas Haller
82e61eb651 Add TODO: Pagination 2014-11-19 22:34:14 +01:00
Andreas Haller
c20a77dfa7 Show 30 results by default 2014-11-19 22:33:43 +01:00
Andreas Haller
3d721d1759 Tweak layout 2014-11-19 22:33:16 +01:00
Andreas Haller
2abba45f4c Query ES, show results 2014-11-19 21:55:51 +01:00
Andreas Haller
7cd9f207f5 Start with a Rails app with authentication via Persona, Foundation CSS 2014-11-19 18:48:28 +01:00