Commit graph

259 commits

Author SHA1 Message Date
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
6381136bf2 Add pry and awesome-print gems 2015-11-23 22:10:43 +01:00
Lars Henrik Mai
e87192888a Fix return path in authentication integration test 2015-11-23 22:10:43 +01:00
Lars Henrik Mai
ebca521e2f Refactor and expand Paper validations 2015-11-23 22:10:43 +01:00
Lars Henrik Mai
d6571e4042 Add validate_url gem 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
3b4f158ea5 fix some warnings 2015-11-23 22:10:43 +01:00
Lars Henrik Mai
e99a516647 add shoulda gem 2015-11-23 22:10:42 +01:00
Lars Henrik Mai
65646e6fe8 add faker gem 2015-11-23 22:10:42 +01:00
Lars Henrik Mai
9bb2e7ce73 add quiet_assets and factory_girls gems 2015-11-23 22:10:42 +01:00
Lars Henrik Mai
688851d2d1 Fix importer rake task 2015-11-09 21:41:31 +01:00
Lars Henrik Mai
ef27bce6a9 Add config file for morph for importing papers 2015-11-09 21:35:32 +01:00
Andreas Haller
5bda50a753 Rename import task to import_papers 2015-07-27 22:57:32 +02: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
Lars Henrik Mai
aa644818c4 add elasticsearch-dsl gem 2015-07-18 12:43:43 +02:00
Andreas Haller
8afc7c9c93 Make papers.published_at optional 2015-07-08 20:04:50 +02:00
Andreas Haller
94f57a0f07 Update README.md 2015-05-19 10:00:21 +02:00
Andreas Haller
52c80956d2 Update README.md 2015-05-19 09:59:43 +02:00
Andreas Haller
7e6675ceab Update README.md 2015-05-19 09:50:57 +02:00
Andreas Haller
20a66e639e Update and rename README.rdoc to README.md 2015-05-19 09:49:07 +02:00
Andreas Haller
72b3fc5672 Redirect to default body ‘/leipzig’ #21 2015-05-19 09:35:20 +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
460986e7ff Add translation for pagination 2015-04-27 23:49:52 +02:00
Andreas Haller
af43b84ea9 Set default locale to ‘de’ 2015-04-27 23:49:37 +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
5a07703166 Update dependencies. Fixes Sass error 2015-04-27 21:12:56 +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
f35aa2a9d3 Fix typo in migration 2015-04-27 21:02:46 +02:00