Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
055dec4
feat(webpush): Add, update, activate and delete webpush subscription
p1gp1g Nov 18, 2025
b41fb29
feat(webpush): Registration with new endpoint, p256dh or auth is 'cre…
p1gp1g Nov 19, 2025
4a14a52
feat(webpush): Return error if too many appTypes are supplied
p1gp1g Nov 19, 2025
e0d5d46
feat(webpush): Send activation token during registration
p1gp1g Nov 19, 2025
28d1e67
feat(webpush): Prepare webpush requests
p1gp1g Nov 20, 2025
bd5b9d0
feat(webpush): Send web push requests
p1gp1g Nov 20, 2025
af55255
feat(webpush): Delete expired web push subscriptions
p1gp1g Nov 21, 2025
78cc3a7
feat(webpush): Send web push delete notifs
p1gp1g Nov 21, 2025
47679bb
feat(webpush): Fix tests after 'Delete expired web push subscriptions'
p1gp1g Nov 21, 2025
979942a
feat(webpush): Add Urgency to web push notifs
p1gp1g Nov 21, 2025
aeb3367
feat(webpush): Add support for 429 status code with web push
p1gp1g Nov 21, 2025
e385f3e
feat(webpush): Fix composer for webpush
p1gp1g Nov 21, 2025
58d8562
feat(webpush): Fix urgency
p1gp1g Nov 21, 2025
f389ff4
feat(webpush): Add support for VAPID
p1gp1g Nov 21, 2025
f126766
feat(webpush): Fix missing $deleteAll
p1gp1g Nov 24, 2025
56fab40
feat(webpush): Add API endpoint to get the VAPID pubkey
p1gp1g Nov 24, 2025
e20d6da
feat(webpush): Add webpush capability
p1gp1g Nov 24, 2025
b50eb04
feat(webpush): Fix apptypes
p1gp1g Nov 24, 2025
0c08389
feat(webpush): Add tests for webpush
p1gp1g Nov 25, 2025
ff028e2
feat(webpush): Get apptypes as a string
p1gp1g Nov 26, 2025
d556186
feat(webpush): Fix tests for apptypes as string
p1gp1g Nov 27, 2025
1f20fd6
feat(webpush): Include WebPushController in ApplicationTest
p1gp1g Nov 27, 2025
aef40d1
feat(webpush): Allow multiple delete with webpush
p1gp1g Nov 28, 2025
cac8606
feat(webpush): Lint
p1gp1g Dec 2, 2025
057047c
feat(webpush): Add composer lock
p1gp1g Dec 2, 2025
801b50c
feat(webpush): Fix OpenAPI
p1gp1g Dec 3, 2025
6bcbe77
feat(webpush): Small fixes
p1gp1g Dec 3, 2025
3a3284b
feat(webpush): Fix VAPID auth
p1gp1g Dec 4, 2025
260dc61
ci: Try to fix psalm for now
nickvergessen Dec 5, 2025
dca2dd0
ci(cs): Ignore lib/Vendor/ dir from coding standards
nickvergessen Dec 5, 2025
60b5e75
feat(webpush): Reduce max size for endpoint
p1gp1g Dec 5, 2025
84968a7
feat(webpush): Lint
p1gp1g Dec 6, 2025
5b2e2a5
feat(webpush): Update query count
p1gp1g Dec 8, 2025
dbc8f1f
feat(webpush): Keep vendor dir
p1gp1g Dec 8, 2025
e88c52f
feat(webpush): Fix psalm CI
p1gp1g Dec 8, 2025
cc5b31a
feat(webpush): Lint
p1gp1g Dec 9, 2025
be100ca
feat(webpush): Init VAPID in constructor
p1gp1g Dec 9, 2025
0e9cd55
feat(webpush): Rename appTypes
p1gp1g Jan 9, 2026
8844f35
feat(webpush): Store VAPID pubkey in plaintext
p1gp1g Jan 9, 2026
3701aa4
feat(webpush): Fix typo in comment
p1gp1g Jan 9, 2026
65e37fd
feat(webpush): Add WebPushClient to Push constructor
p1gp1g Jan 9, 2026
1dc4b5b
feat(webpush): Apply suggestions from code review
p1gp1g Jan 9, 2026
728d9aa
feat(webpush): Remove unused dep
p1gp1g Jan 12, 2026
4a2d540
feat(webpush): Do not remove old (>60d) tokens
p1gp1g Jan 12, 2026
ee77c0e
feat(webpush): Comment testing values
p1gp1g Jan 12, 2026
aaa56de
feat(webpush): Change VAPID subject to use nextcloud domain
p1gp1g Jan 12, 2026
b3b2b58
feat(webpush): Rename app_types column
p1gp1g Jan 12, 2026
2cc03c3
feat(webpush): Fix appTypes name
p1gp1g Jan 13, 2026
a7182d1
feat(webpush): Lint
p1gp1g Jan 13, 2026
5f1e5e3
feat(webpush): Fix continues after token validation
p1gp1g Jan 13, 2026
c852f68
feat(webpush): Fix CI with new validation
p1gp1g Jan 13, 2026
f701487
feat(webpush): Fix appTypes name in psalm baseline
p1gp1g Jan 19, 2026
8b3f76f
feat(webpush): Rename ua_public column
p1gp1g Feb 1, 2026
dce3f55
feat(webpush): Do not lazy load VAPID config
p1gp1g Feb 1, 2026
f0ecc5f
feat(webpush): Use constants for testing ua_public and auth
p1gp1g Feb 1, 2026
193d6ef
feat(webpush): Use dedicated OpenAPI scope for webpush
p1gp1g Feb 1, 2026
2eac1e4
feat(webpush): Fix lock hash
p1gp1g Feb 1, 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
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
->notPath('l10n')
->notPath('node_modules')
->notPath('src')
->notPath('lib/Vendor')
->notPath('vendor')
->in(__DIR__);
return $config;
23 changes: 22 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@
},
"scripts": {
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install",
"@composer bin all install --ansi",
"\"vendor/bin/mozart\" compose",
"composer dump-autoload"
],
"post-update-cmd": [
"@composer bin all install --ansi",
"\"vendor/bin/mozart\" compose",
"composer dump-autoload"
],
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
Expand All @@ -38,5 +44,20 @@
"rector:fix": "rector",
"test:unit": "phpunit --color -c tests/Unit/phpunit.xml",
"test:integration": "cd tests/Integration && ./run.sh"
},
"require": {
"minishlink/web-push": "^9.0"
},
"extra": {
"mozart": {
"delete_vendor_directories": false,
"dep_namespace": "OCA\\Notifications\\Vendor\\",
"dep_directory": "/lib/Vendor/",
"classmap_directory": "/lib/autoload/",
"classmap_prefix": "Notifications_",
"packages": [
"minishlink/web-push"
]
}
}
}
Loading