Jeremy Stretch
c072ba088f
Add webhook support for additional models
2021-03-10 14:49:02 -05:00
Jeremy Stretch
19b78e63ce
Introduce ChangeLoggedModel as a standard model
2021-03-10 13:37:13 -05:00
Jeremy Stretch
6ffadb501b
Closes #5610 : Add REST API endpoint for webhooks
2021-03-09 09:22:58 -05:00
Jeremy Stretch
38ded66c4e
Closes #5608 : Add REST API endpoint for custom links
2021-03-08 20:57:44 -05:00
Jeremy Stretch
79b19821f6
Closes #5892 : Introduce SiteGroup model ( #5937 )
...
* Initial work on #5892
* Add site group selection to object edit forms
* Add documentation for site groups
* Changelog for #5892
* Finish application of site groups to config context
2021-03-08 13:28:53 -05:00
Jeremy Stretch
9c967ee3ea
Fixes #5913 : Improve change logging ( #5924 )
...
* Initial work on #5913
* Provide per-line diff highlighting
* BulkDeteView should delete objects individually to secure a pre-change snapshot
* Add changelog tests for bulk operations
2021-03-04 13:06:04 -05:00
Jeremy Stretch
1ddc1a6781
Closes #5451 : Add support for multiple-selection custom fields
2021-03-01 14:52:57 -05:00
Jeremy Stretch
3f216fa4a3
Remove unused CustomFieldModel class
2021-03-01 14:33:52 -05:00
Jeremy Stretch
7e6cb9d186
Closes #1638 : Migrate all primary keys to 64-bit integers
2021-02-26 16:12:52 -05:00
Jeremy Stretch
bec7ea7072
Standardize model types based on function
2021-02-24 21:01:16 -05:00
Jeremy Stretch
af3c4905ea
Fixes #5558 : Fix regex validation support for custom URL fields
2020-12-31 10:21:01 -05:00
Jeremy Stretch
b2e05aafc1
Closes #5531 : Ensure consistent calls to parent clean() methods for models, forms
2020-12-28 12:54:42 -05:00
Jeremy Stretch
d64fc261e2
Tweak validation for custom date fields
2020-12-15 16:00:18 -05:00
Jeremy Stretch
ba00d57d37
Closes #4711 : Rename Webhook.obj_type to content_types
2020-12-02 14:49:07 -05:00
Jeremy Stretch
cc271aefe1
Closes #5400 : Store custom field defaults as JSON values
2020-12-01 16:05:23 -05:00
Jeremy Stretch
a05fe69043
Add REST API endpoint for custom fields
2020-11-23 15:54:42 -05:00
Jeremy Stretch
f3f3993963
Enforce custom field validation on the model
2020-11-12 14:23:08 -05:00
Jeremy Stretch
4a8a1ce45c
Check for extraneous custom field data on clean()
2020-11-12 12:18:31 -05:00
Jeremy Stretch
3d6baeaab0
Move selection field validation from admin form to model
2020-11-11 15:24:39 -05:00
Jeremy Stretch
db0c61dea4
Consolidate middleware under NetBox core
2020-11-10 16:59:37 -05:00
Jeremy Stretch
3d6bf1e0f8
Clean up CustomField regex validation
2020-11-10 10:21:18 -05:00
Jeremy Stretch
fcb5e6ae1c
Merge branch 'develop' into develop-2.10
2020-10-30 10:38:05 -04:00
John Anderson
82f5d0070e
account for null value annotations
2020-10-23 10:56:02 -04:00
John Anderson
22d2289ed2
add support for regions and vms
2020-10-23 01:18:04 -04:00
John Anderson
3ba18633de
initial work on config context performance improvements
2020-10-20 01:07:22 -04:00
Jeremy Stretch
8781cf1c57
Closes #609 : Add min/max value and regex validation for custom fields
2020-10-15 15:06:01 -04:00
Jeremy Stretch
143f3cc27c
#4711 : Rename CustomField.obj_type to content_types
2020-10-14 15:26:46 -04:00
Jeremy Stretch
96650b0216
Merge branch 'develop' into develop-2.10
2020-10-09 13:52:16 -04:00
Jeremy Stretch
3a21f7ab26
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
12e2537222
General cleanup of tables
2020-09-25 14:18:29 -04:00
Jeremy Stretch
3d2f6c0703
Simplify form field for boolean CustomFields
2020-09-17 12:26:02 -04:00
Jeremy Stretch
2d56a658b3
Clean up stale data when a custom field is changed/deleted
2020-09-16 17:03:31 -04:00
Jeremy Stretch
5b3de8defe
Use DjangoJSONEncoder for encoding custom field data
2020-08-25 13:57:18 -04:00
Jeremy Stretch
fb8904af54
Remove unused attributes, methods
2020-08-25 13:49:23 -04:00
Jeremy Stretch
f7b8d6ede5
Add choices ArrayField to CustomField; drop CustomFieldChoice
2020-08-25 13:24:46 -04:00
Jeremy Stretch
c85a45e520
Further work on custom fields
2020-08-24 14:11:13 -04:00
Jeremy Stretch
2276603ac3
Drop CustomFieldValue
2020-08-21 16:21:11 -04:00
Jeremy Stretch
879166d939
Initial work on reimplementing custom fields
2020-08-21 15:16:33 -04:00
Jeremy Stretch
ec66e1a5c0
Closes #4349 : Drop support for embedded graphs
2020-08-21 11:57:46 -04:00
Jeremy Stretch
d1071b79e3
Closes #4360 : Drop support for the Django template language in export templates
2020-08-21 11:16:30 -04:00
Jeremy Stretch
bc0e6cc8dd
Fixes #5012 : Return details of exceptions resulting from report/script execution
2020-08-20 12:47:26 -04:00
Jeremy Stretch
bc04543b33
Cache custom fields on instance prior to calling create()/update()
2020-08-17 12:22:37 -04:00
Jeremy Stretch
dd707c97af
Cache custom fields on instance prior to save()
2020-08-17 11:08:14 -04:00
Jeremy Stretch
93da6b6edf
#2006 : Clean up report views
2020-08-10 15:56:55 -04:00
Jeremy Stretch
a206b422fb
Fixes #4912 : Fix image attachment API endpoint; add API view tests
2020-07-27 14:24:15 -04:00
Jeremy Stretch
9bcfefa31e
Fix ordering for Tags
2020-07-23 14:28:22 -04:00
Jeremy Stretch
37706f1c87
Use RestrictedQuerySet for default Tag manager
2020-07-23 14:20:56 -04:00
Jeremy Stretch
cb36f9fdb3
Remove restriction enforcement from RestrictedQuerySet
2020-07-23 12:48:03 -04:00
Jeremy Stretch
21a750e8ec
Change Postgres-specific JSONField to stock Django field
2020-07-16 12:02:49 -04:00
Jeremy Stretch
59091efa86
Closes #4840 : Enable change logging for config contexts
2020-07-09 17:09:03 -04:00