19 Commits

Author SHA1 Message Date
Alexander Brandon Coles f15be6e07f Freeze string literals in app/controllers
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/controllers
2025-07-18 17:51:00 +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 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
Aaron Contreras d1aa21783a Add the Activity items to the global menu
Adds the "Activity" top-level item and the drilled down descendant
where the filters are present.

As a bonus, spec is running with cuprite :)
2023-07-12 09:19:12 -05:00
Aaron Contreras bf76a0897b Add the work_packages items to the global menu
Adds the top-level work packages item to the global menu and the
drilled down query selection menu as its descendant.

As another goodie, more specs moved over to using cuprite.
2023-07-12 09:19:11 -05:00
ulferts 7341b98b48 move the activity sidebar into the menu 2023-07-03 16:22:34 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01: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 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 9e2287bfcc rename and inflect according to zeitwerk 2020-02-21 20:47:24 +01:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Wieland Lindenthal 4c8f7fce40 Ensure wiki menu items get created 2018-08-17 15:04:07 +02:00
Oliver Günther a6a25fbde9 [28269] Define where we want global menu rather than disabling it everywhere
https://community.openproject.com/wp/28269
2018-08-16 10:51:17 +02:00
Inga Mai 2d0d2feccf [27828] Feature: Query menu in sidenav (#6429)
* in main menu add gantt as extra work package child item

* Satisfy spec and code climate

* Add gantt chart icon behin default gantt query name.

* WIP Query menu in left sidebar

* Shift query dropdown in left sidenav

* Reload menu or load query on click from every project location

* WIP set correct label for default queries

* Query menu listens on all changes of queries (delete, create, rename, toggle starred) and updates immediatly

* WIP: Inline edit, field validation

* Inline Edit validation and comfirm

* Inline edit: validation of duplicate name

* Set default columns and sorting for static queries

* Codeclimate issues fixed

* WIP Inline edit validation not working perfectly in all error states

* Inline edit working

* Autocompleter hover disabled and hovering over categories fixed

* Category hover and toggle fixed; tested in Chrome, Firefox and Opera

* Placeholder cut off fixed and text wrap added

* English and german wording adjusted

* Styles of inline edit and menu adjusted; matching wiki page styles

* prevent menus to be displayed to often

* application menu only displayed on work package

* specify using no_menu layout more often

* adapt tests to altered production implementation

* Hamburger icon only in project; on global wp page: default queries shown correctly and summary removed

* searching for undefined leads to error

* Accessible click fixed (listen on escape)

* Gantt in top menu deleted (gantt chart is part of default queries on wp page)

* load menu on wp summary page

* reduce times queries are loaded

* lowercase on second word

* remove menu from search and home

* Styles fixed (category toggle and correct highlighting)

* reflect static query in url

* fix autocomplete handling in specs

* Open all global menus on default and hide hamburger icon on global pages; Rebuild changes that have been ovrwritten after merge"

* Correct highlighting of default queries  after reload

* Replace summary cuke with spec

* WIP

* Clear up selectors

* Avoid actively setting promises and instead use $state.go to load links

[ci skip]

* Make editable title component a little simpler

We can reuse the component I built for the wiki, that wasn't present in
the frontend beforehand.

* Fix moving through the menu and selecting items

[ci skip]

* Add save button to query title when query changed

* Improve static names lookup by comparing query_props

* Adapt and fix specs

* Allow inner scrolling of wp query results

Also, style the webkit scrollbar to make it pretty where supported

* Allow renaming the query through setting menu, but simply focus on field

[ci skip]
2018-08-09 14:51:49 +02:00