Commit Graph

35 Commits

Author SHA1 Message Date
Bastian Greshake
d2146542e6 [MRG] new tests: delete foreign messages + search (#397)
* new tests: delete foreign messages + search

* failed again at making the hound happy

* test for logged in user trying log in

* remove accidental edit

* test for uploading genotype form

* 🐶
2017-06-09 15:38:08 +02:00
Bastian Greshake
f29752b550 [MRG] fixed message deleting + added tests, closes #391 (#394)
* fixed message deleting + added tests

* hound, codeclimate, travis…
2017-06-08 10:19:30 +02:00
Bastian Greshake
98c1943c1a [MRG] Adding more tests (#390)
* added more tests for snp page

* 🐶  happiness

* tests for changing password

* 🐶  happiness

* helge happiness ;)
2017-06-06 16:16:04 +02:00
Bastian Greshake
9499dfc93e [MRG] Email layouts. Closes #301 (#373)
* started implementing layouts for emails

* first version of email layout

* formatted the emails

* adapting test to new footer

* fixing tests

* the copy and paste strikes back

* the copy and paste strikes back2

* the copy and paste strikes back3

* the copy and paste strikes back3

* Update user_mailer.html.erb

forgot a line break

* included helge's 👍 tip

* Update user_mailer.rb

make the hound happy

* making codeclimate happy (or so i hope)
2017-06-06 12:37:04 +02:00
Bastian Greshake
ef83c4b5c0 Added tests (#388)
* work on tests

* snp API test

* making hound happier

* Give the scenarios some space
2017-06-06 11:49:52 +02:00
Philipp Bayer
cf25d77185 Mateus' PR (#365), closes #264 #333
* Renaming '.env.example' to '.env'

* Removing bootstrap gem

* Adding newest version of Bootstrap(3.3.6) and setting it up

* Renamed 'database.yml.example' to 'database.yml'

* Deleted common.css.scss

* Deleting active_admin/application requirement

* Adding style file that import all style partials and adding javascript file

* Updating application.html.erb and includes(footer and navbar)

* Removing from news all the updates(new users, new pheno...) and putting on updates page

* Updating user views

* Updating phenotype views

* Updating index page

* Updating FAQ and Stats pages

* Updating genotype views

* Updating messages views

* Updating snps views and signin page

* Updating fitbit and picture_phenotype views

* Updating warning

* Adding base style and variable of style

* Adding style of index, faq and stats page

* Adding style for user views

* Adding style for footer and navbar

* Adding modules of style

* Adding style for fitbit, genotype, phenotype and message views

* Adding style for snps and updates views

* Updating serverscript

* Adding new logo and RSS new image

* Adding style files for: comments, password reset, picture phenotypes, achievements and search results

* Removing !important and updating some styles

* Updating view from achievements

* Updating views from fitbit profiles

* Updating genotypes views

* Updating navbar view

* Updating password reset view

* Updating phenotype comments views

* Updating phenotypes views

* Updating views: search result, snps, user phenotypes and users

* Updating views: updates and picture phenotypes

* Adding updates page's routes

* Modify flash messages and change number of fitbit profiles and genotypes per page(20 -> 15)

* Replace will_paginate to a version that works with bootstraps

* Change serverscript to make Sidekiq work propely

* Updates user's views

* Updates script to run only when page is fully loaded

* Moves script tags to head and updates flash messages' views

* Updates and add style for: picture_phenotypes, snps, userpages, press, warnings

* Updates views for: genotypes, messages, fitbit_profiles, phenotype comments, phenotypes

* Updates views for: picture phenotype, picture phenotype comments, warnings and errors, snps, snps comments

* Updates views for: press, picture phenotype user, user session and snps user

* Updates views from: user, updates, press and stats

* Updates views from: snps, picture phenotypes, phenotypes, genotypes

* Updates views from: fitbit profiles, navbar, application, messages and news

* Updates script file

* Updates style files

* Changes modal views

* Renaming '.env.example' to '.env'

* Removing bootstrap gem

* Adding newest version of Bootstrap(3.3.6) and setting it up

* Renamed 'database.yml.example' to 'database.yml'

* Deleted common.css.scss

* Deleting active_admin/application requirement

* Adding style file that import all style partials and adding javascript file

* Updating application.html.erb and includes(footer and navbar)

* Removing from news all the updates(new users, new pheno...) and putting on updates page

* Updating user views

* Updating phenotype views

* Updating index page

* Updating FAQ and Stats pages

* Updating genotype views

* Updating messages views

* Updating snps views and signin page

* Updating fitbit and picture_phenotype views

* Updating warning

* Adding base style and variable of style

* Adding style of index, faq and stats page

* Adding style for user views

* Adding style for footer and navbar

* Adding modules of style

* Adding style for fitbit, genotype, phenotype and message views

* Adding style for snps and updates views

* Updating serverscript

* Adding new logo and RSS new image

* Adding style files for: comments, password reset, picture phenotypes, achievements and search results

* Removing !important and updating some styles

* Updating view from achievements

* Updating views from fitbit profiles

* Updating genotypes views

* Updating navbar view

* Updating password reset view

* Updating phenotype comments views

* Updating phenotypes views

* Updating views: search result, snps, user phenotypes and users

* Updating views: updates and picture phenotypes

* Adding updates page's routes

* Modify flash messages and change number of fitbit profiles and genotypes per page(20 -> 15)

* Replace will_paginate to a version that works with bootstraps

* Change serverscript to make Sidekiq work propely

* Updates user's views

* Updates script to run only when page is fully loaded

* Moves script tags to head and updates flash messages' views

* Updates and add style for: picture_phenotypes, snps, userpages, press, warnings

* Updates views for: genotypes, messages, fitbit_profiles, phenotype comments, phenotypes

* Updates views for: picture phenotype, picture phenotype comments, warnings and errors, snps, snps comments

* Updates views for: press, picture phenotype user, user session and snps user

* Updates views from: user, updates, press and stats

* Updates views from: snps, picture phenotypes, phenotypes, genotypes

* Updates views from: fitbit profiles, navbar, application, messages and news

* Updates script file

* Updates style files

* Changes modal views

* Updates script file

* Add style file for modal

* Updates views from: snp comments, user phenotypes, modal and picture phenotypes

* Removes empty style files

* Moves comments style to modules directory

* Creates a more general class for containers and titles

* Removing more specific classes for containers and titles

* Changes load order, now variables are loaded before base styles

* Replaces all containers and titles classes with the more general class for them

* Corrects styles order and organization

* Updates minimum height for content container

* Organizes and refactors script file

* Updates views for fitbit and user

* Removes 'test-' from all classes and updates some views

* Updates settings view

* Updates gitignore

* Changes config files

* Removes some file from .gitignore

* Readds the example files

* Changes all unnecessary double-quotes to single-quotes

* Corrects script file

* Updates hound file to ignore JS files

* Hopefully merged both

* fixes typos, gem installation

* Adds missing pagination gem

* Deletes Vagrantfile

* Automatically replaced all pre Ruby 1.9 hashes with new style to satisfy Hound

* More changes for Hound, triggered by me automatically changing the hash syntax

* More hound changes

* Fully satisfy the hound

* Fix some more style issues, delete some old Vagrant stuff

* Fix usermailer complaints

* Changed some stuff in fitbit notification worker - prob. needs bigger refactor, long lines, cannot change

* Two more borked tests

* Get rid of useless asset pipeline errors

* Skipping search test for now.

* added about us here

* disclaimer now also for genotypes

* working a bit on the hound

* fixed FAQ language
2017-06-01 14:47:00 +02:00
Philipp Bayer
21f19c2e14 Merge pull request #330 from philippbayer/snp_update_feed
Snp update feed
2017-02-06 11:42:54 +08:00
Philipp Bayer
dc2eceb773 Replace Mendeley with correct SNPedia 2017-02-04 21:56:29 +08: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
Philipp Bayer
d1780c44e2 Hound 2016-08-12 22:54:18 +08:00
Philipp Bayer
78a38bd953 Puts more in test 2016-08-12 22:50:22 +08:00
Philipp Bayer
9db2e8d164 rudimentary user page integration spec 2016-08-12 22:29:46 +08:00
Helge Rausch
7707a97b0a Fix rubocop issue 2016-08-08 14:08:43 +02:00
Helge Rausch
948f836b0e More tests 2016-08-08 14:08:43 +02:00
Helge Rausch
99bcebe5e7 Fix a few rubocop issues 2016-08-08 14:08:43 +02:00
Helge Rausch
cbdb713b73 Fix/move two tests 2016-08-08 14:08:43 +02:00
Helge Rausch
c9400bacd1 Refactor PhenotypesController#create 2016-08-08 14:08:43 +02:00
Helge Rausch
af14119095 fixup! Add test for entering new phenotypes 2016-08-08 14:07:35 +02:00
Helge Rausch
38df04a6de Add notification email to phenotype entering test 2016-08-08 14:07:35 +02:00
Helge Rausch
cd32d07ca5 Fix label for input field
Rails automatically sets the right `for` attribute on `label` fields,
which references the `id` attribute of the corresponsing `input`. By
changing the `id`, we broke the label for screen readers and Capybara.
2016-08-08 14:07:35 +02:00
Helge Rausch
b52b898ced Add test for phenotype/variation recommendation 2016-08-08 14:07:35 +02:00
Helge Rausch
9553df7a17 Add test for entering new phenotypes 2016-08-08 14:07:35 +02:00
Helge Rausch
5425422c3e Add test for not-yet-entered variations 2016-08-08 14:07:35 +02:00
Helge Rausch
04187e64b3 Fix SNP comments 2016-06-26 13:09:20 +02:00
Helge Rausch
7f3649797f Just destroy the genotype in DeleteGenotype worker 2016-04-12 08:52:49 +02:00
Helge Rausch
a069c95992 Add test for genotype deletion 2015-12-31 16:33:13 +01:00
Helge Rausch
e6ac9c5210 Move list of SNPedia links to partial 2015-06-28 11:27:55 +02:00
Helge Rausch
3a25d13fd8 Fix phenotype comments 2015-05-07 08:11:02 +02:00
Helge Rausch
e9b8c02bda Fix fitbit profiles page 2015-04-07 08:51:49 +02:00
Helge Rausch
1469702cc9 Fix messaging 2015-04-05 14:27:18 +02:00
Helge Rausch
17c0ff6165 Include all results in search feature test 2014-10-24 08:09:32 +02:00
Helge Rausch
21b922f58a Actually use the search field in the feature test 2014-10-24 07:39:52 +02:00
Helge Rausch
632e9f3161 Match partial words in search 2014-10-23 14:35:25 +02:00
Helge Rausch
a7af758335 Ditch Solr for pg_search 2014-10-22 20:07:19 +02:00
Helge Rausch
09b9631db4 Directly link to the generic dump URL 2014-06-05 08:58:27 +02:00