Commit Graph
33276 Commits
Author SHA1 Message Date
Dannon Baker 485fa57ba8 Python formatting w/black -- make format 2023-01-10 09:25:35 -05:00
jhl667 5b961965fb add set_random_password to tool_shed User
Fixes #15278
```
Traceback (most recent call last):
  File "lib/galaxy/web/framework/middleware/error.py", line 154, in __call__
    app_iter = self.application(environ, sr_checker)
  File "lib/galaxy/web/framework/middleware/xforwardedhost.py", line 23, in __call__
    return self.app(environ, start_response)
  File "/galaxy/.venv/lib/python3.6/site-packages/paste/translogger.py", line 69, in __call__
    return self.application(environ, replacement_start_response)
  File "/galaxy/.venv/lib/python3.6/site-packages/paste/recursive.py", line 85, in __call__
    return self.application(environ, start_response)
  File "/galaxy/.venv/lib/python3.6/site-packages/routes/middleware.py", line 153, in __call__
    response = self.app(environ, start_response)
  File "/galaxy/.venv/lib/python3.6/site-packages/paste/httpexceptions.py", line 640, in __call__
    return self.application(environ, start_response)
  File "lib/galaxy/web/framework/base.py", line 138, in __call__
    return self.handle_request(environ, start_response)
  File "lib/galaxy/web/framework/base.py", line 217, in handle_request
    body = method(trans, **kwargs)
  File "lib/tool_shed/webapp/controllers/user.py", line 68, in login
    response = self.__validate_login(trans, **kwd)
  File "lib/galaxy/webapps/galaxy/controllers/user.py", line 139, in __validate_login
    message, user = self.__autoregistration(trans, login, password)
  File "lib/galaxy/webapps/galaxy/controllers/user.py", line 97, in __autoregistration
    user = self.user_manager.create(email=email, username=username, password="")
  File "lib/galaxy/managers/users.py", line 116, in create
    user.set_random_password()
AttributeError: 'User' object has no attribute 'set_random_password'
```
2023-01-06 11:25:14 -08:00
Marius van den Beek 8249b43052 Merge pull request #15266 from guerler/fix_radiobutton
Fix boolean parameter handling
2023-01-06 08:52:53 +02:00
Nicola Soranzo a23cff23b2 Check GitHub API rate limit in `get_alternative_versions`, skip test if hit
Fix the following mulled unit test random failure:

```
    @external_dependency_management
    def test_get_alternative_versions():
>       versions = get_alternative_versions("recipes/bioblend", "meta.yaml")

test/unit/tool_util/mulled/test_get_tests.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
lib/galaxy/tool_util/deps/mulled/get_tests.py:178: in get_alternative_versions
    r.raise_for_status()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <Response [403]>

                f"{self.status_code} Server Error: {reason} for url: {self.url}"
            )

        if http_error_msg:
>           raise HTTPError(http_error_msg, response=self)
E           requests.exceptions.HTTPError: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/bioconda/bioconda-recipes/contents/recipes/bioblend

.tox/mulled/lib/python3.7/site-packages/requests/models.py:1021: HTTPError
------------------------------ Captured log call -------------------------------
DEBUG    urllib3.connectionpool:connectionpool.py:1007 Starting new HTTPS connection (1): api.github.com:443
DEBUG    urllib3.connectionpool:connectionpool.py:465 https://api.github.com:443 "GET /repos/bioconda/bioconda-recipes/contents/recipes/bioblend HTTP/1.1" 403 277
```
2023-01-04 10:48:34 +00:00
Nicola Soranzo 7c5d90c972 Simplify imports 2023-01-04 09:40:25 +00:00
Nicola Soranzo b9cf28d919 Remove unused `history_id` fixture requests
Follow up on https://github.com/galaxyproject/galaxy/pull/15031 .
2023-01-04 09:40:24 +00:00
Nicola Soranzo 2cd3eb60ab Fix typos and wording 2023-01-04 09:40:24 +00:00
Martin Cech fc829c1694 Merge pull request #15273 from martenson/merge-15265
Merge 22.05 to dev
2023-01-04 02:17:25 +01:00
Martin Cech d03849df7a Merge pull request #14247 from bernt-matthias/topic/add-doc-lint-compare
add doc and linting for test output compare attribute
2023-01-03 23:32:13 +01:00
Martin Cech 36da2067ce Merge branch 'release_22.05' into dev 2023-01-03 13:13:53 -08:00
Martin Cech ca77e18411 Merge pull request #15265 from Lain-inrae/fix_gxit_short_token_-issue_15224
[22.05] Fixes #15224 - tools token are created with a size of 10 chars when interactivetools_shorten_url is true
2023-01-03 22:08:22 +01:00
Dannon 5771d388bc Merge pull request #15030 from martenson/it-store
pinia-based store for active IT entry points
2023-01-03 12:31:23 -05:00
guerler 42051b3226 Remove string boolean from backend legacy form 2023-01-03 11:53:03 -05:00
guerler 89b26c8c23 Adjust boolean parameter test, add additional asserts 2023-01-03 11:52:55 -05:00
guerler 6b0fd58709 Ensure that backend returns boolean values for boolean parameters 2023-01-03 11:52:49 -05:00
Dannon 2b598e0125 Merge pull request #15203 from jmchilton/tool_test_typing_decompose_4
A bit more typing in interactor.py.
2023-01-03 11:23:10 -05:00
Dannon Baker e78a2b6c5e Merge remote-tracking branch 'upstream/dev' into it-store 2023-01-03 10:55:00 -05:00
Dannon e47769a1ca Merge pull request #15214 from jmchilton/auth_fastapi
Migrate baseauth endpoint to FastAPI
2023-01-03 10:40:51 -05:00
Dannon cb6d23841b Merge pull request #15249 from neoformit/datatype-wiff2
Add wiff2 composite/tar datatypes
2023-01-03 10:16:46 -05:00
Dannon 86f9fa77ab Merge pull request #15254 from bernt-matthias/topic/lint-dm
Apply all linters to data managers (which are applied to tools)
2023-01-03 10:16:18 -05:00
Lain Pavot cdbfe6787b Fixes #15224 - tools token are created with a size of 10 chars when interactivetools_shorten_url is true 2023-01-03 09:37:18 +01:00
Nicola Soranzo f9de592a4d Check success of GET requests before using response text 2023-01-01 03:40:41 +00:00
Nicola Soranzo a850a47419 Update pysam depedency to 0.20.0
Fix `pysam.index()` calls which now use samtools 1.16 where
`samtools index input output` doesn't work any more if `output` is the path
of an already existing file, but `samtools index -o output input` works
fine.

Also:
- Pre-create the (empty) index file for mock test datasets as a unit test
  reproducer of the above issue.
- Fix `test_cram` unit test that wasn't checking the return value of
  `CRAM.set_index_file()`, which was in fact returning False because
  `test-data/2.cram` was not sorted (updated now).
2023-01-01 03:37:53 +00:00
galaxybot 6c73423010 Update Python dependencies 2022-12-31 18:44:23 +00:00
Martin Cech 9ca8a7ec06 Merge pull request #15245 from ElectronicBlueberry/upload-modal-refactor
Fix UploadModalContent "__v_isRef" is not defined
2022-12-31 03:07:58 +01:00
galaxybot 4d07ff5fa4 Update Python dependencies 2022-12-26 18:37:20 +00:00
M Bernt 2e433e378a Remove logging code 2022-12-26 11:01:19 +01:00
Aysam Guerler dd4dd8f665 Merge pull request #15252 from ElectronicBlueberry/themes
Add Theme support
2022-12-24 19:54:47 -05:00
nuwang fa6308416b Upgrade TPV to v2.0.0 2022-12-24 16:00:13 +05:30
Martin Cech 266786d468 reimplement the relationship between IT and hda
this will be less expensive to obtain for now
2022-12-23 11:22:30 -08:00
Laila Los d3562cfc39 Merge remote-tracking branch 'upstream/dev' into themes 2022-12-23 16:41:12 +01:00
Laila Los 5219638db9 add type annotation 2022-12-23 16:35:15 +01:00
Laila Los 58042763db add option to configure theme per host 2022-12-23 16:29:51 +01:00
Nicola Soranzo d86b0c5057 Update Singularity Docker image used by involucro
Fix `test_mulled_build_files_cli` unit test that failed with:

```
[Dec 21 01:20:48] SOUT Exploding layer: sha256:c1a16a04cedd950c541fa85e64b62b17eb3b73a7f7e29ea3db23dc9b83dfcade.tar.gz
[Dec 21 01:20:48] SERR
[Dec 21 01:20:48] SERR gzip: /root/.singularity/docker/sha256:c1a16a04cedd950c541fa85e64b62b17eb3b73a7f7e29ea3db23dc9b83dfcade.tar.gz: not in gzip format
[Dec 21 01:20:48] SERR tar: This does not look like a tar archive
[Dec 21 01:20:48] SERR tar: Exiting with failure status due to previous errors
[Dec 21 01:20:48] SOUT Cleaning up...
[Dec 21 01:20:48] ERRO Task processing failed: Unexpected exit code [2] of container [1dd027b25cf7 step-4af955b402], container preserved
```
2022-12-23 11:54:38 +00:00
Matthias Bernt 3140daf405 also lint data managers
so far only the general linter was applied to data managers.
I see no reason why the other linters that run on tools should
not run on data managers
2022-12-23 09:54:52 +01:00
Dannon Baker 9de4e72563 Rebuild config including gravity stuff 2022-12-22 21:25:41 -05:00
Cameron Hyde 4f39584486 Add test data some.wiff2.tar 2022-12-23 10:00:25 +10:00
Cameron Hyde 9afba1d9db Formatting 2022-12-23 09:21:05 +10:00
guerler aeb55de1fe Remove duplicate theme from sample file, prioritize active over hover highlighting to avoid flickering 2022-12-22 14:42:56 -05:00
Laila Los 1c622481be brighten pride theme 2022-12-22 17:21:23 +01:00
Laila Los b022a88c7f fix renamed config file 2022-12-22 17:01:55 +01:00
Laila Los 7d7ac4111b rebuild config 2022-12-22 16:59:27 +01:00
Laila Los 0ef21dc25a fix typo 2022-12-22 16:42:57 +01:00
Laila Los f2a806cebb rename themes config 2022-12-22 16:30:29 +01:00
Laila Los 60e3469759 isort import 2022-12-22 14:11:53 +01:00
Laila Los fbdc17f6f2 add pride theme to sample 2022-12-22 13:21:53 +01:00
Laila Los a130538a3a fix unassigned variable 2022-12-22 12:22:52 +01:00
Laila Los 34cbbc5ad6 add persistant theme swapping 2022-12-21 14:01:34 +01:00
Laila Los 26e68efd39 apply styles
move styles to masthead
add sample config
2022-12-21 13:01:52 +01:00
Laila Los e7bf127346 Merge remote-tracking branch 'upstream/dev' into themes 2022-12-21 11:28:41 +01:00