Commit Graph

929 Commits

Author SHA1 Message Date
Jeremy Stretch
e295996c02 Add REST API test for custom fields 2020-11-23 16:01:51 -05:00
Jeremy Stretch
21792f7076 Add REST API endpoint for custom fields 2020-11-23 15:54:42 -05:00
Jeremy Stretch
7be12816e1 Rename CustomFieldFilterSet 2020-11-23 14:47:54 -05:00
Jeremy Stretch
caf79dbacb Migrate all ObjectView subclasses to use get_extra_context() 2020-11-19 15:59:11 -05:00
Jeremy Stretch
61fed7e9a7 Fall back to base template if object template doesn't exist 2020-11-19 13:31:59 -05:00
Jeremy Stretch
e5817a926d Update templates to use "object" context var 2020-11-19 13:22:33 -05:00
Jeremy Stretch
ebaf5d5bca Update ObjectChangeLogView to use "object" context var 2020-11-19 11:49:37 -05:00
Jeremy Stretch
a7be281655 Standardize on "object" for ObjectView template context 2020-11-19 11:29:18 -05:00
Jeremy Stretch
c66edd974d Enforce custom field validation on the model 2020-11-12 14:23:08 -05:00
Jeremy Stretch
cc0a79cb15 Check for extraneous custom field data on clean() 2020-11-12 12:18:31 -05:00
Jeremy Stretch
ebea60f263 Relocate and group generic views 2020-11-11 16:07:38 -05:00
Jeremy Stretch
bd7d66abac Move selection field validation from admin form to model 2020-11-11 15:24:39 -05:00
Jeremy Stretch
b3423783b8 Consolidate middleware under NetBox core 2020-11-10 16:59:37 -05:00
Jeremy Stretch
6500b8cad7 Clean up CustomField regex validation 2020-11-10 10:21:18 -05:00
Jeremy Stretch
e77d851426 Merge branch 'develop' into develop-2.10 2020-11-09 20:58:59 -05:00
Jeremy Stretch
4cd1c9d7f2 Fixes #5316: Dry running scripts should not trigger webhooks 2020-11-09 16:22:45 -05:00
Jeremy Stretch
0cce8ad27b Fixes #5328: Fix CreatedUpdatedFilterTest when running in non-UTC timezone 2020-11-09 16:04:09 -05:00
Jeremy Stretch
7e678cba52 Correct buttons() method in dummy plugin template content 2020-11-09 14:31:53 -05:00
991jo
657e2725a0 Fixed a UI Bug where there is no whitespace after grouped custom links.
See #5325 for details
2020-11-09 07:56:26 +01:00
John Anderson
bb987d0970 fixes #5314 - Fix config context rendering when multiple tags are assgined to an object 2020-11-06 16:47:07 -05:00
Jeremy Stretch
4a703a6085 Clean up stray Font Awesome icons 2020-11-06 15:06:45 -05:00
Jeremy Stretch
9d4b9b7f85 Replace Glyphicons with Material Design 2020-11-06 14:49:14 -05:00
Jeremy Stretch
5ce315aff8 Remove extraneous prefetch_related() calls from object list views 2020-10-30 16:54:41 -04:00
Jeremy Stretch
124a43b63f Merge branch 'develop' into develop-2.10 2020-10-30 10:38:05 -04:00
Jeremy Stretch
652579089c Merge pull request #5286 from netbox-community/5285-plugins-api-app_name
Fixes #5285: Include plugin API endpoints in root view without needing app_name set
2020-10-30 09:10:12 -04:00
John Anderson
ffe01cb42b move get_queryset() to common mixin 2020-10-30 02:56:43 -04:00
John Anderson
f3d5de6e56 convert region fields to f-string 2020-10-30 02:56:26 -04:00
Jeremy Stretch
3f19165db2 Fixes #5285: Include plugin API endpoints in root view without needing app_name set 2020-10-29 12:30:10 -04:00
John Anderson
cde90ae8bd clean up imports 2020-10-25 19:00:56 -04:00
John Anderson
56946254e4 pep8 2020-10-25 17:56:42 -04:00
John Anderson
4f546f2dd2 added tests 2020-10-25 16:49:18 -04:00
John Anderson
f96b5c67a0 account for null value annotations 2020-10-23 10:56:02 -04:00
John Anderson
152fe800c7 add support for regions and vms 2020-10-23 01:18:04 -04:00
John Anderson
cdd1948721 initial work on config context performance improvements 2020-10-20 01:07:22 -04:00
Jeremy Stretch
61a6a47455 Closes #609: Add min/max value and regex validation for custom fields 2020-10-15 15:06:01 -04:00
Jeremy Stretch
8d437d80cb #4711: Rename CustomField.obj_type to content_types 2020-10-14 15:26:46 -04:00
Jeremy Stretch
219d07f997 Reorganize REST API components under netbox app 2020-10-13 15:57:21 -04:00
Jeremy Stretch
76158ec165 Merge branch 'develop' into develop-2.10 2020-10-12 09:51:54 -04:00
Jeremy Stretch
53428478d2 Fixes #5231: Fix KeyError exception when viewing object with custom link and debugging is disabled 2020-10-09 15:53:45 -04:00
Jeremy Stretch
d270e89750 Ditch hard-coded filtering of ContentTypes API endpoint 2020-10-09 15:11:56 -04:00
Jeremy Stretch
62e79b8e8e Closes #5190: Add a REST API endpoint for content types 2020-10-09 15:08:29 -04:00
Jeremy Stretch
c1fefe135a Merge branch 'develop' into develop-2.10 2020-10-09 13:52:16 -04:00
Jeremy Stretch
7844d6a705 Closes #5202: Extend the available context data when rendering custom links 2020-10-09 12:36:09 -04:00
Jeremy Stretch
d952d77684 Fixes #5226: Custom choice fields should be blank initially if no default choice has been designated 2020-10-09 11:34:50 -04:00
Jeremy Stretch
b02f2d3f90 Fix error in OBJECTCHANGE_OBJECT table column template 2020-10-07 13:13:03 -04:00
Jeremy Stretch
4fe4732e8b Fixes #5206: Apply user pagination preferences to all paginated object lists 2020-10-02 13:54:57 -04:00
Jeremy Stretch
3be9d13485 General cleanup of tables 2020-09-25 14:18:29 -04:00
Jeremy Stretch
db3a7e3b42 Relocate CSS classes for ChoiceFields from model to ChoiceSet 2020-09-24 16:35:53 -04:00
Jeremy Stretch
18c5a3f4d8 Merge v2.9.4 release 2020-09-23 16:11:00 -04:00
Jeremy Stretch
944c2f6463 Fixes #5066: Update view_reportresult to view_report permission 2020-09-23 13:40:15 -04:00