Commit Graph

83 Commits

Author SHA1 Message Date
Judith Roth cee1aa6ce0 Avoid creation of unused containers 2026-05-26 18:07:04 +02:00
Tomas Hykel 43007349db properly pass multi-word arguments to commands 2026-04-26 18:32:57 +02:00
Tomas Hykel 318728a677 Add bin/compose restart 2026-04-21 17:06:38 +02:00
Tomas Hykel 6592137d0c dev: Make bin/compose pick up compose override 2026-04-21 17:03:51 +02:00
Eric Schubert 4f488abe5c [chore] remove lefthook from Gemfile
- installation of lefthook is now in the responsibility of the developer
- reasoning: the different development settings require different setups
  nevertheless
2026-04-14 17:06:46 +02:00
Klaus Zanders 7a3a78ceae Merge branch 'dev' into user-working-times 2026-03-18 11:16:01 +01:00
Oliver Günther a7497c8c44 Remove other remnant of the debian base arg 2026-03-16 12:01:54 +01:00
Klaus Zanders cf9bf938ea Fix heading for recreate script 2026-03-11 13:51:12 +01:00
Klaus Zanders d3d693f239 Implement editing and adding of non working times 2026-03-06 13:28:53 +01:00
Markus Kahl 0789817fe3 Merge remote-tracking branch 'origin/dev' into code-maintenance/71761-include-op-blocknote-hocuspocus-in-openproject-core-repository 2026-02-18 22:47:29 +00:00
Kabiru Mwenja 1a75ca8116 Configure hocuspocus to run on localhost! 2026-02-12 21:18:35 +03:00
ulferts 303447ecb8 activate seemingly safe options in rails framework 8.1 2026-02-06 15:16:13 +01:00
Markus Kahl 561d8fb5d7 add helper scripts to build AIO and slim docker image variants 2026-01-23 14:18:45 +00:00
Christophe Bliard 660f617c22 Clear angular assets manifest
When wanting to avoid openproject cli proxy
(`OPENPROJECT_CLI_PROXY=""`), assets must be precompiled and the
manifest must be built from these assets.

Then if later the assets are deleted like it's done in this script, then
the manifest should reflect that and be cleared too, or it will try to
serve the hashed version of the assets, which is not valid anymore.

This is especially meaningful when running shards with multitenancy
plugin in development mode as the assets are still served by the angular
server, but the routing occurs at a higher level (caddy server doing
reverse proxy). If the manifest exists with hashed values, rails will
return that path with the hash and the angular server cannot serve it.
It needs the unhashed path to serve it.
2025-08-27 11:44:37 +02:00
Christophe Bliard aed5c13df9 Group rake commands together to save time 2025-08-27 11:43:45 +02:00
ulferts d91de29d7c Merge remote-tracking branch 'origin/dev' into rails-7.2 2025-02-27 17:51:34 +01:00
Alexander Brandon Coles 17617191cc Merge branch 'dev' into merge-release/15.3-20250213161949 2025-02-13 15:07:31 -03:00
ulferts 060070346e remove unnecessary spring startup from rubocop 2025-02-13 15:13:14 +01:00
Dombi Attila 173879125a Let bundler take the version from the Gemfile.lock 2025-02-10 15:21:48 +02:00
Klaus Zanders 7bd0f48bf8 Run update script 2024-11-19 11:25:14 +01:00
Ivan Kuchin 131e5369db don't install foreman using bin/dev, as overmind is now available as gem too 2024-06-24 15:54:37 +02:00
ulferts 3b2121f733 Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
This reverts commit 40b2bbeb09, reversing
changes made to b4c6cb17cc.
2024-03-21 11:31:17 +01:00
Ivan Kuchin 7787e457a3 Revert "Merge branch 'dev' into release/13.4"
This reverts commit a901541269, reversing
changes made to e573ca00b7.
2024-03-20 20:19:08 +01:00
Christophe Bliard 91333f6d73 Fix dirty-rubocop script to work with latest rubocop 2024-03-07 17:46:04 +01:00
Oliver Günther 337eda7dfa Revert "Revert "Merge pull request #12998 from opf/task/48717-replace-delayedjob""
This reverts commit dfa75621ea.
2024-03-07 13:59:24 +01:00
Markus Kahl dfa75621ea Revert "Merge pull request #12998 from opf/task/48717-replace-delayedjob"
This reverts commit 9f3e4c48ea, reversing
changes made to 10412f7c85.
2024-03-07 12:40:15 +00:00
Pavel Balashou 2267a0a1e3 React on comments from review.
- Do not use string literals for job class names. Use `class.name` instead.
- Rename `ApplicationJob#good_job_scheduled_at` to `ApplicationJob#job_scheduled_at` to be backend agnostic.
- update queries in bin/check-worker-liveness to use good_jobs table
- Set good_job config options through appropriate OpenProject::Configuration
- Remove delayed_jobs table.
- Update health_check docs.
2024-02-27 22:35:33 +01:00
Pavel Balashou fd6a899b29 [#48717] Replace DelayedJob with GoodJob.
https://community.openproject.org/work_packages/48717
2024-02-14 10:18:27 +01:00
Dombi Attila d57aaa9022 Merge branch 'dev' into fix-merge-conflicts 2024-02-01 15:37:33 +01:00
Dombi Attila 41cef956a3 Use DIR instead of FileUtils in bin/setup script 2024-02-01 14:23:28 +02:00
Dombi Attila aec8707d29 Update the rest of the config files from bin/rails app:update. 2024-02-01 14:22:04 +02:00
Oliver Günther ed4749a66d Set +x bit 2024-01-31 14:55:54 +01:00
Markus Kahl dc2fc1b1d9 scripts to check for worker readiness and liveness 2024-01-31 14:55:54 +01:00
Cyril Rohr 32ce2600af Smaller CI image and parallelise setup commands (#14227) 2023-11-23 15:07:17 +01:00
Cyril Rohr dfc5448d72 Save/Load CI docker image from cache (#14211) 2023-11-22 17:41:55 +01:00
Cyril Rohr 78a0cf052a Improve CI cache support (#14022)
Improve CI cache support
2023-10-27 18:30:14 +02:00
Aaron Contreras 9f132264bb Add ./bin/rubocop
* Run `bundle exec spring binstub rubocop`
2023-08-22 12:35:57 -05:00
Dombi Attila 0ecc2614af Fix missing 18n export (#13256)
* Replace the i18n:js:export task with assets:export_locales

* Update the package-lock.json to fix bin/setup_dev errors
2023-07-26 16:45:21 +02:00
Aaron Contreras 42172a15df Replace foreman with overmind
Updates bin/dev and documentation to incentivize the use of
overmind over foreman.
2023-05-25 07:29:31 +02:00
Klaus Zanders 7f3beb447c Add bin/dev command from Rails 2023-05-17 15:29:11 +02:00
Markus Kahl da1a30bd8d use compose exec variable 2023-04-17 14:57:51 +02:00
Markus Kahl a4f488c986 fix docker dev quickstart 2023-04-17 12:15:38 +02:00
Christophe Bliard 8bcbf705b2 Use one of docker-compose/docker compose (#11889) 2023-01-09 10:58:59 +00:00
Christophe Bliard d1ce52f9f0 Run rubocop with lefthook only on modified lines
Inspired and adapted from
  https://gist.github.com/skanev/9d4bec97d5a6825eaaf6
  https://gist.github.com/MaxLap/ea4b6d1df81de3024562798b5501b9c8
2022-07-11 10:09:51 +02:00
Oliver Günther a38fe3c067 Remove lefthook automatic install on setup_dev 2022-06-23 16:53:27 +02:00
Christophe Bliard 957e95268c add instructions to run Delayed Job worker in bin/setup_dev 2022-04-08 15:17:47 +02:00
Christophe Bliard d6de01e192 Set up git commit hooks when running bin/setup_dev
with lefthook
2022-04-08 15:17:47 +02:00
Markus Kahl 8b82b5e8be migrate db because why would't you? 2021-12-10 10:39:53 +00:00
Henriette Darge 52503ab5db Script to make it easier to test Safari on BrowserStack 2021-09-15 08:04:22 +02:00
Henriette Darge 878e90467b Update setup_dev script to remove manually build public assets as they interfere with lazy loaded modules 2021-08-03 09:46:56 +02:00