Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
445 commits
Select commit Hold shift + click to select a range
f8cd9e9
More typos
josenavas Nov 24, 2015
32c64c9
Merge branch 'plugin-parameters-revamping' into plugin-parameters-rev…
josenavas Nov 24, 2015
5fd1c1f
Fixing artifact tests
josenavas Nov 24, 2015
62c2b3a
Fixing qiita_db/commands.py
josenavas Nov 24, 2015
e59568e
Fixing processing job
josenavas Nov 25, 2015
8010729
Fixing test_setup.py
josenavas Nov 25, 2015
e0e9b79
Fixing test_sql.py
josenavas Nov 25, 2015
6ace259
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 25, 2015
af0d87a
Fixing EBI tests
josenavas Nov 25, 2015
14d86f3
Merge pull request #1544 from josenavas/plugin-parameters-revamping
antgonza Nov 25, 2015
e967803
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 25, 2015
91a3abe
Addressing comments
josenavas Nov 25, 2015
5045fbe
Adding relation between input artifacts and jobs
josenavas Nov 25, 2015
cb60a2b
initial commit
antgonza Nov 25, 2015
7290ab5
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
antgonza Nov 25, 2015
2b751ce
Merge pull request #1545 from josenavas/plugin-parameters-revamping-d…
antgonza Nov 25, 2015
52eef66
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
antgonza Nov 25, 2015
6c2de68
Fix patch
josenavas Nov 25, 2015
37531d5
Fixing processing job
josenavas Nov 25, 2015
2779fa0
Fix populate
josenavas Nov 25, 2015
4d17fbb
adding jobs method to artifact
josenavas Nov 25, 2015
392dd2b
linking artifacts to job when creating the job
josenavas Nov 25, 2015
bf3b8af
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 26, 2015
a9f53e6
Merge pull request #1549 from josenavas/plugin-processing-job-addition
antgonza Nov 26, 2015
d48af81
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 26, 2015
e4096d5
Adding input_artifacts attribute to processing_job
josenavas Nov 26, 2015
a62be38
Adding processing job API
josenavas Nov 26, 2015
b6c210f
Improving docs
josenavas Nov 26, 2015
5395f18
Addressing inconsistencies
josenavas Nov 26, 2015
3092863
Adding minimal artifact API
josenavas Nov 26, 2015
57077a8
Merge branch 'plugin-artifact-api' into plugin-base
josenavas Nov 26, 2015
800607f
Addressing comments
josenavas Nov 27, 2015
81f24dc
Renaming test to tests
josenavas Nov 27, 2015
89773d5
Addressing all comments
josenavas Nov 27, 2015
cd99c19
Merge pull request #1550 from josenavas/plugin-processing-job-api
antgonza Nov 27, 2015
183a098
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
antgonza Nov 27, 2015
2825671
Solving merge conflicts
josenavas Nov 27, 2015
6136ddc
Merge branch 'plugin-artifact-api' into plugin-target-gene-plugin
josenavas Nov 27, 2015
11b211e
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 27, 2015
b7aa7e8
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 27, 2015
80aeab5
Adding returns documentation
josenavas Nov 27, 2015
4b57e29
Merge branch 'plugin-artifact-api' into plugin-target-gene-plugin
josenavas Nov 27, 2015
f6037ca
Renaming test folder and adding test
josenavas Nov 27, 2015
a3157f9
more changes
antgonza Nov 27, 2015
46fd0b0
Merge branch 'plugin-artifact-api' into plugin-target-gene-plugin
josenavas Nov 27, 2015
f05352b
addressing comments
antgonza Nov 28, 2015
e553a7b
Merge pull request #1552 from antgonza/plugin-qiitapet
josenavas Nov 29, 2015
fa38a10
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 29, 2015
3036c08
Addressing comments
josenavas Nov 29, 2015
7906cd9
Merge branch 'plugin-artifact-api' into plugin-target-gene-plugin
josenavas Nov 29, 2015
b8d0983
Adding handler to retrieve an artifact's mapping file
josenavas Nov 29, 2015
6c125a3
Adding artifact type handler
josenavas Nov 29, 2015
81e7b0e
fixing typo
josenavas Nov 29, 2015
e02f85b
Fixing typo
josenavas Nov 30, 2015
eae3dd5
Merge pull request #1551 from josenavas/plugin-artifact-api
antgonza Nov 30, 2015
ccd4833
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 30, 2015
3813852
Adding default parameters if they don't exist
josenavas Nov 30, 2015
d337578
Adding split libraries method
josenavas Nov 30, 2015
1591c72
Adding split libraries fastq method
josenavas Nov 30, 2015
fe84ec3
Adding pick otus method
josenavas Nov 30, 2015
de3a571
Adding task executor
josenavas Nov 30, 2015
db48b04
fixing job executor
josenavas Nov 30, 2015
460ccdf
Adding starter script
josenavas Nov 30, 2015
a4a5946
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 30, 2015
0b7f692
fixing commands tests
antgonza Nov 30, 2015
383cd4c
Adding split libraries util tests
josenavas Nov 30, 2015
cdeafea
Merge pull request #1554 from josenavas/plugin-default-params
antgonza Nov 30, 2015
2833a98
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Nov 30, 2015
33c5066
Adding a missin tests
josenavas Nov 30, 2015
b5fcb7b
Fixing buf in split qiime mapping file
josenavas Nov 30, 2015
c9c2692
Adding tests to split libraries
josenavas Nov 30, 2015
d1b2b80
more changes
antgonza Dec 1, 2015
a13a4b9
removing rm
antgonza Dec 1, 2015
e976822
Adding tests to split_libraries_fastq.py
josenavas Dec 1, 2015
569d247
Adding tests for split_libraries_fastq.py
josenavas Dec 1, 2015
c41a6ac
Adding pick otus tests
josenavas Dec 1, 2015
dbb8fc4
Adding init file to tests
josenavas Dec 1, 2015
69682a9
Adding util tests
josenavas Dec 1, 2015
ab0356b
Addressing @antgonza and @mortonjt comments
josenavas Dec 1, 2015
a8338fa
Adding software property to the command and fixing tests
josenavas Dec 2, 2015
5f900cc
Adding new attribute to the configuration file
josenavas Dec 2, 2015
7418c36
Modifying DB to add 2 more attributes to the software
josenavas Dec 2, 2015
e87bf54
Adding 2 more properties to software
josenavas Dec 2, 2015
1b32809
Changing env name by env script
josenavas Dec 2, 2015
1e0ba80
Adding executor function
josenavas Dec 2, 2015
72c2aeb
Adding plugin launcher
josenavas Dec 2, 2015
b13da92
Removing qiita pet plugin TODOs
josenavas Dec 2, 2015
2b02f11
Merge pull request #1556 from antgonza/fix-some-tests
josenavas Dec 2, 2015
39f1339
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Dec 2, 2015
2c9a2af
Removing the processing pipeline files
josenavas Dec 2, 2015
dc15a5c
Calling plugins
josenavas Dec 2, 2015
bbde62f
fixing type
josenavas Dec 2, 2015
3fbbd2e
Fixing usage of data objects
josenavas Dec 2, 2015
a0b9a40
Documenting exceptions
josenavas Dec 2, 2015
b6ebd29
Merge pull request #1557 from josenavas/plugin-target-gene-plugin
antgonza Dec 2, 2015
404a1e8
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Dec 2, 2015
5442c4a
Addressing comments
josenavas Dec 2, 2015
f92bc10
Addressing comments
josenavas Dec 3, 2015
d237658
Fixing study listing bug - it was using a classmethod as an instance …
josenavas Dec 3, 2015
a753267
Fix full_access computations and object instatiation
josenavas Dec 4, 2015
797e9c9
Do not use IDs in the interface
josenavas Dec 4, 2015
423131b
Fixing default parameter and bug checking prep templates length
josenavas Dec 4, 2015
39c934a
Fix raw data retrieval
josenavas Dec 4, 2015
4fd8c89
Merge pull request #1558 from josenavas/plugin-connect-tgp
antgonza Dec 4, 2015
ee20a10
Fixing ElDeveloper's comment
josenavas Dec 4, 2015
3ec03d1
start skeleton for auth handler
squirrelo Dec 5, 2015
7547ef8
flake8
squirrelo Dec 5, 2015
71d4769
Fixing plugin bugs
josenavas Dec 5, 2015
5f92326
Fixing preprocessing
josenavas Dec 5, 2015
3f6fef3
Creating reference API
josenavas Dec 5, 2015
a5cc9c9
fixing pick otus plugin
josenavas Dec 5, 2015
3e362f3
Fixing otu picking pipeline
josenavas Dec 5, 2015
78708b9
Merge branch 'artifact' of https://github.com/biocore/qiita into plug…
josenavas Dec 5, 2015
1df6292
add table for oauth2 keys
squirrelo Dec 5, 2015
0107b15
add token storage in redis
squirrelo Dec 5, 2015
0f22b12
add tests
squirrelo Dec 5, 2015
2d279e8
add tests for password
squirrelo Dec 5, 2015
599cdb0
add oauth2 bad client tests
squirrelo Dec 5, 2015
ec40863
fix up tests
squirrelo Dec 5, 2015
2357500
add error messages to oauth2 errors
squirrelo Dec 5, 2015
8692357
more tests for oauth access codes
squirrelo Dec 5, 2015
964873f
remove print
squirrelo Dec 5, 2015
f721773
update tests for other handlers
squirrelo Dec 5, 2015
96a5be6
merge upstream/master
squirrelo Dec 5, 2015
af5c27d
Fixing build_single_proc_data_info
josenavas Dec 6, 2015
4665726
Fixing test_build_single_study_info
josenavas Dec 6, 2015
cf4ca0a
Fixing mess with doi and pubmed ids...
josenavas Dec 6, 2015
0f01070
Fixing generate_param_Str
josenavas Dec 6, 2015
e9e8f6f
Fixing analysis pipeline
josenavas Dec 6, 2015
b3c8117
Fixing qiita ware test commands
josenavas Dec 6, 2015
dabb63d
Fixing qiita ware test util
josenavas Dec 6, 2015
c3bf576
Fixing prep template tests
josenavas Dec 6, 2015
c436786
Removing unused functions
josenavas Dec 6, 2015
dcf60a6
Making sure that we clean the environment in the tests
josenavas Dec 6, 2015
cbdb54c
Back to green
josenavas Dec 6, 2015
fc0ee5c
pep8ing
josenavas Dec 6, 2015
e177bb0
more pep8ing
josenavas Dec 6, 2015
b5efb96
Fixing analysis handlers
josenavas Dec 6, 2015
a17fdf8
Addressing comments
josenavas Dec 6, 2015
22f8e8a
Addressing few more comments
josenavas Dec 6, 2015
476ecab
add missing auth check
squirrelo Dec 7, 2015
6dcf40a
Fixing small patch bug
josenavas Dec 7, 2015
13b0896
move test inserts
squirrelo Dec 7, 2015
b330f98
Making moi ids and qiita job ids be the same
josenavas Dec 7, 2015
9c1f9ee
Fixing split libraries bug
josenavas Dec 7, 2015
9f0b732
Fixing indentation
josenavas Dec 7, 2015
e1e579a
Actually executing convert_fastaqual_fastq
josenavas Dec 7, 2015
e2e2b10
Adding return docs
josenavas Dec 8, 2015
11673f2
Merge pull request #1561 from josenavas/plugin-gui
antgonza Dec 8, 2015
61df629
merge upstream/artifact
squirrelo Dec 8, 2015
edbbebb
add daily request limiting
squirrelo Dec 8, 2015
7c58a6b
docstrings
squirrelo Dec 8, 2015
19a227a
update error controlled vocab
squirrelo Dec 8, 2015
69767c9
Keeping preprocessed data id
josenavas Dec 8, 2015
1ad561c
Fixing tests
josenavas Dec 8, 2015
47289df
Addressing comments
josenavas Dec 8, 2015
7b5cc43
Typo
josenavas Dec 8, 2015
9061393
Fixing encrypted config file
josenavas Dec 8, 2015
998b4b2
Fixing paths
josenavas Dec 8, 2015
7cc3d63
Merge pull request #1565 from josenavas/artifact-retain-ppd-id
antgonza Dec 8, 2015
2296615
Merge pull request #1566 from biocore/artifact-change-encrypted-confi…
antgonza Dec 8, 2015
6474b6d
Merge branch 'artifact' into artifact-change-encrypted-configfile
josenavas Dec 9, 2015
cf89b2f
Fixing travis file - attempt 2
josenavas Dec 9, 2015
21fc269
Merge branch 'artifact' of https://github.com/biocore/qiita into arti…
josenavas Dec 9, 2015
6832835
Merge pull request #1567 from biocore/artifact-change-encrypted-confi…
antgonza Dec 9, 2015
f49fa50
move authenticator to wrapper
squirrelo Dec 11, 2015
ab3cbed
update other handlers to reflect decorator
squirrelo Dec 11, 2015
8fe3c2c
Merge branch 'artifact' of https://github.com/biocore/qiita into oauth2
squirrelo Dec 11, 2015
11c680a
flake8
squirrelo Dec 11, 2015
f6db9aa
Modifying intert_filepaths so we can copy files
josenavas Dec 11, 2015
a77be91
Adding copy operator to Artifact
josenavas Dec 11, 2015
44cf272
Updating interface bits to be able to add raw data from other studies
josenavas Dec 11, 2015
bc924a2
Addressing @antgonza and @mortonjt comments
josenavas Dec 14, 2015
dcd78a1
address comments
squirrelo Dec 14, 2015
e3ef9d9
break up tests
squirrelo Dec 14, 2015
a5f0411
Merge pull request #1572 from josenavas/artifact-file-sharing
antgonza Dec 14, 2015
0b60aab
Adding artifact ancestry function
josenavas Dec 15, 2015
9184963
Adding descendy function for artifacts
josenavas Dec 15, 2015
61f72dd
Adding missing tests for the children property
josenavas Dec 15, 2015
f17a3eb
Adding ancestor and descendants properties to the artifact, and their…
josenavas Dec 15, 2015
9f7b56d
Addressing @squirrelo's comments
josenavas Dec 16, 2015
cf2edcb
Adding comment
josenavas Dec 16, 2015
faabbd4
Re-ordering the SQL data retrieval, so it is consistent and natural
josenavas Dec 16, 2015
88bbf7a
Merge pull request #1577 from josenavas/artifact-lineage
squirrelo Dec 16, 2015
8c42fdd
Propagate artifact visibility
josenavas Dec 16, 2015
cb99e04
Merge branch 'artifact' of https://github.com/biocore/qiita into oauth2
josenavas Dec 16, 2015
b9eda75
Addressing comments
josenavas Dec 17, 2015
c716574
Adding QiitaClient class
josenavas Dec 18, 2015
28f9697
Adding QiitaClient tests
josenavas Dec 18, 2015
15a6ee7
Using wss for websockets
josenavas Dec 18, 2015
7dbac08
Using https in the tornado webserver, adding default certificates and…
josenavas Dec 18, 2015
e7b541f
Update plugin to use https rather than http
josenavas Dec 18, 2015
c9a3da0
Type on config file
josenavas Dec 18, 2015
f60a98d
Removing prints
josenavas Dec 18, 2015
8739635
Fixing small bug
josenavas Dec 18, 2015
605abff
Addressing comments
josenavas Dec 19, 2015
18fe70c
Adding documentation to the QiitaClient object
josenavas Dec 19, 2015
1337746
Addressing comments
josenavas Dec 19, 2015
1ab69e1
Merge pull request #1578 from josenavas/artifact-propagate-visibility
ElDeveloper Dec 19, 2015
e8169f3
Merge branch 'oauth2' of https://github.com/squirrelo/qiita into oauth2
josenavas Dec 20, 2015
1004130
Merge branch 'artifact' of https://github.com/biocore/qiita into oauth2
josenavas Dec 20, 2015
2aa5876
Merge branch 'artifact' of https://github.com/biocore/qiita into arti…
josenavas Dec 20, 2015
f963137
Merge branch 'oauth2' into artifact-oauth
josenavas Dec 20, 2015
100b354
Fixing the qiita client to use OAuth2
josenavas Dec 21, 2015
be34c7c
Fixing plugin tests
josenavas Dec 21, 2015
3a305d8
Adding python patch to create the target gene client oauth2 info
josenavas Dec 21, 2015
4b79d66
address sugestions
squirrelo Dec 21, 2015
4d1d100
add returns
squirrelo Dec 21, 2015
df7a469
add raises
squirrelo Dec 21, 2015
0c7b152
expand docstring
squirrelo Dec 21, 2015
4e2d728
break up test imports
squirrelo Dec 21, 2015
f0c25b3
flake8 and docstrings
squirrelo Dec 21, 2015
d6f63dd
Addressing comments
josenavas Dec 21, 2015
0b848d8
Adding verbose comment to the _verify attribute in QiitaClient
josenavas Dec 21, 2015
e28153b
Removing try/except
josenavas Dec 21, 2015
e05c43b
Updating changelog
josenavas Dec 21, 2015
fa43356
Merge branch 'artifact-https' into artifact-plugin-setup
josenavas Dec 21, 2015
0500833
Adding setup.py to the target gene plugin
josenavas Dec 23, 2015
74e6bcd
Adding a readme to the target gene plugin
josenavas Dec 23, 2015
464e68d
Solving merge conflicts
josenavas Dec 23, 2015
c7e294f
Addressing comments
josenavas Dec 23, 2015
211aeda
Merge pull request #1562 from squirrelo/oauth2
antgonza Dec 24, 2015
7fa4162
Merge pull request #1585 from josenavas/artifact-changelog
squirrelo Dec 29, 2015
b9d6931
Merge branch 'artifact' of https://github.com/biocore/qiita into arti…
josenavas Jan 3, 2016
19dfe07
Merge pull request #1581 from josenavas/artifact-https
antgonza Jan 3, 2016
12dab96
Fixing conflicts
josenavas Jan 3, 2016
dbccfca
Fixing failing tests
josenavas Jan 7, 2016
00c69c0
Merge branch 'artifact-oauth' into artifact-plugin-setup
josenavas Jan 7, 2016
1c4ea5b
Addressing comments
josenavas Jan 7, 2016
305dfa5
Merge branch 'artifact-oauth' into artifact-plugin-setup
josenavas Jan 7, 2016
ab5eb1e
Adding names to the artifacts
josenavas Jan 7, 2016
faa33a5
Fixing populate test db
josenavas Jan 7, 2016
7cc3b13
Adding name property
josenavas Jan 7, 2016
822b3fc
Modifying create to accept name optional parameter
josenavas Jan 7, 2016
e474219
Adding relation table between software and oauth identifiers
josenavas Jan 8, 2016
1b2bdbc
Adding plugin information to the qiita-test-install script
josenavas Jan 8, 2016
c6eebfb
Fixing comments
josenavas Jan 8, 2016
64e0713
Fixing expire time
josenavas Jan 9, 2016
0909755
Merge pull request #1584 from josenavas/artifact-oauth
squirrelo Jan 11, 2016
27950d7
Merge branch 'artifact' of https://github.com/biocore/qiita into arti…
josenavas Jan 13, 2016
5d3de41
Creating a section in install.md with the instructions to install the…
josenavas Jan 13, 2016
378be82
Updating travis so it also installs the plugin
josenavas Jan 13, 2016
4576e59
Merge conflict hell
josenavas Jan 13, 2016
d1b829b
Fixing merge conflict hell
josenavas Jan 13, 2016
668dc76
Fix #1573
josenavas Jan 13, 2016
cb9cf57
Merge pull request #1587 from josenavas/artifact-plugin-setup
antgonza Jan 13, 2016
b09bf9e
Merge branch 'artifact' of https://github.com/biocore/qiita into arti…
josenavas Jan 13, 2016
ed61554
Fixing travis config file
josenavas Jan 13, 2016
d5b67e8
Addressing comments
josenavas Jan 13, 2016
a3c9e6e
Merge pull request #1599 from josenavas/artifact-names
antgonza Jan 13, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ before_install:
- wget ftp://ftp.microbio.me/pub/qiita/ascp-install-3.5.4.102989-linux-64-qiita.sh -O ascp-install-3.5.4.102989-linux-64-qiita.sh
- chmod +x ascp-install-3.5.4.102989-linux-64-qiita.sh
- ./ascp-install-3.5.4.102989-linux-64-qiita.sh
- if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then openssl aes-256-cbc -K $encrypted_e698cf0e691c_key -iv $encrypted_e698cf0e691c_iv -in qiita_core/support_files/config_test_travis.cfg.enc -out qiita_core/support_files/config_test_travis.cfg -d; fi
- if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then openssl aes-256-cbc -K $encrypted_a2e23aea5f14_key -iv $encrypted_a2e23aea5f14_iv -in qiita_core/support_files/config_test_travis.cfg.enc -out qiita_core/support_files/config_test_travis.cfg -d; fi
install:
# install a few of the dependencies that pip would otherwise try to install
# when intalling scikit-bio
Expand All @@ -28,6 +28,9 @@ install:
- source activate env_name
- pip install sphinx sphinx-bootstrap-theme coveralls ipython[all]==2.4.1
- travis_retry pip install .
- pushd qiita_plugins/target_gene
- travis_retry pip install .
- popd
script:
- export MOI_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.cfg
- if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then
Expand All @@ -44,7 +47,10 @@ script:
scripts/qiita-env scripts/qiita-test-install ; fi
- ls -R /home/travis/miniconda3/envs/env_name/lib/python2.7/site-packages/qiita_pet/support_files/doc/
- qiita pet webserver
addons:
postgresql: "9.3"
services:
- redis-server
- postgresql
after_success:
- if [ ${TEST_ADD_STUDIES} == "False" ]; then coveralls ; fi
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Version 0.2.0-dev (Changes since version 0.2.0 go here)
* Users can now change values and add samples and/or columns to sample and prep templates using the <kbd>Update</kbd> button (see the prep template and sample template tabs).
* The raw files of a RawData can be now updated using the `qiita db update_raw_data` CLI command.
* instrument_model is now a required prep template column for EBI submissions.
* PostgreSQL 9.3.0 is now the minimum required version because we are using the SQL type JSON, included for first time in 9.3.0.
* The objects `RawData`, `PreprocessedData` and `ProcessedData` have been removed from the system and substituted by a general `Artifact` object.
* The CLI commands `load_raw`, `load_preprocessed` and `load_processed` have been removed from the system and substituted by `load_artifact`.
* We incorporated the idea of plugins into the system. Now, all processing could be plugins.
* QIIME workflows for splitting libraries (SFF/FASTA-QUAL and FASTQ/per-sample-FASTQ) and for picking OTUs has been moved to a new target gene plugin.
* An initial RESTapi has been introduced as a result of the plugin system, in which OAuth2 authentication is required to access the data.
* The system has been ported to use HTTPS instead of HTTP.

Version 0.2.0 (2015-08-25)
--------------------------
Expand Down
31 changes: 30 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Qiita is pip installable, but depends on some non-python packages that must be i
Install the non-python dependencies
-----------------------------------

* [PostgreSQL](http://www.postgresql.org/download/) (we have tested most extensively with 9.3)
* [PostgreSQL](http://www.postgresql.org/download/) (minimum required version 9.3.0, we have tested most extensively with 9.3)
* [redis-server](http://redis.io) (we have tested most extensively with 2.8.17)

Install both of these packages according to the instructions on their websites.
Expand All @@ -30,6 +30,35 @@ pip install https://github.com/biocore/mustached-octo-ironman/archive/master.zip
pip install qiita-spots
```

Install Qiita development version and its python dependencies
-------------------------------------------------------------

You can also use pip to install the development version of Qiita:

```bash
pip install numpy
pip install https://github.com/biocore/mustached-octo-ironman/archive/master.zip --no-deps
```

Clone the git repository with the development version of Qiita:

```bash
git clone https://github.com/biocore/qiita.git
```

Install Qiita:
```bash
cd qiita
pip install .
```

You will also need to install the target gene plugin for Qiita to be fully functional.
However, the plugin is already included in the repository so to install it simply execute:
```bash
cd qiita_plugins/target_gene
pip install .
```

Qiita configuration
===================
After these commands are executed, you will need to:
Expand Down
12 changes: 12 additions & 0 deletions qiita_core/configuration_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ class ConfigurationManager(object):
The filepath for the configuration file that is loaded
portal_fp : str
The filepath to the portal styling config file
plugin_launcher : str
The script used to start the plugins
"""
def __init__(self):
# If conf_fp is None, we default to the test configuration file
Expand Down Expand Up @@ -160,6 +162,7 @@ def _get_main(self, config):
self.max_upload_size = config.getint('main', 'MAX_UPLOAD_SIZE')
self.require_approval = config.getboolean('main', 'REQUIRE_APPROVAL')
self.portal = config.get('main', 'PORTAL')
self.plugin_launcher = config.get('main', 'PLUGIN_LAUNCHER')

self.valid_upload_extension = [ve.strip() for ve in config.get(
'main', 'VALID_UPLOAD_EXTENSION').split(',')]
Expand All @@ -168,6 +171,15 @@ def _get_main(self, config):
self.valid_upload_extension = []
print 'No files will be allowed to be uploaded.'

self.certificate_file = config.get('main', 'CERTIFICATE_FILE')
if not self.certificate_file:
self.certificate_file = join(install_dir, 'qiita_core',
'support_files', 'server.crt')
self.key_file = config.get('main', 'KEY_FILE')
if not self.key_file:
self.key_file = join(install_dir, 'qiita_core', 'support_files',
'server.key')

def _get_postgres(self, config):
"""Get the configuration of the postgres section"""
self.user = config.get('postgres', 'USER')
Expand Down
11 changes: 9 additions & 2 deletions qiita_core/support_files/config_test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ LOG_PATH =
REQUIRE_APPROVAL = True

# Base URL: DO NOT ADD TRAILING SLASH
BASE_URL = http://localhost
BASE_URL = https://localhost

# Download path files
UPLOAD_DATA_DIR = /tmp/
Expand All @@ -39,9 +39,16 @@ BASE_DATA_DIR =
# Valid upload extension, comma separated. Empty for no uploads
VALID_UPLOAD_EXTENSION = fastq,fastq.gz,txt,tsv,sff,fna,qual

#Portal the site is working under
# Portal the site is working under
PORTAL = QIITA

# Script used for launching plugins
PLUGIN_LAUNCHER = qiita-plugin-launcher

# Webserver certificate file paths
CERTIFICATE_FILE =
KEY_FILE =

# ----------------------------- SMTP settings -----------------------------
[smtp]
# The hostname to connect to
Expand Down
Binary file modified qiita_core/support_files/config_test_travis.cfg.enc
Binary file not shown.
20 changes: 20 additions & 0 deletions qiita_core/support_files/server.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
-----BEGIN CERTIFICATE-----
MIIDVjCCAj4CCQCP4XnDqToF2zANBgkqhkiG9w0BAQUFADBtMQswCQYDVQQGEwJV
UzETMBEGA1UECBMKQ2FsaWZvcm5pYTESMBAGA1UEBxMJU2FuIERpZWdvMQ0wCwYD
VQQKEwRVQ1NEMRIwEAYDVQQLEwlLbmlnaHRMYWIxEjAQBgNVBAMTCWxvY2FsaG9z
dDAeFw0xNTEyMTgyMjE3MzBaFw0xNjEyMTcyMjE3MzBaMG0xCzAJBgNVBAYTAlVT
MRMwEQYDVQQIEwpDYWxpZm9ybmlhMRIwEAYDVQQHEwlTYW4gRGllZ28xDTALBgNV
BAoTBFVDU0QxEjAQBgNVBAsTCUtuaWdodExhYjESMBAGA1UEAxMJbG9jYWxob3N0
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt1ggW4M/l3Wpru4+2Cro
nnqaUWD0ImLnkdAbmDjhGiCdKqdb8yzLeKipGaRY383gd5vMWHsKB1I3t+EzFWiY
fxd12Evx6MUIXVZSkdConk+8xlmJ5ba1Hgy7qzErY7+HOtgqm1ylyqTuOZyv3Umv
0W6ETLVz/alfzxTlqAkvuJn7I7RrbY81I3b5SOUxJTtj9pPwkZtVOD0ha3FH0LBu
lE4oi6rQQhzIbUDWLITZRCteplV5ikbC3JqaJ7pDiYnOIPnRR0UF+xdyTiOvSNH8
WrKuAdGGN+90PDt8fgQOwptE5l/RGyoJ2on7nlSj5crDtYzXXDYw0DCzuFG12nZV
FwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQBTQJ8WYpSfsXsgmDa2uIYX5E+8ECGn
patQJuxYfOEp9knnBBe+QcaBMY6E7uH6EZz2QwS/gdhfY8e8QXw9sh9ZrQKQlIAK
Q5l5qxAtek0C90qdseYWoomBhpmqMUicF0OgecbdZ4X6Tfc4hvN5IXUTMn9ZJEaV
fduah3c7xEkSbHQl6iHnJswNKTc7Amm+BIwuYJjCZxVgKxAgvYzzg/TFU03gqzfE
h7ARs1p4WdHH+WTMqCZq8+sju3Lum4uwjYaiLaFE7psDkWWAYOu6Jv/o0V1zER/S
LzNaDfkm5kq4VURhPMQzdAiVdiTNKDFnLB3erg6wG95q5OiGNO1WYSw2
-----END CERTIFICATE-----
17 changes: 17 additions & 0 deletions qiita_core/support_files/server.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICsjCCAZoCAQAwbTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWEx
EjAQBgNVBAcTCVNhbiBEaWVnbzENMAsGA1UEChMEVUNTRDESMBAGA1UECxMJS25p
Z2h0TGFiMRIwEAYDVQQDEwlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQC3WCBbgz+Xdamu7j7YKuieeppRYPQiYueR0BuYOOEaIJ0qp1vz
LMt4qKkZpFjfzeB3m8xYewoHUje34TMVaJh/F3XYS/HoxQhdVlKR0KieT7zGWYnl
trUeDLurMStjv4c62CqbXKXKpO45nK/dSa/RboRMtXP9qV/PFOWoCS+4mfsjtGtt
jzUjdvlI5TElO2P2k/CRm1U4PSFrcUfQsG6UTiiLqtBCHMhtQNYshNlEK16mVXmK
RsLcmponukOJic4g+dFHRQX7F3JOI69I0fxasq4B0YY373Q8O3x+BA7Cm0TmX9Eb
KgnaifueVKPlysO1jNdcNjDQMLO4UbXadlUXAgMBAAGgADANBgkqhkiG9w0BAQUF
AAOCAQEAJD/s9Z150miwTYW08DklPoCjR1NijtFBUUkh176GCljNFe+rhnn2OLiV
skunJ4EiVAZ8O3bjgxGc53FnEMVrwisFugvnORTJAZpp7tKxBqpP++gqXf79wElN
ySTLjg9vFQgDjUxM2gO/8lH12HBw9xUDHFN2hOZ9ozPFf7KZUa6KUzh2AgHJ4UCF
9kFceNAvUamAHjv7BwDqoakLTuEBSZOycimDKiW8aBFGYCHFO2NMCzAKyVxmLtkB
K7+e5iWwvy3LewiPX/eK+jtRVwY+ujcvOZeCv6Th+oQv1BxstpJwOlca+5s1Rdke
kUu++nvrQUvWSsdQzxZq855r2TBA/w==
-----END CERTIFICATE REQUEST-----
27 changes: 27 additions & 0 deletions qiita_core/support_files/server.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAt1ggW4M/l3Wpru4+2CronnqaUWD0ImLnkdAbmDjhGiCdKqdb
8yzLeKipGaRY383gd5vMWHsKB1I3t+EzFWiYfxd12Evx6MUIXVZSkdConk+8xlmJ
5ba1Hgy7qzErY7+HOtgqm1ylyqTuOZyv3Umv0W6ETLVz/alfzxTlqAkvuJn7I7Rr
bY81I3b5SOUxJTtj9pPwkZtVOD0ha3FH0LBulE4oi6rQQhzIbUDWLITZRCteplV5
ikbC3JqaJ7pDiYnOIPnRR0UF+xdyTiOvSNH8WrKuAdGGN+90PDt8fgQOwptE5l/R
GyoJ2on7nlSj5crDtYzXXDYw0DCzuFG12nZVFwIDAQABAoIBAAWPwsuD27X4d8E6
sOVVx+Cmz2+QhVdVsLiXm36umwVz39CfawahYTqzww1oEtoXIKwAKd61PMSkFdSa
HDaWCaoxR/3br+bjszFBoReTQMosmQlbRfeV50CWGktDHpHUCYIbdI9p7A2Nmzxc
KGmKBq9Pruu0xWP4c1OQyraiMLRkyjdPxV42t/cpolzkk+zt94om2DdmaZHgrwfM
TIC/PkgINlwIQfATFSaZSeTQ3bhfMzlLLaiDicf/ZUF8HnIToQjXwfApLv9/2DQB
BBjFXVXPODYADG0ddczX4GflO4cdyKeJALooQ2v1R7+F7XbTCHGSewFQsYN1cebP
Shnw4iECgYEA3t2wik92tLDD9yTw3Gl7KcoafW7yVMVjY7DrQqx5VLNN6H2ToIw0
1eaWx1xvabh8F4GyZ6hLqQJs2yOvuBcdEgvjs7rEAktT9w60MNQHP/9LxC7AloUR
QCpcp4kgf6QuYNBH5eeDMPXt/AyItlTBu1tLWvIyArZDFyFpQ1R+UFUCgYEA0po7
78yzQ2zTxxg+Zg1oFhojo8eqbBCxcnaeMMobaUvRlYdQn3FEgYEzAi39ajw+ApKO
megCBEc58mlWRaCEBzmOSdttCL/hZR5QD3tMyE97xZxu4qvty7mS8+Qx7VXi4E+R
9iB3QW2IdnO0ny0LL+/FRlseFd9Xi48HPEfGC7sCgYBZ4bC0Z03pm6y8/PIDAquA
dBjw45DqLV1jNFP9ZM/eIB5YmGS0iDc62S+QIbBxQ80QMeeAtLgm5mp+isrwhKnd
wFvJ/ZXVkwm/BvgXBTwTTGQDMBPN4MbPSQZrLvujXtSxiO6mQxN+6IBdebSdTFuB
s1UVzb3rqBQwvPHWDLqQrQKBgEQoemFfZFzb6aYzqG4qxJbymro0smkK9gLPdN7h
agGn8gpsoqEXbU5kW/fGno81M/RtLg2NUqnDy3MyuCMMke4sqGoqw5zjTLUHHG4G
P5FMeAg6WoCtl+YpBvA72BSxiR2DYv++/hmEs3dydvBVCZvYA4aDkrcNcy3Nek/+
ApBlAoGAQOXrFJa0kMKK89D6luYd7KWTHze7fSNmohxXKm4OW/9V/IxcDFASRasm
Ld45yQ6CRk42Ry0xA/TiEs9Gv8hPrJEzNXVzBMA+s0h6uY13p5cMgZdMA7XotM95
UgtsatiprRqzpYQItbPCYyPmDAscA+jsdoZzbXFjlOYz/9BZRCc=
-----END RSA PRIVATE KEY-----
9 changes: 4 additions & 5 deletions qiita_core/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
from functools import wraps

from qiita_core.qiita_settings import qiita_config
from qiita_db.sql_connection import SQLConnectionHandler
from qiita_db.environment_manager import reset_test_database
import qiita_db as qdb

with standard_library.hooks():
from email.mime.multipart import MIMEMultipart
Expand Down Expand Up @@ -63,7 +62,7 @@ def qiita_test_checker():
"""
def class_modifier(cls):
# First, we check that we are not in a production environment
conn_handler = SQLConnectionHandler()
conn_handler = qdb.sql_connection.SQLConnectionHandler()
# It is possible that we are connecting to a production database
test_db = conn_handler.execute_fetchone("SELECT test FROM settings")[0]
# Or the loaded configuration file belongs to a production environment
Expand All @@ -76,9 +75,9 @@ def class_modifier(cls):
class DecoratedClass(cls):
def setUp(self):
super(DecoratedClass, self).setUp()
self.conn_handler = SQLConnectionHandler()
self.conn_handler = qdb.sql_connection.SQLConnectionHandler()

@reset_test_database
@qdb.environment_manager.reset_test_database
def tearDown(self):
super(DecoratedClass, self).tearDown()

Expand Down
28 changes: 28 additions & 0 deletions qiita_db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,32 @@
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------

import base
import util
import sql_connection
import metadata_template
import analysis
import artifact
import commands
import environment_manager
import exceptions
import investigation
import job
import logger
import meta_util
import ontology
import portal
import reference
import search
import software
import study
import user
import processing_job

__version__ = "0.2.0-dev"

__all__ = ["analysis", "artifact", "base", "commands", "environment_manager",
"exceptions", "investigation", "job", "logger", "meta_util",
"ontology", "portal", "reference", "search",
"software", "sql_connection", "study", "user", "util",
"metadata_template", "processing_job"]
Loading