Commit Graph
34778 Commits
Author SHA1 Message Date
davelopez 891f3ffbcd Do not list archived histories with regular ones 2023-06-19 09:44:17 +02:00
davelopez 77858225c2 Remove unnecessary serialization params
They are not likely used when archiving o restoring, mostly when listing.
2023-06-19 09:44:17 +02:00
davelopez 960ffa28dd Increase test coverage + fixes 2023-06-19 09:44:17 +02:00
davelopez d4c99ef728 Purge history after archival on demand 2023-06-19 09:39:55 +02:00
davelopez d53b0f44f4 Raise conflict when trying to re-archive 2023-06-19 09:39:55 +02:00
davelopez faa30df8c3 Improve export record association checks
Make sure the export record satisfies all the pre-requisites to associate it with a history archival.
2023-06-19 09:39:55 +02:00
davelopez cec1b49dc1 Refactor history archival testing related actions
Move them to BaseDatasetPopulator
2023-06-19 09:39:55 +02:00
davelopez 446750af52 Add basic API tests without export record 2023-06-19 09:39:55 +02:00
davelopez 1fe28e8a6a Add API endpoint for restoring archived history 2023-06-19 09:39:55 +02:00
davelopez 41ab1dd20d Add basic API endpoints for archiving and listing 2023-06-19 09:39:55 +02:00
davelopez 75bc8b9a9d Include archived status in history summary serialization 2023-06-19 09:39:55 +02:00
davelopez db0eed8943 Refactor OrderQueryParam for reuse 2023-06-19 09:39:54 +02:00
davelopez fdbc84ccfd Refactor HistoryExportManager 2023-06-19 09:39:54 +02:00
davelopez 284be28bac Refactor StoreExportTracker
Use session.begin()
2023-06-19 09:39:54 +02:00
davelopez 55f2db02eb Serialize archived column in summary view 2023-06-19 09:39:54 +02:00
davelopez b4296c7351 Add archive columns to History model 2023-06-19 09:39:54 +02:00
davelopez 9fa11e5539 Add database migration script
Add minimal changes to history table to be able to use the history archiving feature.
2023-06-19 09:39:54 +02:00
davelopez d23d9ebfd3 Add Archived Histories list prototype 2023-06-19 09:39:54 +02:00
davelopez 519e97a53c Add barebones HistoryArchiveWizard component prototype 2023-06-19 09:39:54 +02:00
Martin Cech bff9656dff Merge pull request #16263 from jmchilton/history_storage_test_1
Marginally more storage management selenium coverage.
2023-06-17 00:11:08 +02:00
Dannon 980bd07a7a Merge pull request #16243 from jmchilton/workflow_license_selenium
e2e test for workflow license selector
2023-06-16 16:53:34 -04:00
Dannon 004a8d72e6 Merge pull request #16084 from ahmedhamidawan/paginate_history_store
Paginate History Store
2023-06-16 16:48:38 -04:00
John Chilton 2efdb1bfbe Marginally more storage selenium coverage. 2023-06-16 14:19:06 -04:00
Dannon c60f72b137 Merge pull request #16222 from jmchilton/history_link_testing
Selenium test for page history links.
2023-06-16 13:52:40 -04:00
Ahmed Awan 92a62e43f5 make filter stick to top, add load more button
fix function comments, format

fix more formatting
2023-06-16 11:07:43 -04:00
Ahmed Awan b7e980e71b [WIP] Paginate History Store
Trying an approach with v-infinite-scroll in selector modal
2023-06-16 11:07:43 -04:00
Dannon 6616eebe5c Merge pull request #15663 from davelopez/notification-system
Add Galaxy Notification System
2023-06-16 10:39:44 -04:00
Dannon 13e0ed77a0 Merge pull request #16242 from jmchilton/selenium_types_1
Selenium type fixes and annotations.
2023-06-15 17:21:06 -04:00
John Davis fad8511111 Fix logic in cleanup method
- Fix error: notification records are now deleted.

- Now that we don't have a `favorite` attribute, all that complicated
  logic is no longer necessary.

- We don't need to synchronize with the session becase the session is
  expired at the end of this method.
2023-06-15 17:11:57 -04:00
Dannon 9d47ea576f Merge pull request #16246 from mvdbeek/dont_error_on_missing_parameters
Don't error on missing parameters or unused parameters in UI controllers
2023-06-15 11:18:25 -04:00
John Chilton 6104f36f7a e2e test for workflow license selector 2023-06-15 10:31:31 -04:00
John Davis da9aa2bb39 Do not start a new db transaction 2023-06-14 15:18:27 -04:00
Marius van den BeekandNicola Soranzo b0ff0e2873 Fix docstring for export_to_file method
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-06-14 20:12:23 +02:00
mvdbeek 5847a4a2c6 Allow unrelated URL parameters in all UI controller routes 2023-06-14 20:02:08 +02:00
mvdbeek 4811eb09fd Remove controller routes that aren't referenced in codebase anymore 2023-06-14 19:12:28 +02:00
mvdbeek 290e6e737c Return 400 for missing parameters in old style controllers and APIs 2023-06-14 19:10:59 +02:00
Alireza Heidari fafcfbb0dd python lint 2023-06-14 16:35:54 +02:00
nuwang 3c7a3cdb6f Remove worker pool fixture, as it's no longer needed 2023-06-14 19:27:31 +05:30
nuwang d5dfca2524 Manually compute hash in test of drs fetch 2023-06-14 19:27:31 +05:30
nuwang fba7275fdd Try setting a different celery worker pool during tests 2023-06-14 19:27:31 +05:30
nuwang 609d35e47b Use stock filesources for drs if user_context is unavailable 2023-06-14 19:27:31 +05:30
nuwang 6a54e6ea1b Add stock filesoures to example file and associated test case 2023-06-14 19:27:31 +05:30
nuwang c41dd9d167 Fix linting errors 2023-06-14 19:27:31 +05:30
nuwang fde2eb581e Add url_regex matching for DRS filesources and add integration test 2023-06-14 19:27:31 +05:30
nuwang 7af59256ee Add drs integration test 2023-06-14 19:27:29 +05:30
Alireza Heidari 3b4b7a5644 remove favorite query check on cleanup_expired_notifications in notifications manager 2023-06-14 15:33:56 +02:00
Alireza Heidari b2bb64f78a Merge branch 'dev' into notification-system 2023-06-14 16:40:36 +03:30
Alireza Heidari 4625293a0f remove notification favorite field from backend and update schema, migration and tests 2023-06-14 14:16:11 +02:00
John Chilton b6fcce9ae3 Selenium type fixes and annotations. 2023-06-13 17:00:09 -04:00
John Chilton 24fc4d48cb Selenium test for history links. 2023-06-13 16:06:11 -04:00