21 Commits

Author SHA1 Message Date
Helge Rausch
828d84f1a9 Refactor Zipfulldata worker (#541)
* Breaks up Zipfulldata worker into service classes
* Fixes N+1 queries for phenotype and picture phenotype CSVs
  * moving phenotype CSV generation into database for performance
* Fixes unintentional deletion of unrelated files
* Reduces the time it takes to assemble the zip file from about 10 to about 5 hours, with the bottle-neck being zipping the genotype files
2023-01-04 09:58:25 +01:00
Helge Rausch
de1fd19aa1 Refactor ZipGenotypingFiles (#527) 2020-04-19 12:49:08 +02:00
Bastian Greshake Tzovaras
44184dda33 remove all of fitbit (#482)
* remove all of fitbit

* try fixing migration

* add new structure sql

* 🐶

* add first test for das

* 🐶

* fix structure.sql
2018-01-19 11:29:07 -08:00
Helge Rausch
22cf00be1c Fix Fixnum deprecation warning (#461)
* Fix Fixnum warning

* Fix Fixnum deprecation warning in PhenotypesController

* Who's a good boy? 🐶

* Fix fix

* Add test
2017-12-28 10:10:45 -08:00
Bastian Greshake Tzovaras
615b8a61ef removed chmod for good, fixed footer (#452) 2017-12-11 08:14:31 -08:00
Bastian Greshake Tzovaras
2dd67a7657 include pictures in zip again (#449)
* include pictures in zip again

* 🐶
2017-12-11 15:23:45 +08:00
Bastian Greshake Tzovaras
b0998031d4 "fixed" tests 2017-12-08 16:46:03 -08:00
Bastian Greshake Tzovaras
7d0382b93c Integrate Open Humans, remove Fitbit (closes #392)
* adds Open Humans connection (incl. at least some tests)
* removes the capability to add fitbit data (was broken in any case)
* display current fitbit data is still included, will be removed after grace period (needs to be announced to users)
2017-11-21 09:32:45 -08:00
Bastian Greshake
1d73188866 made hound happy 2017-06-01 14:28:30 +02:00
Bastian Greshake
9fa5ba223d fixed test to adhere to changes in files 2017-06-01 14:15:33 +02:00
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
ca667b0998 Prefer single quoted strings 2016-08-08 14:08:43 +02:00
Helge Rausch
c9400bacd1 Refactor PhenotypesController#create 2016-08-08 14:08:43 +02:00
Helge Rausch
38c9da1e46 Schedule updating papers once a month 2016-06-19 11:36:55 +02:00
Helge Rausch
518d91ba43 Get rid of deprecation warnings 2015-03-18 08:48:03 +01:00
Helge Rausch
535ac823bf Fix tests 2015-03-15 14:34:32 +01:00
Helge Rausch
302db3c5c3 Send notification to the user after parsing 2014-08-31 14:39:19 +02:00
Helge Rausch
57ec02d7bc Update RSpec 2014-06-08 12:52:33 +02:00
Helge Rausch
8a46096672 Change Zipfulldata to create link to current dump 2014-06-03 09:20:25 +02:00
Helge Rausch
331d5360f0 Don't send emails when creating full data dump 2014-05-29 11:48:43 +02:00
Helge Rausch
cc22e46539 Migrate Zipfulldata test to RSpec 2014-05-29 11:31:40 +02:00