Commit Graph

200 Commits

Author SHA1 Message Date
Jon
f890fb6d52 feat(devops): dont allow deleting a git group if it has children
ref: #776
2025-07-04 08:40:25 +09:30
Jon
e554923c0b feat(devops): Add model tag attribute to model
ref: #773 #515 #576
2025-07-04 08:40:25 +09:30
Jon
17f4295763 feat(core): Add to Centurion Model an attribute to set the models tag
ref: #773 #767 #576
2025-07-04 08:40:25 +09:30
Jon
827894ef23 feat(devops): Add AuditHistory Serializer for GitGroup
ref: #773 #759
2025-07-04 08:40:25 +09:30
Jon
a46187f36e test(devops): Ensure that a Github group cant have a parent/"be nested"
ref: #773 #515 #249
2025-07-04 08:40:25 +09:30
Jon
fc256445db test(devops): Ensure that when create a child git group that the tenancy matches the parent git group
ref: #773 #515
2025-07-04 08:40:25 +09:30
Jon
60f6269a71 test(devops): Add Functional model Test Suite
ref: #773 #515
2025-07-04 08:40:25 +09:30
Jon
766b4272be chore(devops): remove tests that were left there when file was copied from another test suite
ref: #772 #515
2025-07-04 08:40:24 +09:30
Jon
cff519d199 test(devops): Initial Model Unit tests for GitGroup
ref: #772 #515
2025-07-04 08:40:24 +09:30
Jon
2e88dfc5c1 refactor(devops): Switch GitGroup Model to CenturionModel
ref: #772 #515 #759 #767
2025-07-04 08:40:24 +09:30
Jon
bff1049414 chore: correct pylint errors
ref: #765
2025-07-04 08:40:23 +09:30
Jon
17c7980e03 refactor(base): rename app to centurion
ref: #764
2025-07-04 08:38:55 +09:30
Jon
bb8c6378bc chore: Add some tests to aid in planning
ref: #756 #758
2025-05-15 04:59:06 +09:30
Jon
2d7335ff85 refactor(access): Rename model Organization -> Tenant
ref: #756 #505
2025-05-15 02:44:53 +09:30
Jon
1b749e9f1a refactor(devops): Update all references to User to use get_user_model()
ref: #756 #755
2025-05-14 18:48:56 +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
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
8bd90df582 feat(devops): Ensure GitHub Groups can't be nested
ref: #693 #515 closes #249
2025-03-23 07:55:47 +09:30
Jon
85a2779563 feat(devops): Models Git Repository must use organization from git_group as must group if parent set
ref: #693 #515
2025-03-23 07:47:05 +09:30
Jon
9cc5db7869 refactor(devops): remove model unique_together constraint for git group and repository
this field is used for sync only

ref: #693 #515
2025-03-23 07:19:49 +09:30
Jon
e65b2531ed refactor(devops): Field provider_id must not be user editable for git group or repository
this field is used for sync only

ref: #693 #515
2025-03-23 07:19:19 +09:30
Jon
3a9198f63c fix(devops): Correct git_group serializer parameter name
ref: #693 #515
2025-03-22 21:25:51 +09:30
Jon
4d8fc508d4 fix(devops): Correct field path to no be unique for git_repository
ref: #693 #515
2025-03-22 21:25:28 +09:30
Jon
5f3990e15a feat(devops): Add git provider badge to git_group table fields
ref: #693
2025-03-22 20:45:13 +09:30
Jon
491e0dba64 feat(devops): Add git provider badge to git_repository table fields
ref: #693
2025-03-22 20:45:02 +09:30
Jon
57c5947c55 feat(devops): Add page_layout to Git Group model
ref: #693 #515
2025-03-22 19:23:49 +09:30
Jon
bfd54c112b feat(devops): Add page_layout to GitLab repository model
ref: #693 #515
2025-03-22 19:23:31 +09:30
Jon
e2ca5b8587 feat(devops): Add page_layout to GitHub repository model
ref: #693 #515
2025-03-22 19:23:20 +09:30
Jon
f406e7bf3b feat(devops): git_repository ViewSet updated to fetch queryset based off of repository provider
ref: #693 #515
2025-03-22 19:22:49 +09:30
Jon
1e127d7180 feat(devops): Add ti git_repository ViewSet return and back urls
ref: #693 #515
2025-03-22 19:21:58 +09:30
Jon
a0dd0384bf fix(devops): git_group serializers must define fields
ref: #693 #515
2025-03-22 19:21:04 +09:30
Jon
60cc64ba19 fix(devops): git_group serializers must return urls
ref: #693 #515
2025-03-22 19:20:42 +09:30
Jon
2e9470be83 fix(devops): Correct git_repository notes urls
ref: #693 #515
2025-03-22 19:19:53 +09:30
Jon
ade836911f fix(devops): Correct git_repository url regex
ref: #693 #515
2025-03-22 19:19:40 +09:30
Jon
84f2e8d8c3 feat(devops): Make fields provider and provider_id unique_together for git_repository model
ref: #693 #515
2025-03-22 19:17:33 +09:30
Jon
64b677eaa9 fix(devops): Correct ViewSerializer for GitLab Repository
ref: #693 #515
2025-03-22 19:15:58 +09:30
Jon
4bd5a890db fix(devops): Correct ViewSerializer for GitHib Repository
ref: #693 #515
2025-03-22 19:15:44 +09:30
Jon
48a7a206d2 feat(devops): Add fields to ALL git_repository serializers
ref: #693 #515
2025-03-22 18:55:03 +09:30
Jon
b837338140 fix(devops): Correct model git_group modified field name part 2
ref: #693 #515
2025-03-22 18:53:56 +09:30
Jon
0ad80a6f9a feat(devops): Add fetching of URL to base git_repository model
ref: #693 #515
2025-03-22 18:53:33 +09:30
Jon
a30cad25bc fix(devops): Correct model git_group modified field name
ref: #693 #515
2025-03-22 18:52:35 +09:30
Jon
ca2e4e00fa feat(access): Add function get_page_layout
enables dynamic page_layout

ref: #693
2025-03-22 18:50:28 +09:30
Jon
57cd4851a8 chore(feature_flag): [2025-00001] add feature flag as enabled when DEBUG=True
so that development can occur

ref: #693 #515
2025-03-22 14:41:53 +09:30
Jon
04b5b4dc24 feat(devops): Disable notes for GIT Repository Base Model
ref: #693 #515
2025-03-20 16:48:36 +09:30
Jon
e725efb9b7 chore: Add missing devops imports
ref: #693 #515
2025-03-20 15:58:26 +09:30
Jon
2994cfd783 feat(devops): Git Group Notes Migration
ref: #693 #515
2025-03-20 15:23:13 +09:30
Jon
d006da803f feat(devops): Git Group Notes ViewSet
ref: #693 #515
2025-03-20 15:23:02 +09:30
Jon
b1f80cb1b2 feat(devops): Git Group Notes Serializer
ref: #693 #515
2025-03-20 15:22:17 +09:30
Jon
9485d4fce7 feat(devops): Git Group Notes Model
ref: #693 #515
2025-03-20 15:22:10 +09:30