Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling 434c6ba836 fix(icon): Use a better icon for the notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-20 12:08:18 +00:00
Joas Schilling d4780d3068
fix(notification): Update notification code to new exceptions from Nextcloud 30
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-13 11:58:58 +02:00
Joas Schilling 096c40dc33
fix(db): Make database structure oracle compatible
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-12 11:54:30 +02:00
Joas Schilling 414f37ccd3 fix: Use dedicated app icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-04 17:39:40 +02:00
Andy Scherzinger 7c74d79cdf
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-02 17:05:56 +02:00
Joas Schilling f44d7d3e74
fix: Use attributes for controllers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-25 06:46:38 +02:00
Joas Schilling 3eb7666241
fix: Add missing return declarations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-25 06:46:19 +02:00
Joas Schilling e1b9f46bde
fix(migration): Don't use doctrine types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-25 06:45:56 +02:00
Joas Schilling 138a13159b
Fix notification icon to be absolute URL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-20 12:08:29 +01:00
Joas Schilling d21933b7e5
techdebt: Clean up PHP code
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 05:33:36 +01:00
Joas Schilling 7f4ef85e23
fix(CS): Update coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-15 17:20:08 +02:00
Joas Schilling 0d6995ec74
Type token mapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-07 12:19:00 +01:00
Joas Schilling 2efbfe4c19
Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-20 14:24:28 +02:00
Joas Schilling 45e3bdfff8
Simplify registration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-01 15:52:02 +02:00
Joas Schilling 1f2997b9dc
Improve notification texts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-01 15:19:27 +02:00
Joas Schilling d8f16907fb
Move enable state to preferences
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-31 17:13:25 +02:00
Joas Schilling d6292c3875
Add an icon to the notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-25 10:51:28 +01:00
Joas Schilling e5a707bc45
Update event handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-28 11:41:04 +01:00
Joas Schilling 6c63b3780e
Group the calls by part
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-04 11:18:57 +02:00
Joas Schilling 296828c151
Set the correct message attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-04 11:18:29 +02:00
Joas Schilling d7dc905279
Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-15 15:28:56 +02:00
Joas Schilling 875d9a0828
Doctrine 3.0 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-08 14:16:26 +01:00
Roeland Jago Douma 82782da8ff
20 compatible release
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-28 14:27:46 +02:00
szaimen 92edd9006d
Make activatable by admin
Signed-off-by: szaimen <szaimen@e.mail.de>
2020-03-30 02:25:55 +02:00
Roeland Jago Douma 6cb60e4b85
Move to initialstate API
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-23 13:26:50 +02:00
Roeland Jago Douma cb025d773c
Cast object properly to string
Fixes #199

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-23 13:14:06 +02:00
Joas Schilling 7697423940
Adjust notifier to Nextcloud 17
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-16 13:08:35 +02:00
Roeland Jago Douma 8e96c8e140
Move retrieving of state to StateManager
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-02 15:25:26 +02:00
Roeland Jago Douma 2dd8e8c114
Allow admin to disable provider for user
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-02 15:23:36 +02:00
Roeland Jago Douma 5225c72c10
Move to a state manager
Dedicated service to set the state of the provider.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-02 15:21:50 +02:00
Morris Jobke 2054443e2d
Improve wording of notification
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-18 10:18:12 +01:00
Roeland Jago Douma 4e482f9d90
Move backgroundjobs to their OCP variant
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-07 16:03:11 +01:00
Roeland Jago Douma ac6d607021
Use injected user
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-07 21:38:34 +01:00
Roeland Jago Douma aa342b076e
Move to 2fa Personal settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-07 16:25:02 +01:00
Christoph Wurst 65b8ad7bed
Merge pull request #28 from nickv-nextcloud/notificationManager
Add NotificationManager
2018-10-23 07:50:27 +02:00
Roeland Jago Douma f142039aad
Also propegate disable to the registry
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-19 21:43:06 +02:00
Roeland Jago Douma f732f7389f
Add NotificationManager
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-19 21:41:17 +02:00
Roeland Jago Douma 56841378f8 Abstract away with token manager
Fixes #8

Introduces a tokenmanager. This adds a little logic between the dump
TokenMapper and the caller. It will cleanup the notifications if needed
and check if a token is still valid (10 minutes).

It also handles the removing of all the old tokens by cleaning up their
notifications.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-19 14:02:45 +02:00
Roeland Jago Douma a595477997
Use the old perosnal settings (#14)
* Use the old perosnal settings

This makes the app 14 compatible
2018-10-18 10:10:54 +02:00
Christoph Wurst 9d1187370f
Add personal settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-18 08:19:57 +02:00
Roeland Jago Douma c443c078e1
Merge pull request #9 from nickv-nextcloud/enhancement/challenge-polling
Add Webpack, Babel, Vue and a simple polling logic
2018-10-17 22:11:34 +02:00
Roeland Jago Douma f9effe81b9
userId can be null in case of the poll request
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-17 21:46:02 +02:00
Roeland Jago Douma ae25a9ddbc
Do not enable app by default for all users
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-17 21:00:13 +02:00
Roeland Jago Douma 8285b7c588
Merge pull request #6 from nickv-nextcloud/fix/personal-settings-template
Fix personal settings template
2018-10-04 19:17:17 +02:00
Roeland Jago Douma bda5312273
Fix url
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 17:05:11 +02:00
Roeland Jago Douma b6fc07db03
Move to OCS api
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 16:41:45 +02:00
Christoph Wurst 9e507291ca
Fix personal settings template
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-04 16:06:26 +02:00
Roeland Jago Douma c0cf1198ae
Add background job to cleanup the tokens
* Tokens are cleanup after 10 minutes
* App is 15 only

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 09:39:12 +02:00
Roeland Jago Douma 43633822bf
Start with personal page
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 09:30:11 +02:00
Roeland Jago Douma deed769675
Use 2FA registry
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-04 09:21:10 +02:00