Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 1.0.0 #209

Merged
merged 133 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
aec4603
fix(config_management): don't exclude parent from field, only self
jon-nfc Jul 14, 2024
fbe7e63
fix(access): Correct team form fields
jon-nfc Jul 14, 2024
af3e770
fix(settings): correct the permission to view manufacturers
jon-nfc Jul 14, 2024
6776612
chore: move docker-compose to deploy directory
jon-nfc Jul 14, 2024
9acc4fd
docs(gitlab): update MR template
jon-nfc Jul 14, 2024
f1201e8
feat(access): Add multi-tennant manager
jon-nfc Jul 15, 2024
4ee62aa
test: refactor to single abstract model for inclusion.
jon-nfc Jul 15, 2024
d8e89be
test: tenancy objects
jon-nfc Jul 15, 2024
621cbd2
revert: return organization filtering back to forms
jon-nfc Jul 15, 2024
7c62309
fix(core): migrate manufacturer to use new form/view logic
jon-nfc Jul 16, 2024
7b26fac
feat: Administratively set global items org/is_global field now read-…
jon-nfc Jul 16, 2024
5a201ef
refactor!: Squash database migrations
jon-nfc Jul 9, 2024
30e0342
ci: temp change to release, on dev to be alpha release
jon-nfc Jul 12, 2024
a1759ec
ci: add alpha branch to docker builds and publish
jon-nfc Jul 16, 2024
9871cf2
Merge branch 'v-1-0-0-alpha' into 'development'
jon-nfc Jul 16, 2024
1f8244a
ci: use updated commitizen
jon-nfc Jul 16, 2024
fe64c11
bump: version 0.7.0 → 1.0.0-a1
nfc-robot Jul 16, 2024
416e029
revert: return ci build settings to not include branch alpha
jon-nfc Jul 17, 2024
60538e1
feat(base): show warning bar if the user has not set a default organi…
jon-nfc Jul 17, 2024
a67bc70
fix(api): correct inventory device search to be case insensitive
jon-nfc Jul 17, 2024
55197e7
fix(api): correct inventory operating system and it's linking to device
jon-nfc Jul 17, 2024
9a94ba3
feat(api): Inventory matching of device first by serial number
jon-nfc Jul 17, 2024
40350d1
feat(api): Inventory matching of device second by uuid
jon-nfc Jul 17, 2024
5bc5a4b
docs(worker): add worker and task logs
jon-nfc Jul 17, 2024
8457f15
fix(api): correct inventory operating system selection by name
jon-nfc Jul 17, 2024
5c74360
fix(base): dont show user warning bar for non-authenticated user
jon-nfc Jul 17, 2024
fa2b90e
bump: version 1.0.0-a1 → 1.0.0-a2
nfc-robot Jul 17, 2024
a5a5874
fix(itam): When changing device organization move related items too.
jon-nfc Jul 18, 2024
519277e
fix(itam): Device related items should not be global.
jon-nfc Jul 18, 2024
ebc2660
feat(itam): On device organization change remove config groups
jon-nfc Jul 18, 2024
e84e80c
feat(config_management): Prevent a config group from being able to ch…
jon-nfc Jul 18, 2024
9a1ca7a
fix(itam): remove org filter for software so that user can see instal…
jon-nfc Jul 18, 2024
adefbf3
fix(itam): remove org filter for operating systems so that user can s…
jon-nfc Jul 18, 2024
a3be950
fix(itam): remove org filter for device so that user can see installa…
jon-nfc Jul 18, 2024
7f22578
chore(settings): remove org filter as its not required
jon-nfc Jul 18, 2024
974a208
chore(config_management): remove org filter as its not required
jon-nfc Jul 18, 2024
2d0c3a6
fix(config_management): dont attempt to do action during save if grou…
jon-nfc Jul 18, 2024
8d6d1d0
bump: version 1.0.0-a2 → 1.0.0-a3
nfc-robot Jul 18, 2024
4f89255
feat(config_management): Group name to be entire breadcrumb
jon-nfc Jul 18, 2024
72ab925
feat(api): When processing uploaded inventory and name does not match…
jon-nfc Jul 18, 2024
ec1e7cc
test: placeholder for moving organization
jon-nfc Jul 18, 2024
8244676
test: ensure inventory upload matches by both serial number and uuid …
jon-nfc Jul 18, 2024
61b9435
bump: version 1.0.0-a3 → 1.0.0-a4
nfc-robot Jul 18, 2024
5188b3d
fix(itam): ensure installed software count is limited to users organi…
jon-nfc Jul 18, 2024
e5ce86a
fix(itam): ensure installed operating system count is limited to user…
jon-nfc Jul 19, 2024
034857d
ci: dev branch releases now beta
jon-nfc Jul 19, 2024
92a411b
docs(administration): explain the magic
jon-nfc Jul 19, 2024
f4e6852
bump: version 1.0.0-a4 → 1.0.0-b1
nfc-robot Jul 19, 2024
0798a67
docs(administration): spread the love out
jon-nfc Jul 19, 2024
9ea4fe1
ci: Create Version labels within repo on release
jon-nfc Jul 19, 2024
3a32c62
fix(itam): only show os version once
jon-nfc Jul 19, 2024
94576cc
ci: fix additional command as part of release
jon-nfc Jul 19, 2024
61fe059
bump: version 1.0.0-b1 → 1.0.0-b2
nfc-robot Jul 19, 2024
8a48902
ci: return command to release
jon-nfc Jul 20, 2024
5704560
fix(itam): Limit os version count to devices user has access to
jon-nfc Jul 21, 2024
4141443
bump: version 1.0.0-b2 → 1.0.0-b3
nfc-robot Jul 21, 2024
823ebc0
fix(access): Team model class inheritance order corrected
jon-nfc Jul 21, 2024
de53948
test: confirm that the tenancymanager is called
jon-nfc Jul 21, 2024
fc3f0b3
ci: add debug out to extra command
jon-nfc Jul 29, 2024
098e41e
feat(swagger): remove `{format}` suffixed doc entries
jon-nfc Jul 29, 2024
8d59462
fix(api): Ensure that organizations can't be created via the API
jon-nfc Jul 29, 2024
3a9e4b2
fix(api): confirm HTTP method is allowed before permission check
jon-nfc Jul 29, 2024
9b673f4
fix(api): cleanup team post/get
jon-nfc Jul 29, 2024
9e28722
Merge branch 'b3-fixes' into 'development'
jon-nfc Jul 29, 2024
289668b
bump: version 1.0.0-b3 → 1.0.0-b4
nfc-robot Jul 29, 2024
f5ba608
ci: var to export for use in script
jon-nfc Jul 31, 2024
968b3a0
feat(api): Ability to fetch configgroups from api along with config
jon-nfc Jul 31, 2024
4fd157a
test(api): test configgroups API fields
jon-nfc Jul 31, 2024
281d839
feat(api): Add device config groups to devices
jon-nfc Jul 31, 2024
213644a
test(api): Field existence and type checks for device
jon-nfc Jul 31, 2024
2f55024
fix(api): Ensure device groups is read only
jon-nfc Jul 31, 2024
a4b37b3
docs: Add dets of collection
jon-nfc Jul 31, 2024
3993cc9
Merge branch '160-api-config' into 'development'
jon-nfc Jul 31, 2024
c496d10
bump: version 1.0.0-b4 → 1.0.0-b5
nfc-robot Jul 31, 2024
fed0c5c
chore: artifacthub preperation
jon-nfc Aug 1, 2024
366579c
ci(github): add unit tests
jon-nfc Aug 1, 2024
5fa88a5
ci(github): add coverage
jon-nfc Aug 1, 2024
81a7277
ci: remove gitlab pipelines
jon-nfc Aug 9, 2024
d99f2d3
docs: update readme to reflect Github as project home
jon-nfc Aug 9, 2024
bb388a1
ci: remove temp workflows
jon-nfc Aug 9, 2024
e8684c5
ci: Add PR checks workflow
jon-nfc Aug 9, 2024
cf00ab6
ci: Add Docker workflow
jon-nfc Aug 9, 2024
c624a36
ci: Add Python workflow
jon-nfc Aug 9, 2024
7172603
ci: Add Bump workflow
jon-nfc Aug 9, 2024
a4dc7f4
Merge pull request #216 from nofusscomputing/gitlab-migration
jon-nfc Aug 9, 2024
c6ed5c8
build: bump version 1.0.0-b5 -> 1.0.0-b6
nfc-robot Aug 9, 2024
83328be
ci: fix publish registry
jon-nfc Aug 9, 2024
a6c0785
build: bump version 1.0.0-b6 -> 1.0.0-b7
nfc-robot Aug 9, 2024
27e73e2
ci: add org to docker publish registry
jon-nfc Aug 9, 2024
40ba645
build: bump version 1.0.0-b7 -> 1.0.0-b8
nfc-robot Aug 9, 2024
4e11ad6
ci: use docker.io as publish registry
jon-nfc Aug 9, 2024
f437eec
ci: use full docker.io as publish image name
jon-nfc Aug 9, 2024
57bc972
ci: use correct docker.io credentials
jon-nfc Aug 9, 2024
3368779
build: bump version 1.0.0-b8 -> 1.0.0-b9
nfc-robot Aug 9, 2024
bfe9a95
ci: remove docker.io from image publish name
jon-nfc Aug 9, 2024
8e6fd58
build: bump version 1.0.0-b9 -> 1.0.0-b10
nfc-robot Aug 9, 2024
04dc00d
ci(gitlab): fix includes
jon-nfc Aug 10, 2024
43b7e41
ci(project): add issue/pr project triage
jon-nfc Aug 10, 2024
f0ae185
docs(readme): fix version badges
jon-nfc Aug 10, 2024
b66a864
Merge pull request #217 from nofusscomputing/ci-adjustments
jon-nfc Aug 10, 2024
5e8bebb
build(python): update installed packages as part of the build
jon-nfc Aug 10, 2024
84d4f48
chore(deps): bump django from 5.0.7 to 5.0.8
dependabot[bot] Aug 8, 2024
3ba6bb5
docs(readme): correct build badge
jon-nfc Aug 10, 2024
67d853c
Merge pull request #215 from nofusscomputing/dependabot/pip/django-5.0.8
jon-nfc Aug 10, 2024
cde2562
build: bump version 1.0.0-b10 -> 1.0.0-b11
nfc-robot Aug 10, 2024
262e431
test(organization): api field checks
jon-nfc Aug 10, 2024
84d21f4
test(teams): api field checks
jon-nfc Aug 10, 2024
c3b585d
fix(base): correct project links to github
jon-nfc Aug 10, 2024
b5c31d8
fix(api): ensure org mixin is inherited by software view
jon-nfc Aug 10, 2024
4ba79c6
Merge pull request #218 from nofusscomputing/162-api-field-validtion
jon-nfc Aug 10, 2024
40e3078
build: bump version 1.0.0-b11 -> 1.0.0-b12
nfc-robot Aug 10, 2024
eb6b03f
docs(development): added api field test note
jon-nfc Aug 11, 2024
3fe09fb
test(software): api field checks
jon-nfc Aug 11, 2024
7de5ab1
docs(readme): correct status badge icon to github
jon-nfc Aug 11, 2024
d6bd99c
docs: update project badges to reflect github hosted project
jon-nfc Aug 11, 2024
b9d32a2
docs(tests): update testing docs explaining test types
jon-nfc Aug 11, 2024
e9fe489
ci: mirror repo to gitlab
jon-nfc Aug 11, 2024
4b29448
Merge pull request #220 from nofusscomputing/162-api-field-validtion
jon-nfc Aug 11, 2024
0fc5f41
fix(settings): ensure that the api token cant be saved to notes field
jon-nfc Aug 11, 2024
e29d8e1
fix(config_management): Ensure that config group can't set self as pa…
jon-nfc Aug 11, 2024
f86b2d5
fix(itam): Ensure device UUID is correctly formatted
jon-nfc Aug 11, 2024
467f6fc
fix(itam): Ensure device name is formatted according to RFC1035 2.3.1
jon-nfc Aug 11, 2024
6b35e78
Merge pull request #222 from nofusscomputing/153-model-validations
jon-nfc Aug 11, 2024
c0f186d
build: bump version 1.0.0-b12 -> 1.0.0-b13
nfc-robot Aug 11, 2024
aa40d68
build: add test to changelog
jon-nfc Aug 11, 2024
3cace89
fix(api): ensure model_notes is an available field
jon-nfc Aug 12, 2024
f298ce9
test(access): test field model_notes
jon-nfc Aug 12, 2024
7848397
Merge pull request #224 from nofusscomputing/223-fix-api-team-mnotes
jon-nfc Aug 12, 2024
9d5464b
build: bump version 1.0.0-b13 -> 1.0.0-b14
nfc-robot Aug 12, 2024
18b7888
ci: update gitlab-ci to current head
jon-nfc Aug 19, 2024
b6ba3d3
docs: migrate project links to github
jon-nfc Aug 20, 2024
cc97128
ci: add mkdocs workflow
jon-nfc Aug 20, 2024
6f7b3ff
chore: add github pr template
jon-nfc Aug 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .cz.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
---
commitizen:
name: cz_conventional_commits
customize:
change_type_map:
feature: Features
fix: Fixes
refactor: Refactoring
test: Tests
change_type_order:
- BREAKING CHANGE
- feat
- fix
- test
- refactor
commit_parser: ^(?P<change_type>feat|fix|test|refactor|perf|BREAKING CHANGE)(?:\((?P<scope>[^()\r\n]*)\)|\()?(?P<breaking>!)?:\s(?P<message>.*)?
name: cz_customize
prerelease_offset: 1
tag_format: $version
update_changelog_on_bump: false
version: 0.7.0
version: 1.0.0-b14
version_scheme: semver
31 changes: 31 additions & 0 deletions .github/workflows/bump.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---

name: 'Bump'


on:
workflow_dispatch:
inputs:
CZ_PRE_RELEASE:
default: none
required: false
description: Create Pre-Release {alpha,beta,rc,none}
CZ_INCREMENT:
default: none
required: false
description: Type of bump to conduct {MAJOR,MINOR,PATCH,none}
push:
branches:
- 'master'


jobs:

bump:
name: 'Bump'
uses: nofusscomputing/action_bump/.github/workflows/bump.yaml@development
with:
CZ_PRE_RELEASE: ${{ inputs.CZ_PRE_RELEASE }}
CZ_INCREMENT: ${{ inputs.CZ_INCREMENT }}
secrets:
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
120 changes: 120 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
---

name: 'CI'


on:
push:
branches:
- '**'
tags:
- '*'

env:
GIT_SYNC_URL: "https://${{ secrets.GITLAB_USERNAME_ROBOT }}:${{ secrets.GITLAB_TOKEN_ROBOT }}@gitlab.com/nofusscomputing/projects/centurion_erp.git"

jobs:


mkdocs:
name: 'MKDocs'
permissions:
pull-requests: write
contents: write
statuses: write
checks: write
actions: write
uses: nofusscomputing/action_mkdocs/.github/workflows/reusable_mkdocs.yaml@development


docker:
name: 'Docker'
uses: nofusscomputing/action_docker/.github/workflows/docker.yaml@development
with:
DOCKER_BUILD_IMAGE_NAME: "nofusscomputing/centurion-erp"
DOCKER_PUBLISH_REGISTRY: "docker.io"
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/centurion-erp"
secrets:
DOCKER_PUBLISH_USERNAME: ${{ secrets.NFC_DOCKERHUB_USERNAME }}
DOCKER_PUBLISH_PASSWORD: ${{ secrets.NFC_DOCKERHUB_TOKEN }}


python:
name: 'Python'
uses: nofusscomputing/action_python/.github/workflows/python.yaml@development
secrets:
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}


gitlab-mirror:
if: ${{ github.repository == 'nofusscomputing/centurion_erp' }}
runs-on: ubuntu-latest
steps:


- name: Checks
shell: bash
run: |
if [ "0${{ env.GIT_SYNC_URL }}" == "0" ]; then

echo "[ERROR] you must define variable GIT_SYNC_URL for mirroring this repository.";

exit 1;

fi


- name: clone
shell: bash
run: |

git clone --mirror https://github.com/${{ github.repository }} repo;

ls -la repo/


- name: add remote
shell: bash
run: |

cd repo;

echo "**************************************** - git remote -v";

git remote -v;

echo "****************************************";

git remote add destination $GIT_SYNC_URL;


- name: push branches
shell: bash
run: |

cd repo;

echo "**************************************** - git branch";

git branch;

echo "****************************************";

# git push destination --all --force;

git push destination --mirror || true;


# - name: push tags
# shell: bash
# run: |

# cd repo;

# echo "**************************************** - git tag";

# git tag;

# echo "****************************************";

# git push destination --tags --force;
14 changes: 14 additions & 0 deletions .github/workflows/pull-requests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

name: Pull Requests


on:
pull_request: {}


jobs:

pull-request:
name: pull-request
uses: nofusscomputing/action_pull_requests/.github/workflows/pull-requests.yaml@development
37 changes: 37 additions & 0 deletions .github/workflows/triage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

---

name: Triage


on:
issues:
types:
- opened
- reopened
- transferred
- milestoned
- demilestoned
- closed
- assigned
pull_request:
types:
- opened
- edited
- assigned
- reopened
- closed



jobs:


project:
name: Project
uses: nofusscomputing/action_project/.github/workflows/project.yaml@development
with:
PROJECT_URL: https://github.com/orgs/nofusscomputing/projects/3
secrets:
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}

Loading
Loading