Skip to content

[pull] dev from opf:dev #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 210 commits into from
Jun 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
e328641
Warn user that the type is not available in target project
aaron-contreras Jun 18, 2024
357ca0f
Replace angular sidemenu with rails based Submenu component for TeamP…
HDinger Jun 19, 2024
b507bda
Allow static widgets to be available to non-members
oliverguenther Jun 20, 2024
c247323
Fix logic for determining whether the warning should be displayed
aaron-contreras Jun 20, 2024
42a72bf
Replace angular sidemenu with rails based Submenu component for the B…
HDinger Jun 20, 2024
938a883
invalidate memoization variables on reloading
ulferts Jun 10, 2024
3e2b791
take whether a module is disabled into account when checking for admin
ulferts Jun 10, 2024
8b92d83
Moves the event emission to #perform
mereghost Jun 20, 2024
f94a6c8
Handle new page reloads in between the module change of the onboardin…
HDinger May 17, 2024
087dbf8
move code to more central context
ulferts Jun 10, 2024
25dde2a
explicitly allow admin access
ulferts Jun 20, 2024
3660031
adapt spec setup
ulferts Jun 11, 2024
0ebde3f
Merge pull request #15907 from opf/fix/55838/widget-available-non-mem…
ulferts Jun 21, 2024
69cb6b0
add necessary permission to load project attributes sidebar when shar…
ulferts Jun 21, 2024
d0cd201
attempt to fix flickering spec
ulferts Jun 21, 2024
c1a98ed
Account for children work packages when warning project moves
aaron-contreras Jun 21, 2024
33c1532
Merge pull request #15919 from opf/bug/55901-403-when-entering-the-ov…
aaron-contreras Jun 21, 2024
4e007b9
update locales from crowdin [ci skip]
openprojectci Jun 22, 2024
7fb3d3b
Improved note on proxy server
oliverguenther Jun 23, 2024
0be6a4c
update locales from crowdin [ci skip]
openprojectci Jun 24, 2024
ab7c008
update locales from crowdin [ci skip]
openprojectci Jun 24, 2024
db7a65e
Merge remote-tracking branch 'origin/release/14.2' into dev
oliverguenther Jun 24, 2024
8d14243
Merge pull request #15895 from opf/implementation/55178-replace-sidem…
oliverguenther Jun 24, 2024
4961d38
Replace angular sidemenu with rails based Submenu component for Time…
HDinger Jun 21, 2024
65bb3b4
Bump @ng-select/ng-select from 13.2.0 to 13.3.0 in /frontend
dependabot[bot] Jun 24, 2024
0095d31
Bump @ngx-formly/core from 6.3.4 to 6.3.5 in /frontend
dependabot[bot] Jun 24, 2024
7ffc186
Use custom element for op-attachments
oliverguenther Jun 24, 2024
3354786
Bump addressable from 2.8.6 to 2.8.7
dependabot[bot] Jun 24, 2024
cd451ec
Merge pull request #15916 from opf/bug/sync-all-the-things
mereghost Jun 24, 2024
5b97e4e
Bump lookbook from 2.3.1 to 2.3.2
dependabot[bot] Jun 24, 2024
f083e77
Bump cuprite from 0.15 to 0.15.1
dependabot[bot] Jun 24, 2024
9fcf13c
Prevent recursive attribute macros
oliverguenther Jun 24, 2024
5213cde
Add html titles for project settings pages
HDinger Jun 24, 2024
bba8778
Merge pull request #15929 from opf/dependabot/bundler/dev/lookbook-2.3.2
ulferts Jun 24, 2024
ecabc67
Merge pull request #15891 from opf/dependabot/bundler/dev/cuprite-0.15.1
ulferts Jun 24, 2024
7685566
Merge pull request #15932 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts Jun 24, 2024
f6da0a8
Add "x" icon to the template of autocompleter labels
HDinger Jun 24, 2024
51006d1
Update Patch version of Lookbook 2.3.2
klaustopher Jun 24, 2024
5742b90
use instructions on searchable also for ProjectCustomField
ulferts Jun 24, 2024
03cda06
Replace deprecated `color-scale..` variables with new ones
HDinger Jun 24, 2024
288e343
Merge pull request #15928 from opf/fix/55144/attachments-custom-element
HDinger Jun 24, 2024
0e359f8
Merge pull request #15936 from opf/fix/55320/attribute-macro-recursive
HDinger Jun 24, 2024
51d76da
Faster spec
cbliard Jun 24, 2024
09b3a68
Merge pull request #15887 from opf/bug/55771-type-gets-automatically-…
dombesz Jun 24, 2024
fe61cd4
Set background to timeline header. Otherwise the elements will be vis…
HDinger Jun 24, 2024
b989b34
fix ua convert logo when styles is custom
daggett-doofus Jun 24, 2024
10d483d
Merge branch 'release/14.2' into feature/fix-ua-logo-for-custom-styles
daggett-doofus Jun 24, 2024
9ddceeb
display placeholder in case of no time entry activity
ulferts Jun 24, 2024
a57c598
Allow overflow so that the atocompleter dropdown is not cut off on sm…
HDinger Jun 24, 2024
2ad9f23
Always go to global boards in top_menu
oliverguenther Jun 24, 2024
3e84c44
Merge pull request #15945 from opf/fix/55924/board-global-menu
ulferts Jun 24, 2024
30b54ad
Merge pull request #15941 from opf/bug/55919-gantt-elements-overlap-t…
ulferts Jun 24, 2024
3406c20
For whatever reason the hover is effect is swallowed in Safari if the…
HDinger Jun 24, 2024
883f657
Merge pull request #15944 from opf/bug/55922-projects-list-drop-down-…
HDinger Jun 24, 2024
dceff13
Fix some issues in the dark mode by using correct primer variables
HDinger Jun 24, 2024
131e536
don't install foreman using bin/dev, as overmind is now available as …
toy Jun 24, 2024
93c3017
Merge pull request #15947 from opf/overmind-through-rubygems
cbliard Jun 24, 2024
67150c0
Adding complete Nextcloud integration video to user guide (#15949)
birthe Jun 24, 2024
9906600
[#55899] refactor rename files command
Kharonus Jun 24, 2024
195c2b8
spec speedup
ulferts Jun 24, 2024
6684a95
RSpec/FilePath was removed in rubocop-rspec 3.0.0
cbliard Jun 24, 2024
66199d1
Merge pull request #15942 from daggett-doofus/feature/fix-ua-logo-for…
ba1ash Jun 24, 2024
1605c40
adapt spec helper as ng-select now passes on classes
ulferts Jun 24, 2024
a885fef
Conform to RSpecRails/HaveHttpStatus cop
cbliard Jun 24, 2024
8e36b2a
Merge pull request #15801 from opf/bug/53772-the-label-for-spent-time…
cbliard Jun 24, 2024
c048e11
Simplify the patch code
cbliard Jun 24, 2024
32d4a2c
Merge pull request #15951 from opf/support-have-http-status-with-rack…
toy Jun 24, 2024
2a2900e
Reference work package records instead of hierarchy
aaron-contreras Jun 24, 2024
b10e6d7
rubocop autocorrect
toy Jun 24, 2024
da0a801
Merge pull request #15943 from opf/bug/53200-removing-logged-activity…
aaron-contreras Jun 24, 2024
3c968c9
add autocorrections commit to git blame ignore file
toy Jun 24, 2024
14692d3
update locales from crowdin [ci skip]
openprojectci Jun 25, 2024
c7fb674
update locales from crowdin [ci skip]
openprojectci Jun 25, 2024
56aef57
Bump lefthook from 1.6.17 to 1.6.18
dependabot[bot] Jun 25, 2024
cc12212
Bump aws-sdk-s3 from 1.152.3 to 1.153.0
dependabot[bot] Jun 25, 2024
30c0383
Bump @typescript-eslint/parser from 7.13.1 to 7.14.1 in /frontend
dependabot[bot] Jun 25, 2024
b0772d7
Bump @floating-ui/dom from 1.6.5 to 1.6.6 in /frontend
dependabot[bot] Jun 25, 2024
e923275
Bump primer to 0.35.2
oliverguenther Jun 24, 2024
ba80c1d
Merge pull request #15931 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts Jun 25, 2024
8e5a05e
Merge pull request #15958 from opf/dependabot/bundler/dev/aws-sdk-s3-…
ulferts Jun 25, 2024
9bcf0a5
Merge pull request #15960 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts Jun 25, 2024
3b0529a
Merge pull request #15961 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts Jun 25, 2024
2bc71da
Merge pull request #15954 from opf/rubocop-autocorrect
ulferts Jun 25, 2024
59a742c
Merge pull request #15957 from opf/dependabot/bundler/dev/lefthook-1.…
ulferts Jun 25, 2024
c2463bb
Merge pull request #15937 from opf/bump/primer
HDinger Jun 25, 2024
aad5774
Merge pull request #15952 from opf/bug/fix-warning-message
dombesz Jun 25, 2024
9d3b725
Merge branch 'dev' into merge-release/14.2-20240625033437
dombesz Jun 25, 2024
8e75734
Merge pull request #15956 from opf/merge-release/14.2-20240625033437
dombesz Jun 25, 2024
0e38ec3
Merge pull request #15946 from opf/bug/55786-main-menu-resizer-handle…
dombesz Jun 25, 2024
9143914
minor doc update (#15966)
corinnaguenther Jun 25, 2024
d4f31d2
feat(docs): document support for github markdown alerts
as-op Jun 25, 2024
3e1e085
fix link in example
as-op Jun 25, 2024
7759990
fix link in example
as-op Jun 25, 2024
9a9940c
Merge pull request #15967 from opf/documentation/alerts-support
as-op Jun 25, 2024
bda83fc
update used extensions
toy Jun 24, 2024
177ad06
just fetch head commit of base branch
toy Jun 25, 2024
3ef0cc0
Set host_name default only on non-prod systems
oliverguenther Jun 25, 2024
4a28cce
[#55899] fixed test expectations of sync service specs
Kharonus Jun 25, 2024
5992ed6
Merge pull request #15969 from opf/chore/setting-default-by-env
cbliard Jun 25, 2024
25f6994
Add API endpoints for news
oliverguenther May 22, 2024
ef03d17
[#55899] revert uri join path method
Kharonus Jun 25, 2024
71dbd86
[#55382] add connection validation section
Kharonus Jun 7, 2024
d81fe46
Fix api doc news creation example
cbliard Jun 25, 2024
fbc5d26
[#55382] show connection validation only for one drive
Kharonus Jun 7, 2024
d7e9d6f
[#55382] validate drive content (only ampf)
Kharonus Jun 7, 2024
26233a0
[#55382] extracted validator to own class
Kharonus Jun 12, 2024
c2a122b
[#55382] restructured connection validation in sidebar
Kharonus Jun 19, 2024
7559d74
[#55382] readded removed copyright
Kharonus Jun 19, 2024
a45a4c1
[#55382] added unit tests for controller and validator
Kharonus Jun 20, 2024
633ed0e
[#55382] normalize i18n files
Kharonus Jun 20, 2024
74ad4d1
Merge pull request #15968 from opf/fix-rubocop-workflow
cbliard Jun 25, 2024
b282e8d
fix syntax in docs/api/apiv3/components/schemas/news_create_model.yml
toy Jun 25, 2024
aa732f7
[#55382] adapt PR suggestions
Kharonus Jun 25, 2024
297017d
Merge pull request #15970 from opf/fix-yaml
klaustopher Jun 25, 2024
24abae6
Add dark support of inline create row.
Eric-Guo Jun 25, 2024
c57f1dd
Merge branch 'dev' into implementation/55382-add-connection-validatio…
Kharonus Jun 25, 2024
dd92b1a
bump grape
ulferts Jun 21, 2024
0669bd9
return proper JSON errors on 404
ulferts Jun 25, 2024
50b1ac7
adapt content type on errors definition
ulferts Jun 25, 2024
5bd46e5
update locales from crowdin [ci skip]
openprojectci Jun 26, 2024
4e7d03f
update locales from crowdin [ci skip]
openprojectci Jun 26, 2024
a4b7833
Merge branch 'release/14.2' into dev
openprojectci Jun 26, 2024
c011c6d
Bump @types/jqueryui from 1.12.22 to 1.12.23 in /frontend
dependabot[bot] Jun 26, 2024
f4c3b20
Bump @primer/css from 21.3.3 to 21.3.4 in /frontend
dependabot[bot] Jun 26, 2024
4f87303
Bump @typescript-eslint/eslint-plugin from 7.13.1 to 7.14.1 in /frontend
dependabot[bot] Jun 26, 2024
99fede2
Bump aws-sdk-s3 from 1.153.0 to 1.154.0
dependabot[bot] Jun 26, 2024
d5c6283
Bump doorkeeper from 5.7.0 to 5.7.1
dependabot[bot] Jun 26, 2024
70156c3
Merge pull request #15965 from Eric-Guo/inline_create_background
HDinger Jun 26, 2024
8de766c
Merge pull request #15978 from opf/dependabot/bundler/dev/doorkeeper-…
klaustopher Jun 26, 2024
8b1de06
Merge pull request #15977 from opf/dependabot/bundler/dev/aws-sdk-s3-…
klaustopher Jun 26, 2024
2469663
Merge pull request #15973 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts Jun 26, 2024
cd167df
Merge pull request #15974 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts Jun 26, 2024
33c5eee
Merge pull request #15975 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts Jun 26, 2024
697c7a4
Merge pull request #15894 from opf/implementation/55382-add-connectio…
Kharonus Jun 26, 2024
9f99d2c
[#55801] Form validation in add project dialog missing
judithroth Jun 18, 2024
9670967
[#55801] Change layout to avoid checkbox positioning problems
judithroth Jun 21, 2024
a873e1d
[#55801] Review feedback
judithroth Jun 25, 2024
e271f11
Satisfy rubocop
judithroth Jun 26, 2024
5937c3d
Merge pull request #15950 from opf/implementation/55899-use-authentic…
Kharonus Jun 26, 2024
db58014
Move ProjectQuery model to the main namespace
klaustopher Jun 26, 2024
bebe3c2
Fix tests again
judithroth Jun 26, 2024
2a7c379
chore: bump md-to-pdf to v0.1.1
as-op Jun 26, 2024
596a0fb
Fix rubocop offenses
klaustopher Jun 26, 2024
b3c868c
Merge branch 'dev' into chore/bump-md-to-pdf
as-op Jun 26, 2024
d3d1e7e
Fix specs
klaustopher Jun 26, 2024
ec8ae93
Fix query loading
klaustopher Jun 26, 2024
c65d77a
Merge branch 'bug/55801-form-validation-in-add-project-dialog-missing…
judithroth Jun 26, 2024
27a4559
update locales from crowdin [ci skip]
openprojectci Jun 27, 2024
ed104f8
Merge pull request #15984 from opf/chore/bump-md-to-pdf
klaustopher Jun 27, 2024
880d2ae
Merge pull request #15983 from opf/project-query-model-name
klaustopher Jun 27, 2024
5a9963f
Move the controller into general space
klaustopher Jun 19, 2024
7da9d81
Extract a route concern and make it work with the `/state` route
klaustopher Jun 19, 2024
31b2f8f
Change permitted by the share permission
klaustopher Jun 19, 2024
cf4c479
Fix routing specs
klaustopher Jun 19, 2024
aa04032
Fix regex
klaustopher Jun 19, 2024
d8967dc
Properly define bulk routes without a resource
klaustopher Jun 20, 2024
cb9ccc9
Reorganize sharing components outside of the WorkPackage scope
klaustopher Jun 20, 2024
abcbf57
`WorkPackageMemberQuery` -> `EntityMemberQuery`
klaustopher Jun 20, 2024
9591021
Remove work package specific loading in SharesController and use entity
klaustopher Jun 20, 2024
cbb2fef
Introduce an `OfEntity` scope
klaustopher Jun 20, 2024
2c64cef
Add `available_roles` and move everything to `entity`
klaustopher Jun 20, 2024
5727f1b
Put bulk behavior into the SharesController
klaustopher Jun 20, 2024
594162b
Fix routing specs
aaron-contreras Jun 20, 2024
7a71b14
Fix controller specs
aaron-contreras Jun 20, 2024
bc44485
Fix feature specs
aaron-contreras Jun 21, 2024
17e3dc5
Fix active role filter method
aaron-contreras Jun 21, 2024
39cf346
Generalize contracts and services for sharing
klaustopher Jun 24, 2024
f261cc2
Fix specs
klaustopher Jun 24, 2024
21e03a2
Remove debug output
klaustopher Jun 24, 2024
b318231
Inject permission checks from controller
aaron-contreras Jun 24, 2024
36f6685
Extract permission check for share management to controller concern
aaron-contreras Jun 24, 2024
fce40dc
Move stimulus controller out of the work packages namespace
klaustopher Jun 25, 2024
b0fcda8
`op-whare-wp` -> `op-share-dialog` and use renamed controller
klaustopher Jun 25, 2024
7fcac77
Turbo Frame name
klaustopher Jun 25, 2024
884b71f
Move I18n out of the work package scope and properly load permissions
klaustopher Jun 25, 2024
72809b1
More i18n string changes
klaustopher Jun 25, 2024
c4b36d0
Correct i18n
klaustopher Jun 25, 2024
aa16859
Fix interpolations
klaustopher Jun 25, 2024
1cde8f6
Fix Rubocop issues
klaustopher Jun 25, 2024
ba1fb38
A bit more Rubocop fixing
klaustopher Jun 25, 2024
812d10a
Rename `_option` args
klaustopher Jun 26, 2024
3986d81
Move strings from BulkSelectionController into sharing namespace
klaustopher Jun 26, 2024
fef400e
Move some more strings into general sharing scope
klaustopher Jun 26, 2024
28d076b
fix(gantt-pdf): use d.cwyear to not generate invalid dates
as-op Jun 27, 2024
7aec930
Merge pull request #15987 from opf/bugfix/gantt-pdf-export-weeks
as-op Jun 27, 2024
ffd343f
Use compatible labels format for runs-on
cbliard Jun 27, 2024
72a1952
Use compatible labels format for runs-on
cbliard Jun 27, 2024
3d04c3d
Merge pull request #15899 from opf/generalize-sharing-modal
klaustopher Jun 27, 2024
215c37f
update locales from crowdin [ci skip]
openprojectci Jun 28, 2024
45c0833
update locales from crowdin [ci skip]
openprojectci Jun 28, 2024
a4576b9
Merge branch 'release/14.2' into dev
openprojectci Jun 28, 2024
4a633ef
Bump @types/lodash from 4.17.5 to 4.17.6 in /frontend
dependabot[bot] Jun 28, 2024
c056cc1
Use the same structure for the submenu of Members that we used in oth…
HDinger Jun 21, 2024
b2415fd
Use the same structure for the submenu of Projects that we used in ot…
HDinger Jun 21, 2024
73efe65
Use the same structure for the submenu of Meetings that we used in ot…
HDinger Jun 21, 2024
752af78
Adapt test to new rails-based Submenu implementation
HDinger Jun 25, 2024
5673cf4
Make rubocop happier
cbliard Jun 26, 2024
c07cf31
Pass allowed parameters and double check for base route whether there…
HDinger Jun 26, 2024
6e1f5fe
Change order of parameters
HDinger Jun 28, 2024
4f78c9d
Merge pull request #15918 from opf/implementation/55179-use-submenu-c…
HDinger Jun 28, 2024
0192773
Replace angular sidemenu with rails based Submenu component for BIM …
HDinger Jun 26, 2024
9808402
Introduces a job that runs on a per storage basis
mereghost Jun 25, 2024
467d80a
Merge pull request #15979 from opf/maint/split-sync-per-storage
mereghost Jun 28, 2024
20f68b3
Merge pull request #15988 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts Jun 28, 2024
f676295
Merge pull request #15920 from opf/fix/bump_grape
ulferts Jun 28, 2024
142b883
Re-add queryId to pass to the Submenu target url . Otherwise the wron…
HDinger Jun 28, 2024
ce6b3ed
Merge pull request #15980 from opf/implementation/55183-replace-sidem…
HDinger Jun 28, 2024
abf8814
update locales from crowdin [ci skip]
openprojectci Jun 29, 2024
fd5e7c1
update locales from crowdin [ci skip]
openprojectci Jun 29, 2024
0ded253
Merge branch 'release/14.2' into dev
openprojectci Jun 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ f3c99ee5dded81ad55f2b6f3706216d5fa765677
9e4934cd0a468f46d8f0fc0f11ebc2d4216f789c
6678cab48d443b5782fa93b171d62093819ee4fc
fa5d03eae00bc8931f99598a74ffd76e0cbca3da
b10e6d718cc49e3574837d97fab268e3ecb3fcbd
14 changes: 10 additions & 4 deletions .github/workflows/rubocop-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@ jobs:
name: rubocop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2 # we are comparing PR merge head with base
- uses: actions/checkout@v4
- name: Fetch head commit of base branch
run: git fetch --depth 1 origin ${{ github.event.pull_request.base.sha }}
- uses: ruby/setup-ruby@v1
- uses: opf/action-rubocop@master
with:
github_token: ${{ secrets.github_token }}
rubocop_version: gemfile
rubocop_extensions: rubocop-inflector:gemfile rubocop-performance:gemfile rubocop-rails:gemfile rubocop-rspec:gemfile
rubocop_extensions: >
rubocop-capybara:gemfile
rubocop-factory_bot:gemfile
rubocop-performance:gemfile
rubocop-rails:gemfile
rubocop-rspec:gemfile
rubocop-rspec_rails:gemfile
reporter: github-pr-check
only_changed: true
6 changes: 5 additions & 1 deletion .github/workflows/test-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
all:
name: Units + Features
if: github.repository == 'opf/openproject'
runs-on: runs-on,runner=32cpu-linux-x64,run-id=${{ github.run_id }}
runs-on:
labels:
- runs-on
- runner=32cpu-linux-x64
- run-id=${{ github.run_id }}
timeout-minutes: 40
env:
DOCKER_BUILDKIT: 1
Expand Down
8 changes: 4 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ RSpec/DescribeClass:
- 'spec/features/**/*.rb'
- 'modules/*/spec/features/**/*.rb'

# Allow number HTTP status codes in specs
RSpecRails/HttpStatus:
Enabled: false

# dynamic finders cop clashes with capybara ID cop
Rails/DynamicFindBy:
Enabled: true
Expand Down Expand Up @@ -236,10 +240,6 @@ RSpec/DescribeMethod:
RSpec/SpecFilePathFormat:
IgnoreMethods: true

# Disable deprecated cop
RSpec/FilePath:
Enabled: false

# Prevent "fit" or similar to be committed
RSpec/Focus:
Enabled: true
Expand Down
7 changes: 4 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ gem "structured_warnings", "~> 0.4.0"
gem "airbrake", "~> 13.0.0", require: false

gem "markly", "~> 0.10" # another markdown parser like commonmarker, but with AST support used in PDF export
gem "md_to_pdf", git: "https://github.com/opf/md-to-pdf", ref: "8772c791a21819751c0d111be903b3b44ef7d862"
gem "md_to_pdf", git: "https://github.com/opf/md-to-pdf", ref: "32603f09a249999a00e8ca23eb17215b46a26c0f"
gem "prawn", "~> 2.4"
gem "ttfunk", "~> 1.7.0" # remove after https://github.com/prawnpdf/prawn/issues/1346 resolved.

Expand Down Expand Up @@ -210,6 +210,7 @@ gem "validate_url"

# Storages support code
gem "dry-container"
gem "dry-monads"

# ActiveRecord extension which adds typecasting to store accessors
gem "store_attribute", "~> 1.0"
Expand Down Expand Up @@ -349,7 +350,7 @@ end
gem "bootsnap", "~> 1.18.0", require: false

# API gems
gem "grape", "~> 2.0.0"
gem "grape", "~> 2.1.0"
gem "grape_logging", "~> 1.8.4"
gem "roar", "~> 1.2.0"

Expand Down Expand Up @@ -390,4 +391,4 @@ end

gem "openproject-octicons", "~>19.14.1"
gem "openproject-octicons_helper", "~>19.14.1"
gem "openproject-primer_view_components", "~>0.34.0"
gem "openproject-primer_view_components", "~>0.35.2"
66 changes: 34 additions & 32 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ GIT

GIT
remote: https://github.com/opf/md-to-pdf
revision: 8772c791a21819751c0d111be903b3b44ef7d862
ref: 8772c791a21819751c0d111be903b3b44ef7d862
revision: 32603f09a249999a00e8ca23eb17215b46a26c0f
ref: 32603f09a249999a00e8ca23eb17215b46a26c0f
specs:
md_to_pdf (0.0.27)
md_to_pdf (0.1.1)
color_conversion (~> 0.1)
front_matter_parser (~> 1.0)
json-schema (~> 4.3)
markly (~> 0.10)
matrix (~> 0.4)
nokogiri (~> 1.1)
nokogiri (~> 1.16)
prawn (~> 2.4)
prawn-table (~> 0.2)
text-hyphen (~> 1.5)
Expand Down Expand Up @@ -323,8 +323,8 @@ GEM
activesupport (>= 6.1)
acts_as_tree (2.9.1)
activerecord (>= 3.0.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
aes_key_wrap (1.1.0)
afm (0.2.2)
airbrake (13.0.4)
Expand All @@ -342,17 +342,17 @@ GEM
activerecord (>= 4.0.0, < 7.2)
awrence (1.2.1)
aws-eventstream (1.3.0)
aws-partitions (1.945.0)
aws-sdk-core (3.197.1)
aws-partitions (1.947.0)
aws-sdk-core (3.199.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.85.0)
aws-sdk-core (~> 3, >= 3.197.0)
aws-sdk-kms (1.87.0)
aws-sdk-core (~> 3, >= 3.199.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.152.3)
aws-sdk-core (~> 3, >= 3.197.0)
aws-sdk-s3 (1.154.0)
aws-sdk-core (~> 3, >= 3.199.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sdk-sns (1.77.0)
Expand Down Expand Up @@ -438,9 +438,9 @@ GEM
css_parser (1.17.1)
addressable
csv (3.3.0)
cuprite (0.15)
cuprite (0.15.1)
capybara (~> 3.0)
ferrum (~> 0.14.0)
ferrum (~> 0.15.0)
daemons (1.4.1)
dalli (3.2.8)
date (3.3.4)
Expand All @@ -459,7 +459,7 @@ GEM
disposable (0.6.3)
declarative (>= 0.0.9, < 1.0.0)
representable (>= 3.1.1, < 4)
doorkeeper (5.7.0)
doorkeeper (5.7.1)
railties (>= 5)
dotenv (3.1.2)
dotenv-rails (3.1.2)
Expand All @@ -476,6 +476,10 @@ GEM
concurrent-ruby (~> 1.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-monads (1.6.0)
concurrent-ruby (~> 1.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-types (1.7.2)
bigdecimal (~> 3.0)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -525,11 +529,11 @@ GEM
faraday-net_http (3.1.0)
net-http
fastimage (2.3.1)
ferrum (0.14)
ferrum (0.15)
addressable (~> 2.5)
concurrent-ruby (~> 1.1)
webrick (~> 1.7)
websocket-driver (>= 0.6, < 0.8)
websocket-driver (~> 0.7)
ffi (1.17.0)
flamegraph (0.9.5)
fog-aws (3.23.0)
Expand Down Expand Up @@ -591,13 +595,12 @@ GEM
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
grape (2.0.0)
activesupport (>= 5)
builder
grape (2.1.0)
activesupport (>= 6)
dry-types (>= 1.1)
mustermann-grape (~> 1.0.0)
rack (>= 1.3.0)
rack-accept
mustermann-grape (~> 1.1.0)
rack (>= 2)
zeitwerk
grape_logging (1.8.4)
grape
rack
Expand Down Expand Up @@ -670,7 +673,7 @@ GEM
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
lefthook (1.6.17)
lefthook (1.6.18)
letter_opener (1.10.0)
launchy (>= 2.2, < 4)
letter_opener_web (3.0.0)
Expand All @@ -694,7 +697,7 @@ GEM
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
lookbook (2.3.1)
lookbook (2.3.2)
activemodel
css_parser
htmlbeautifier (~> 1.3)
Expand Down Expand Up @@ -729,7 +732,7 @@ GEM
multi_json (1.15.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
mustermann-grape (1.0.2)
mustermann-grape (1.1.0)
mustermann (>= 1.0.0)
mutex_m (0.2.0)
net-http (0.4.1)
Expand Down Expand Up @@ -773,7 +776,7 @@ GEM
actionview
openproject-octicons (= 19.14.1)
railties
openproject-primer_view_components (0.34.0)
openproject-primer_view_components (0.35.2)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
openproject-octicons (>= 19.12.0)
Expand Down Expand Up @@ -829,7 +832,7 @@ GEM
pry (>= 0.12.0)
psych (5.1.2)
stringio
public_suffix (5.0.5)
public_suffix (6.0.0)
puffing-billy (4.0.0)
addressable (~> 2.5)
em-http-request (~> 1.1, >= 1.1.0)
Expand All @@ -845,8 +848,6 @@ GEM
raabro (1.4.0)
racc (1.8.0)
rack (2.2.9)
rack-accept (0.4.5)
rack (>= 0.4)
rack-attack (6.7.0)
rack (>= 1.0, < 4)
rack-cors (2.0.2)
Expand Down Expand Up @@ -1195,6 +1196,7 @@ DEPENDENCIES
doorkeeper (~> 5.7.0)
dotenv-rails
dry-container
dry-monads
email_validator (~> 2.2.3)
equivalent-xml (~> 0.6)
erb_lint
Expand All @@ -1211,7 +1213,7 @@ DEPENDENCIES
good_job (= 3.26.2)
google-apis-gmail_v1
googleauth
grape (~> 2.0.0)
grape (~> 2.1.0)
grape_logging (~> 1.8.4)
grids!
html-pipeline (~> 2.14.0)
Expand Down Expand Up @@ -1262,7 +1264,7 @@ DEPENDENCIES
openproject-octicons (~> 19.14.1)
openproject-octicons_helper (~> 19.14.1)
openproject-openid_connect!
openproject-primer_view_components (~> 0.34.0)
openproject-primer_view_components (~> 0.35.2)
openproject-recaptcha!
openproject-reporting!
openproject-storages!
Expand Down
4 changes: 2 additions & 2 deletions app/components/_index.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "work_packages/share/modal_body_component"
@import "work_packages/share/invite_user_form_component"
@import "shares/modal_body_component"
@import "shares/invite_user_form_component"
@import "work_packages/progress/modal_body_component"
@import "open_project/common/attribute_component"
@import "filter/filters_component"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
module Admin
class AttachmentsSettingsHeaderComponent < ApplicationComponent
def initialize(title:, selected:)
raise 'selected must 1, 2 or 3' if [1, 2, 3].exclude?(selected)
raise "selected must 1, 2 or 3" if [1, 2, 3].exclude?(selected)

@title = title
@selected = selected
end
Expand Down
3 changes: 1 addition & 2 deletions app/components/members/index_page_header_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
class Members::IndexPageHeaderComponent < ApplicationComponent
include OpPrimer::ComponentHelpers
include ApplicationHelper
include Menus::MembersHelper

def initialize(project: nil)
super
Expand Down Expand Up @@ -77,7 +76,7 @@ def current_query
query_name = nil
menu_header = nil

first_level_menu_items.find do |section|
Members::Menu.new(project: @project, params:).menu_items.find do |section|
section.children.find do |menu_query|
if !!menu_query.selected
query_name = menu_query.title
Expand Down
6 changes: 3 additions & 3 deletions app/components/members/user_filter_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ def builtin_share_roles
def mapped_shared_role_name(role)
case role.builtin
when Role::BUILTIN_WORK_PACKAGE_VIEWER
I18n.t("work_package.sharing.permissions.view")
I18n.t("work_package.permissions.view")
when Role::BUILTIN_WORK_PACKAGE_COMMENTER
I18n.t("work_package.sharing.permissions.comment")
I18n.t("work_package.permissions.comment")
when Role::BUILTIN_WORK_PACKAGE_EDITOR
I18n.t("work_package.sharing.permissions.edit")
I18n.t("work_package.permissions.edit")
else
role.name
end
Expand Down
11 changes: 8 additions & 3 deletions app/components/open_project/common/submenu_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<% top_level_sidebar_menu_items.first.children.each do |menu_item| %>
<li class="op-sidemenu--item" data-filter--filter-list-target="searchItem">
<% selected = menu_item.selected ? 'selected' : '' %>
<a class="op-sidemenu--item-action <%= selected %>" href="<%= menu_item.href %>">
<a class="op-sidemenu--item-action <%= selected %>" href="<%= menu_item.href %>" data-test-selector="op-sidemenu--item-action">
<span class="op-sidemenu--item-title"><%= menu_item.title %></span>
</a>
</li>
Expand Down Expand Up @@ -60,7 +60,7 @@
<% menu_item.children.each do |child_item| %>
<li class="op-sidemenu--item" data-filter--filter-list-target="searchItem">
<% selected = child_item.selected ? 'selected' : '' %>
<a class="op-sidemenu--item-action <%= selected %>" href="<%= child_item.href %>">
<a class="op-sidemenu--item-action <%= selected %>" href="<%= child_item.href %>" data-test-selector="op-sidemenu--item-action">
<span class="op-sidemenu--item-title"><%= child_item.title %></span>
</a>
</li>
Expand All @@ -75,9 +75,14 @@
<%= render Primer::Beta::Button.new(scheme: :primary,
tag: :a,
href: @create_btn_options[:href],
test_selector: "#{@create_btn_options[:module_key]}--create-button",
classes: "op-sidebar--footer-action") do |button|
button.with_leading_visual_icon(icon: "plus")
@create_btn_options[:text]
if @create_btn_options[:btn_text].present?
@create_btn_options[:btn_text]
else
I18n.t("label_#{@create_btn_options[:module_key]}")
end
end %>
</div>
<% end %>
Expand Down
5 changes: 2 additions & 3 deletions app/components/projects/delete_list_modal_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
data: { 'test-selector': MODAL_ID })) do |d| %>
<% d.with_header(variant: :large, mb: 2) %>
<% d.with_body { t(:'projects.lists.delete_modal.text') } %>

<% d.with_footer do %>
<%= render(Primer::Beta::Button.new(data: { "close-dialog-id": MODAL_ID })) { I18n.t(:button_cancel) } %>
<%= form_with(url: projects_query_path(query),
<%= form_with(url: project_query_path(query),
method: :delete) do %>
<%= render(Primer::Beta::Button.new(scheme: :danger,
type: :submit)) { I18n.t(:button_delete) } %>
<% end %>
<% end %>
<% end %>
<% end %>
Loading
Loading