Commit Graph

3 Commits

Author SHA1 Message Date
zegkljan
8440e3b7d7 Collecting usage info, change sqlite lib.
All checks were successful
continuous-integration/drone/push Build is passing
* X-User-ID header is processed to get user ID.
* Time of last request for a user is saved into DB.
* Time of last upload and download is stored for a user.
* Added DB migration to add columns into users table to store the times and app version.
* Backward fix of datatype of the deadline column in features table.
* Switched from crawshaw.io/sqlite to zombiezen.com/go/sqlite.
  * Refactored DB handling.
  * Used migration routine from zombiezen in favour of manual one.
  * Runtime DB reinit simply deletes the db file and initializes the db anew.

Fix #6
2023-06-11 18:06:52 +02:00
zegkljan
63e79c657c API doc, removed -reinit-db option.
All checks were successful
continuous-integration/drone/push Build is passing
* Finished API documentation.
* Removed -reinit-db command line argument.

Fix #5
2023-06-11 17:41:26 +02:00
zegkljan
d25e58905f OpenAPI spec, upgraded deps.
All checks were successful
continuous-integration/drone/push Build is passing
* Added OpenAPI specification. (#5)
* Upgraded to go 1.20.
* Upgraded dependencies.
2023-06-10 16:12:50 +02:00