Arthur Hanson
5036020dc0
12433 update object list widget to correctly parameterize urls ( #12434 )
...
* 12433 update object list widget to correctly parameterize urls
* Update netbox/extras/dashboard/widgets.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* 12433 fix indent
* Correct per_page query parameter
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-05-03 09:20:53 -04:00
Austin de Coup-Crank
b14a514b47
Closes 10759: Enable markdown support for custom field descriptions ( #12344 )
...
* enable markdown in custom field descriptions
* Closes #10759 : Enable markdown support for custom field descriptions
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-05-02 16:47:22 -04:00
jeremystretch
cc3b95bdb0
Fixes #12400 : Validate default values for object and multi-object custom fields
2023-05-02 09:35:25 -04:00
jeremystretch
9319cffb1c
Fixes #12384 : Add a three-second timeout for RSS reader widget
2023-05-01 16:19:39 -04:00
kkthxbye-code
aabaeec1d7
Add ObjectChange as a valid option for ObjectListWidget and ObjectCountsWidget
2023-04-28 12:17:39 +02:00
jeremystretch
6109bef700
Merge branch 'develop' into feature
2023-04-27 12:11:08 -04:00
x64x6a
4355085124
Fixes #12355 : Exclude additional characters from url encode
2023-04-26 15:53:14 -07:00
jeremystretch
f49e4ee512
Merge branch 'develop' into feature
2023-04-26 15:09:51 -04:00
Darek
89fa546a14
Merge pull request from GHSA-92x4-vfjf-rmf7
2023-04-21 15:08:04 -04:00
jeremystretch
2fe5592c3c
Fixes #12299 : Fix object list widget support for filtering by multiple values
2023-04-21 11:54:28 -04:00
jeremystretch
13625325f5
#8684 : Fix test
2023-04-19 11:31:26 -04:00
jeremystretch
b84ac184c2
#8684 : Remove obsolete 'obj' var from custom link context
2023-04-19 09:58:18 -04:00
jeremystretch
c08c7dda50
Closes #12292 : Replace SelectSpeedWidget and SelectDurationWidget with NumberWithOptions
2023-04-18 16:33:43 -04:00
jeremystretch
9caa7f6b7c
Move SyncedDataMixin from extras to core
2023-04-18 15:18:19 -04:00
jeremystretch
b167153186
Enable scheduling_enabled parameter for reports
2023-04-18 08:45:31 -04:00
jeremystretch
197c6a1cbf
Add scheduling_enabled parameter for scripts
2023-04-18 08:45:31 -04:00
jeremystretch
7ecf3be33c
Clean up script & report job views
2023-04-17 15:27:12 -04:00
Jeremy Stretch
8b040ff930
Closes #12129 : Enable automatic synchronization of objects when DataFiles are updated ( #12262 )
...
* Closes #12129 : Enable automatic synchronization of objects when DataFiles are updated
* Cleanup
2023-04-17 10:35:17 -04:00
Jeremy Stretch
d470848b29
Closes #12246 : General cleanup of utilities modules
...
* Clean up base modules
* Clean up forms modules
* Clean up templatetags modules
* Replace custom simplify_decimal filter with floatformat
* Misc cleanup
* Merge ReturnURLForm into ConfirmationForm
* Clean up import statements for utilities.forms
* Fix field class references in docs
2023-04-14 10:33:53 -04:00
jeremystretch
59a6b3e71b
Merge branch 'develop' into feature
2023-04-12 17:38:16 -04:00
jeremystretch
46d7bf02ac
Add tests for ConfigTemplate
2023-04-11 15:25:48 -04:00
Abhimanyu Saharan
2c07762b7a
Added optional user and group on custom field ( #12206 )
...
* added group and user model to object_type
* Update netbox/utilities/utils.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-04-10 12:40:13 -04:00
kkthxbye
278f2b173a
Fixes #11431 - Disallow changing customfield type after creation ( #11449 )
...
* Disallow changing customfield type after creation
* Fix test_api.CustomFieldTest
---------
Co-authored-by: kkthxbye-code <>
2023-04-10 10:13:08 -04:00
jeremystretch
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
jeremystretch
085cfc58f4
Fixes #12184 : Fix filtered bulk deletion for various models
2023-04-07 10:25:36 -04:00
Jeremy Stretch
2bf9acfb19
Closes #12193 : Clean up tests ( #12197 )
...
* Fix skipped API tests
* Remove invalid tests
* Correct logger name
2023-04-06 16:35:27 -04:00
jeremystretch
29fbe6e4ee
Closes #12126 : Introduce a DEFAULT_DASHBOARD config parameter
2023-04-05 08:32:18 -04:00
Arthur Hanson
94c2a2e56c
11746 fix delete custom field ( #12092 )
...
* 11746 delete custom field
* 11746 use filter instead of exclude
2023-04-04 16:38:48 -04:00
jeremystretch
1b5f926e17
Fixes #12167 : Catch and report on exceptions raised when rendering a config template
2023-04-04 08:47:01 -04:00
jeremystretch
53abcc0f5c
Closes #12136 : Extend object count & list widgets to support filters
2023-04-03 15:02:11 -04:00
jeremystretch
0676ed45c7
Closes #12107 : Document support for plugin-provided dashboard widgets
2023-04-03 14:15:18 -04:00
jeremystretch
8d6c591535
Fixes #12103 : Limit the types of objects available for object count & list widgets
2023-03-31 15:30:40 -04:00
jeremystretch
6a85c5b3ce
Fixes #12115 : Fix rendering config templates from a data file
2023-03-31 10:37:12 -04:00
jeremystretch
eb77c0e920
Fixes #12106 : Fix exception when saving dashboard widget with minimum width/height
2023-03-31 09:34:50 -04:00
gdprdatasubect
fbc23424a6
Update models.py
...
Change default MIME-Type as discussed under #12095
2023-03-30 16:58:41 -04:00
jeremystretch
f18f6e2856
Merge branch 'develop' into feature
2023-03-30 15:56:38 -04:00
Arthur Hanson
ecd0c56554
Closes #9608 : Move from drf-yasg to spectacular
...
Co-authored-by: arthanson <worldnomad@gmail.com >
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-03-30 14:32:59 -04:00
jeremystretch
90527b799d
#9416 : Add view to reset user's dashboard
2023-03-30 12:46:06 -04:00
jeremystretch
6e6e8fa2d9
Set user agent for RSS feed requests
2023-03-30 12:44:36 -04:00
Arthur Hanson
e467589730
12084 saved filters ( #12090 )
...
* 12084 change back saved filter saving
* 12084 doc string
* 12084 add test
* Pass SavedFilter initial parameters as JSON & relocate test
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-03-30 11:00:40 -04:00
jeremystretch
424b336536
Fixes #12061 : Improve handling of insufficient permissions for widget content
2023-03-30 10:03:41 -04:00
jeremystretch
c4891fe105
Closes #12085 : Add a file source view for reports
2023-03-29 16:58:35 -04:00
Jeremy Stretch
715592547c
#12081 : Script & report cleanup ( #12091 )
...
* start() and terminate() methods on Job should call save()
* Fix display of associated jobs
* Introduce get_latest_jobs() method on JobsMixin
* Update messaging when no reports/scripts exist
* Catch ImportErrors when rendering report/script lists
* Fix loading of nested modules
* Fix URLs for nested scripts/reports
2023-03-29 16:51:55 -04:00
Jeremy Stretch
d2a694a878
Closes #12068 : Establish a direct relationship from jobs to objects ( #12075 )
...
* Reference database object by GFK when running scripts & reports via UI
* Reference database object by GFK when running scripts & reports via API
* Remove old enqueue_job() method
* Enable filtering jobs by object
* Introduce ObjectJobsView
* Add tabbed views for report & script jobs
* Add object_id to JobSerializer
* Move generic relation to JobsMixin
* Clean up old naming
2023-03-28 15:47:09 -04:00
jeremystretch
15590f1f48
Merge branch 'develop' into feature
2023-03-28 14:19:08 -04:00
Abhimanyu Saharan
1d2335d578
Updated _schedule_at to use local time when _interval is set ( #12006 )
...
* updated _schedule_at to use local time when _interval is set
* updated schedule_at to use local time when interval is set
2023-03-28 10:19:18 -04:00
jeremystretch
7d64e5bc62
#12058 : Fix initial JSON population
2023-03-28 10:00:15 -04:00
Arthur
a2c7452f90
12058 add clone to config context
2023-03-28 09:56:06 -04:00
Arthur Hanson
654e32cbbe
11933 saved filters clone of content-types and add m2m field cloning ( #12014 )
...
* 11933 saved filters clone of content-types and add m2m field cloning
* Fix JSON rendering
* Add content_types to CustomLink.clone()
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-03-28 09:53:57 -04:00
Arthur
879aabe2f9
12038 fix clone tag
2023-03-28 09:48:05 -04:00