Commit Graph
996 Commits
Author SHA1 Message Date
Nate Coraor a65dd8ae49 Support configuring object store inline 2023-12-20 14:11:22 -05:00
mvdbeek 5d401923fc Merge branch 'release_23.2' into dev 2023-12-14 11:44:09 +01:00
Nate Coraor 0598a4be81 Document falsey values of job_metrics 2023-12-12 16:53:54 -05:00
Nate Coraor 91ef184f39 Support configuring job metrics inline, update documentation 2023-12-12 14:56:38 -05:00
Dannon 426e24ff24 Merge pull request #16954 from common-workflow-lab/python3.8
Python 3.8 as minimum
2023-11-28 23:53:14 -05:00
Dannon f2034f6cb4 Merge pull request #16798 from ElectronicBlueberry/galaxy-help-forum-integration
[EGD 2023 Cofest] Galaxy help forum integration
2023-11-28 09:57:33 -05:00
M BerntandNicola Soranzo 378a144597 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-11-27 13:40:33 +01:00
davelopez ccbac95e85 Rename config option 2023-11-27 11:25:52 +01:00
davelopez 885ceb2d8e Add config options for help forum integration 2023-11-27 11:25:51 +01:00
Michael R. Crusoe c00967cca4 Python 3.8 as new minimum version
Fixes: https://github.com/galaxyproject/galaxy/issues/16394

Also upgrade code to Python 3.8 syntax with:

```
ack --type=python -f | grep -v '^lib/galaxy/schema/bco/\|^lib/galaxy/schema/drs/\|lib/tool_shed_client/schema/trs.*.py\|^tools/\|^.venv/\|^.tox/' | grep -v '^lib/galaxy/files/sources/\|^lib/galaxy/job_metrics/\|^lib/galaxy/objectstore/\|^lib/galaxy/tool_util/\|^lib/galaxy/util/' | xargs pyupgrade --py38-plus
```
2023-11-26 18:34:09 +00:00
Matthias Bernt 878e9fd10d reorder elements of tool conf description 2023-11-24 16:56:17 +01:00
M BerntandNicola Soranzo c6bb6767ab Reformulations
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-11-24 16:53:57 +01:00
M BerntandNicola Soranzo 8a87d75b8d reformulation
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-11-24 16:24:33 +01:00
Matthias Bernt 16b2bf20b2 add docs for tool panel and panel view administration 2023-11-24 12:37:55 +01:00
Sveinung Gundersen 25065986e1 Added note on the removal of interactivetools_shorten_url 2023-11-15 19:05:22 +01:00
Sveinung Gundersen ed3b2885ec Revert removal of docs for default pools argument 2023-11-15 18:03:14 +01:00
Sveinung GundersenandMarius van den Beek 98f06670f9 Less secluded docker containers
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
2023-11-15 17:35:39 +01:00
Sveinung Gundersen 09020ed3f4 Removed info about default pools value as this is currently incorrect. Have also wasted time earlier due to this 2023-11-15 12:54:14 +01:00
Sveinung Gundersen da5a945bf1 Updated config sample files and interactive tools documentation 2023-11-15 12:54:14 +01:00
Sveinung Gundersen bf422d3474 Removed "interactivetools_shorten_url" 2023-11-15 12:54:14 +01:00
John Davis f91693dc6e Merge pull request #16783 from SergeyYakubov/get-rid-of-filename-property
Replace file_name property with get_file_name function
2023-11-08 17:19:40 -05:00
Yakubov, Sergey c30a4c06c2 Replace file_name property with get_file_name function 2023-11-08 17:17:14 -05:00
John Chilton c1d3eb59ed Rebuild config schema. 2023-11-06 10:11:28 -05:00
Heinz-Alexander FuettererandNicola Soranzo 347e7b8301 chore: fix typos
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-10-13 16:29:27 +02:00
mvdbeek edeaf26720 Drop delayed_tool_init config setting 2023-08-17 11:44:29 +02:00
mvdbeek e32836b5e6 Merge branch 'release_23.1' into dev 2023-08-17 11:42:27 +02:00
John Davis 21a35b84a7 Merge pull request #16537 from mvdbeek/tool_document_cache
[23.1] Limit tool document cache to tool configs with explicit cache path
2023-08-15 04:32:02 +10:00
mvdbeek 98b3642fe2 Drop unused tool_cache_data_dir config setting 2023-08-10 12:08:43 +02:00
mvdbeek e6c671ca55 Add back $TMPDIR:rw,$TMP:rw,$TEMP:rw mounts
These were incorrectly dropped in
https://github.com/galaxyproject/galaxy/pull/15614/commits/9e48ceb169200eb55a132328b431d1cabc282259.
2023-08-09 15:34:38 +02:00
John Davis b6f8377aa4 Remove unused config property 2023-07-15 12:06:41 +10:00
claudiofr 462f57155e Move behavior from celery_user_rate_limit model class to base_task module.
Moved behavioral logic from CeleryUserRateLimit model class to base_task
module because model classes should be plain old classes. Ran
make config-schema to update galaxy_options.rst and galaxy.yml.sample
based on changes made to config_schema.yml.
2023-07-12 10:35:54 -04:00
claudiofr 05885febb3 Limit number of celery tasks that a user can run per second.
Introduce a celery_user_rate_limit config parameter which
specifies how many tasks per second a user can execute. Create a
custom celery Task class called GalaxyTask with a before_start hook
that implements the rate limiting logic. Add a new table,
celery_user_rate_limit that tracks the last scheduled execution time
by user id. Add new integration test, test_celery_user_rate_limit.py.
2023-07-12 10:35:54 -04:00
Rendani Gangazhe 06ae184ee5 Serialize geographical location code and remove unneeded carbon emissions flags
- `carbon_intensity` and `geographical_server_location_name` are
  automatically computed on startup and are never set by an admin. So
  they don't need to be in the config at all.
2023-07-06 13:39:56 +02:00
Rendani Gangazhe c72904d432 Fix types in config_schema 2023-07-01 10:39:54 +02:00
Rendani Gangazhe 34d34e26b6 Correctly type power_usage_effectiveness flag in config 2023-06-28 17:15:04 +02:00
Rendani Gangazhe a19f06b1c7 Merge dev 2023-06-24 14:13:40 +02:00
Rendani Gangazhe 611527b53e Move carbon intensity reference data to backend and add admin docs
- Add `geographical_server_location_code`, `geographical_server_location_name` and `carbon_intensity` flags.
- Alphabetically sort the list of config flags in galaxy init file.
- Add logic to set `geographical_server_location_name` and `carbon_intensity` based off of `geographical_server_location_code`.
2023-06-24 13:53:34 +02:00
Marius van den Beek fb11e30bf8 Merge pull request #16280 from mvdbeek/container_resolver_followup
Improve container resolver documentation
2023-06-22 11:30:22 +02:00
mvdbeek 3606c34540 Rebuild schema docs 2023-06-21 22:45:13 +02:00
claudiofr 2d3547a630 Change default beaker cache type to file for the 3 beaker caches. 2023-06-21 22:45:12 +02:00
claudiofr cb9ff7c7b8 Changed default beaker cache table name to beaker_cache for all caches
All 3 beaker caches, mulled_resolution, citations, biotools service,
now use the same default cache table, beaker_cache. This reduces the
number of open db connections because beaker creates a separate
sqlalchemy engine and associated connection pool for each distinct
table and each connection pool opens up a certain number of connections.
This was causing the integration tests to fail because the max
postgress connections(100) were being exceeded.
2023-06-21 22:45:12 +02:00
claudiofr 213398aee3 Change citation and biotools_service beaker cache type from file to
ext:database.

Rather than store cache data in the file system store cache data
in the database. These are the last 2 beaker caches that need
to be converted to the database as part of issue 15216.
Introduce new config parameters for database url, cache table name.
Introduce logic to default values of a parameter to values of another
parameter. i.e. default cache database url to database_connection.
Metadata for this was placed in code. Should probably be
placed eventually in config file which would require a change
to the config_schema.yml.

Introduced a new unit test, test_citations_db.py
Did not introduce a new test for the biotools_service beaker cache
because I could not find a place in the code where it was used.
2023-06-21 22:19:04 +02:00
claudiofr 80f9d66824 Change muled resolution beaker cache type from file to ext:database.
Rather than store cache data in the file system store cache data
in the database. Partially addresses issue 15216. For now this was
only changed for the mulled resolution cache. Introduced new
config parameters for database url, cache table name. Introduced
logic to default values of a parameter to values of another
parameter. i.e. default cache database url to database_connection.
Metadata for this was placed in code. Should probably be
placed eventually in config file which would require a change
to the config_schema.yml.

Introduced a new unit test, test_mulled_resolution_cache_db.py.
2023-06-21 22:19:03 +02:00
mvdbeek e93d09ad02 Minor documentation tweaks 2023-06-21 12:40:09 +02:00
Nicola Soranzo df36f65ca3 Merge pull request #15614 from bernt-matthias/topic/container-resolvers-typing-docs-tests
Container resolvers: add docs, typing and tests
2023-06-20 23:47:31 +01:00
M BerntandNicola Soranzo 33c71a685a Update doc/source/admin/jobs.md
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-20 11:57:46 +02:00
M BerntandNicola Soranzo 6cfcb04c19 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-20 10:30:19 +02:00
Matthias Bernt de38dbe81f fix compute -> execution environment 2023-06-15 10:04:09 +02:00
M BerntandNicola Soranzo 15a3595c4d Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-15 09:43:08 +02:00
Matthias Bernt 368725b80d doc: polishing 2023-06-14 15:28:43 +01:00