Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
3d58a0f
build: bump dependencies to support vue3
saw-jan Jul 30, 2026
977a121
chore: ignore lint rules
saw-jan Jul 30, 2026
5642218
chore: port to vue3
saw-jan Jul 30, 2026
45b19ac
chore: port to vue3
saw-jan Jul 31, 2026
3664107
chore: port to vue3
saw-jan Aug 3, 2026
b73beeb
chore: port to vue3
saw-jan Aug 3, 2026
224fe71
chore: port to vue3
saw-jan Aug 3, 2026
2d52e45
chore: port to vue3
saw-jan Aug 4, 2026
8f796d3
chore: port to vue3
saw-jan Aug 4, 2026
8586149
test: use vitest instead of jest
saw-jan Aug 4, 2026
a1bd467
test(vue): adjust spec files
saw-jan Aug 4, 2026
5451fa5
chore: port to vue3
saw-jan Aug 4, 2026
097d97b
test(vue): adjust spec files
saw-jan Aug 4, 2026
287f113
refacotr: make update reactive
saw-jan Aug 5, 2026
713fd13
test(vue): adjust spec files
saw-jan Aug 5, 2026
7c1b905
test(vue): adjust spec files
saw-jan Aug 5, 2026
0f3120d
chore: fix code format
saw-jan Aug 5, 2026
a47bc15
test(vue): adjust spec files
saw-jan Aug 5, 2026
fd5e111
test(vue): adjust spec files
saw-jan Aug 5, 2026
219b17a
test(vue): adjust spec files
saw-jan Aug 6, 2026
5264392
fix: convert string to boolean value
saw-jan Aug 6, 2026
d827330
test(vue): adjust spec files
saw-jan Aug 6, 2026
a7e0aee
test(vue): use global mock restore
saw-jan Aug 6, 2026
5d8b060
test(vue): rename jest folder to js
saw-jan Aug 6, 2026
eda8d1d
test(vue): enable test coverage
saw-jan Aug 6, 2026
55037e3
chore: add changelog entry
saw-jan Aug 6, 2026
713e6f8
chore: update Nextcloud components
saw-jan Aug 6, 2026
858fbe4
fix: use dark mode state
saw-jan Aug 6, 2026
fd09200
fix: let the theme decide the color
saw-jan Aug 6, 2026
86088a7
chore: update Nextcloud components
saw-jan Aug 6, 2026
34530f7
test(vue): adjust vue unit tests
saw-jan Aug 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/js-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: romeovs/lcov-reporter-action@dda1c9b1fa1622b225e9acd87a248751dbcc6ada
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/jest/lcov.info
lcov-file: ./coverage/js/lcov.info
delete-old-comments: true
title: 'JS Code Coverage'

Expand All @@ -87,4 +87,4 @@ jobs:
uses: VeryGoodOpenSource/very_good_coverage@3b475421464c564c0714d92ce02742bd81fa9eda
with:
min_coverage: '59'
path: './coverage/jest/lcov.info'
path: './coverage/js/lcov.info'
2 changes: 1 addition & 1 deletion .github/workflows/php-unit-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
- 'release/**'
pull_request:
paths-ignore:
- 'tests/jest/**'
- 'tests/js/**'
- '**.md'
- '**.txt'
- '**.sh'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# SPDX-FileCopyrightText: 2022 OpenProject GmbH
# SPDX-License-Identifier: AGPL-3.0-or-later
js/
!tests/js/
.code-workspace
.DS_Store
.idea/
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed

- Update npm dependencies [#1123](https://github.com/nextcloud/integration_openproject/pull/1123)
- Migrate to Vue 3 and @nextcloud/vue v9 [#1136](https://github.com/nextcloud/integration_openproject/pull/1136)

### Removed

Expand Down
4 changes: 2 additions & 2 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ SPDX-FileCopyrightText = "2021-2025 Nextcloud GmbH and Nextcloud contributors, 2
SPDX-License-Identifier = "AGPL-3.0-or-later"

[[annotations]]
path = "tests/jest/**/__snapshots__/*.snap"
path = "tests/js/**/__snapshots__/*.snap"
precedence = "aggregate"
SPDX-FileCopyrightText = "2022-2025 Jankari Tech Pvt. Ltd., 2022-2023 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"

[[annotations]]
path = "tests/jest/fixtures/*.json"
path = "tests/js/fixtures/*.json"
precedence = "aggregate"
SPDX-FileCopyrightText = "2022-2024 Jankari Tech Pvt. Ltd."
SPDX-License-Identifier = "AGPL-3.0-or-later"
Expand Down
63 changes: 63 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/**
* SPDX-FileCopyrightText: 2026 Jankari Tech Pvt. Ltd.
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

const { recommendedJavascript: nextcloudConfig } = require('@nextcloud/eslint-config')
const { defineConfig } = require('eslint/config')

module.exports = defineConfig([
...nextcloudConfig,
{
languageOptions: {
globals: {
appVersion: true,
},
parserOptions: {
requireConfigFile: false,
}
},
rules: {
'jsdoc/require-jsdoc': 'off',
'jsdoc/tag-lines': 'off',
'vue/first-attribute-linebreak': 'off',
'import/extensions': 'off',
'perfectionist/sort-imports': 'off',
'perfectionist/sort-named-imports': 'off',
'@stylistic/eol-last': 'off',
Comment on lines +20 to +27

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these need to be enabled later on

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be done in separate PR: https://community.openproject.org/wp/NEX-440

'vue/attribute-hyphenation': 'off',
'vue/new-line-between-multi-line-property': 'off',
'no-console': 'off',
'@stylistic/function-paren-newline': 'off',
'no-unused-vars': 'off',
'@stylistic/arrow-parens': 'off',
'vue/padding-line-between-blocks': 'off',
'@nextcloud/no-deprecated-library-props': 'off',
'@nextcloud/no-deprecated-globals': 'off',
'object-shorthand': 'off',
'@stylistic/indent': 'off',
'@stylistic/indent-binary-ops': 'off',
'curly': 'off',
'vue/comma-dangle': 'off',
'vue/quote-props': 'off',
'@stylistic/exp-list-style': 'off',
'vue/no-deprecated-v-bind-sync': 'off',
'vue/require-explicit-emits': 'off',
'vue/comma-spacing': 'off',
'vue/no-unused-refs': 'off',
'@stylistic/padded-blocks': 'off',
'vue/no-unused-properties': 'off',
'vue/space-infix-ops': 'off',
'vue/no-boolean-default': 'off',
'vue/v-on-event-hyphenation': 'off',
'antfu/top-level-function': 'off',
'vue/no-deprecated-v-on-native-modifier': 'off',
'no-useless-assignment': 'off',
'vue/no-required-prop-with-default': 'off',
'preserve-caught-error': 'off',
'vue/custom-event-name-casing': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-deprecated-destroyed-lifecycle': 'off',
}
}
])
31 changes: 0 additions & 31 deletions jest.config.js

This file was deleted.

Loading
Loading