Commit Graph

24 Commits

Author SHA1 Message Date
Kabiru Mwenja 1a75ca8116 Configure hocuspocus to run on localhost! 2026-02-12 21:18:35 +03: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 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
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 fd6a899b29 [#48717] Replace DelayedJob with GoodJob.
https://community.openproject.org/work_packages/48717
2024-02-14 10:18:27 +01: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
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
Oliver Günther ab940052b7 Rename shrinkwrap to package-lock and fix version (#9471) 2021-07-19 08:29:44 +02:00
Benjamin Bädorf 5f45ee07ab Move development docker-compose file to the main directory (#8798)
* Move development docker-compose file to the main directory

This requires us to move some other files around, like the pullpreview and example docker-compose file for production
setups. This commit also does some housekeeping, like removing some old files and deduping configuration.

* Updated to selenium grid

* Fix in-Docker Selenium tests

The Selenium tests now run inside a Docker Chrome Container. Backwards compatability with non-docker setups is not
guaranteed, though it should not be hard to implement with a couple of small fixes.

* Updated docker development documentation

* Improved test timings, changed the documentation

* Updated docker testing again

* Run npm in the frontend directory

* Really run npm in the frontend directory

* Also run npm in frontend when setting up travis cache

* Change directory for one command only

* Change default test driver name

* CI test change fixes

* Fixed syntax error

* Added dev check

* Trying to fix firefox resizing

* Trying to get tests running

* Stop resizing firefox

* Fixed apple icon spec

* fix host in url helpers for omniauth spec

* Fix omniauth specs

* Fix docs

* Small fixes to docker tests

* Added package.json back in

* Change env variables

Co-authored-by: Markus Kahl <machisuji@gmail.com>
2020-11-12 14:05:03 +00:00
Oliver Günther 9a938042fe Add export of JS locales to setup_dev script\n\nThis will make it easier to run tests locally by simply running this script beforehand 2020-09-15 09:52:49 +02:00
Oliver Günther 10e21154f7 Move asset pipeline javascripts to frontend (#8482)
* ove reporting and reporting_engine js to frontend page

* Replace webhook assets javascript

* Add path augment service to dynamically load scripts

* Remove JS-Files that are not used/not needed any more

* Include AugmentingModule correctly

* Remove special handling for checkbox selection which is outdated and two jquery libs that are not used any more

* Load scripts dynamically that are not needed globally

* Move plugin JS to frontend

* Move toggable fieldsets to global listeners

* Move top-menu to global listeners and convert to TS

* Move action_menu to frontend and port to TS

* Move settings listener to frontend

* Remove global js assets that were not used anyway

* Move date range to timelog dynamic script where it's still used until removed

* Move colors to global-listeners and port to TS

* Replace tooltip with simple form instructions on the one place used

Tooltips were only used at the one place in our application, when changing a users password.
We can simply remove it there and use a modern solution the next time we need a tooltip

* Move danger zone validation to frontend and port to TS

* Move colorcontrast to backlogs vendor where it's used now

* Remove contents of application.js.erb

* Move project and user scripts to dynamically loaded

* Move onboarding tour to dynamically loaded

* Use correct syntax for jQuery so that $ is  known keyword within this function

* Fix onboarding tour

* Fix onboarding tour for scrum tour

* Fix specs after moving JS

* Remove application.js.erb

* Move locales and ckeditor to the frontend to dynamically load

* Remove bundles caches

These are no longer being used since angular cli

* Ensure locales are exported before angular

Co-authored-by: Henriette Darge <h.darge@openproject.com>
2020-07-09 11:02:43 +02:00
Oliver Günther 8e32895ce3 Remove legacy frontend 2019-07-01 20:08:06 +02:00
Oliver Günther 30f7de8108 Skip updating shrinkwrap in helper scripts
[ci skip]
2018-12-12 15:29:32 +01:00
Oliver Günther 37f8c0b23a Link frontend in setup_dev script
[ci skip]
2018-06-28 08:49:38 +02:00
Oliver Günther 2a924dcc74 Add more useful setup_dev script
[ci skip]
2018-06-27 09:14:26 +02:00