amcmanu3
9d26a8ff8d
Make sonar changes
2023-09-04 19:22:11 -04:00
amcmanu3
e716198af4
Appease the linter
2023-09-04 18:19:29 -04:00
amcmanu3
a6b7b84b3b
Add get/delete functions for api keys
2023-09-04 11:42:07 -04:00
amcmanu3
6a4a9f77d9
Add create new API key from api v2
2023-09-03 23:30:26 -04:00
amcmanu3
134b35b2dd
Setup users for API handling
2023-08-16 18:00:00 -04:00
Andrew
8e1534e268
Add arguments to API routes
2022-09-26 21:31:44 -04:00
Andrew
82c0452f55
Add pfp caching for users
2022-09-12 15:34:47 -04:00
amcmanu3
2b35da71fc
Fix logic with gravatar email
2022-09-09 15:04:45 -04:00
amcmanu3
375df0c27d
Only check for gravatar if internet
2022-09-09 15:00:08 -04:00
amcmanu3
c1d16522d0
Add manager field to users
2022-08-19 13:09:59 -04:00
luukas
147f178c87
Add a basic API for modifying schedules.
...
THIS IS VERY UNTESTED AND WILL BE EXPANDED TO FULL CRUD FOR SCHEDULES
2022-06-23 01:57:29 +03:00
amcmanu3
35518e960f
Fix username capital issues once and for all
2022-06-16 09:52:21 -04:00
luukas
57ef5e27dd
Add route for viewing user Crafty permissions
...
The route includes the permission mask, counters and limits
2022-05-25 00:55:49 +03:00
luukas
6dadce2c9a
Enable changing more of yourself with superuser
...
Enable modifying your own superuser status, permissions and roles if you
have superuser status
2022-05-25 00:43:49 +03:00
luukas
b0d342e949
Check if something is in a dict with a simpler way
...
* Replace `data.get("key", None) is not None` with `"key" in data`
2022-05-25 00:39:16 +03:00
luukas
9a9d101015
Add pasword hashing to API user modification
2022-05-25 00:32:31 +03:00
luukas
54ff888002
Fix user modification via the API
2022-05-25 00:29:31 +03:00
luukas
4c981f50c2
Add more permission validation in user creation
2022-05-23 22:45:27 +03:00
luukas
4c397ff454
Only allow number IDs to the user handlers
2022-05-18 22:54:44 +03:00
luukas
14665042c6
Add and improve audit logging in the API
2022-05-18 01:34:31 +03:00
luukas
bf59e2de6c
Add and fix API v2 and db
...
* Add basic role routes
* Add API v2 404 handler
* Add API v2 home handler pointing to the wiki
* Add tons more todos
* Add get_*_columns and get_*_column functions for many db models
* Modify and add tons of model and controller functions
2022-05-08 00:07:55 +03:00
luukas
53459d83dc
Merge branch 'feature/api-v2' into merge/api-v2
2022-05-05 03:32:09 +03:00
luukas
1aa0d65cf7
Merge branch feature/external-frontend to feature/api-v2 without the frontend
2022-04-14 15:33:53 +03:00