Commit Graph

2324 Commits

Author SHA1 Message Date
Jon
b57d68082b fix(itam): correct truthy check for os ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:02:13 +09:30
Jon
af494acd7f fix(itam): correct truthy check for device ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:02:05 +09:30
Jon
e205b0a7a6 fix(itam): correct truthy check for device type ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:01:59 +09:30
Jon
c7fc8055f6 fix(itam): correct truthy check for device model ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:01:49 +09:30
Jon
76cc4e1e8a fix(core): correct truthy check for ticket comment category ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:01:34 +09:30
Jon
4bbff26bd2 fix(core): correct truthy check for ticket category ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:01:23 +09:30
Jon
2f9b65a326 fix(core): correct truthy check for manufacturer ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:01:12 +09:30
Jon
27b7550114 fix(config_management): correct truthy check for config group ViewSet property when evaluating queryset
ref: #512 #518
2025-02-04 08:00:47 +09:30
Jon
06cefb9223 fix(config_management): correct truthy check for config group ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:00:36 +09:30
Jon
67a5e63b33 fix(config_management): correct truthy check for config group software ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 08:00:21 +09:30
Jon
4dae20b056 fix(config_management): correct truthy check for config group software ViewSet property when evaluating queryset
ref: #512 #518
2025-02-04 08:00:04 +09:30
Jon
4adb38fdd2 fix(assistance): correct truthy check for model kb article ViewSet property when evaluating queryset
ref: #512 #518
2025-02-04 07:59:32 +09:30
Jon
ab7c840c60 fix(assistance): correct truthy check for model kb article ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:59:19 +09:30
Jon
997d2df4b7 fix(assistance): correct truthy check for kb ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:58:58 +09:30
Jon
4160d974f5 fix(assistance): correct truthy check for kb ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:58:50 +09:30
Jon
baf7d0226e fix(access): correct truthy check for team ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:58:32 +09:30
Jon
36992f8469 fix(access): correct truthy check for team ViewSet property when evaluating queryset
ref: #512 #518
2025-02-04 07:58:13 +09:30
Jon
325509aa16 fix(access): correct truthy check for team user ViewSet property when evaluating queryset
ref: #512 #518
2025-02-04 07:58:01 +09:30
Jon
57cc0d2caa fix(access): correct truthy check for team user ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:57:44 +09:30
Jon
4833245e34 fix(access): correct truthy check for organization ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:57:27 +09:30
Jon
d57dfb809b test(itam): Add missing unit tests for Software viewset
ref: #512 #513 #518
2025-02-04 07:45:07 +09:30
Jon
98d47c69d2 test(itam): Add missing unit tests for Operating System viewset
ref: #512 #513 #518
2025-02-04 07:45:07 +09:30
Jon
ded0cc925c test(itam): Add missing unit tests for Device Type viewset
ref: #512 #513 #518
2025-02-04 07:45:07 +09:30
Jon
857bcc6652 test(itam): Add missing unit tests for Device Model viewset
ref: #512 #513 #518
2025-02-04 07:45:07 +09:30
Jon
f3be33431c test(itam): Add missing unit tests for Device viewset
ref: #512 #513 #518
2025-02-04 07:45:07 +09:30
Jon
8bd3a8fb45 fix(api): correct truthy check for set property when evaluating serializer_class
ref: #513 #518 closes #519
2025-02-04 07:45:07 +09:30
Jon
67db68c5ea fix(api): correct truthy check for set property when evaluating queryset
ref: #512 #518 closes #519
2025-02-04 07:45:07 +09:30
Jon
3baae2a6cd test(api): dont mock the qs bool
this was mocked as the class var was returning false when the var was set. appears python uses the variables object for a truthy check

ref: #512 #513 #518
2025-02-04 07:34:55 +09:30
Jon
4d3a8e768b test(core): Add missing unit tests for Ticket Comment Category viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
169b8dbf4d test(core): Add missing unit tests for Ticket Category viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
8d7d5a127f test(core): Add missing unit tests for manufacturer viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
ad4d030a40 fix(api): correct variable name in common viewset for queryset
ref: #512 #518
2025-02-04 07:29:11 +09:30
Jon
ce0cc856a7 fix(config_management): config group software viewset must cache queryset
ref: #512 #518
2025-02-04 07:29:11 +09:30
Jon
fae11ca310 fix(config_management): config group viewset must cache queryset
ref: #512 #518
2025-02-04 07:29:11 +09:30
Jon
95af0d3848 test(config_management): Add missing unit tests for config groups software viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
596c708212 test(config_management): Add missing unit tests for config groups viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
2f9b6c6027 fix(assistance): Knowledge base category viewset must cache serializer_class
ref: #513 #518
2025-02-04 07:29:11 +09:30
Jon
84ac2d3562 test(assistance): Add missing unit tests for Model Knowledge Base Article viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
f9837e0ec4 test(assistance): Add missing unit tests for Knowledge Base Category viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
73a63f5af4 test(assistance): Add missing unit tests for Knowledge Base viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
5066cf7536 fix(access): Team viewset must cache serializer_class
ref: #513 #518
2025-02-04 07:29:11 +09:30
Jon
6522d274a3 fix(access): Team viewset must cach queryset
ref: #512 #518
2025-02-04 07:29:11 +09:30
Jon
759e774928 fix(access): Team User viewset must cach queryset
ref: #512 #518
2025-02-04 07:29:11 +09:30
Jon
56aab474e9 test(access): Add missing unit tests for team user viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
1bd1d546fc test(access): Add missing unit tests for team viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
fe3688791f test(access): Add missing unit tests for organization viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
a00db4e7f6 fix(api): Add missing property bacjk_url to Common viewset
ref: #518
2025-02-04 07:29:11 +09:30
Jon
f80ed4d366 fix(api): Common viewset to cache and use queryset Object
ref: #512 #518
2025-02-04 07:29:11 +09:30
Jon
cd47e643d5 test(base): Ensure viewsets are caching and using the serializer_class object
ref: #513 #518
2025-02-04 07:29:10 +09:30
Jon
db12750dc0 test(base): Ensure viewsets are caching and using the queryset object
ref: #512 #518
2025-02-04 07:29:10 +09:30