Commit Graph

305 Commits

Author SHA1 Message Date
Jon
79199e27c7 chore(core): Remove old history permissions from available permissions
ref: #605 #601
2025-02-21 02:31:00 +09:30
Jon
3058f7212a chore(core): Squash history commits
to reduce amount of migrations

ref: #605 closes #601
2025-02-21 02:30:48 +09:30
Jon
57d41d12a3 chore(core): Remove old history tests
ref: #605 #601 closes #46
2025-02-20 22:37:54 +09:30
Jon
fe997ee2f8 feat(core): Enable App settings History to save without specifying an organization
APP settings do not form part of an organization

ref: #605 closes #642
2025-02-20 22:37:17 +09:30
Jon
37aa9ff968 test(access): remove test cases for Team prarent_object
not required for model

ref: #605 #608
2025-02-20 05:41:00 +09:30
Jon
1663e98a1a fix(access): dont use organization property within organization model
ref: #605 #607
2025-02-20 05:40:01 +09:30
Jon
f765fe1fa0 test(access): History Entry checks for Team model
ref: #605 closes #608
2025-02-19 23:39:42 +09:30
Jon
1561b3a2e6 test(access): API Field Checks for Team History
ref: #605 #608
2025-02-19 23:39:28 +09:30
Jon
4174bacea1 feat(access): save_history method added to Team
ref: #605 #608
2025-02-19 23:39:00 +09:30
Jon
553f4d8579 feat(access): History Model for Team added
ref: #605 #608
2025-02-19 23:38:44 +09:30
Jon
72314ea2a4 test(access): History Entry checks for Organization model
ref: #605 closes #607
2025-02-19 23:38:17 +09:30
Jon
2c2ed724c3 test(access): API Field Checks for Organization History
ref: #605 #607
2025-02-19 23:37:28 +09:30
Jon
0275c7a211 feat(access): save_history method added to Organization
ref: #605 #607
2025-02-19 23:36:36 +09:30
Jon
b2f1fba86a feat(access): History Model for Organization added
ref: #605 #607
2025-02-19 23:36:22 +09:30
Jon
19ccc5af9b refactor: Update migrations imports to new path
ref: #640 #641
2025-02-19 22:17:49 +09:30
Jon
77226f75fc refactor(access): Update access imports to neew path
ref: #640 #641
2025-02-19 20:34:28 +09:30
Jon
aeff3f610c refactor(access): Move models to their own file
ref: #640 #641
2025-02-19 20:33:41 +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
7cd4cb965b refactor(core): move get_url to common serializer
reduces duplicated code

ref: #602 #605
2025-02-18 04:13:33 +09:30
Jon
25373fc5b6 test: Disable Old History Model test suites
ref: #601 #602 #605
2025-02-18 04:13:33 +09:30
Jon
d4c6c08710 chore(core): REmove modelnotes permission from permissions list
ref: #525 #389
2025-02-09 20:55:38 +09:30
Jon
05d4c4a94d refactor: Squash migrations so there is less of them for model notes
ref: #525 #389
2025-02-09 20:40:25 +09:30
Jon
51e7f875a2 test(access): Team Note Model Check object requires org
ref: #525 #527
2025-02-09 20:01:14 +09:30
Jon
7b6d6935d4 test(access): Team Note Model Checks
ref: #525 closes #527
2025-02-09 19:27:05 +09:30
Jon
1cec44f7bd test(access): Organization Note Model Checks
ref: #525 closes #526
2025-02-09 19:26:38 +09:30
Jon
98159c1840 test(access): Serializer Checks for Team Notes
ref: #525 #527
2025-02-09 17:50:03 +09:30
Jon
8140c1f945 test(access): Serializer Checks for Organization Notes
ref: #525 #526
2025-02-09 17:49:51 +09:30
Jon
e038d08544 test(access): Team Notes Function Viewset Tests
ref: #525 #527
2025-02-08 21:46:24 +09:30
Jon
05c9e3f066 test(access): Organization Notes Function Viewset Tests
ref: #525 #526
2025-02-08 21:46:10 +09:30
Jon
136f907cd5 docs(access): Add type to parent_model attribute within Organization Mixin
ref: #389 #525
2025-02-08 21:44:08 +09:30
Jon
d11e7fa71d test(access): Team Notes Test Cases for ViewSet
ref: #525 #527
2025-02-08 19:21:28 +09:30
Jon
96a8a6a158 test(access): Organization Notes Test Cases for ViewSet
ref: #525 #526
2025-02-08 19:21:15 +09:30
Jon
e7729afc98 test(access): Team Test Cases for API Field Checks
ref: #525 #527
2025-02-08 17:23:14 +09:30
Jon
7358b0a90c test(access): Organization Test Cases for API Field Checks
ref: #525 #526
2025-02-08 17:22:59 +09:30
Jon
e8ce851c31 fix(access): field organization requires team related_model for org
ref: #526
2025-02-07 21:23:14 +09:30
Jon
9fcb793bb2 feat(access): Team Notes ViewSet
ref: #526 #527
2025-02-07 18:35:38 +09:30
Jon
bd574ce952 feat(access): Team Notes Serializer
ref: #526 #527
2025-02-07 18:35:10 +09:30
Jon
77f0554893 feat(access): Team Notes Model
ref: #526 #527
2025-02-07 18:34:37 +09:30
Jon
e07af389ba feat(access): Organization Notes ViewSet
ref: #525 #526
2025-02-07 18:17:05 +09:30
Jon
3060fd0b86 feat(access): Organization Notes Serializer
ref: #525 #526
2025-02-07 18:16:27 +09:30
Jon
3184e5fb07 feat(access): Organization Notes Model
ref: #525 #526
2025-02-07 18:16:17 +09:30
Jon
64e344206c refactor(access): Dont add releationship from tenancyObject.organization to organization model
ref: #389 #525
2025-02-07 18:10:44 +09:30
Jon
0db2c09be4 test(api): Add kwargs as arg to test cases
ref: #512 #513 #518
2025-02-06 20:47:58 +09:30
Jon
baf7d0226e fix(access): correct truthy check for team ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:58:32 +09:30
Jon
36992f8469 fix(access): correct truthy check for team ViewSet property when evaluating queryset
ref: #512 #518
2025-02-04 07:58:13 +09:30
Jon
325509aa16 fix(access): correct truthy check for team user ViewSet property when evaluating queryset
ref: #512 #518
2025-02-04 07:58:01 +09:30
Jon
57cc0d2caa fix(access): correct truthy check for team user ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:57:44 +09:30
Jon
4833245e34 fix(access): correct truthy check for organization ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:57:27 +09:30
Jon
5066cf7536 fix(access): Team viewset must cache serializer_class
ref: #513 #518
2025-02-04 07:29:11 +09:30
Jon
6522d274a3 fix(access): Team viewset must cach queryset
ref: #512 #518
2025-02-04 07:29:11 +09:30