231 Commits

Author SHA1 Message Date
Oliver Günther 6dc1229300 Remove unused code 2026-03-20 08:53:14 +01:00
Oliver Günther a9651200c1 Remove dead code 2025-07-23 08:39:15 +02:00
Alexander Brandon Coles 3e89b1094e Freeze string literals in app/views
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/views
2025-07-18 17:43:19 +01:00
Henriette Darge da8ec0d4c1 Get rid of with_tab_nav from the tab helper as all pages now use the Primer PageHeader and its tabNav. Thus we can also get rid of an old Angular component 2025-04-30 12:24:32 +02:00
Oliver Günther 66a94b2be2 Introduce setting multi-lang helper 2025-04-30 08:35:15 +02:00
Oliver Günther 9357553e3f Replace common/upsale with component 2025-04-07 10:55:22 +02:00
Oliver Günther 114f27d91c Primerize banners 2025-04-07 10:55:17 +02:00
Ivan Kuchin a98789d986 erb_lint auto fix part of style 2/3 2025-02-11 18:49:21 +01:00
Ivan Kuchin 7c24cf6048 erb_lint auto fix part of style 1/3 2025-02-11 18:49:21 +01:00
Ivan Kuchin 14c88b9711 erb_lint auto fix hash style 2025-02-11 18:49:20 +01:00
Ivan Kuchin 0f6a12da3a erb_lint auto fix layout 2025-02-11 18:49:20 +01:00
Ivan Kuchin fb715f21b9 erb_lint auto fix quotes 2025-02-11 18:49:19 +01:00
Ivan Kuchin 0b1f73ec79 erb_lint auto except rubocop linter 2025-02-11 18:49:19 +01:00
Dombi Attila 84505e2dfb [#58144] Show email on the UI for users with permission
https://community.openproject.org/work_packages/58144
Remove hide_mail flag and replace with :view_user_email permission checks
2024-10-28 09:09:56 +01:00
Oliver Günther 7e6a923790 Remove instance variables in error helper and lint 2024-09-30 20:37:00 +02:00
Oliver Günther 5f1a4005c7 Allow dismiss none 2024-09-30 20:36:59 +02:00
Oliver Günther da4ffd7f2f Replace common error and errorExplanation with banners 2024-09-30 20:36:59 +02:00
Oliver Günther ac39406347 Replace dynamic bootstrapped components with angular elements 2024-08-16 19:16:13 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Henriette Darge 393b794efd Use helper instead of repeating code 2024-07-15 11:19:34 +02:00
Behrokh Satarnejad b0fcd01464 [55775] Follow-up issues for the Dark mode (#16002)
* change font color of charts

* fix color on Wp type form configuration page

* remove underline text decoration for buttons while hovering

* fix color in cost report rows and background color in select boxes

* fix arrow color in select box na d use an image for it

* fix background color for select and ng-select

* fix colors of file  secotion button

* fix background color transparency when there is an error

* fix modal bg color for saving cost report

* fix color issues on backlogs module

* fix main menu font-color

* fix gridline color for graphs

* fix background color of input in repository and table colors in unit costs report

* fix arrow color in select native element and hover color over a file

* remove unused functions

* fix bg color for select boxes

* show grid lines and ticks only for bar charts

* change border color of gantt chart

* fix colors on different graphs
2024-07-08 09:06:17 +02:00
Mir Bhatia 5dccda332f [#50820] Show meeting history / changes (#14112)
* [#50832] Add a dropdown item "History" to link to the meetings activity page

https://community.openproject.org/work_packages/50832

* Add history menu item for dynamic meetings

* WIP

* WIP

* WIP

* Update frame_component to handle lazy loading

* Duplicate project activity components

* Remove duplicate components

* Update history component and views

* Add Activities::Fetcher to meetings_controller

* WIP 20240130

* WIP Use regular journal formatters

* WIP Separate event details for agenda_items

* Add agenda_item_duration journal formatter

* Add agenda_item_position journal_formatter

* Update provider to differentiate between meetings

* Fix and add to item_subtitle_component specs

* Pass meeting id to the path helper

* Replace use of Fetcher with EventMapper

* Differentiate activity events by controller

* Use async dialog and fix padding / heading variant

* Update history item title conditions

* WIP: Add feature spec

* Format meeting start_time as one

* Use more generic keys in events, and perform the mapping in a subclass

* Change order formatter

* Filter out position changes if they happen as part of other changes

* Remove old implementation

* Custom title for meeting

* Allow duration component to render just text

* Format duration

* draft spec

* WIP

* Render duration in minutes and hours depending on value

* Extend spec

* Fix activity display on project level

* Fix renamed spec

* Fix check for time entry

* Fix renamed time attribute

* Rename action

---------

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2024-04-04 07:12:29 +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
Henriette Darge 67dcba6fbe Merge button styles "alt-highlight" and "highlight" together in one "primary" style 2024-03-08 14:10:30 +01:00
Ivan Kuchin e66cdc36a1 Mark development environment (#14677)
* visibly different favicon and apple touch icon in development environment

Commands to create modified icons:
* `mogrify -path development -modulate 100,100,0 apple-touch-icon-120x120.png favicon.ico`
* `image_optim development/*.png`

* development in app header

* mention highlighting in documentation about development environment
2024-02-06 15:12:07 +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 71502d3aba [40427] Better error messages on wiki edition conflict
Additionally, base errors are now separated from field errors to improve
errors readability.
2023-08-11 10:45:41 +02:00
Christophe Bliard bf38384bda refactor: remove always nil classes parameter 2023-08-11 10:19:00 +02:00
Christophe Bliard 66b31f6bb2 refactor: replace single_content_for method by native rails impl 2023-08-11 10:18:59 +02:00
Christophe Bliard e9eed2cdd3 refactoring: use positive conditions 2023-07-07 16:04:18 +02:00
Aaron Contreras bbcdcbcc53 Convert members_form.js dynamic script to Stimulus
Converts the dynamic script code into a Stimulus controller.

Autofocus member ng-select

Refactor limitWarning eventListener into Stimulus action

Thanks Oliver.

Removd unused data-toggle-target

No longer needed as a Stimulus target is being used.

Correct action parameter name

Dummy name
2023-05-24 08:04:36 +02:00
Eric Schubert 37bae3815f [#47362] removed inline flex modifier for old buttons 2023-04-26 11:46:14 +02:00
Eric Schubert 4d05975675 [#47362] Replace spot-icon with boxed icons
- https://community.openproject.org/work_packages/47362
- added new icon font for spot icons
- replaced container containing spot-icon with `inline-flex`
2023-04-25 09:43:03 +02:00
Christophe Bliard 9e865b4f7b lint: Run rubocop safe autocorrect
Command is `rubocop --safe --autocorrect app lib lib_static modules spec`
2023-03-09 10:25:57 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
ulferts e65321ae43 Merge pull request #11740 from opf/44951-harmonize-enterprise-features-teaser-pages
[44951] Harmonize Enterprise features teaser pages
2022-12-01 17:01:17 +01:00
bsatarnejad 76abd23553 add a new image for Enterprise image used in banners and enterprise administration page 2022-12-01 15:39:08 +01:00
bsatarnejad 79cc1dd92c add additoinal clas for common upsale template 2022-12-01 10:46:24 +01:00
bsatarnejad f81846f861 increase the size of the icons in buttons and menu items 2022-11-30 12:09:08 +01:00
bsatarnejad a7ae4d072a replace the badge icon with the new add-ons icon and set the styles for it to change the color 2022-11-29 16:01:38 +01:00
Oliver Günther deb6f52096 Make spot_icon helper accept only icon name 2022-11-08 20:59:50 +01:00
bsatarnejad 37b00f839e replace the new icon with the old one in EE pages and banner 2022-11-08 20:56:40 +01:00
Henriette Darge c052a0f2ea Extract URLs into strings and apply specified styling (especially for mobile) 2022-07-08 10:49:48 +02:00
bsatarnejad 6026717e3a change the URL of contact us button 2022-07-08 09:58:58 +02:00
Oliver Günther 0e3889a4e6 Refactor locals for common/upsale to make easier to use 2022-07-07 12:56:35 +02:00
ulferts 2013e437bf Merge branch 'release/12.1' into dev 2022-07-06 10:54:00 +02:00
as-op 05ea949098 [#43079] Change URL https://www.openproject.org/contact-us/ to /contact/ and include redirect
* Change contact-us links from OpenProject application
https://community.openproject.org/work_packages/43079
2022-07-05 12:51:33 +02:00
bsatarnejad afedbd393a add more info to upsale common template 2022-06-30 16:50:17 +02:00