summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/Migration
Commit message (Collapse)AuthorAgeFilesLines
* 2FA backupcodes: add strict typingJ0WI2021-04-154-0/+12
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-242-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Replace TYPE with TYPESDaniel Kesselberg2020-06-302-7/+8
| | | | | | As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-3/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-056-6/+35
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-225-5/+6
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add job to check users for backup code remindersRoeland Jago Douma2018-10-021-0/+48
| | | | | | | | | 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>
* Fix backup codes column length to fix Argon2 hash valuesChristoph Wurst2018-08-211-0/+51
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-174-17/+14
| | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* Restore the sequencial orderJoas Schilling2017-09-291-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate the twofactor_backupcodes app to bigintJoas Schilling2017-09-291-0/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix database structure of twofactor backupcodes app to match 12Joas Schilling2017-09-191-0/+56
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix dropping tables and handle the prefix automaticallyJoas Schilling2017-07-052-8/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move twofactor_backupcodes to migrationsJoas Schilling2017-07-052-31/+102
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a update step that copies all the backup codesJoas Schilling2017-05-151-0/+108
Signed-off-by: Joas Schilling <coding@schilljs.com>