Skip to content

Commit 4e10d57

Browse files
committed
feat(ui): Add rename/delete category actions in the sidebar
Signed-off-by: Grigorij Aronov <aronovgj@gmx.net>
2 parents 1e6329f + f5affbc commit 4e10d57

35 files changed

+1573
-460
lines changed

.github/workflows/appstore-build-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Get php version
8484
id: php-versions
85-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
85+
uses: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba # v1.3.2.3.1.3.2
8686
with:
8787
filename: ${{ env.APP_NAME }}/appinfo/info.xml
8888

@@ -181,7 +181,7 @@ jobs:
181181
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
182182
183183
- name: Attach tarball to github release
184-
uses: svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2.11.3
184+
uses: svenstaro/upload-release-action@b98a3b12e86552593f3e4e577ca8a62aa2f3f22b # v2.11.4
185185
id: attach_to_release
186186
with:
187187
repo_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lint-php-cs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Get php version
3333
id: versions
34-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
34+
uses: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba # v1.3.2.3.1.3.2
3535

3636
- name: Set up php${{ steps.versions.outputs.php-min }}
3737
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0

.github/workflows/lint-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Get version matrix
3232
id: versions
33-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.0.0
33+
uses: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba # v1.0.0
3434

3535
php-lint:
3636
runs-on: ubuntu-latest

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
fallbackNpm: '^10'
3939

4040
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
41-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
41+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
4242
with:
4343
node-version: ${{ steps.versions.outputs.nodeVersion }}
4444

@@ -59,7 +59,7 @@ jobs:
5959
run: npx playwright test
6060

6161
- name: Upload results
62-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
62+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
6363
if: always()
6464
with:
6565
name: playwright-report

.github/workflows/psalm-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Get version matrix
3232
id: versions
33-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
33+
uses: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba # v1.3.2.3.1.3.2
3434

3535
- name: Check enforcement of minimum PHP version ${{ steps.versions.outputs.php-min }} in psalm.xml
3636
run: grep 'phpVersion="${{ steps.versions.outputs.php-min }}' psalm.xml

.github/workflows/update-nextcloud-ocp-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Get version matrix
4040
id: versions
41-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
41+
uses: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba # v1.3.2.3.1.3.2
4242

4343
- name: Set up php8.2
4444
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0

appinfo/routes.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,16 @@
9292
'verb' => 'DELETE',
9393
'requirements' => ['id' => '\d+'],
9494
],
95+
[
96+
'name' => 'notes#renameCategory',
97+
'url' => '/notes/category',
98+
'verb' => 'PATCH',
99+
],
100+
[
101+
'name' => 'notes#deleteCategory',
102+
'url' => '/notes/category',
103+
'verb' => 'DELETE',
104+
],
95105

96106
////////// A T T A C H M E N T S //////////
97107

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"nextcloud/coding-standard": "^1.0",
55
"nextcloud/ocp": "dev-stable28",
66
"phan/phan": "^5",
7-
"php-cs-fixer/shim": "3.93.0",
7+
"php-cs-fixer/shim": "3.94.2",
88
"psalm/phar": "^5.26",
99
"squizlabs/php_codesniffer": "^4",
1010
"staabm/annotate-pull-request-from-checkstyle": "^1.1.0"

composer.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

l10n/fr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ OC.L10N.register(
1818
"Notes settings" : "Paramètres de Notes",
1919
"Please see Nextcloud server log for details." : "Veuillez consulter les logs du serveur Nextcloud pour plus de détails.",
2020
"Custom" : "Personnalisé",
21-
"Rich text" : "Texte riche",
21+
"Rich text" : "Texte enrichi",
2222
"Plain text" : "Texte brut",
2323
"Preview" : "Aperçu",
2424
"Make the selection bold" : "Mettre la sélection en gras",

0 commit comments

Comments
 (0)