Commit Graph

3511 Commits

Author SHA1 Message Date
Jon
28117bb2bb chore(core): remove methods not required
ref: #770 #767
2025-07-04 08:40:24 +09:30
Jon
4d93ba7339 refactor(core): To obtain audit_values loop through model fields
ref: #770 #767
2025-07-04 08:40:24 +09:30
Jon
d098a09e83 fix(core): When deleting a model check if sub-model within delete method
ref: #770 #767
2025-07-04 08:40:24 +09:30
Jon
678bc18cb6 test(base): Unit Common Model test cases suite
ref: #770 #758 #767
2025-07-04 08:40:24 +09:30
Jon
8fd418787e test(base): Unit Common Class test cases suite
ref: #770 #758 #767
2025-07-04 08:40:24 +09:30
Jon
85d8d74cbf test(access): Unit Model Tests for TenancyAbstractModel
ref: #770 #758 #767
2025-07-04 08:40:24 +09:30
Jon
3e6d9233ca chore(pytest): rename pytest_configure -> pytest_report_header
ref: #770
2025-07-04 08:40:24 +09:30
Jon
06ad1fec5e chore(pytest): Create and use fixture of Fresh DB instead of migrations for testing
ref: #770
2025-07-04 08:40:24 +09:30
Jon
95281d35eb chore(pytest): give parameterized tests the option to use functions as a value
ref: #770
2025-07-04 08:40:24 +09:30
Jon
5aae562caf feat(core): Run meta models create on Core module ready
ref: #770 #759
2025-07-04 08:40:24 +09:30
Jon
49e66df006 feat(core): New model core.CenturionAudit
ref: #770 #759
2025-07-04 08:40:24 +09:30
Jon
504ded9047 feat(core): cause sub-audit models to chuck a wobbler if clean_fields not re-implementated
ref: #770 #759
2025-07-04 08:40:24 +09:30
Jon
a7f84924db chore: remove unused imports
ref: #770
2025-07-04 08:40:24 +09:30
Jon
6647ddbc99 chore: comment out test setup for skeleton test suites not in use yet
ref: #770
2025-07-04 08:40:24 +09:30
Jon
73fdaee33f refactor: rejig whats in each inherited centurion model
ref: #770
2025-07-04 08:40:24 +09:30
Jon
0884bc314a chore: add linting rule for unused imports
ref: #770
2025-07-04 08:40:23 +09:30
Jon
15b4446775 fix(access): Tenancy Manager should not attempt to get org as related field if it does not exist
ref: #770
2025-07-04 08:40:23 +09:30
Jon
af2bc77920 feat(access): remove mill-seconds from datetime auto fields
ref: #770 #759
2025-07-04 08:40:23 +09:30
Jon
9cb507286f chore: correct code from revert
ref: #765
2025-07-04 08:40:23 +09:30
Jon
db97b574da feat(core): Centurion model Base
ref: #765 #767
2025-07-04 08:40:23 +09:30
Jon
31e200bb01 feat(core): Centurion Audit model
ref: #765 #759
2025-07-04 08:40:23 +09:30
Jon
0192f2f3a8 fix(api): ensure val returns at least none
ref: #765
2025-07-04 08:40:23 +09:30
Jon
8f097fb44e chore(access): planning work for centurion Tenancy model
ref: #765 #766
2025-07-04 08:40:23 +09:30
Jon
daf2811be7 chore(access): planning work for centurion user model
ref: #765 #766
2025-07-04 08:40:23 +09:30
Jon
2c33fa6f62 revert(core): Relocate history model class
reverted commit was 5cc08e3e94

ref: #765 #766
2025-07-04 08:40:23 +09:30
Jon
9d7a3e2e79 refactor(access): prefetch org with tenancy object
ref: #765
2025-07-04 08:40:23 +09:30
Jon
23dfdfe0b3 chore(core): remove old manual migration no longer required
ref: #765
2025-07-04 08:40:23 +09:30
Jon
473763af36 feat(core): permissions getter for role model
ref: #765 #551
2025-07-04 08:40:23 +09:30
Jon
47c12f5d55 chore(core): skeleton test cases
ref: #765 #759
2025-07-04 08:40:23 +09:30
Jon
64ea376962 feat(core): Audit History Signal for Delete/Save
ref: #765 #759
2025-07-04 08:40:23 +09:30
Jon
bd7ff92ab3 chore: Add pylint conf
ref: #765
2025-07-04 08:40:23 +09:30
Jon
bff1049414 chore: correct pylint errors
ref: #765
2025-07-04 08:40:23 +09:30
Jon
a1b9ecb0fc feat(core): Dynamic History model creation
ref: #765 #758 #759
2025-07-04 08:38:55 +09:30
Jon
262e883a26 refactor(core): Relocate history model class
ref: #765 #759
2025-07-04 08:38:55 +09:30
Jon
17c7980e03 refactor(base): rename app to centurion
ref: #764
2025-07-04 08:38:55 +09:30
3d2d759d6b build: bump version 1.17.1 -> 1.18.0 1.18.0 2025-07-03 22:55:51 +00:00
Jon
b73de03d27 Merge pull request #851 from nofusscomputing/850-fix-itim-validation-failure 2025-07-04 08:08:00 +09:30
Jon
a9e953812c feat(python): upgrade django 5.1.9 -> 5.1.10
ref: #851
2025-07-04 07:47:21 +09:30
Jon
4344265ed5 fix(itim): Correct config that is in the incorrect format
Users can input config that contains bytecode chars which inturn, makes the config entered a str. convert any config that is a str to a dict, the correct format.

ref: #851 fixes #850
2025-07-04 07:42:05 +09:30
4fb94bdd6d build: bump version 1.17.0 -> 1.17.1 1.17.1 2025-06-02 00:05:20 +00:00
Jon
e2582373ad fix(base): Add python metrics to prometheus exporter
ref: #436
2025-06-02 08:25:37 +09:30
309483ea08 build: bump version 1.16.0 -> 1.17.0 1.17.0 2025-05-16 10:31:55 +00:00
Jon
b2bc200eb1 Merge pull request #740 from nofusscomputing/feature-next-release 2025-05-16 19:46:31 +09:30
Jon
a0ab0deb2a chore: squash migrations to reduce amount
ref: #740
2025-05-16 19:29:02 +09:30
Jon
1f9491ce73 Merge pull request #761 from nofusscomputing/new-model-access-organization 2025-05-16 03:26:34 +09:30
Jon
1663f19b2a refactor(human_resources): Update Functional ViewSet to use PyTest for Employee Model
ref: #761 #730
2025-05-16 03:10:00 +09:30
Jon
07277862cf refactor(Access): Update Functional ViewSet to use PyTest for Person Model
ref: #761 #730
2025-05-16 03:09:49 +09:30
Jon
f1016bd9cc refactor(Access): Update Functional ViewSet to use PyTest for Entity Model
ref: #761 #730
2025-05-16 03:07:57 +09:30
Jon
c39f479b96 refactor(Access): Update Functional ViewSet to use PyTest for Contact Model
ref: #761 #730
2025-05-16 03:07:46 +09:30
Jon
a4d1a2bf76 test(access): Functional ViewSet Test Suite Company model
ref: #761 #760
2025-05-16 03:07:28 +09:30