Commit Graph

12 Commits

Author SHA1 Message Date
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