Commit graph

134 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
8974da062c add env variables when running rspec 2016-03-05 23:24:36 +01:00
Joerg Reichert
580d8c6fce set ci environment 2016-03-05 22:56:03 +01:00
Joerg Reichert
84c0681aea set environment so that coveralls send data 2016-03-05 22:49:59 +01:00
Joerg Reichert
cb4db8c1b1 use coveralls only in spec 2016-03-05 22:04:05 +01:00
Joerg Reichert
53977a6d7c readded after_success call 2016-03-05 21:54:04 +01:00
Joerg Reichert
a247ccc70a use Coveralls.merged!('rails') 2016-03-05 21:28:32 +01:00
Joerg Reichert
e9a87adeba added .coveralls.yml file 2016-03-05 21:24:04 +01:00
Joerg Reichert
c80f940fbb changed coveralls config 2016-03-05 20:33:14 +01:00
Joerg Reichert
6819d556bb added badges and lock file 2016-03-05 20:19:56 +01:00
Joerg Reichert
2fa90ec206 added coveralls 2016-03-05 19:26:31 +01:00
jrlover
af4c6e4cb4 add integration with coveralls.io
to measure code coverage
2016-03-05 16:18:31 +01:00
Lars Henrik Mai
c168e628e2 Flush stdout immediately in development in order to get realtime log output in docker 2016-03-05 11:41:04 +01:00
Jörg Reichert
abd23fb84c Merge pull request #5 from joergreichert/newsfeed
Newsfeed
2016-03-02 22:51:11 +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
edfd93103d migrated paper tests to rspec 2016-03-02 22:23:13 +01:00
Lars Henrik Mai
495d62ca61 Update README with more up-to-date installation instructions 2016-03-02 21:38:57 +01:00
Joerg Reichert
1b7d35a7b8 first version of RSS builder 2016-03-02 21:27:34 +01:00
Lars Henrik Mai
06f5fc1bf5 Update spring gem 2016-03-02 21:06:26 +01:00
jrlover
b0eabf86f4 updated build status URL 2016-03-02 20:52:04 +01:00
jrlover
6eb1f6bd61 no encryption key 2016-03-02 20:47:50 +01:00
Lars Mai
dfc4ac48cc Merge pull request #3 from joergreichert/travis-docker
added .travis.yml
2016-03-02 20:31:06 +01:00
Lars Henrik Mai
e0cf4b39e7 Fix 503 errors in tests from Elasticsearch due to cluster not being ready 2016-03-02 20:28:20 +01:00
Jörg Reichert
6fcff2f0b1 adds travis build status label 2016-03-02 20:17:02 +01:00
Joerg Reichert
9e7d9a179d added .travis.yml 2016-03-02 20:05:12 +01:00
Lars Henrik Mai
83be2d5db1 Fix 503 errors in tests from Elasticsearch due to cluster not being ready 2016-02-27 10:43:15 +01:00
Lars Mai
424cc0bf46 Merge pull request #2 from CodeforLeipzig/use-rspec
Use rspec
2016-02-24 19:54:59 +01:00
Lars Henrik Mai
9351e01fa4 Mark failing search controller spec pending 2016-02-24 19:17:12 +01:00
Lars Henrik Mai
72157e87d7 Disable guard notifier for now because !crossplatform 2016-02-24 19:16:48 +01:00
Lars Henrik Mai
3e27d8e82f Add database_cleaner gem 2016-02-24 11:59:52 +01:00
Lars Henrik Mai
80a67d094d Make url unique in paper factory 2016-02-24 11:59:37 +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
5b29fe761c Add feature spec for search result item 2016-02-23 11:37:39 +01:00
Lars Henrik Mai
25ceb50141 Rework search-results markup 2016-02-23 11:04:50 +01:00
Lars Henrik Mai
e0573b703f Add search results to feature spec 2016-02-20 07:48:01 +01:00
Lars Henrik Mai
aa4a6b6958 Generate unique reference in Paper factory 2016-02-20 07:47:43 +01:00
Lars Henrik Mai
9423847cb1 Add test_after_commit gem
Fixes the indexing of papers when running the tests since they are wrapped in a transaction. 

see http://www.justinweiss.com/articles/a-couple-callback-gotchas-and-a-rails-5-fix/
2016-02-20 07:46:37 +01:00
Lars Henrik Mai
d9f95f9e97 Move factories to spec dir and add helper module 2016-02-19 08:39:30 +01:00
Lars Henrik Mai
e351f12b3f Fix factories to actually return random data 2016-02-19 08:23:31 +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
a13e848176 Add guard file watcher 2016-02-18 08:41:45 +01:00
Lars Henrik Mai
2d85da354b Failing controller test for search result 2016-02-18 07:15:28 +01:00
Lars Henrik Mai
79e7ea61d3 Add rspec spring command 2016-02-18 07:14:53 +01:00
Lars Henrik Mai
85167bc563 Add more search controller specs 2016-02-17 21:20:17 +01:00