Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2efd214
feat(webpush): Add, update, activate and delete webpush subscription
p1gp1g Nov 18, 2025
8b87232
feat(webpush): Registration with new endpoint, p256dh or auth is 'cre…
p1gp1g Nov 19, 2025
a5b09aa
feat(webpush): Return error if too many appTypes are supplied
p1gp1g Nov 19, 2025
d9ffa95
feat(webpush): Send activation token during registration
p1gp1g Nov 19, 2025
ee564f7
feat(webpush): Prepare webpush requests
p1gp1g Nov 20, 2025
80c7390
feat(webpush): Send web push requests
p1gp1g Nov 20, 2025
094eccb
feat(webpush): Delete expired web push subscriptions
p1gp1g Nov 21, 2025
edb1d58
feat(webpush): Send web push delete notifs
p1gp1g Nov 21, 2025
fb3c960
feat(webpush): Fix tests after 'Delete expired web push subscriptions'
p1gp1g Nov 21, 2025
942c3d4
feat(webpush): Add Urgency to web push notifs
p1gp1g Nov 21, 2025
9481d4a
feat(webpush): Add support for 429 status code with web push
p1gp1g Nov 21, 2025
1423ea8
feat(webpush): Fix composer for webpush
p1gp1g Nov 21, 2025
20a9090
feat(webpush): Fix urgency
p1gp1g Nov 21, 2025
0621e1b
feat(webpush): Add support for VAPID
p1gp1g Nov 21, 2025
1b5cf32
feat(webpush): Fix missing $deleteAll
p1gp1g Nov 24, 2025
429b50f
feat(webpush): Add API endpoint to get the VAPID pubkey
p1gp1g Nov 24, 2025
4a69214
feat(webpush): Add webpush capability
p1gp1g Nov 24, 2025
676fb5c
feat(webpush): Fix apptypes
p1gp1g Nov 24, 2025
0c0f2b2
feat(webpush): Add tests for webpush
p1gp1g Nov 25, 2025
0aa109c
feat(webpush): Get apptypes as a string
p1gp1g Nov 26, 2025
e0c6bb0
feat(webpush): Fix tests for apptypes as string
p1gp1g Nov 27, 2025
aec0a1b
feat(webpush): Include WebPushController in ApplicationTest
p1gp1g Nov 27, 2025
424adbc
feat(webpush): Allow multiple delete with webpush
p1gp1g Nov 28, 2025
6363888
feat(webpush): Lint
p1gp1g Dec 2, 2025
1182172
feat(webpush): Add composer lock
p1gp1g Dec 2, 2025
0027d1b
feat(webpush): Fix OpenAPI
p1gp1g Dec 3, 2025
dc2fb55
feat(webpush): Small fixes
p1gp1g Dec 3, 2025
4ef6030
feat(webpush): Fix VAPID auth
p1gp1g Dec 4, 2025
c3df6e4
ci: Try to fix psalm for now
nickvergessen Dec 5, 2025
5fa1b47
ci(cs): Ignore lib/Vendor/ dir from coding standards
nickvergessen Dec 5, 2025
294025e
feat(webpush): Reduce max size for endpoint
p1gp1g Dec 5, 2025
e2c0181
feat(webpush): Lint
p1gp1g Dec 6, 2025
180cf92
feat(webpush): Update query count
p1gp1g Dec 8, 2025
de4a2bf
feat(webpush): Keep vendor dir
p1gp1g Dec 8, 2025
1c94e08
feat(webpush): Fix psalm CI
p1gp1g Dec 8, 2025
c6b6bc8
feat(webpush): Lint
p1gp1g Dec 9, 2025
c57b446
feat(webpush): Init VAPID in constructor
p1gp1g Dec 9, 2025
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
Loading