Commit Graph

406 Commits

Author SHA1 Message Date
Jon
677cc55e04 test: correct serializer imports from recent file renames
ref: #732 #726
2025-04-26 06:08:37 +09:30
Jon
b6146b7d14 feat: Add field Meta.sub_model_type to sub-models
ref: #732 #564
2025-04-26 06:00:34 +09:30
Jon
daf30de835 chore: correct tests so they function and cleanup correctly
ref: #731
2025-04-23 18:33:10 +09:30
Jon
1a5f328a24 fix(access): Ensure related model is a sub-model
ref: #724 #723
2025-04-16 20:54:30 +09:30
Jon
a695b4563d refactor(access): migrate sub-model viewset logic to common
ref: #724 #723
2025-04-15 20:13:39 +09:30
Jon
8f69e6ec79 test(access): Correct history link test cases
ref: #722 #684
2025-04-15 17:09:38 +09:30
Jon
d131d2499b feat(access): add missing nav menu entries for entities
ref: #722
2025-04-15 15:08:38 +09:30
Jon
4e03c2bf31 feat(human_resources): add module to perms selector
ref: #722
2025-04-15 15:07:50 +09:30
Jon
9c88c23bb3 test: Migrate models to use refactored model tests
ref: #719 closes #708
2025-04-13 16:35:48 +09:30
Jon
e4588771e8 test: Consolidate All model tests to remove duplicates and to simplify
ref: #719 #708
2025-04-13 13:48:54 +09:30
Jon
9302627c6f fix(access): add missing attribute to Tenancy object
ref: #718
2025-04-12 19:01:44 +09:30
Jon
32d97932d1 chore: squash migrations
reduces the amount required

ref: #702
2025-04-10 12:05:43 +09:30
Jon
b99b38f623 test(access): Ensure Model Contacts inherits from Person Model
ref: #713 closes #703
2025-04-08 22:56:42 +09:30
Jon
7aae162453 test(access): Functional Test Suite for Contact API Metadata, API Permissions and ViewSet
ref: #713 #703
2025-04-08 22:51:00 +09:30
Jon
aad1407647 test(access): Functional Test Suite for Contact serializer
ref: #713 #703
2025-04-08 22:50:34 +09:30
Jon
79efc2258f test(access): Functional Test Suite for Contact history
ref: #713 #703
2025-04-08 22:50:24 +09:30
Jon
8b32faa736 test(access): Correct Entity and person functional Test Suite so sub-model testing works
ref: #713 #703
2025-04-08 22:49:49 +09:30
Jon
4518449232 test(access): Unit Test for Contact ViewSet
ref: #713 #703
2025-04-08 21:55:22 +09:30
Jon
6d708d0c00 test(access): Unit Test for Contact model
ref: #713 #703
2025-04-08 21:55:10 +09:30
Jon
5bf89e1ca6 test(access): Unit Test for Contact history API field checks
ref: #713 #703
2025-04-08 21:55:04 +09:30
Jon
23213c148c test(access): Unit Test for Contact API field checks
ref: #713 #703
2025-04-08 21:54:57 +09:30
Jon
dd4175a6ba test(access): Unit Test for Person Tenancy Object
ref: #713 #703
2025-04-08 21:53:41 +09:30
Jon
1d9ce9d310 test(access): Correct Entity and person unit Test Suite so sub-model testing works
ref: #713 #703
2025-04-08 21:53:21 +09:30
Jon
813470f084 fix(access): Add missing field directory to contact model
ref: #713 #703
2025-04-08 21:52:07 +09:30
Jon
bb27bcc280 feat(access): Ensure that the same person cant be created more than once
based off of combined fields f_name, l_name and dob (if dob is not empty)

ref: #713 #571
2025-04-08 21:09:57 +09:30
Jon
1b53faf9ce test(access): Entity Function Serializer test cases
ref: #713 #571
2025-04-08 21:07:57 +09:30
Jon
33d20a4c0a test(access): Person Model field test cases
ref: #713 #571
2025-04-08 19:43:01 +09:30
Jon
fe7e2b9d22 test(access): Functional Test for Person ViewSet, Permissions and Metadata
ref: #713 closes #571
2025-04-08 19:10:01 +09:30
Jon
c563c07345 test(access): Functional Test for Person History
ref: #713 #571
2025-04-08 19:07:58 +09:30
Jon
3b72df61a4 test(access): Correct Entity Function Test Suite so sub-model testing works
ref: #713 #571
2025-04-08 19:07:41 +09:30
Jon
c3da9503d2 test(access): Unit Test for Person ViewSet
ref: #713 #571
2025-04-08 17:53:59 +09:30
Jon
c42037cef6 test(access): Unit Test for Person Model
ref: #713 #571
2025-04-08 17:53:40 +09:30
Jon
192f46022c test(access): Unit Test for Person History API fields
ref: #713 #571
2025-04-08 17:53:32 +09:30
Jon
81860cac84 test(access): Unit Test for Person API fields
ref: #713 #571
2025-04-08 17:53:16 +09:30
Jon
b66feadb5a test(access): Unit Test for Person Tenancy Object
ref: #713 #571
2025-04-08 17:52:50 +09:30
Jon
b01a2a9a47 test(access): Correct Entity Test Suite so sub-model testing works
ref: #713 #571
2025-04-08 17:49:27 +09:30
Jon
6aebde7845 test(access): Remove teardown from Function Test cases for Role serializer
ref: #712 #683
2025-04-08 15:22:49 +09:30
Jon
322b7a1c41 test(access): Test cases for Role serializer
ref: #712 #683
2025-04-07 14:07:08 +09:30
Jon
825683e162 test(access): Function Test cases for Role SPI Permissions, ViewSet and Metadata
ref: #712 #683
2025-04-06 15:17:19 +09:30
Jon
6bb5a47dd3 test(access): Function Test cases for Role History
ref: #712 #683
2025-04-06 15:16:27 +09:30
Jon
47381c7bf7 test(access): Unit Test case to ensure Role is by organization
ref: #712 #683
2025-04-06 14:51:03 +09:30
Jon
8b08d03d95 test(access): Unit Test case to ensure Role cant be set as global object
ref: #712 #683
2025-04-06 14:46:49 +09:30
Jon
360bf60578 test(access): Unit Test cases for Role ViewSet
ref: #712 #683
2025-04-06 14:41:29 +09:30
Jon
c8c2fcabd2 test(access): Unit Test cases for Role model
ref: #712 #683
2025-04-06 14:41:15 +09:30
Jon
1830b86309 test(access): Unit Test cases for Role History API v2
ref: #712 #683
2025-04-06 14:41:07 +09:30
Jon
9e712d3624 test(access): Unit Test cases for Role API v2
ref: #712 #683
2025-04-06 14:40:58 +09:30
Jon
a2a79be7c1 test(access): Unit Test cases for Role Tenancy Object
ref: #712 #683
2025-04-06 14:40:47 +09:30
Jon
d5a2adc3a9 feat(access): Place Roles Model behind feature flag 2025-00003
ref: #712 #683 #551
2025-04-06 14:13:19 +09:30
Jon
9d8bcff2a0 feat(access): When querying permissions, select related field content_type
speeds up query and reduces required sql queries

ref: #712 #683
2025-04-06 13:50:24 +09:30
Jon
d63c249120 feat(access): Model Role History migrations
ref: #712 #683
2025-04-06 13:45:18 +09:30