Helge Rausch
8d4ede024f
Remove ActiveAdmin
2014-10-27 07:09:24 +01:00
Philipp Bayer
dd15c14af6
Turns off re-indexing in Solr when UserSNPs are added
2014-09-01 19:23:49 +10:00
Philipp Bayer
171f53dcec
git pushMerge branch 'master' of github.com:gedankenstuecke/snpr
2014-09-01 10:50:03 +10:00
Philipp Bayer
0c5a693777
Prevents Solr reindexing of user on login. Users can now log in even if Solr is off. See http://stackoverflow.com/questions/6040493/sunspot-index-only-when-searchable-fields-change
2014-09-01 10:49:50 +10:00
Helge Rausch
ed55e1d900
Properly test genotype deletion
2014-08-30 15:12:06 +02:00
Helge Rausch
86b7b4afce
Rewrite seeds in SQL to prevent Solr from indexing
2014-08-30 15:12:06 +02:00
Helge Rausch
22fb415630
Use update_column to prevent Solr from indexing
2014-08-22 09:16:25 +02:00
Helge Rausch
60967a0559
Associate User with UserSnp via Genotype
2014-08-09 09:11:52 +02:00
Philipp Bayer
9eca0da0a5
Updates paperclip to 4.0, fixes tests
2014-05-15 15:17:29 +10:00
Helge Rausch
a8ce3b2ec1
Use cached user_snps_count
2014-03-23 14:20:04 +01:00
Helge Rausch
18f1b37ce4
Validate presence of user and genotype on UserSnp
2014-03-07 17:36:07 +01:00
Philipp Bayer
8499c6a912
Adds user_snps_count column to all SNPs
2014-02-21 16:48:04 +10:00
Helge Rausch
a3db5692f8
Removing snp_id from PlosSearch worker
2013-12-24 14:17:21 +01:00
Helge Rausch
3963240db1
Removing commented lines
2013-12-20 00:10:34 +01:00
Helge Rausch
18b099b6ff
Refactoring Snpedia worker
2013-12-14 18:37:27 +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
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
1855b74979
fixing tests
2013-11-30 12:35:16 +01:00
Helge Rausch
7d439cc505
many-to-many association between snps and papers
2013-11-17 12:20:22 +01:00
Philipp Bayer
33a0b66aa0
Some users report weirdness with wrong genotype file type during upload. Seems to be a browser-thing. Removes check for plain text files or zip archives
2013-11-12 12:04:12 +10:00
Philipp Bayer
9e07fe7525
Fixes problems with uploading of some files (notably, AncestryDNA)
2013-10-28 15:56:18 +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
Philipp Bayer
a2941e6a0b
Fixes zipped genotypings, now automagically gets the genotyping from a zip file. The model didn't even allow zipped genotypings :P
2013-10-02 13:46:39 +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
2338031bc8
Implements basic ActiveAdmin installation. Next: Pages for users, phenotypes and eventually curated phenotypes.
2013-09-04 11:16:52 +10:00
Helge Rausch
d9b1389230
reverting drop_snp_name_from_user_snps
2013-09-03 10:23:31 +02:00
Helge Rausch
36f827f0a2
Merge branch 'asset_pipeline' into capify
...
Conflicts:
.gitignore
Gemfile
Gemfile.lock
app/views/fitbit_profiles/show.html.erb
2013-08-25 10:25:50 +02:00
Helge Rausch
f44e4936af
dropping snp_name column from user_snps
2013-06-30 14:44:53 +02:00
drsnuggles
9ffc52c34b
Added empty new-method to file-link model
2013-04-03 17:59:26 +10:00
Philipp Bayer
7844cb1e1b
Started work on sidekiq. Renamed perform-methods, changed gems.
...
Replaced Resque.enqueue with Sidekiq equivalent. Added include statements to all jobs.
Configured ActiveRecords connection pool. Changed all queues to fit Sidekiqs wants.
2013-03-07 16:47:08 +10:00
drsnuggles
4a3c1fcaaa
Fixed bug in duplicating messages as Rails > 3.1 changed clone-method, replaced by dup-method
2013-03-01 12:06:02 +10:00
drsnuggles
fa0c3c8f3e
FIxed mass-assignment of md5sum
2013-02-27 09:41:18 +10:00
drsnuggles
bc4fb5a8b1
Uploaded Genotyping achievement is now deleted when user deletes last uploaded genotyping
2013-02-24 09:03:52 +10:00
Helge Rausch
032276ec81
make use of the asset pipeline
2013-02-08 18:32:39 +01:00
Helge Rausch
4423d6c42a
upgrading Rails to 3.1
2013-02-07 17:14:53 +01:00
Helge Rausch
4d80371798
adding a test for picture-phenotype-csv creation
2013-01-18 17:38:00 +01:00
drsnuggles
ab61e2319d
Merged picturephenotype-branch into master
2012-12-16 14:52:43 +10:00
Helge Rausch
de7fe5b674
paperclip for genotype files, lots of refactoring
2012-12-13 13:52:58 +01:00
Helge Rausch
81054eec1a
fixing tests and a little refactoring
2012-12-10 00:41:53 +01:00
Bastian Greshake
e95ad203d5
first picture phenotype-implementation
2012-11-25 01:07:17 +01:00
drsnuggles
bab022ad9b
Fixed known-phenotypes-bug, somehow empty known_phenotype was returned?
2012-10-24 12:38:28 +10:00
drsnuggles
e40fff163e
Better version, compact without the nil
2012-10-24 12:17:22 +10:00
drsnuggles
0025b4cfa6
Helge's compact! for some reason set the array to nil. Removed it.
2012-10-24 12:07:53 +10:00
Helge Rausch
932291663e
refactor Phenotype#known_phenotypes
2012-10-22 09:56:40 +02:00
drsnuggles
6171224f07
Implemented Helge's idea of just manually capitalizing known phenotypes, better this way
2012-10-22 16:58:17 +10:00
drsnuggles
7bacd3bb7f
Reverting the :: to / change in known_phenotypes
2012-10-22 11:16:56 +10:00
Bastian Greshake
b9d48f81fa
added pgp annotation
2012-10-20 16:56:37 -07:00
drsnuggles
1940e36c09
User-name searchable
2012-10-17 08:37:49 +10:00