208 Commits

Author SHA1 Message Date
Mir Bhatia 3b2770bc1a Update mailer delivery_method in dev environment 2025-12-22 07:14:52 +01:00
Christophe Bliard ddb0753273 Document why bs-local.com is allowed host in development.rb
[skip ci]
2025-08-27 14:19:03 +02:00
Alexander Brandon Coles 78ed9ea580 Freeze string literals in config
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze config
2025-08-19 17:04:00 +01:00
Markus Kahl 44b2676b36 Merge pull request #17280 from opf/maintenance/update-appsignal
Maintenance: update appsignal
2025-07-02 12:31:46 +02:00
Eric Guo 0db89d256c Fix production run after go Rails 7.2 2025-03-10 15:57:53 +08:00
Klaus Zanders 79892edf67 set queue_adapter for testing 2024-11-19 15:52:21 +01:00
Klaus Zanders 7bd0f48bf8 Run update script 2024-11-19 11:25:14 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Oliver Günther aec7df1e51 Fix missing param in response_app 2024-07-08 16:11:09 +02:00
Oliver Günther 0b5cc6bf0f Use single-line start_with? 2024-06-25 16:26:48 +02:00
Oliver Günther 2948d358ac add 400 response 2024-06-25 16:21:48 +02:00
Oliver Günther 572f202530 Allow sys api without host check 2024-06-25 16:21:48 +02:00
Oliver Günther 60cff7aed1 Set hosts config when present in config 2024-06-25 16:21:48 +02:00
Christophe Bliard dcf53b2702 Merge branch 'dev' into feature/40749-consistent-calculation-of-percent-complete 2024-04-04 14:47:48 +02:00
Christophe Bliard da903583f0 Can disable pending migration check in dev environment
If OPENPROJECT_DISABLE__MIGRATIONS__CHECK is set to 'true', then the
pending migrations screen will not be displayed. Useful to test some
stuff while working on migrations. But a yellow annoying banner will be
displayed in the bottom of OpenProject page instead.
2024-04-02 17:59:56 +02:00
Ivan Kuchin 6678cab48d auto correct quotes 2024-03-28 18:22:34 +01:00
Andreas Pfohl f4e6a548ac Merge remote-tracking branch 'origin/dev' into implementation/50915-send-an-email-with-the-information-and-how-to-fix-it 2024-03-22 09:05:45 +01: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
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Andreas Pfohl 976a5eb0c2 Enabled letter_opener_web per default 2024-03-07 10:36:02 +01:00
Andreas Pfohl d5aa9c4068 Fixed suggestions from PR for health mailing 2024-03-06 13:30:57 +01:00
Andreas Pfohl dfbca96b68 Fixed StorageHealthMailJob and mail sending 2024-03-01 09:27:35 +01:00
Dombi Attila 1f3913706c Address CR comments 2024-02-01 14:23:26 +02:00
Dombi Attila 2468cc9623 Correct the config.enable_reloading setting in the test environment 2024-02-01 14:23:24 +02:00
Dombi Attila 4ca1d093db Cache classes and remove null cache store config. 2024-02-01 14:23:24 +02:00
Dombi Attila 24d5ed2f55 Remove old allow_concurrency = false setting in the test config 2024-02-01 14:23:23 +02:00
Dombi Attila dac7f00152 Revert "Change auth_stages feature specs to verify the missing http status code instead of a raised exception."
This reverts commit f8f9fdd68367261dfa66220d427d247a6497af53.
2024-02-01 14:23:22 +02:00
Dombi Attila 3322ed67e1 Enable actioncontroller caching in test config. 2024-02-01 14:23:21 +02:00
Dombi Attila ad47e71da3 Change auth_stages feature specs to verify the missing http status code instead of a raised exception. 2024-02-01 14:23:21 +02:00
Oliver Günther 4580c2e469 Set show_exceptions to :none to match previous behavior
This otherwise fails the auth_stages spec https://discuss.rubyonrails.org/t/behaviors-in-action-controllers-raising-error-has-been-changed-in-7-1/83933
2024-02-01 14:23:21 +02:00
Dombi Attila 4bab7c4d99 Use new mailer config preview path syntax 2024-02-01 14:22:13 +02:00
Dombi Attila ba16112745 Use Rails.application instead of OpenProject::Application 2024-02-01 14:22:04 +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
Dombi Attila f67aee52f5 [#46647] Bump Rails to 7.1
- Modified config files:
  - config/application.rb
  - config/environment.rb
  - config/environments/development.rb
  - config/environments/production.rb

https://community.openproject.org/work_packages/46647
2024-02-01 14:22:03 +02:00
Christophe Bliard 8fa8584538 Run rubocop --autocorrect on all files
Only the safe cops have run. rubocop version is 1.59.0.
2024-01-05 15:27:09 +01:00
Christophe Bliard c795874f7f Update copyright year for 2024
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Oliver Günther 45ef7493c3 Silence multiple database warning
https://community.openproject.org/work_packages/51625
2023-12-19 09:31:07 +01:00
Oliver Günther e7fe9c8a2f Enable lograge at all times, improve output for grape
Instead of opting into lograge, enable at all times for all environments
and instead show Rails view logs in development additionally.

This makes debugging the logs easier. Also, adds request_id to all logs even for grape
2023-11-14 09:36:39 +01:00
Oliver Günther c174414829 Move rate limiting from saas to core 2023-11-07 13:07:26 +01:00
Christophe Bliard 343b5187c0 Add request_id tag to logs
https://community.openproject.org/wp/50635
2023-10-24 09:22:40 +02:00
Klaus Zanders 26cee2729e Fixes Performance/RegexpMatch offenses 2023-09-06 12:50:32 +02:00
Aaron Contreras 38c4ae58f1 Raise missing translation errors on TEST environment
* Adds `config.i18n.raise_on_missing_translations = true` to
  `config/environments/test.rb`.
2023-09-05 10:50:43 -05:00
Oliver Günther a5f27e5e47 Remove webdrivers once more, let selenium handle chromedriver 2023-08-22 15:38:12 +02:00
Klaus Zanders bd7b2818b0 Revert "Merge pull request #13312 from opf/dependabot/bundler/dev/selenium-webdriver-4.11.0"
This reverts commit bad9b3f496, reversing
changes made to 19c13199b2.
2023-08-01 16:22:14 +02:00
Klaus Zanders e699825f7a Remove webdrivers gem 2023-08-01 08:17:29 +02:00
Oliver Günther 84ab215ae3 Merge pull request #13168 from opf/chore/i18n-js-bump
Bump i18n-js to v4
2023-07-26 13:45:43 +02:00
Klaus Zanders a429407323 Revert "Merge pull request #13190 from opf/remove-webdrivers"
This reverts commit 0f0088375e, reversing
changes made to 0b8441e154.
2023-07-25 16:59:22 +02:00
Klaus Zanders 9eaea299d3 Remove webdriver config 2023-07-24 11:40:30 +02:00
Klaus Zanders 10a488e9ba Pin Chromedriver to the last version that was released in the old way compatible 2023-07-20 15:03:06 +02:00