60 Commits

Author SHA1 Message Date
Henriette Darge 599b6fab1b Pass class option to non-linkable instances as well 2026-05-28 13:02:42 +02:00
Oliver Günther 4d731dcab6 Replace raw and explicit html_safe calls 2026-03-20 09:49:10 +01:00
Klaus Zanders de3fd5fd74 Fix more tests and wrong links after refactoring 2026-02-09 15:08:13 +01:00
Oliver Günther 5af326a2ec Remove unused options in work package helper (#21687)
* Remove unused options and improved output in work package helper and object_linking

* Extend tests
2026-01-26 06:40:58 +01:00
Pavel Balashou 1323927095 [#65068] Add deleted status to user.
https://community.openproject.org/work_packages/65068
2025-08-27 09:53:37 +02:00
Tobias Dillmann 90bdd9a1fe [#61126] remove unneeded attribute 2025-02-07 10:59:09 +01:00
Tobias Dillmann 77e2c354c6 [#61126] go stimulus all the way
By doing so, we can properly unhook the listeners.
2025-02-06 18:04:25 +01:00
Tobias Dillmann 6be05dfca5 [#61126] only show hover cards for users, not groups 2025-02-05 07:48:25 +01:00
Tobias Dillmann 455a86513e [#59925] ignore rubocop for this method
Yes, it has many conditions. But throwing in additional methods won't
help with reducing its complexity.
2025-02-04 09:54:39 +01:00
Tobias Dillmann 19b5097256 [#59925] Provide some comments 2025-02-04 09:54:39 +01:00
Tobias Dillmann 4c8ece6ecc [#59925] fix user login display in user list 2025-02-04 09:54:36 +01:00
Tobias Dillmann ed890b317f [#59925] make text formatter work with hover cards
After rendering a comment or wp description, the hover card should
appear when you hover over a mentioned username.
2025-02-04 09:54:35 +01:00
Tobias Dillmann c9d230d580 [#59925] fix specs 2025-02-04 09:54:35 +01:00
Tobias Dillmann 2bb8840d08 [#59925] refactor 2025-02-04 09:54:34 +01:00
Tobias Dillmann 1db694c063 [#59925] shared helper for rendering primer user links 2025-02-04 09:54:33 +01:00
Tobias Dillmann 3f1dfed4b2 [#59925] show hover card for user links
used in

* news
* wiki
* activity
* and more!
2025-02-04 09:54:32 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +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
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01: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
Marcello Rocha ac26db04fa Rework the attachments activity messages 2023-08-01 16:36:18 +02:00
Marcello Rocha c59c182c87 Move the repeated v3_paths line into its own method 2023-07-24 13:38:43 +02:00
Marcello Rocha 29975875e3 Makes WorkPackage aware of file links
- Adds a formatter for the file links diffs
- Makes journal aware of the storables changes
2023-07-24 13:38:36 +02:00
Sven ee7db0f6bd [43913] [wiki] Be able to link work-package views (#12204)
* allow linking work-package views via IDs in wiki pages

- added user docs
- added helper methods
- added specs

* added ability to link the default work-package view of a project

- added docs
- added spec

* improve user guide for wikis
2023-03-13 20:33:41 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard 48a4f1b6ad lint with rubocop --autocorrect (safe cops only) 2022-06-02 10:40:10 +02:00
Christophe Bliard a33524ef6d remove ruby magic comment for utf-8
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
ulferts 9edf745085 Fix/group mention links (#9036)
* turn group mentioning into link

* add profile button to group edit page

* Include built ckeditor

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2021-02-22 20:02:21 +01:00
ulferts 1bdd2ab9ae safe automatic fixes by rubocop (#8994) 2021-02-11 16:02:18 +01:00
ulferts 6140f4c7e9 update copyright to 2021 (#8925)
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.

Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
2021-01-13 17:47:45 +01:00
ulferts 5968c0b18a Fix/replace custom i18n function (#8681)
* replace custom i18n function calls

* remove custom i18n method
2020-09-16 11:26:15 +02:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Henriette Dinger 67dd3bcb46 Replace all occurrences of settings_project_path && make toolbar and menu title consistent 2020-01-13 10:27:44 +01:00
ulferts 5c46d66b41 redirect attachments calls to api v3 2019-06-13 13:54:17 +02:00
Oliver Günther b218058999 [28481] Make group mention appearance more in line with user-mention
https://community.openproject.com/wp/28481
2018-09-11 10:22:01 +02:00
Markus Kahl ad0ba69182 adhere to only_path option in link_to_user 2018-08-10 10:53:32 +01:00
Markus Kahl d25aad4e7c use absolute URLs for user mentions so they work in emails too 2018-08-09 12:53:38 +01:00
Jens Ulferts 97ad5e0008 reenable previews 2018-07-17 12:14:52 +02:00
Jens Ulferts 319f33e924 remove textile 2018-07-17 12:14:51 +02:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
Oliver Günther 7cf11bb689 Update copyright notice 2017-01-10 15:11:43 +01:00
Oliver Günther 49e0db4cbe Fix icon-star in project references 2016-02-15 22:40:46 +01:00
Markus Kahl f38c54655a there's only download left 2015-12-02 08:28:39 +00:00
Mohamed Wael Khobalatte 80192f6986 Do away with eval
Eval is unnecessary here. Sure the code has slighly more duplication, but no where
near enough to warrant an eval.
2015-11-05 19:36:07 +01:00
Mohamed Wael Khobalatte 0e72ec4243 Move to ruby1-9 syntax once and for all 2015-10-29 19:17:59 +01:00
Alex Coles ddbbecdc3a Add path helper shim to support :only_path option
`:only_path` is deprecated.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-09-15 09:59:49 +02:00