Commit Graph

54 Commits

Author SHA1 Message Date
Jon
d577b12a33 refactor(settings): API Fields render Functional Test Suite re-written to Pytest for model UserSettings
ref: #942 #941
2025-08-05 13:43:49 +09:30
Jon
fb090b6f63 refactor(settings): Model Functional Test Suite re-written to Pytest for model UserSettings
ref: #942 #941
2025-08-05 13:43:13 +09:30
Jon
75cda05579 refactor(settings): API Metadata Functional Test Suite re-written to Pytest for model UserSettings
ref: #942 #941
2025-08-05 13:43:01 +09:30
Jon
4c6473a7b0 refactor(settings): Serializer Unit Test Suite re-written to Pytest for model ExternalLink
ref: #942 #940
2025-08-05 13:17:23 +09:30
Jon
204a20b793 refactor(settings): API Fields render Functional Test Suite re-written to Pytest for model ExternalLink
ref: #942 #940
2025-08-05 13:17:08 +09:30
Jon
bf1a60439f refactor(settings): Model Functional Test Suite re-written to Pytest for model ExternalLink
ref: #942 #940
2025-08-05 13:16:56 +09:30
Jon
006d7ab0c2 refactor(settings): API Metadata Functional Test Suite re-written to Pytest for model ExternalLink
ref: #942 #940
2025-08-05 13:16:36 +09:30
Jon
653e29ffe5 refactor(settings): API Fields render Functional Test Suite re-written to Pytest for model AppSettings
ref: #942 #939
2025-08-05 12:50:10 +09:30
Jon
b13610ef0e refactor(settings): Model Functional Test Suite re-written to Pytest for model AppSettings
ref: #942 #939
2025-08-05 12:49:53 +09:30
Jon
8739eba655 refactor(settings): API Metadata Functional Test Suite re-written to Pytest for model AppSettings
ref: #942 #939
2025-08-05 12:49:16 +09:30
Jon
22ad79386e chore(settings): Remove old AppSettings model permission tests
ref: #855 #834
2025-07-06 20:59:03 +09:30
Jon
baabf84234 fix(settings): AppSettings requires super user perms
ref: #855 #834
2025-07-06 20:55:18 +09:30
Jon
b5f55c1eea test(settings): Model UserSettings does not allowing adding rows, skip test
ref: #855 #836
2025-07-06 19:06:57 +09:30
Jon
888fc68180 test(settings): Model AppSettings does not allowing adding rows, skip test
ref: #855 #834
2025-07-06 19:06:20 +09:30
Jon
37a69888b6 test(api): when testing create object, remove the actual created object prior to testing the add
ref: #849
2025-07-04 13:26:07 +09:30
Jon
ea88076d7f test(settings): UserSettings perms tests are for the user that is accessing them
ref: #849 #836
2025-07-04 09:45:50 +09:30
Jon
6e925e8456 test(settings): UserSettings perms tests are not org based, skip those tests
ref: #849 #836
2025-07-04 09:38:34 +09:30
Jon
b282162a86 test(settings): AppSettings perms tests are not org based, skip those tests
ref: #849 #834
2025-07-04 09:38:07 +09:30
Jon
41da9fb6a0 test(settings): Exclude inter-org tests for model AppSettings
perms for appsettings are global

ref: #839 #834
2025-07-04 08:40:36 +09:30
Jon
ebea2da906 test(settings): Remove old API Permission tests no longer required
ref: #833 #836
2025-07-04 08:40:36 +09:30
Jon
e233bf4487 test(settings): Ensure ExternalLink model hasrequired field template added
ref: #833 #835
2025-07-04 08:40:36 +09:30
Jon
78539f2551 refactor(settings): Update URL route name for UserSettings model
ref: #833 closes #836
2025-07-04 08:40:35 +09:30
Jon
801bac9e6d refactor(settings): Update URL route name for ExternalLink model
ref: #833 #835
2025-07-04 08:40:35 +09:30
Jon
c264ab2cd4 refactor(settings): Update URL route name for AppSettings model
ref: #833 #834
2025-07-04 08:40:35 +09:30
Jon
cf5f43f33c chore(settings): Remove old Notes Tests
ref: #783 #735 #759
2025-07-04 08:40:27 +09:30
Jon
d18c9006d2 chore(settings): Remove old History Tests
ref: #783 #735 #759
2025-07-04 08:40:27 +09:30
Jon
17c7980e03 refactor(base): rename app to centurion
ref: #764
2025-07-04 08:38:55 +09:30
Jon
2d7335ff85 refactor(access): Rename model Organization -> Tenant
ref: #756 #505
2025-05-15 02:44:53 +09:30
Jon
2e49de8573 refactor(settings): Update all references to User to use get_user_model()
ref: #756 closes #755
2025-05-14 19:57:56 +09:30
Jon
1d1c76e033 test: Refactor all ViewSet Unit Test cases to use new test cases class
ref: #696 closes #672
2025-03-25 02:22:47 +09:30
Jon
df2120ab85 test(settings): History Entry checks for App Settings History
ref: #605 #642
2025-02-20 22:34:26 +09:30
Jon
3884253a2b refactor(settings): Update access imports to new path
ref: #640 #641
2025-02-19 21:55:05 +09:30
Jon
69bb6f149f test(settings): History Entry checks for External Link model
ref: #605 closes #635
2025-02-18 04:13:39 +09:30
Jon
4dd19ba22f fix(tests): Correct Permission Import due to removing from access.models
ref: #605 #601
2025-02-18 04:13:35 +09:30
Jon
32c6991730 test(settings): External Links Notes Function Viewset Tests
ref: #525 #545
2025-02-08 23:08:27 +09:30
Jon
bc8815d607 test(Settings): External Link Notes Test Cases for API Field Checks
ref: #525 #545
2025-02-08 17:33:57 +09:30
Jon
83fb6d005b test: Add empty kwargs to ViewSet index page test cases
ref: #512 #513 #518
2025-02-06 20:35:46 +09:30
Jon
1ad370e7cf test(settings): when checking if user can delete own settings, user must be owner of settings
ref: #471 #511
2025-02-01 17:55:37 +09:30
Jon
78afe7c86b test(settings): regardless of permissions a user can change their own settings
ref: #471 #511
2025-02-01 17:26:12 +09:30
Jon
06e0943e30 test(settings): Remove no-permission failure test as user settings require no permissions
ref: #485 fixes #486
2025-01-24 15:46:01 +09:30
Jon
f08d3357d0 test: update to cater for tenancy object in request
ref: #473 #474
2025-01-18 22:57:00 +09:30
Jon
e7601e311a test(access): Skip test case for appsettings different organization due to model not being tenancy model.
ref: #448 #459
2025-01-04 18:26:12 +09:30
Jon
1087dde2d5 test(access): Ensure items returned from query are from user organization and/or globally set organization
ref: #459 closes #448
2025-01-04 18:04:02 +09:30
Jon
193c6c3b7f feat(api): Add IndexViewset to ViewSet mixin
ref: #442 #456
2024-12-27 23:03:39 +09:30
Jon
d9b9e32019 test(settings): Dont test user settings for table view
this view not expected to be

ref: #410 #417 closes #412
2024-12-06 14:28:38 +09:30
Jon
3bce54b495 test(steeings): Dont test app settings for table view
this view not expected to be

ref: #410 #412 #417
2024-12-06 14:27:58 +09:30
Jon
a10f1b3694 test(settings): API Metadata checks for user settings
ref: #410 #412 #415
2024-12-04 23:22:52 +09:30
Jon
11abf177ab test(settings): API Metadata checks for external links
ref: #410 #412 #415
2024-12-04 23:22:34 +09:30
Jon
becf55e22f test(settings): API Metadata checks for app settings
ref: #410 #412 #415
2024-12-04 23:22:22 +09:30
Jon
ae2891f0ac test(settings): Ensure items returned are from users orgs only for API v2 endpoints
ref: #248 #359 #397
2024-11-28 02:58:45 +09:30