Commit Graph

2322 Commits

Author SHA1 Message Date
Jon
2feee03d61 Merge pull request #467 from nofusscomputing/feature-next-release 2025-01-23 17:44:26 +09:30
Jon
6739672e6e Merge pull request #475 from nofusscomputing/465-further-work 2025-01-23 17:33:29 +09:30
Jon
c69fc263b3 feat(python): update django 5.1.4 -> 5.1.5
ref: #475
2025-01-23 17:23:36 +09:30
Jon
03edd78dbc fix(core): triage user requires access to date fields for change, incident, problem and project task tickets
ref: #475
2025-01-23 17:11:32 +09:30
Jon
a2fdb0351a test(core): Correct ticket tests as triage user is supposed to have access to ticket date fields
ref: #475
2025-01-23 16:59:15 +09:30
Jon
f6f957f5e6 fix(core): triage user requires access to date fields for tickets
ref: #475
2025-01-23 16:23:44 +09:30
Jon
5735427e3a fix(core): User must be a required field for ticket comment
ref: #470 #475
2025-01-19 15:42:46 +09:30
Jon
ab0666005c refactor(access): Dont override django middleware, create own for access tenancy
ref: #475
2025-01-19 15:32:48 +09:30
Jon
9b0575cd07 Merge pull request #473 from nofusscomputing/471-refactor-performance 2025-01-19 00:02:03 +09:30
Jon
9b40668a30 fix(access): use request object passed to has_object_permission
ref: #473 #474
2025-01-18 23:43:11 +09:30
Jon
929c95ca80 fix(core): ensure when updating, reques.tenancy object perm checking is used
ref: #473 #474
2025-01-18 23:38:08 +09:30
Jon
995615c0a2 fix(project): when creating a project, fetch the organization object
ref: #473 #474
2025-01-18 23:33:50 +09:30
Jon
8f8c7986e5 fix(api): Only attempt to access a app_settings object for org field if request object exists
ref: #473 #474
2025-01-18 23:32:18 +09:30
Jon
58ec0a83c0 fix(core): When adding a ticket, query for org
ref: #473 #474
2025-01-18 23:04:04 +09:30
Jon
4d53e1846a fix(access): use the request user teams within Manager
ref: #473 #474
2025-01-18 23:03:20 +09:30
Jon
f08d3357d0 test: update to cater for tenancy object in request
ref: #473 #474
2025-01-18 22:57:00 +09:30
Jon
7f79c8485b feat(access): TenancyManager object to cache the users team lokkup
ref: #473
2025-01-18 17:58:33 +09:30
Jon
2d41d8a784 feat(access): if organization object casted to int, return organization.id
ref: #473 #474
2025-01-18 17:58:19 +09:30
Jon
e5d23cc1fa refactor(access): Move user perm logic to request.tenancy object
ref: #473 #474
2025-01-18 17:57:17 +09:30
Jon
6bf40e469c refactor: Move app_settings object to request object
ref: #473
2025-01-18 17:55:54 +09:30
Jon
aa69163337 docs(access): add page_speed test to contributing
ref: #469 #471
2025-01-17 03:16:24 +09:30
Jon
7f16a06131 refactor(access): cache app settings during perm check
ref: #469 #471
2025-01-17 01:57:06 +09:30
Jon
fefde281be fix(access): cached orgs is an int list
ref: #469 #471
2025-01-17 01:51:48 +09:30
Jon
bd07c83cfc refactor(access): prefetch team related fields
ref: #469 #471
2025-01-17 01:50:02 +09:30
Jon
4314ec6247 test: Initial k6s individual page speed test cases
ref: #469 #471
2025-01-17 01:26:54 +09:30
Jon
ccb95c6e22 Merge pull request #469 from nofusscomputing/463-fix-doc-links 2025-01-14 18:29:40 +09:30
Jon
ca1cc4ed7b test(app): metrics_enabled setings checks
ref:#469 fixes #470 closes #156
2025-01-14 17:43:56 +09:30
Jon
ea02798a5e test(app): refactor. order tests alphanumerical
ref: #469 #470
2025-01-14 16:23:21 +09:30
Jon
a5f870b7d0 fix(base): metrics dir env var PROMETHEUS_MULTIPROC_DIR must ALWAYS exist
if it don't exist python cant set it.

ref: #469 #470
2025-01-14 16:13:19 +09:30
Jon
ed7452e587 fix(base): Dynammic settings determined by if metrics are enabled
metrics not enabled, dont add the settings for the app as collection still occurs

ref: #469 #470
2025-01-14 16:12:29 +09:30
Jon
39a11836f1 docs(administration): Add metrics
ref: #156 #469
2025-01-13 18:13:55 +09:30
Jon
b87286cd31 feat(base): Dont enable metrics by default
ref: #156 #469
2025-01-13 18:13:23 +09:30
Jon
b5a2717649 feat(base): Add exporter to celery
ref: #156 #469
2025-01-13 18:10:49 +09:30
Jon
cb3d645a34 feat(base): Add exporter to gunicorn
ref: #156 #469
2025-01-13 18:10:33 +09:30
Jon
6b6c05f07d feat(base): Add django-prometheus for metrics export
ref: #156 #469
2025-01-13 18:09:48 +09:30
Jon
7e72bab4ba docs(core): update success and failure admonition boxes
ref: #469 nofusscomputing/centurion_erp_ui#42
2025-01-12 19:30:30 +09:30
Jon
699a9608ef fix(access): Return API exception, not django
for current interface this exception will not work. however as the interface is depreciated, this bug is OK.

ref: #469
2025-01-12 17:43:04 +09:30
Jon
6528550fb8 fix(api): correctly return API exceptions for user to rectify
will return exactly as required for fields.

ref: #469
2025-01-12 17:41:40 +09:30
Jon
c778d4cf35 test(api): ensure documentation key and data is added to API metadata
ref: #469 closes #463
2025-01-12 17:04:27 +09:30
Jon
8bc7e62f2d docs(itam): Add path for OS docs
ref: #463 #469
2025-01-12 17:03:56 +09:30
Jon
e2da2b173d chore(api): remove empty string for documentation link
ref: #463 #469
2025-01-12 16:48:12 +09:30
Jon
6007668338 feat(api): fetch doc path for view metadata
ref: #463 #469
2025-01-12 16:46:14 +09:30
Jon
ba2d809566 fix(core): Set user whom added comment as comment user
ref: #460 #467
2025-01-09 17:42:06 +09:30
Jon
a6fda85c56 test(settings): check to ensure API fields returned are present and correct type for external_links model
ref: #467 #468
2025-01-09 17:40:01 +09:30
Jon
00215f6d0b feat(settings): Add new field button text
to enable the name field to be used as "friendly" name within interface

ref: #467 closes #468
2025-01-09 17:38:28 +09:30
Jon
31c125d820 docs(itim): Update external link docs with filter docs and new service context
ref: #467 #468
2025-01-09 15:45:53 +09:30
Jon
8f98f02818 feat(itim): Ability to add external link to a service
ref: #467 closes #468
2025-01-09 15:16:37 +09:30
Jon
b9824892ae feat(access): Add organization to team display_name
ref: #465 #467
2025-01-09 14:51:02 +09:30
Jon
76c71d68b0 test(assistance): Ensure category fields are present for model articles
ref: #465 #467
2025-01-09 14:47:14 +09:30
Jon
39307e7a0e feat(assistance): add category and org to model articles tab
ref: #465 #467
2025-01-09 14:35:17 +09:30