Commit Graph

234 Commits

Author SHA1 Message Date
Andrej Sandorf 50b5f35059 Merge branch 'dev' into feature/45896-generate-pdf-document-from-a-work-package-description 2024-11-04 15:09:53 +01:00
Christophe Bliard 296ebeaa5b Fix small issues in the anonymize-sql-dump script
- Reuse AdminUserSeeder to create the admin user. Previous code did not
  set a valid email, which prevented the user from being saved (That's
  why language could not be set).
- drop the db before creating it, to avoid "database already exists"
  errors.
- Remove owner from ALTER statements in dump file, avoiding "ERROR:
  must be able to SET ROLE " errors when loading the sql file.
2024-10-28 16:07:04 +01:00
Christophe Bliard 32600d7b26 [46007] Update script to anonymize SQL dump
https://community.openproject.org/wp/46007

Changes:
- script recommends to run on the bastion host
- the openproject dev directory can be passed as a second argument
  if it can't be guessed
- more tables are emptied and/or anonymized
- inline sql cleanup script inside the script
- `btree_gist` and `pg_trgm` extensions are always created to prevent
  import error if they're missing
- use long options to auto-document options
2024-10-28 11:41:59 +01:00
as-op b0cb856660 Merge branch 'dev' into feature/45896-generate-pdf-document-from-a-work-package-description
# Conflicts:
#	frontend/src/vendor/ckeditor/ckeditor.js
#	frontend/src/vendor/ckeditor/ckeditor.js.map
2024-09-26 14:27:47 +02:00
Christophe Bliard c071923d92 Limit to first url 2024-09-23 14:32:12 +02:00
Andrej Sandorf ada244b09a Merge branch 'dev' into feature/45896-generate-pdf-document-from-a-work-package-description 2024-09-17 13:28:38 +02:00
ulferts 1485df44a7 Merge remote-tracking branch 'origin/release/14.5' into dev 2024-09-12 18:10:27 +02:00
as-op c0e06a0d98 fix broken docker links 2024-09-12 12:21:08 +02:00
Oliver Günther dadb0c9a5c exit 0 on no URL found 2024-09-10 10:59:36 +02:00
Oliver Günther a742945e95 Fall back empty versions to "not set"
This way they will trigger the warning comment
2024-09-10 09:55:34 +02:00
Oliver Günther b0103d5085 Add version check when needs review label is added 2024-09-09 20:26:26 +02:00
as-op 63e0f07a3c Merge branch 'refs/heads/dev' into feature/45896-generate-pdf-document-from-a-work-package-description 2024-08-06 12:16:00 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Andrej Sandorf 089d1d85a0 Merge branch 'dev' into feature/45896-generate-pdf-document-from-a-work-package-description 2024-07-17 12:11:43 +02:00
as-op 48d7c825f4 fix(docs): find broken anchors in absolute doc urls 2024-07-16 15:42:32 +02:00
as-op 696ca0587b Merge branch 'refs/heads/dev' into feature/45896-generate-pdf-document-from-a-work-package-description 2024-06-27 09:10:05 +02:00
Dombi Attila f23461a604 Update Bundler to 2.5.13 2024-06-20 10:34:45 +03:00
as-op 8de9de7e04 refactor(pdf-export): sort module for better reuse 2024-06-13 16:25:21 +02:00
Markus Kahl c322b42f68 update migration script, specifically fix the OP7 step 2024-06-12 15:03:44 +02:00
Christophe Bliard 5e4766f072 Merge branch 'dev' into feature/49409-status-exclude-from-totals 2024-06-03 17:56:41 +02:00
Klaus Zanders 1eec6cad54 Update Ruby to 3.3.2 2024-06-03 12:57:25 +02:00
Dombi Attila 543e87a67d Fix the pr errors script, show the in progress run even if there is a successful previous run.
When there is an in progress run and a previous successful run, the
successful run is being displayed. This gives a false information about
the current run being successful. The fix is to display the in progress
run instead.
2024-05-29 19:46:32 +03:00
Christophe Bliard 76f2989a3b Display workflow run start time in github_pr_errors 2024-05-23 10:50:29 +02:00
Klaus Zanders a88ab2eeef Bundler 2.5.9 -> 2.5.10 2024-05-07 09:31:50 +02:00
Klaus Zanders c19aa3c74b Update Ruby to 3.3.1 in all relevant places 2024-04-25 08:54:06 +02:00
Oliver Günther 7a9a43fd93 Rename openproject/community to openproject/openproject 2024-04-17 14:52:47 +02:00
Christophe Bliard eb93a03e00 github_pr_error: add information about merge commit 2024-03-28 11:46:59 +01:00
Christophe Bliard 1ae177c2a8 Merge branch 'release/13.4' into dev 2024-03-21 17:22:20 +01:00
Christophe Bliard d653ce6e4c [53584] Fix Portuguese languages mapping
https://community.openproject.org/wp/53584
https://community.openproject.org/wp/53586

When making Portuguese Brazilian and Portuguese Portugal translations
apart from each other in https://community.openproject.org/wp/53374, we
missed that the root key in the `pt-BR.yml` and `pt-PT.yml` files is
still `pt`. The backend is gracefully falling back to the `pt`
translations but the frontend just fails to translate and falls back to
the English strings, leading to mixed English and Portuguese in the user
interface.

A script fixes the root key in the `pt-BR.yml` and `pt-PT.yml` files.
This script is executed each time the translations are updated from
crowdin.
2024-03-21 16:32:17 +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
Christophe Bliard 605d731f73 Use more accurate language translation for pt-BR 2024-03-08 10:58:07 +01:00
Christophe Bliard 5aefbbc8dd Do not try displaying local screenshot urls 2024-02-19 16:02:40 +01:00
Christophe Bliard 2d6023adab github_pr_errors: use -i to display screenshots in terminal
This works only with `imgcat` and iTerm2 (or any terminal implementing
iTerm2 image protocol like Konsole).

See https://iterm2.com/documentation-images.html to know more.

Feel free to add support for more terminals.
2024-02-16 15:05:50 +01:00
as-op 47ae2444ab ci(docs): add (internal) link checker & Github pull request action 2024-02-13 14:23:12 +01:00
Christophe Bliard 3e2a0331ab Report error if unrecognized url is given 2024-02-13 10:00:06 +01:00
Aaron Contreras 814ab3f50d Merge pull request #14719 from opf/dx/add_failure_backtrace_to_github_pr_errors_script
Add failures explanation to the output
2024-02-06 09:11:50 -05:00
Oliver Günther cedd6233ca Add anonymize dump sql 2024-02-06 15:05:05 +01:00
Christophe Bliard d026f7d79c Add failures explanation to the output
The uninteresting part of the backtrace is filtered out
2024-02-05 17:05:13 +01:00
Christophe Bliard cafadbbfbc Replace faraday with httpx 2024-01-31 17:00:17 +01:00
Dombi Attila d4ce6b2aed Require Base64 in the github_pr_errors script 2024-01-29 13:13:03 +01:00
Aaron Contreras 6eb4a1932b Update docs to reference Bundler 2.5.5 2024-01-22 11:52:06 -05: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
Christophe Bliard 3e095fec93 Make BULK_RUN_COUNT a parameter of script/bulk_run_rspec with -c 2023-12-27 17:22:23 +01:00
Dombi Attila e74eb4ee32 Bump ruby to 3.2.2 & bundler to 2.4.22 2023-12-15 16:26:05 +02:00
ulferts cfe4580e5c Merge remote-tracking branch 'origin/release/13.0' into dev 2023-09-26 09:07:04 +02:00
Christophe Bliard c46e674b4c Do not fail github_pr_errors if PR is closed or merged 2023-09-25 09:55:34 +02:00
Klaus Zanders f64fde1c15 Fixes Performance/StringReplacement offenses 2023-09-06 13:08:22 +02:00