Commit graph

58 commits

Author SHA1 Message Date
Corey Koval
572047e6a3 Add social media previews/embeds 2026-08-04 17:03:17 +00:00
=
79d1d22615 Merge branch 'dev' into feature/snapshot-backups 2025-05-30 12:49:28 -04:00
Andrew
a351851b31 Clear token if account is disabled 2025-05-09 10:21:05 -04:00
=
498f6e5845 Merge branch 'dev' into feature/snapshot-backups 2025-05-06 12:48:11 -04:00
=
e774092850 Fix comments and rename function to make more sense 2025-04-29 17:22:10 -04:00
Andrew
36be4edb2f Make MFA more configurable.
Force MFA for super users toggleable
Force MFA for roles toggleable
2025-04-11 17:50:26 -04:00
=
2c799947e5 Some sonar fixes 2025-02-23 16:00:43 -05:00
=
2dea3ad817 Allow SU to verify for other user
Disable backup code refresh if no MFA method
2025-02-21 02:04:43 +00:00
=
8dc6edd43b Fix anti-lockout-user MFA requirement 2025-01-28 15:04:18 -05:00
=
936cce5290 Fix user error 2025-01-27 15:05:51 -05:00
Andrew
7e5eb850de Add check for both token_id and session_id 2025-01-26 10:34:39 -05:00
Andrew
070ba8f51e Add comment 2025-01-25 22:02:25 -05:00
Andrew
0273a1d284 Update API key check 2025-01-25 22:01:55 -05:00
Andrew
b089bd39d4 Fix API key auth issues
**BREAKING CHANGE TO EXISTING API KEYS**
2025-01-25 20:25:21 -05:00
Andrew
696f5b4306 Force MFA for super users 2025-01-25 19:33:03 -05:00
amcmanu3
9e5abe8014 Refactor helpers to own directory 2024-08-11 13:31:55 -04:00
Zedifus
45c3f73eca Revert "Revert "Merge branch 'dev' into 'master'""
This reverts the 4.4.1 release revert commit 29ce7a2cde.
2024-08-06 20:45:00 +01:00
Iain Powrie
29ce7a2cde Revert "Merge branch 'dev' into 'master'"
This reverts merge request !783
2024-07-29 21:49:44 +00:00
amcmanu3
bb6b516647 Fix bug where full access gives minimal access 2024-06-01 22:16:46 -04:00
amcmanu3
9bed7092d6 Check for API permission as well as user permission 2024-04-06 13:42:41 -04:00
amcmanu3
0a572fba92 Refactor API keys "super user" to "full access" 2024-03-17 12:50:11 -04:00
Zedifus
ef691eda5c Add exclude for E1101: Module 'nh3' has no 'clean' member
--False Positive--
Issue tracking (fix planned for pylint 4.0.0)
https://github.com/messense/nh3/issues/18
https://github.com/pylint-dev/pylint/issues/8756
2024-02-02 19:51:17 +00:00
amcmanu3
3d4153f941 Add lockout user for forgot password
Hide lockout user from users list
2024-01-16 15:36:14 -05:00
amcmanu3
ca0546a5f4 Add auth log for sessions 2023-11-05 13:46:21 -05:00
Silversthorn
bcbafe2278 Fixed the last one ? 2023-10-08 22:19:36 +02:00
Wout Bouckaert
751beaa7eb
Replace all instances of bleach with nh3.
Using latest version of nh3.
2023-09-04 20:44:44 -06:00
amcmanu3
27f6c4c926 Add unzip/dir request handler to api v2 2023-08-31 21:35:30 -04:00
Andrew
7437944988 Fix & issues 2022-09-07 15:56:18 -04:00
Andrew
df7d10886e Fix & with bleach 2022-09-07 14:55:40 -04:00
Silversthorn
98fa8e8940 Giving json to auth_data 2022-07-18 20:57:04 +02:00
Silversthorn
bc16e0df2b Revert "Revert changes on base_handler, fixing things in the api methods"
This reverts commit f863357633.
2022-07-18 20:53:49 +02:00
Silversthorn
f863357633 Revert changes on base_handler, fixing things in the api methods 2022-07-17 12:17:45 +02:00
Silversthorn
8e58d5f8ac Trying Fixing issue #106 2022-07-16 10:49:48 +02:00
luukas
e73dd682c8
Fix no-else-* QA warnings 2022-06-14 15:40:57 +03:00
Silversthorn
51b1097a96 Fixing Stack when redirected from Unauthorized page 2022-06-08 21:42:25 +02:00
Silversthorn
f597a26e5b Trying to fix stuff 2022-05-30 22:05:36 +02:00
Silversthorn
99b28efd33 Merge branch 'dev' into dev-StatsDBImprovement 2022-05-26 15:39:52 +02:00
Silversthorn
8423cc24c1 I'm breaking/fixing stuff 2022-05-26 14:50:20 +02:00
Zedifus
d0596af4c9 Add exemption orjson no-member falsepositive 2022-05-23 22:54:06 +01:00
luukas
53459d83dc Merge branch 'feature/api-v2' into merge/api-v2 2022-05-05 03:32:09 +03:00
luukas
20d32c04ce Fix login and token stuff 2022-04-14 18:48:46 +03:00
luukas
1aa0d65cf7 Merge branch feature/external-frontend to feature/api-v2 without the frontend 2022-04-14 15:33:53 +03:00
Zedifus
19f2429a4c Fix formatting to comply with Black 2022-04-11 11:08:36 +01:00
computergeek125
42ca4bb973 Refactored the yes to not pass objects in import
Merge Conflicts ᴙ Us
2022-04-11 00:23:55 -05:00
Zedifus
e06fe8a52a Black codebase
Apply black formatting to codebase
2022-03-23 02:50:12 +00:00
Iain Powrie
4cc617fd0d Merge branch 'tweak/fix-imports' into 'dev'
Tidy imports & dep auto-installer

See merge request crafty-controller/crafty-commander!199
2022-03-08 04:50:21 +00:00
Zedifus
b306d1f313 Tidy imports & dep auto-installer 2022-03-08 04:40:44 +00:00
amcmanu3
7629f9a3ff Attempt to appease Iain and the security machine 2022-03-07 22:12:56 -05:00
Iain Powrie
e0ce1d118c Create pylintrc, code review pipeline & correct codebase errors
Fix uploads,
Only send server stats to user page when they have access to servers
2022-01-26 01:45:30 +00:00
luukas
93857f90db JWT login and multi API keys! 2022-01-15 02:23:50 +02:00