John Chilton
743a485b24
Port api/repositories/reset_metadata_on_repositories to Tool Shed 2.0.
...
Dropping the odd skip_fille parameter. I don't know... that this is a good idea but it was requested and it landed in the Tool Shed 2.1 issue (xref https://github.com/galaxyproject/galaxy/issues/18652 ).
2025-03-03 20:39:26 -05:00
John Chilton
cc845218c9
This seems to be a doc bug.
2025-03-03 20:39:26 -05:00
John Chilton
ea9e3186d6
Add filter text to repository index API.
2025-02-28 13:40:04 -05:00
John Chilton
05be24eed7
Add repository index pagination to tool shed backend.
2025-02-27 16:49:10 -05:00
Nicola Soranzo
0f1bfb6839
Type annotation improvements
2025-02-21 15:46:14 +00:00
John Davis
1b316163a3
Remove transaction helper from tool_shed.webapp.api
2025-01-23 11:44:03 -05:00
Nicola Soranzo
0e6d6284f2
Fix UP031 errors - Part 2
...
Also:
- Small code refactorings.
- Add type annotations.
- Drop unused `ShedTwillTestCase.check_page()` method.
2024-11-26 08:06:00 +00:00
Nicola Soranzo
cfc31bcb40
Merge branch 'release_23.2' into release_24.0
2024-10-16 11:03:03 +01:00
Nicola Soranzo
63b92e717d
Merge branch 'release_23.1' into release_23.2
2024-10-16 11:01:44 +01:00
John Chilton
7f4bb4f390
Restore session free acccess broken with...
...
https://github.com/galaxyproject/galaxy/commit/12b34ff47c3e4bb86e2ba5d8813a050c44b506baf
2024-08-20 14:53:09 -04:00
mvdbeek
7228c5aad1
Merge branch 'release_23.2' into release_24.0
2024-06-05 15:25:29 +02:00
mvdbeek
fed2294c1b
Merge branch 'release_23.1' into release_23.2
2024-06-05 10:03:56 +02:00
mvdbeek
ea6751a149
Make repository creation slightly safer
2024-06-03 15:55:11 +02:00
mvdbeek
06b8db47ba
Change hardcoded repo location in more place
2024-05-31 11:36:59 +02:00
Nicola Soranzo
e975ca3754
Update to black 2024 stable style
2024-01-30 18:09:51 +00:00
mvdbeek
9c45545b1b
Fix double decoding of repository id
2024-01-08 12:17:42 +01:00
Michael R. Crusoe
df807e6d17
Use the walrus := operator!
...
Fixed by running:
```
ack --type=python -f | grep -v '^lib/galaxy/schema/bco/\|^lib/galaxy/schema/drs/\|^tools/\|^.venv/\|^.tox/' | grep -v '^lib/galaxy/files/sources/\|^lib/galaxy/job_metrics/\|^lib/galaxy/objectstore/\|^lib/galaxy/tool_util/\|^lib/galaxy/util/' | xargs auto-walrus
make format
```
Note that the directories for the packages listed in
`packages/packages_for_pulsar_by_dep_dag.txt`
were explictly excluded.
2023-11-26 18:34:10 +00:00
John Davis
68831ddcfc
Fix SA2.0 usage in tool_shed.metadata, refactor
2023-10-12 14:56:58 -04:00
John Davis
49cafd053e
Fix SA2.0 usage in tool_shed.webapp.api.groups
2023-10-12 10:57:59 -04:00
John Davis
852cb9f00b
Fix SA2.0 usage, refactor tool_shed.webapp.api.repository_revisions
2023-10-12 10:57:59 -04:00
John Chilton
c98fa8c981
Category reworking..
2023-09-26 13:46:59 -04:00
John Chilton
d1d629074b
ToolShed API 2.0
2023-09-26 13:46:58 -04:00
John Chilton
85100edff0
Tool Shed API Modernization ahead of FastAPI
...
- Use the controller base that allow DI.
- Move a bunch functionality we want to port to FastAPI into manage layer.
- Some typing enhancements.
2023-09-26 13:46:57 -04:00
John Chilton
55564b67d7
Remove upload_point upload logic in tool shed.
...
Not used by planemo and not tested by any tests.
2023-09-26 13:46:56 -04:00
John Chilton
8852f0733b
Progress toward exercising less of the tool shed upload API.
...
So we can kill it.
2023-09-26 13:46:56 -04:00
John Chilton
2fa165781b
Use repository manager to capture more of the upload process.
2023-09-26 13:46:55 -04:00
John Chilton
904a6006c5
Additional debugging when handling API errors during repository upload.
2023-09-26 13:46:54 -04:00
Nicola Soranzo
d258e5791e
Fix new E721 errors from ruff 0.0.290
2023-09-20 01:43:40 +01:00
John Davis
13b84744ac
Wrap session.flush in TS webapp.api
2023-06-09 13:05:26 -04:00
John Davis
9eb1b1b98d
Replace "unknown" str with a constant across code base
2023-06-08 17:14:24 -04:00
John Chilton
83c85d79da
Fix reset_metadata_on_repositories to not break everything.
2023-05-12 13:21:15 -04:00
Nicola Soranzo
c210257e0d
Fix new UP031 errors raised by ruff 0.0.262
2023-05-03 17:57:06 +01:00
Nicola Soranzo
c655360e4e
Merge branch 'release_23.0' into dev
2023-04-05 12:39:43 +01:00
Nicola Soranzo
bee3d2e7ac
Merge branch 'release_22.05' into release_23.0
2023-04-03 16:31:48 +01:00
davelopez
682da9f24e
Remove IDs from error messages
...
Simplifies encoding/decoding of IDs and prevents exposure issues
2023-03-31 12:35:00 +02:00
John Chilton
e9832bfbfb
Some typing for api/categories.py
2023-02-03 13:47:39 -05:00
John Chilton
e0887dce68
Improved type signature for repository_util.
2023-02-03 13:47:38 -05:00
John Davis
38afccd780
Fix linting
2023-01-21 11:13:36 -05:00
John Davis
fe7bf27658
Join/load: replace strings with attrs (toolshed-related)
2023-01-21 10:59:59 -05:00
Michael R. Crusoe
75ba9cfd13
Even more typing
2022-11-28 04:50:00 +00:00
Nicola Soranzo
8b461d2639
Merge branch 'release_22.05' into dev
2022-11-04 09:37:23 +00:00
mvdbeek
a02d407f4c
Fix server errors when querying for invalid repos or repos without valid tools
2022-11-03 10:18:52 +01:00
mahendrapaipuri
9b8024bff2
Add new HTTP request arg to get_api_key method
2022-10-12 09:32:00 +02:00
John Chilton
808eca05bd
Use API repository object instead of database object in dozens of spots in tool shed functional tests.
2022-09-24 08:42:23 -04:00
John Chilton
02d34ea341
Merge pull request #14656 from jmchilton/shed_app_2
...
ToolShedApp for more correct typing in tool shed code.
2022-09-19 18:17:15 -04:00
John Chilton
23b27f0dfa
ToolShedApp for more correct typing in tool shed code.
2022-09-19 10:50:07 -04:00
John Chilton
44d6a34178
Remove repository review functionality from tool shed.
2022-09-16 20:25:37 -04:00
John Chilton
f8c1c11016
API tests for tool shed search APIs.
2022-09-14 09:31:27 -04:00
Björn Grüning
78960c6fc6
Merge pull request #14553 from jmchilton/more_ts_api_tests
...
More API tests for the tool shed.
2022-09-10 20:01:15 +02:00
David López
e6fba1ec89
Merge pull request #14562 from jmchilton/ts_cleanup_2
...
Remove broken tool shed API endpoint.
2022-09-07 15:26:20 +02:00