Christoph Wurst
299f37c5d9
Update all composer autoloader files
...
The format changed between 2.0.8 and 2.0.9.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2021-01-28 14:24:34 +01:00
Robin Appelman
7956cef622
rebuild autoloader scripts with 2.0.7
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2020-11-26 15:49:03 +01:00
Roeland Jago Douma
fe30bfd232
Update autloader
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2020-09-24 14:59:41 +02:00
Christoph Wurst
150f39ed50
Update autoloaders for composer v1.10.1
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2020-03-19 09:48:49 +01:00
Christoph Wurst
3174012adf
Add event dispatcher to OCP
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2019-06-25 10:02:27 +02:00
Roeland Jago Douma
1c29a01956
Clear backupcodes reminder if no 2FA is enabled
...
Fixes #14125
Listen to 2FA disable event. If a provider is disabled for a user. We
check if there are no more providers. If there are no more providers we
Remove the backupcode reminder notification (if still present).
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2019-03-05 20:14:16 +01:00
Joas Schilling
aa88254f64
Shorten index name of calendar changes table
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2018-11-14 10:14:23 +01:00
Roeland Jago Douma
36bf522c8b
Add job to check users for backup code reminders
...
Now that we can enforce 2FA we also should notify users that have
enabled 2FA but do not yet have backup codes generated.
This adds a repair step that inserts a background job to do this.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2018-10-02 20:41:56 +02:00
Roeland Jago Douma
c557314262
Clear notification to generate backup code once codes are generated
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2018-10-01 15:35:25 +02:00
Roeland Jago Douma
956fe1b867
Generate backups code notification if not enable but 2fa is
...
Generate a notification to generate backup codes if you enable an other
2FA provider but backup codes are not yet generated.
* Add event listner
* Insert background job
* Background job tests and emits notification every 2 weeks
* If the backup codes are generated the next run will remove the job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2018-10-01 15:35:25 +02:00
Christoph Wurst
82748a482e
Fix backup codes column length to fix Argon2 hash values
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2018-08-21 06:53:37 +02:00
Roeland Jago Douma
90a656305b
Bump autoloaders
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2018-08-10 15:03:22 +02:00
Christoph Wurst
f8fe7488a5
Fix state propragation of the backup codes provider
...
Starting with Nextcloud 14, the server knows the enabled/disabled
state of 2fa providers. While it will query that information if it's
unknown (on first use), it won't notice any changes. Thus, providers
have to propagate that information themselves.
Ref https://github.com/nextcloud/twofactor_totp/pull/263
Ref https://github.com/nextcloud/twofactor_u2f/pull/210
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2018-08-01 21:21:30 +02:00
Morris Jobke
f578b69729
Update composer
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de >
2018-01-12 23:16:10 +01:00
Roeland Jago Douma
0280cff66f
Composer updated
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2018-01-04 16:31:16 +01:00
Roeland Jago Douma
49b095b78e
Use proper authorative-autoloader for app autoloaders
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2017-12-14 08:31:31 +01:00
Roeland Jago Douma
c20b3d3634
TwoFactorBackupCodes Autoloader
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl >
2017-10-24 20:40:13 +02:00