netbox/netbox/utilities
Daniel Sheppard 0464dacf7e
Fixes: #16292 - Properly restrict GraphQL queries for querys with pk set (#17244)
* Fixes: #16292 - Properly restrict GraphQL queries for querys with pk set

* Update netbox/netbox/settings.py

* Apply schema adaptations across all apps

* Extend GraphQL API tests

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-28 12:23:25 -04:00
..
forms Updated clean method on DynamicModelMultipleChoiceField to return the name. 2024-05-20 08:37:31 -04:00
management 13745 device type migration (#13747) 2023-09-18 09:59:26 -04:00
serializers Fix issues loading demo data 2022-11-29 09:18:03 -05:00
templates Closes #16273: Add search box to menu on mobile 2024-06-24 10:06:35 -04:00
templatetags Fixes: #17108 - Update isotime and isodate filters to be timezone-aware (#17267) 2024-08-26 14:37:20 -04:00
testing Fixes: #16292 - Properly restrict GraphQL queries for querys with pk set (#17244) 2024-08-28 12:23:25 -04:00
tests Move count_related() & dict_to_filter_params() to utilities.query 2024-03-22 08:59:52 -04:00
__init__.py Initial push to public repo 2016-03-01 11:23:03 -05:00
api.py Remove utilities.utils.dynamic_import() 2024-03-22 08:59:52 -04:00
choices.py Move choice sets from utilities.choices to netbox.choices 2024-03-22 08:59:52 -04:00
constants.py 12851 replace bleach with nh3 (#14767) 2024-01-11 09:31:32 -05:00
conversion.py Move to_grams() & to_meters() from utilities.utils to utilities.conversion 2024-03-22 08:59:52 -04:00
counters.py Fixes #14081: Fix cached counters on delete for parent-child items (#14131) 2023-12-12 16:53:04 -05:00
data.py Move array_to_range(), array_to_string(), deepmerge(), drange(), flatten_dict(), and shallow_compare_dict() to utilities.data 2024-03-22 08:59:52 -04:00
datetime.py Move local_now() to utilities.datetime 2024-03-22 08:59:52 -04:00
error_handlers.py Closes #16700: Audit usage of mark_safe() for consistent escaping 2024-06-24 12:33:54 -04:00
exceptions.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
fields.py 16704 - Define a default help_text for ColorField (#16708) 2024-06-26 09:14:08 -04:00
filters.py 13459 Fix OpenAPI type for TreeNodeMultipleChoiceFilter (#17095) 2024-08-10 10:24:02 -04:00
html.py Move clean_html() & foreground_color() to utilities.html 2024-03-22 08:59:52 -04:00
htmx.py Fixes #15652: Fix the display of error messages after attempting to delete an object 2024-04-15 15:47:43 -04:00
jinja2.py Move utilities.utils.render_jinja2() to utilities.jinja2 2024-03-22 08:59:52 -04:00
json.py 17219 fix custom validator display if function (#17247) 2024-08-27 14:19:16 -04:00
markdown.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
migration.py custom_deconstruct() should not ignore TimeZoneField 2024-03-22 08:59:52 -04:00
mptt.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
object_types.py Move object_type_identifier() & object_type_name() to utilities.object_types 2024-03-22 08:59:52 -04:00
ordering.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
paginator.py Fix pagination when pagination.per_page is "" 2024-05-20 10:29:24 -04:00
permissions.py Fixes: #16973 - Resolve $user token to User.id for use in permissions based on custom fields (#17268) 2024-08-26 16:41:58 -04:00
query_functions.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
query.py Move count_related() & dict_to_filter_params() to utilities.query 2024-03-22 08:59:52 -04:00
querydict.py fix: allow cloning field value of 0 (#16741) 2024-07-01 09:22:09 -04:00
querysets.py Update queryset resolution methods for compatibility with Django 5.0 2024-05-13 18:56:44 -04:00
relations.py Move utilities.utils.get_related_models() to utilities.relations 2024-03-22 08:59:52 -04:00
request.py Move NetBoxFakeRequest and copy_safe_request() from utilities.utils to utilities.request 2024-03-22 08:59:52 -04:00
rqworker.py Adds rq retry options (#12588) 2023-05-16 14:10:44 -04:00
serialization.py Closes #16290: Capture entire object in changelog data 2024-05-29 09:34:22 -04:00
string.py Closes #15465: Clean up settings.py 2024-03-22 15:15:37 -04:00
tables.py 16460 remove spaces from telephone dialing 2024-06-18 08:30:40 -04:00
tracking.py 6347 Cache the number of each component type assigned to devices/VMs (#12632) 2023-07-25 09:39:05 -04:00
urls.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
validators.py 15094 Add missing gettext to error strings for internationalization (#15155) 2024-02-20 09:44:02 -05:00
views.py Fixes #16702: Fix validation of return_url query parameter 2024-06-24 12:34:35 -04:00