Commit Graph

78 Commits

Author SHA1 Message Date
Helge Rausch
906eef5403 Update gems (#338)
* Passwords now need to be 8 characters long (new default in authlogic).
* To login to the Sidekiq web interface, log in to opensnp.org, if you
  have the `admin` flag set, you will find it at the usual place.
* I finally found out why Rubocop didn't complain about the frozen string literal pragma missing and added all of them.
* Rubocop complained about keyword arguments, which is only relevant for Rails 5, so I disabled the cop.
* I removed the `inherit_from: .rubocop_todo.yml` from `.rubocop.yml`, so Hound does complain about **all** the issues. I also added a few tasks for running Rubocop.
2017-01-04 15:30:22 +01:00
Helge Rausch
cbdb713b73 Fix/move two tests 2016-08-08 14:08:43 +02:00
Philipp Bayer
b88242ad14 Cleanup cruft (#291)
* Removes broken html5.js from Google

* Replaces a few rocket-style links with modern Rails links. Replaces the dead Twitter feed on news page that used the dead Twitter APIv1 with a modern widget.

* Remove relic gem since it doesn't work at all ATM

* Forgot to run bundle install to remove from Gemfile.lock too

* Removes some overhang from Active Admin

* Bring back Snacks! No wait - bring back brackets!

* Removes one seventy seven URL since taken over by spam

* Update sign-in page with modern bootstrap, get rid of clearfix hacks

* Get rid of beautifier, no-one uses it. Remove some spans and labels from genotype upload form. form-stacked doesn't even exist anymore.

* Finally solves 2013 TODO about phenotype-arrays. Cleans up Phenotype-new form a bit.

* Minor cleanup of first-time user help header

* More terse form of helper method to satisfy hound

* Makes application help modal a bit more logical. FINALLY, after a thousand years, fixes that annoying 'missing tempplate' error message when closing help_one to help_three.

* Spruce up SNP comment form a little bit

* Get rid of empty or unused helpers

* Render nothing in a better concise way, cheers Helge
2016-06-22 17:48:14 +02:00
Helge Rausch
38c9da1e46 Schedule updating papers once a month 2016-06-19 11:36:55 +02:00
Vivek Rai
6d1faf8d14 Fix erroneous class name, Mendeley->MendeySearch
Signed-off-by: Vivek Rai <vivekrai.iitkgp@gmail.com>
2016-05-16 18:22:12 -07:00
Philipp Bayer
60a89e3751 Fixes test 2016-04-17 22:00:46 +08:00
Helge Rausch
280975e18e Get rid of most of the deprecation warnings 2015-03-15 19:05:51 +01:00
Helge Rausch
b790cbf046 Remove last traces of Solr 2014-10-23 23:03:54 +02:00
Helge Rausch
7dc7a7c045 Move parsing and deleting test to RSpec 2014-08-17 14:23:51 +02:00
Helge Rausch
bfb8503631 Fix test 2014-08-10 12:40:22 +02:00
Helge Rausch
cb65d17464 Comment-out failing tests for deactivated worker 2014-06-05 18:12:01 +02:00
Helge Rausch
cc22e46539 Migrate Zipfulldata test to RSpec 2014-05-29 11:31:40 +02:00
Helge Rausch
a8ce3b2ec1 Use cached user_snps_count 2014-03-23 14:20:04 +01:00
Philipp Bayer
a40c1567fe Parsing test now also checks for proper deletion 2014-02-21 17:40:16 +10:00
Philipp Bayer
3a6c5d104f Parsing test now also checks for user_snps_count 2014-02-21 17:25:12 +10:00
Helge Rausch
9111f58da9 Don't break when a PLoS article has no authors
fixes https://www.exceptional.io/exceptions/560531842
2013-12-20 00:06:16 +01:00
Helge Rausch
75459cb2d2 Refactoring GenomeGov worker 2013-12-15 19:24:58 +01:00
Helge Rausch
4f4bc0b7ad Adding test for GenomeGov worker 2013-12-15 14:00:44 +01:00
Helge Rausch
18b099b6ff Refactoring Snpedia worker 2013-12-14 18:37:27 +01:00
Helge Rausch
45ff4b69b6 Adding test for Snpedia worker 2013-12-14 17:07:44 +01:00
Helge Rausch
95cef5528b Pluralizing pgp_annotations association in Snp 2013-12-13 08:40:19 +01:00
Helge Rausch
9531da8bf2 Merge remote-tracking branch 'origin/master' into fix/many_to_many_snp_papers
Conflicts:
	Gemfile
	app/models/snp.rb
	test/factories.rb
	test/test_helper.rb
2013-12-13 08:24:30 +01:00
Helge Rausch
26c7e72583 fixing test 2013-12-09 09:06:07 +01:00
Helge Rausch
92e7bd7f83 More tests for PlosSearch 2013-12-08 13:23:22 +01:00
Helge Rausch
b3ec41f8cb refactoring Plos(Search) 2013-12-08 12:52:17 +01:00
Helge Rausch
57e00f1729 renaming Reference to SnpReference
Turns out, 'reference' is a reserved word in PostgreSQL.
2013-12-01 14:36:29 +01:00
Helge Rausch
12f14afb00 stubbing Sidekiq enqueue 2013-11-30 13:18:12 +01:00
Helge Rausch
1855b74979 fixing tests 2013-11-30 12:35:16 +01:00
Helge Rausch
d0ba5eab62 fixing tests
also stubbing Solr and all Sidekiq enqueue calls
2013-11-24 13:43:22 +01:00
Helge Rausch
7d439cc505 many-to-many association between snps and papers 2013-11-17 12:20:22 +01:00
Philipp Bayer
da14017665 Fixes test 2013-11-12 12:07:20 +10:00
Philipp Bayer
a999c5e629 Changed Zip-version to 1.0.0, fixes tests, fixes zip worker 2013-11-01 16:35:27 +10:00
Philipp Bayer
567c6715d0 Genotype upload now only allows zipand plaintext. Fixes test, now tests for both. 2013-10-02 14:01:26 +10:00
Helge Rausch
77b1521186 refactoring MendeleySearch
It now processes each page of results before proceeding to the next one.
This way we shouldn't have any issue with this job sucking up all the
memory anymore, when there are a lot of results.
2013-09-08 09:35:38 +02:00
Philipp Bayer
fc765bdbea Changed mentions of .search to Sunspot.search for compability between gems 2013-09-04 18:18:19 +10:00
Helge Rausch
e487cc3edc Merge branch 'master' into revert_drop_snp_name_from_user_snps
Conflicts:
	db/schema.rb
2013-09-04 07:57:09 +02:00
Helge Rausch
feaf7cc75b fixing tests 2013-09-04 07:47:00 +02:00
Philipp Bayer
2338031bc8 Implements basic ActiveAdmin installation. Next: Pages for users, phenotypes and eventually curated phenotypes. 2013-09-04 11:16:52 +10:00
Helge Rausch
f44e4936af dropping snp_name column from user_snps 2013-06-30 14:44:53 +02:00
Philipp Bayer
789f8024d5 Merge pull request #69 from djab/travis_and_test_fixes
Travis and test fixes
2013-05-06 17:01:42 -07:00
djab
2c31d89cae fixed failing tests to use sidekiq instead of redis 2013-05-04 12:06:52 -04:00
djab
b6adc943c5 fixed two typos 2013-05-04 11:16:29 -04:00
Helge Rausch
4423d6c42a upgrading Rails to 3.1 2013-02-07 17:14:53 +01:00
Helge Rausch
0528093987 making the zipping more obvious 2013-01-28 10:20:49 +01:00
Helge Rausch
a37b5e1153 fixing a test 2013-01-27 12:46:16 +01:00
Helge Rausch
14dd730d1b test csv fields with missing phenotypes, too 2013-01-27 12:24:12 +01:00
Helge Rausch
b84cd192f7 adding more tests 2013-01-21 10:29:23 +01:00
Helge Rausch
c7f0d9dd9c adding a test for readme creation 2013-01-19 00:11:25 +01:00
Helge Rausch
4d80371798 adding a test for picture-phenotype-csv creation 2013-01-18 17:38:00 +01:00
Helge Rausch
8e69cc6c83 starting to refactor ZipfulldataTest 2013-01-14 16:40:00 +01:00