Commit Graph

15 Commits

Author SHA1 Message Date
🐙PiperYxzzy
ff15c7a65f Updating rate limits to also use TOML 2025-10-13 20:53:49 +02:00
🐙PiperYxzzy
2922793427 Updating Config to a more protected access paradigm 2022-08-14 13:37:15 +02:00
🐙PiperYxzzy
9cc37b0d0d Upgrades to Config
* Added config file and config tests
* Configs per stack can be set up depending on their config/STACK folder
and tested appropriately to add config redundancy
2022-08-14 13:24:59 +02:00
🐙PiperYxzzy
2d65f565ec Updated scheduling package for more flexibility 2022-05-29 20:10:03 +02:00
🐙PiperYxzzy
99402ebdf0 Adding swagger annotations to core 2022-05-05 23:11:24 +02:00
🐙PiperYxzzy
d2dcd8c94b Added ability to run & schedule tasks on a period 2022-05-04 20:51:22 +02:00
🐙PiperYxzzy
65c9309f43 Simple rate-limiting added 2022-05-04 20:36:35 +02:00
🐙PiperYxzzy
c190ac9c0d Admin create & login working 2022-05-03 19:09:38 +02:00
🐙PiperYxzzy
66c35e7e4a Adding admin creation, conf and other items
* Config now added, accessible via config.Config
* Admin can now be generated via a randomized URL if there are no admins
in the system
* Added a shared floor to login attempts to block enumeration attacks
2022-05-03 18:52:01 +02:00
🐙PiperYxzzy
dbdd4cb650 Adding Live 2fa capacity
* Some requests may be sensitive enough to require a secondary
two-factor authorization on the spot
* Examples: changing password, changing email address, viewing API
tokens etc
* This creates a core handler that can attach to any Auth-able method
which will require a "twofactorcode" query param before processing
2022-05-01 22:34:07 +02:00
🐙PiperYxzzy
6c567cd58c Verify and password reset
* Users can now request a password reset and reset with their token
2022-05-01 19:20:47 +02:00
🐙PiperYxzzy
8ab45e2401 Login, JWT and auth overstructure
* Signup -> Login -> JWT-Doot flow now works for users
* Administrators cannot currently sign up for obvious reasons
* Segmented the main.go methods into a core controller package
2022-05-01 12:31:41 +02:00
🐙PiperYxzzy
4b270733a7 Slight refactor to re-use Auth structures
* Now Auth.Login is a consolidated attempt to verify password, 2fa code
and verified status
2022-04-30 16:03:42 +02:00
🐙PiperYxzzy
47ac0cdc07 Adding models, DB access, signup, login
* Created Base, Auth, User and Admin models
* Added skeleton API structure containing: User signup, User & Admin
login, authorized zones, ping tests
* Simple user signup functional
* Skeleton user login functional, no means to verify as of yet
* Added POSTMAN file
2022-04-30 16:02:26 +02:00
🐙PiperYxzzy
b74158a7a5 Init, installing gin-gonic 2022-04-29 22:47:52 +02:00