113 Commits

Author SHA1 Message Date
Oliver Günther 1f3da064ac Escape CSV formula cells by default 2026-06-01 13:44:29 +02:00
Judith Roth f8c29e8bd2 [#74366] Adapt PDF gantt report for semantic identifiers
https://community.openproject.org/wp/74366
2026-05-07 21:06:06 +02:00
Judith Roth b26b1ef0d7 [#74366] Adapt Contract PDF export for semantic identifiers
https://community.openproject.org/wp/74366

And also improve rendering of linked work packages for this.
Before, the macros were not expanded, but only the hashes and
ID output directly.
2026-05-07 21:06:06 +02:00
Judith Roth 15647fe65d [#74366] Adapt regular PDF export description contents for semantic identifiers
https://community.openproject.org/wp/74366
2026-05-07 21:06:05 +02:00
Judith Roth e3453db103 [#74366] Adapt PDF exports for semantic identifiers
https://community.openproject.org/wp/74366

Basic report adaptions
2026-05-07 15:03:42 +02:00
as-op cbc156c96c [#74117] Wrong timezone for timestamp of work package pdf export
https://community.openproject.org/wp/74117
2026-04-21 15:58:36 +02:00
Jan Sandbrink f9d8bc6614 Introduce SubclassResponsibility error
This error is intended for cases when a method is
intentionally not implemented, because the module/class defining
it expects a subclass (or class including the module) to implement
the method.

This is intended to distinguish it from other cases, such as:
* feature not implemented yet
* edge case of a method call not yet supported

Notably it avoids the misuse of the Ruby-defined NotImplementedError,
which is only intended for much more specific scenarios:

> Raised when a feature is not implemented on the current platform. For example, methods depending on the fsync or fork system calls may raise this exception [...]

Also see https://docs.ruby-lang.org/en/master/NotImplementedError.html
2026-03-27 08:14:56 +01:00
as-op 41aa72a751 use step-by-step code style, remove redundant nil in return
https://github.com/opf/openproject/pull/22169#discussion_r2878473952
2026-03-03 16:22:18 +01:00
Andrej b7f661f5af Update app/models/exports/pdf/common/attachments.rb
Co-authored-by: Tobias Dillmann <EinLama@users.noreply.github.com>
2026-03-03 15:36:50 +01:00
as-op b4e56f3f09 support large animated WebP image conversion for PDF exports and add tests
https://community.openproject.org/work_packages/70333
2026-03-03 13:20:56 +01:00
Ivan Kuchin 23fd2f7557 exporting custom field comments 2026-02-25 16:00:22 +01:00
Andrej 330a454362 Merge pull request #22002 from opf/feature/66000-export-relationship-columns-in-pdf-report
Feature/66000 export relationship columns in pdf report
2026-02-23 10:01:12 +01:00
as-op b48d65e5d2 [#70333] Support WebP images in PDF exports
https://community.openproject.org/work_packages/70333
2026-02-16 17:12:45 +01:00
as-op ef45396a6a move Gantt error to properly autoloaded file 2026-02-16 11:58:20 +01:00
OpenProject Actions CI 14663b471a Merge branch 'release/17.1' into dev 2026-02-13 04:18:41 +00:00
Andrej 31828a9e1f [#71945] Error in meeting PDF exports if cover image file storage is broken (S3) (#21971)
https://community.openproject.org/work_packages/71945
2026-02-12 15:18:12 +01:00
Ivan Kuchin ccc9e1225e bits of code cleanup in custom field export formatter 2026-02-05 14:15:12 +01:00
Alexander Brandon Coles f7a3cff17d Merge branch 'dev' into merge-release/17.0-20260115152754 2026-01-15 13:03:27 -03:00
as-op ed96e4d453 [#70560] PDF export with custom uploaded logo fails with some storage configurations (S3)
https://community.openproject.org/work_packages/70560
2026-01-15 15:33:18 +01:00
as-op cee4d478f1 [#70560] PDF export with custom uploaded logo fails with some storage configurations (S3)
https://community.openproject.org/work_packages/70560
2026-01-15 14:53:32 +01:00
Oliver Günther aa725731f2 Remove narrow mime type 2026-01-09 08:16:04 +01:00
ulferts a7bb8e4285 Merge remote-tracking branch 'origin/dev' into merge-release/17.0-20260106162012 2026-01-06 17:41:43 +01:00
as-op 446d5aee37 [#70004] Special letters like Umlaute in file links to project initiation requests
https://community.openproject.org/work_packages/70004
2026-01-05 15:54:42 +01:00
OpenProject Actions CI bf733ef180 Merge branch 'release/17.0' into dev 2025-12-17 13:16:58 +00:00
Oliver Günther 78d104bb2e Use gsub to match all found elements of the regexp
The macro replacement iterates matches manually to substrings by index.
When multiple macros appeared in the same text segment (e.g.,
workPackageValue:"dueDate" workPackageValue:"startDate"), the first
replacement left later macros in the line unprocessed, so raw macro
markup ended up being in the PDF output.

Using gsub with the macro regexp ensures we replace every match in a
single pass even when multiple macros are used in a row
2025-12-17 09:06:16 +01:00
as-op c015499912 [#69625] Error in PDF exports if font file is damaged or storage is broken
https://community.openproject.org/work_packages/69625
2025-12-04 16:32:17 +01:00
as-op 4eb3f32700 [#69137] Refine design of PM²/PMflex project initiation requests PDF export
https://community.openproject.org/work_packages/69137
2025-12-01 17:07:37 +01:00
as-op d3c793c056 restore cover page 2025-11-26 17:19:49 +01:00
Alexander 1d080a786f [#69406] no implicit conversion of nil into Hash while exporting to PDF 2025-11-26 07:43:08 +03:00
as-op eb90fbab1f [#69138] Show the state of the work package of type "project initiation request"
https://community.openproject.org/work_packages/69138
2025-11-25 16:05:12 +01:00
Eric Schubert 4abb01b1dd [#69014] fix unit tests and export formatter 2025-11-14 17:13:31 +01:00
Alexander Brandon Coles 57dc5b8966 Merge branch 'dev' into merge-release/16.6-20251113034802 2025-11-13 09:02:51 +00:00
Dombi Attila bc11699ddd Change custom_value_for to return values based on the multi_value? only 2025-11-12 20:25:17 +02:00
Andrej Sandorf a80c9e24df Merge pull request #20814 from opf/feature/68540-support-non-nested-long-text-fields-macro-in-pdf-export
[#68540] Support non-nested long text fields macro in PDF Export
2025-11-06 16:25:40 +01:00
as-op a56f40f32f Ensure that when a formatted custom field contains markdown that MUST start at BOL and the macro appears mid-line, a line break is inserted before the markdown. 2025-11-06 15:54:40 +01:00
Yauheni Suhakou 0de0713a53 Big rename
Renames `scored_list` to `weighted_item_list`
2025-10-30 15:36:55 +01:00
as-op a9f834b511 [#68540] Support non-nested long text fields macro in PDF Export
https://community.openproject.org/work_packages/68540
2025-10-28 15:01:12 +01:00
Dombi Attila 6f084b4669 [#67907] Update XLS export cell formats to use hours and percentage on Work packages and Projects
https://community.openproject.org/work_packages/67907
2025-10-08 19:55:43 +03:00
Dombi Attila f7ef779cdf [#67907] Wrong cell format in XLS export do not allow for calculations
https://community.openproject.org/work_packages/67907
2025-10-06 20:47:16 +03:00
as-op 802f06a0f1 [#60585] PDF Gantt export potentially exports huge date ranges
https://community.openproject.org/work_packages/60585
2025-09-24 09:32:14 +02:00
as-op b69a32e9fd support linked images in PDF when OpenProject is served from a subfolder 2025-09-22 11:56:28 +02:00
as-op 7695264b7f [#64356] Image not visible in PDF export
https://community.openproject.org/work_packages/64356
2025-09-18 16:44:56 +02:00
Eric Schubert d38f5220c1 [#66961] use scored list custom fields in work packages
- https://community.openproject.org/work_packages/66961
- adapt representer logic to handle scored lists
2025-08-28 12:52:47 +02:00
Andrej Sandorf 6d32400044 Merge pull request #19874 from opf/feature/66384-custom-font-for-pdf-exports
[#66384] Custom font for PDF Exports
2025-08-26 12:49:16 +02:00
as-op 12f595747b [#66736] PDF export fails for cover page and CustomStyle with cover_text_color
https://community.openproject.org/work_packages/66736
2025-08-21 15:47:57 +02:00
as-op ce2bf6d768 obey rubocop 2025-08-19 12:40:37 +02:00
as-op b3d108e71c refactor duplicate code in custom styles view; add PDF demo generator 2025-08-19 12:28:33 +02:00
as-op 31738e635a use the custom font in all PDF exports 2025-08-19 12:27:42 +02:00
as-op 87344b1f28 [#66613] Projects list with URL project attribute cannot be exported
https://community.openproject.org/work_packages/66613
2025-08-18 09:49:15 +02:00
as-op 3fe0d04c04 Merge branch 'dev' into feature/66384-custom-font-for-pdf-exports
# Conflicts:
#	app/controllers/custom_styles_controller.rb
#	app/helpers/custom_styles_helper.rb
#	app/models/custom_style.rb
#	config/locales/en.yml
#	config/routes.rb
2025-08-14 16:23:06 +02:00