Commit Graph

61093 Commits

Author SHA1 Message Date
ulferts 0ae306bbbe Merge branch 'release/12.0' into dev 2021-11-25 14:15:38 +01:00
ulferts 31046f8256 Merge pull request #9910 from opf/bump/ruby-2.7.5
Bump ruby to 2.7.5
2021-11-25 14:12:18 +01:00
dependabot[bot] 8a35d3b10b Bump @types/jasmine from 3.6.4 to 3.6.11 in /frontend
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.6.4 to 3.6.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine)

---
updated-dependencies:
- dependency-name: "@types/jasmine"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 13:13:26 +01:00
Oliver Günther 09d9b6316e Fix Gemfile and allow dependabot to open one PR at a time 2021-11-25 13:12:55 +01:00
Oliver Günther fc96b42878 Bump ruby to 2.7.5
https://www.ruby-lang.org/en/news/2021/11/24/ruby-2-7-5-released/
2021-11-25 13:08:01 +01:00
ulferts 6b40fc6350 bump disposable & representable 2021-11-25 13:06:09 +01:00
dependabot[bot] b116c66e6b Bump @angular-eslint/eslint-plugin-template in /frontend
Bumps [@angular-eslint/eslint-plugin-template](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin-template) from 12.3.1 to 12.7.0.
- [Release notes](https://github.com/angular-eslint/angular-eslint/releases)
- [Changelog](https://github.com/angular-eslint/angular-eslint/blob/master/packages/eslint-plugin-template/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v12.7.0/packages/eslint-plugin-template)

---
updated-dependencies:
- dependency-name: "@angular-eslint/eslint-plugin-template"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 12:43:22 +01:00
Oliver Günther 79a7eb250a Remove bundler as it removes our custom gemfiles 2021-11-25 11:56:00 +01:00
Oliver Günther 5cdcd3f8e7 Re-add dependabot 2021-11-25 10:41:58 +01:00
Oliver Günther 7dc0ef466a npm audit 2021-11-25 08:09:58 +01:00
OpenProject Actions CI 3831209153 update locales from crowdin [ci skip] 2021-11-25 03:13:59 +00:00
Oliver Günther 4ca62f81fa Merge pull request #9885 from opf/feature/39772-query-select-in-bcf-module
[#39772] Show queries in bcf module
2021-11-24 16:05:15 +01:00
Oliver Günther ca9b2ff1f3 Rewrite angular component calls with new helper 2021-11-24 14:21:59 +01:00
Eric Schubert 38f0611a80 [#39772] removed unwanted update cycles for query title 2021-11-24 14:21:59 +01:00
Eric Schubert fe8d6f4462 [#39972] Cleanup after rebase 2021-11-24 14:21:58 +01:00
Eric Schubert 629fe131a2 [#39772] decoupled query-select component from wp
[#39772] add op-query-select to bcf module

- https://community.openproject.org/work_packages/39772
- refactored query-select component to have input data from menu item
rendered by rails
2021-11-24 14:21:58 +01:00
Eric Schubert 4a8b5bd158 [#39772] Moved wp-quqery-select to op-query-select 2021-11-24 14:21:58 +01:00
Philipp Tessenow 2881c14321 Allow plugins to link into the WP bulk context menu
Currently, plugins cannot add context menu entries on work packages,
when more than one work package is selected.

This PR adds a plugin hook so that plugins can register for bulk actions.
2021-11-24 14:13:29 +01:00
Oliver Günther 98f46ee7bd Convert attribute help text to datset inputs
Improves the angular helper to allow passing and converting inputs
[OP#40035](https://community.openproject.org/wp/40035)
2021-11-24 10:35:20 +01:00
ulferts 6a4354681d Merge pull request #9898 from opf/fix/40056/add-i18n-key-for-permissions
add i18n key for permissions property on role
2021-11-24 09:43:08 +01:00
sabine holler ffe8f22c9d Proper check for allowed work package context menu actions
The permited actions step of the getIntersectOfPermittedActions method
accidently allowed too many actions, when there are plugin registered
actions. Eg. logCosts.
We fixed it by introducing a new method isActionAllowed.
2021-11-24 08:38:03 +01:00
Oliver Günther 2edf6f10d5 Also fix pkgr yml on release branch 2021-11-24 08:18:41 +01:00
Oliver Günther 224df76258 Merge remote-tracking branch 'origin/release/12.0' into dev 2021-11-24 08:17:37 +01:00
Oliver Günther b65fde3978 Bumped version to 12.0.3
[ci skip]
2021-11-24 08:08:15 +01:00
Oliver Günther 8ed197b6ac Add release-notes file 2021-11-24 08:08:13 +01:00
OpenProject Actions CI d3a620beb8 update locales from crowdin [ci skip] 2021-11-24 03:13:07 +00:00
ulferts 98236c9542 add i18n key for permissions property on role 2021-11-23 18:04:17 +01:00
ulferts c3a7cbe4c4 Merge branch 'release/12.0' into dev 2021-11-23 17:51:35 +01:00
JanKeppler 555e592fbf Correct prices for members [skip ci] 2021-11-23 16:54:25 +01:00
JanKeppler 50f4807783 Correct prices for Members
Correct prices for Members [skip ci]
2021-11-23 16:52:53 +01:00
Andrej Sandorf 221bbbd1a0 Bug/40081 find and fix broken anchors in docs [skip ci] (#9897)
* [#40081] Find and fix broken #anchors in docs
* fix(docs): do NOT link to edge

https://community.openproject.org/work_packages/40081
2021-11-23 16:26:46 +01:00
ulferts e17a45f6f7 Merge pull request #9895 from opf/bug/40112-cant-upload-bcf-files-as-normal-attachments-to-work-packages-via-fog
bug/40112 cant upload bcf files as normal attachments to work packages via fog
2021-11-23 16:19:26 +01:00
Wieland Lindenthal b4cde19cb9 [#40112] Can't upload BCF files as normal attachments to work packages via FOG
https://community.openproject.org/work_packages/40112
2021-11-23 12:02:17 +01:00
ulferts 8bd413df13 Merge pull request #9894 from opf/fix/create_table_call_arguments
splat to keyword argument method call
2021-11-23 09:38:33 +01:00
ulferts 1fabb9f2f7 splat to keyword argument method call 2021-11-23 09:02:46 +01:00
OpenProject Actions CI 393921a6c0 update locales from crowdin [ci skip] 2021-11-23 03:15:47 +00:00
OpenProject Actions CI b3b08bf286 update locales from crowdin [ci skip] 2021-11-23 03:15:46 +00:00
Oliver Günther de7f60f720 Merge remote-tracking branch 'origin/release/12.0' into dev 2021-11-22 18:28:27 +01:00
ulferts b9ff3739e1 Fix/39959/duplicate query space initialization (#9888)
* avoid updating/initializing the query space twice initially

Both the `PartitionedQuerySpacePageComponent` as well as the
`WorkPackagesListService` initialize the work package states via the
`WorkPackageStatesInitializationService`.

The `PartitionedQuerySpacePageComponent` initializes the
`WorkPackagesListService` so the former is indirectly for calling both.

Ideally, only the `WorkPackagesListService` would initialize the
`WorkPackageStatesInitializationService` to avoid confusion but this
could not be implemented at this time because of hard to control side
effects.

With this change, the `PartitionedQuerySpacePageComponent` on the first
call to the `WorkPackagesListService` no longer initializes the wp
states trusting in the list service to do it.

This change results in reduced initialization time and avoids duplicated
requests to the server e.g. for relations and the work packgages they
point to.

* remove unused method
2021-11-22 18:23:14 +01:00
Markus Kahl 08dd13bba7 Merge pull request #9881 from opf/better-saml-logging
Add better logging of the SAML response object
2021-11-22 16:37:24 +00:00
Andrej Sandorf 37f3b9a30d Task/40080 reduce excessive image file sizes in docs [skip ci] (#9887)
* [#40080] Reduce excessive image file sizes in docs
* fix(docs): do not use html image tag & custom style in markdown

https://community.openproject.org/work_packages/40080
2021-11-22 16:02:42 +01:00
Oliver Günther 5ebb53897a Add better logging of the SAML response object 2021-11-22 15:55:23 +01:00
Henriette Darge 0acb42e83b Attempt to limit the logo with for gmail accounts 2021-11-22 15:26:53 +01:00
Cyril Rohr 432a50cb01 Fix multi-buildpack definition to handle latest packager update 2021-11-22 14:24:32 +00:00
Andrej Sandorf fab3cd27fe [#40072] Dead links to/in docs (#9884)
https://community.openproject.org/work_packages/40072
2021-11-22 14:02:54 +01:00
Henriette Darge d29590256a Merge pull request #9867 from opf/feature/40009-Team-planner-module
[40009] Team planner module
2021-11-22 13:21:14 +01:00
Oliver Günther da2a96af44 Handle API errors that respond without JSON 2021-11-22 13:03:54 +01:00
Benjamin Bädorf da59a6f0c0 Proof of Concept for a DatasetInputs decorator (#9863)
* Proof of Concept for a DatasetInputs decorator

Currently, there are some usecases where we render a component tag in the backend, and then hydrate it in the browser.
Accepting inputs in this scenario is less than preferable since the checking and parsing for dataset inputs has to be written
in the component itself.

This decorator does this automatically in the background. Just add it to a component, and it checks automatically
whether there are data attributes to set initial input values from.

In order not to overwrite any class properties that are not inputs, I've added a bit of a hacky check to get the
Angulars internal `declaredInputs` object, which, as the name implies, lists the declared inputs. This is improvable.

* Remove example usage, add better documentation, address PR comments

* A bit more typing to reduce eslint errors

* Add broken spec

* fixed example syntax

* Remove frontend spec, fix some linting issues

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
Co-authored-by: Eric Schubert <e.schubert@openproject.com>
2021-11-22 11:58:32 +00:00
Henriette Darge ec87ce56f1 Fix eslint issues for team planner module 2021-11-22 12:45:34 +01:00
Andrej Sandorf 5538ed3077 [#40017] Add video about Excel synch for relations to documentation (#9883)
https://community.openproject.org/work_packages/40017
2021-11-22 12:11:08 +01:00