Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | auth: decouple types and functions from db (#6320) | ᴜɴᴋɴᴡᴏɴ | 2020-09-20 |
| | |||
* | db: migrate to GORM v2 (#6309) | ᴜɴᴋɴᴡᴏɴ | 2020-09-06 |
| | |||
* | db: use GORM to backup and restore non-legacy tables (#6142) | ᴜɴᴋɴᴡᴏɴ | 2020-05-04 |
| | |||
* | db: add tests for users (#6116) | ᴜɴᴋɴᴡᴏɴ | 2020-04-18 |
| | | | | | | | | | | | | | | | | | | | | | * Add new methods * Use Users.Create to replace previous hack * Reduce side effect * Do not clear tables when test failed * test_users_Authenticate * Rename constant * test_users_Create * test_users_GetByEmail * test_users_GetByID * test_users_GetByUsername | ||
* | login_source: migrate to GORM and add tests (#6090) | ᴜɴᴋɴᴡᴏɴ | 2020-04-11 |
* Use GORM in all write paths * Migrate to GORM * Fix lint errors * Use GORM to init table * dbutil: make writer detect error * Add more tests * Rename to clearTables * db: finish adding tests * osutil: add tests * Fix load source files path |