25 Commits

Author SHA1 Message Date
Philipp Bayer
4740f8ea2b Fix recommendify (#542)
* Switch to recomendify fork, replace poltergeist with selenium, add capybara config
2022-12-02 08:56:42 +08:00
Helge Rausch
58cd495859 Run DatabaseCleaner before RSpec tests (#539)
* Rename workflow

* Run DatabaseCleaner before RSpec tests

* Run on all pushes
2022-07-25 11:02:32 +02:00
Philipp Bayer
d3dde6166d Replace factory_girl by factory_bot everywhere 2018-10-07 21:21:06 +08:00
Helge Rausch
fcecb4f732 Use new Codeclimate test reporter (#400)
* Use new Codeclimate test reporter

It let's us combine the reports from both, rspec and test/unit.

* Check if coverage drop comes from config change

* Revert "Check if coverage drop comes from config change"

This reverts commit f8f91fe9664a22a8307b3a328aa6510c876b7dff.
2017-06-10 14:40:20 +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
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
5f32a1803d Clear mail deliveries for each test 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
5425422c3e Add test for not-yet-entered variations 2016-08-08 14:07:35 +02:00
Helge Rausch
0be0b76a3c Set-up codeclimate test reporter 2016-08-08 00:10:27 +02:00
Helge Rausch
5ef97cf43c Leave seeded achievements alone when truncating 2016-02-12 08:57:28 +01:00
Helge Rausch
04a6a1011c Make workers log to STDOUT 2015-11-22 16:24:38 +01:00
Helge Rausch
b89fa8aa97 Revert "Make tests fail if test coverage drops"
This reverts commit 3142abe96d.
2015-10-10 12:52:06 +02:00
Helge Rausch
3142abe96d Make tests fail if test coverage drops 2015-09-26 12:52:50 +02:00
Helge Rausch
3a25d13fd8 Fix phenotype comments 2015-05-07 08:11:02 +02:00
Helge Rausch
1469702cc9 Fix messaging 2015-04-05 14:27:18 +02:00
Helge Rausch
b790cbf046 Remove last traces of Solr 2014-10-23 23:03:54 +02:00
Helge Rausch
ed55e1d900 Properly test genotype deletion 2014-08-30 15:12:06 +02:00
Helge Rausch
7dc7a7c045 Move parsing and deleting test to RSpec 2014-08-17 14:23:51 +02:00
Helge Rausch
8db431dd02 Add spring and guard 2014-08-16 12:54:30 +02:00
Helge Rausch
57ec02d7bc Update RSpec 2014-06-08 12:52:33 +02:00
Helge Rausch
f2149ca044 Don't require pry in CI environment 2014-06-05 18:30:18 +02:00
Helge Rausch
09b9631db4 Directly link to the generic dump URL 2014-06-05 08:58:27 +02:00
Helge Rausch
8a46096672 Change Zipfulldata to create link to current dump 2014-06-03 09:20:25 +02:00
Helge Rausch
cc22e46539 Migrate Zipfulldata test to RSpec 2014-05-29 11:31:40 +02:00