Commit Graph
57 Commits
Author SHA1 Message Date
James Smith 382db1eaa7 Add "jobs unlock" command to remove stale background job locks 2026-02-20 23:53:44 +00:00
James Smith c13fb60e29 Fix autogenerated CLI "tree" help
Resolves #5361
2026-02-09 15:45:58 +00:00
James Smith f19ddf9cd8 Automatically run yarn in setup script 2026-02-06 15:08:24 +00:00
James Smith 8722404c15 Change default development port to 3214, to match production 2026-01-07 12:51:10 +00:00
James Smith f5809c4c79 Add CLI task to batch push public content to FASPs 2025-09-17 12:30:14 +01:00
James Smith 84b9804e5d refactor CLI commands into their own files in lib 2025-08-12 12:34:11 +01:00
James Smith 1fbe75ca9c add libraries scan cli command 2025-08-12 12:34:09 +01:00
James Smith 49692ea112 Add manyfold links sync command to batch run link synchronisations 2025-07-29 20:24:54 +01:00
James Smith 5fc17a77e9 Use filter service in Scan::CheckAllJob 2025-07-29 12:41:49 +01:00
James Smith 71b2d0b65c use CheckAllJob with filter in CLI metadata scan 2025-07-28 13:46:13 +01:00
James Smith 900b1cf474 Prune orphaned problems on startup
and use the same job code for the CLI
2025-07-04 09:31:37 +01:00
James Smith fb29ee891a Enqueue prepare download jobs from CLI on low-priority queue 2025-05-20 11:43:21 +01:00
James Smith 1b897702bf add search options to model tasks 2025-05-20 09:45:36 +01:00
James Smith bdcb17cbc4 lint 2025-05-08 20:30:37 +01:00
James Smith 8111a53857 add admin CLI command to pregenerate zipfiles 2025-05-08 20:26:33 +01:00
James Smith dc3f0f09f4 add maintenance command to clean up duplicated links 2025-04-25 13:55:41 +01:00
Matthew Badeau fcae73be91 Fix dev environment loop 2025-04-23 08:37:29 +09:00
James Smith ec0d04c01b lint core rails files 2025-04-22 17:40:56 +01:00
James Smith 432902c2be update setup binstub 2025-04-22 17:40:54 +01:00
James Smith f6714abb36 add new binstubs 2025-04-22 17:40:54 +01:00
Matthew Badeau 1f50ff4bca Fix linting errors 2025-04-22 19:38:59 +09:00
Matthew Badeau 6bdf08b41a Add user password and approve commands 2025-04-22 19:33:04 +09:00
Matthew Badeau 471571660b Add email test CLI 2025-04-22 18:49:11 +09:00
James Smith b8af412c35 Add CLI command to rerun metadata parsing 2025-04-22 08:34:32 +01:00
James Smith 70955ed90b Add allowed option values for "problems purge" command 2025-04-22 08:11:00 +01:00
James Smith 1c25ef9a48 add confirmation on purge actions 2025-04-21 22:19:22 +01:00
James Smith a8e1c427e0 apply lint rules to thor script 2025-04-21 22:19:01 +01:00
James Smith 42f0468d1d add a thor task runner to contain common tasks 2025-04-21 21:52:52 +01:00
James Smith f0f29be87a update cssbundling commands 2024-11-01 12:25:37 +00:00
James Smith ad0492ea4a enable logging to stdout when running in docker 2024-09-17 16:24:50 +01:00
James Smith 90b8acc719 Add a stable env var for the rails app port
so that foreman doesn't autoincrement it and we can use it in workers
2024-08-02 12:41:43 +01:00
James Smith 1ad0a7be4c make sure sqlite database file permissions are correct 2024-07-15 11:06:22 +01:00
James Smith b3a122934c database.yml can handle glomming together the env vars, we don't need to build a complete URL 2024-07-10 10:03:53 +01:00
James Smith 5143101a76 add DATABASE_ADAPTER string to DATABASE_URL generation so we can support both 2024-07-08 17:48:01 +01:00
James Smith 2135f67615 Clean up cache files on app startup 2024-06-30 10:46:52 +01:00
James Smith 6860b6e935 chown the temp files just before setuid 2024-06-27 13:13:12 +01:00
AneurinPrice b2034f4c59 Allow variablisation of the database pool config, non-breaking change 2024-06-20 12:18:45 +01:00
James Smith 04ff80953b Make tmp and log writable for PUID 2024-06-12 16:36:14 +01:00
James Smith 48960efc0d use s6-setuidgid to apply user/group to app execution 2024-06-12 16:35:58 +01:00
Aneurin Price 7ece6cdc88 Update docker-entrypoint.sh
Add an export so that this actually works.
2024-04-26 20:52:39 +01:00
James Smith 601e699b01 remove job clearing in docker start
no need any more with fail-safe jobs
2024-04-18 14:01:13 +01:00
James Smith 919ef8e557 remove delayed job code from admin etc 2024-04-18 11:58:04 +01:00
James Smith 8c8db0a263 alpine uses ash, not bash, so need to change the array format 2024-04-09 13:28:13 +01:00
AneurinPrice e7fa578074 Allow for modular setting of database connection string 2024-04-03 23:51:25 +01:00
James Smith c38b50a0ba use db: prepare:with_data in dev
to replicate #1820
2024-02-05 10:49:45 +00:00
James Smith f2f6dff131 clear old jobs on docker start 2023-08-09 22:54:28 +01:00
James Smith 764b46050c run setup script from dev script 2023-07-06 11:31:07 +01:00
James Smith a81eff5fef use db:prepare:with_data to load DB correctly, from forked data_migrate 2023-07-01 23:54:25 +01:00
James Smith 7a24b35110 remove tmp/pids/server.pid on docker start
See https://stackoverflow.com/a/38732187
2023-06-13 22:16:28 +01:00
James Smith 5307b1e0a3 set up jsbundling-rails 2022-08-02 15:00:36 +01:00