Commit Graph
34982 Commits
Author SHA1 Message Date
Anastasia Tyryshkina 0c852257bb delete comment thats no longer necessary 2018-06-04 12:39:55 -04:00
Anastasia Tyryshkina aa062f8546 fixed the issues with the last pull 2018-06-04 11:53:14 -04:00
Anastasia Tyryshkina 11575132dc exports a dataset tsv 2018-06-01 16:47:57 -04:00
Anastasia Tyryshkina 6dee708ae8 export another tsv file named datasets.tsv 2018-06-01 16:43:45 -04:00
Martin Cech 8a0427a6e8 Merge pull request #6257 from dannon/sharing_link_fix
[18.05] Fix history shared with me 'view' link
2018-05-31 18:05:54 -05:00
Dannon Baker 692465d4ec Standard quotes. 2018-05-31 16:43:26 -04:00
Dannon Baker c0c8aad528 Fix history shared with me 'view' link 2018-05-31 16:42:11 -04:00
Dannon Baker 44b42e7e7e Merge remote-tracking branch 'upstream/release_18.01' into release_18.05 2018-05-31 16:08:55 -04:00
Dannon b137d5cf34 Merge pull request #6239 from lparsons/fix_paster_args
[18.01] Hack paster args to not duplicate pid file stuff for RUN_ALL.
2018-05-31 14:06:27 -04:00
Lance Parsons 88c94fc49b Set pid and log file for paster in server_args
This avoids setting log and pid file in paster_args so that with
GALAXY_RUN_ALL they can be set individually, but ensures they are set
when running paster otherwise.
2018-05-31 12:07:02 -04:00
Lance Parsons ce9b671bd4 Hack paster args to not duplicate pid file stuff for RUN_ALL. 2018-05-29 11:57:30 -04:00
Björn Grüning c9641e1f13 Merge pull request #6227 from jmchilton/collection_type_source_regression
[18.05] Fix broken collection_type_source tool and test.
2018-05-27 07:48:02 +02:00
Martin Cech 221897be04 Merge pull request #6177 from guerler/remove_defunct_link
[18.05] Remove defunct sharing column link
2018-05-26 09:55:47 -05:00
Dannon e91f91b5f2 Merge pull request #6222 from mvdbeek/fix_optional_input
[18.05] Fix optional="True" inputs
2018-05-25 14:58:54 -04:00
Nicola Soranzo ec45c970c5 Add test tool for empty optional select
To easily reproduce https://github.com/galaxyproject/galaxy/issues/6219 .
2018-05-25 18:33:51 +01:00
Martin Cech 8b37b5ad87 Merge pull request #6228 from ValentinChCloud/api_doc
[18.05] Add io_details and link_details in api tools doc
2018-05-25 11:39:56 -05:00
ValentinChCloud 2d0c1478f9 Correct api/tools/{tool_id}/build 2018-05-25 16:18:25 +00:00
John Chilton 02feb17350 Fix broken collection_type_source tool and test.
The tool wouldn't load after 8af243c176 and that caused the relevant tests to "SKIP" instead of failing outright.

./run_tests.sh -api test/api/test_tools.py:ToolsTestCase.test_map_over_collection_type_source
2018-05-25 11:10:39 -04:00
Dannon Baker ae546cef79 Merge remote-tracking branch 'upstream/release_18.01' into release_18.05 2018-05-25 10:21:54 -04:00
Dannon 0718a083ba Merge pull request #6217 from natefoo/jupyter-notebook-rename
[18.01] Fix Jupyter notebook renaming
2018-05-25 10:21:06 -04:00
mvdbeek 9df6309366 Fix optional input in DrillDownSelectToolParameter.from_json() as well
Thanks for catching that @nsoranzo
2018-05-25 14:32:06 +02:00
mvdbeek 3683639be9 Revert "Refactor code for clarity"
This reverts commit 91e97b6096.

The commit to revert causes
https://github.com/galaxyproject/galaxy/issues/6219, where the
`optional="True"` flag is not repected anymore. This is because we raise
an exception before checking that `value` may be legitimately `None`.
2018-05-25 12:25:23 +02:00
Nate Coraor 221d92f681 Don't use the notebook URL itself for keepalive checks 2018-05-24 15:03:04 -04:00
Dannon 5b0434dbb6 Merge pull request #6214 from martenson/doc-symlink
[18.05] document removed packed symlink
2018-05-24 13:04:43 -04:00
Martin Cech 5b57dc0661 this is not the md you are looking for 2018-05-24 11:38:54 -04:00
Martin Cech 134360afce add example 2018-05-24 11:38:08 -04:00
Martin Cech 00ec90d038 document removed packed symlink 2018-05-24 11:07:38 -04:00
Dannon 5643707a4a Merge pull request #6207 from martenson/release-static
[18.05] add static for release
2018-05-23 15:53:23 -04:00
Martin Cech f61c605c2b add selected bundled scripts 2018-05-23 15:41:40 -04:00
Martin Cech f7b3c536d5 static without bundled 2018-05-23 15:37:14 -04:00
Martin Cech ce362e60ab Update version to 18.05 v18.05 2018-05-23 14:44:54 -04:00
Martin Cech ec5924dd64 Merge pull request #6204 from jmchilton/password_fixes
[18.05] More password encoding handling fixes.
2018-05-23 13:08:22 -05:00
Dannon ab656c7e2d Merge pull request #6205 from natefoo/container-resolvers-conf-fix
[18.05] Container resolvers conf fix
2018-05-23 14:07:48 -04:00
John Chilton bd049665d1 Merge pull request #6203 from martenson/remove-1809
[18.05] remove mention of 18.09, that is only for dev
2018-05-23 13:54:43 -04:00
Nate Coraor a301d24016 Fix for loading container resolvers config file 2018-05-23 13:49:17 -04:00
John Chilton 55f7280d79 More password encoding handling fixes.
Fix handling comparison of older hashes in Python 2 and fix the hanlding of both for Python 3.

The previous iteration gave me some errors in Python 3, I brought in and adapted @mvdbeek's Python 3 fixes to fix these:

```
======================================================================
ERROR: test_security_passwords.test_hash_and_check
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/john/workspace/galaxy-lib/.tox/py34/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/Users/john/workspace/galaxy-lib/tests/test_security_passwords.py", line 12, in test_hash_and_check
    simple_pass_hash = passwords.hash_password(simple_pass)
  File "/Users/john/workspace/galaxy-lib/galaxy/security/passwords.py", line 21, in hash_password
    return hash_password_PBKDF2(password)
  File "/Users/john/workspace/galaxy-lib/galaxy/security/passwords.py", line 44, in hash_password_PBKDF2
    hashed = pbkdf2_bin(smart_str(password), salt, COST_FACTOR, KEY_LENGTH, getattr(hashlib, HASH_FUNCTION))
  File "/Users/john/workspace/galaxy-lib/galaxy/security/passwords.py", line 78, in pbkdf2_bin
    rv = u = _pseudorandom(salt + _pack_int(block))
  File "/Users/john/workspace/galaxy-lib/galaxy/security/passwords.py", line 75, in _pseudorandom
    return [ord(_) for _ in h.digest()]
  File "/Users/john/workspace/galaxy-lib/galaxy/security/passwords.py", line 75, in <listcomp>
    return [ord(_) for _ in h.digest()]
TypeError: ord() expected string of length 1, but int found

======================================================================
ERROR: test_security_passwords.test_hash_consistent
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/john/workspace/galaxy-lib/.tox/py34/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/Users/john/workspace/galaxy-lib/tests/test_security_passwords.py", line 38, in test_hash_consistent
    assert passwords.check_password(simple_pass, simple_pass_hash)
  File "/Users/john/workspace/galaxy-lib/galaxy/security/passwords.py", line 30, in check_password
    if check_password_PBKDF2(guess, hashed):
  File "/Users/john/workspace/galaxy-lib/galaxy/security/passwords.py", line 53, in check_password_PBKDF2
    hashed_guess = pbkdf2_bin(smart_str(guess), salt, int(cost_factor), KEY_LENGTH, getattr(hashlib, hash_function))
  File "/Users/john/workspace/galaxy-lib/galaxy/security/passwords.py", line 78, in pbkdf2_bin
    rv = u = _pseudorandom(salt + _pack_int(block))
TypeError: Can't convert 'bytes' object to str implicitly
```

Added tests that all now pass in Python 3 - including generating some passwords in Python 3 and verifying they pass when checked in Python 2 and vice versa.
2018-05-23 13:01:05 -04:00
John Chilton a8e0eda44d Merge pull request #6175 from dannon/password_fixes
[18.05] Allow non-ascii chars in pbkdf2 passwords
2018-05-23 12:04:53 -04:00
Martin Cech 72d07e07d5 remove mention of 18.09, that is only for dev 2018-05-23 12:00:31 -04:00
Nicola Soranzo 44e57ba8b4 Merge pull request #6196 from jmchilton/fix_metadata
[18.05] Fix data_source.py for upload changes in 18.05 release cycle.
2018-05-23 11:07:22 +01:00
Martin Cech ebc6734ed7 Merge pull request #6199 from natefoo/docs-pre-release
[18.05] Support building and publishing pre-release docs
2018-05-22 17:47:20 -05:00
Nate Coraor cfaf7186bd Support building and publishing pre-release docs 2018-05-22 16:31:37 -04:00
guerler 6702fa45cd Remove defunct sharing column link 2018-05-22 16:19:44 -04:00
Martin Cech a5297af190 Merge branch 'release_18.01' into release_18.05 2018-05-22 14:45:56 -04:00
Nate Coraor 6f79f28f17 Merge pull request #6187 from martenson/fix-doc-markdown-table
[18.01] escape pipe while parsing xsd details
2018-05-22 14:45:27 -04:00
Martin Cech 9a840537cb pass the check for pipe presence in details
the docs build fine and the table renders fine too
2018-05-22 14:15:36 -04:00
John Chilton 65c1cd761c Fix data_source.py for upload changes in 18.05 release cycle.
handle_uploaded_dataset_file was used by tools external to ``lib/`` include data_source.py and potentially tools in the tool shed. This restores the interface as a wrapper around a new method handle_uploaded_dataset_file_internal.

Broken in https://github.com/galaxyproject/galaxy/commit/ef6f7f62ab679928045c816a3cb719fb3bcea507 I believe.
2018-05-22 13:21:41 -04:00
Martin Cech 939c3be132 Merge pull request #6194 from nsoranzo/fix__get_slurm_state
[18.01] Fix parsing of `scontrol show job`
2018-05-22 11:59:46 -05:00
Nicola Soranzo 01d2a5c2ae Fix parsing of scontrol show job
Fix the following traceback:
```
galaxy.jobs.runners.slurm ERROR 2018-05-22 13:01:07,050 (1024816/14094939) Failure in SLURM _complete_terminal_job(), job final state will be: failed
Traceback (most recent call last):
  File "/tgac/services/galaxy/prod/galaxy/lib/galaxy/jobs/runners/slurm.py", line 86, in _complete_terminal_job
    slurm_state = _get_slurm_state()
  File "/tgac/services/galaxy/prod/galaxy/lib/galaxy/jobs/runners/slurm.py", line 81, in _get_slurm_state
    job_info_dict = dict([out_param.split('=', 1) for out_param in stdout.split()])
ValueError: dictionary update sequence element #52 has length 1; 2 is required
```
2018-05-22 15:51:26 +01:00
Martin Cech 440f17875f Merge pull request #6191 from jmchilton/fix_sphinx
[18.05] Lock dependency on Sphinx to <1.7.
2018-05-22 09:49:57 -05:00
John Chilton b931356ef3 Fix sphinx. 2018-05-22 06:24:59 -04:00