Abhimanyu Saharan
12bef7623c
disables map button when MAP_URL is none #12498
2023-05-05 15:04:36 -04:00
Abhimanyu Saharan
42346702a1
Adds image attachment list view ( #12487 )
...
* adds image attachment list view #11932
* fixed typo
* Update netbox/extras/tables/tables.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/extras/forms/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* changes as per review
* Disable ordering by size (not stored in database)
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-05-05 09:48:13 -04:00
Arthur Hanson
9909213c0d
12416 warning for missing script file ( #12456 )
...
* 12416 warning for missing script file
* 12416 widen exception catching for internal script error
* Update netbox/extras/models/scripts.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* 12416 update from review feedback
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-05-05 09:37:38 -04:00
Patrick Hurrelmann
a96b76a8d1
Fixes #12496 : Remove account field from provider template
2023-05-05 08:27:29 -04:00
Daniel Sheppard
46914d9479
Fixes : #10757 - Change IP interface assignment to use new selector ( #12452 )
...
* Fixes : #10757 - Change interface assignment to use new selector. Perform the same change to the NAT assignment as well.
* Remove nat_vrf from form and remove query_params that are not required anymore
2023-05-04 13:59:28 -04:00
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
9319cffb1c
Fixes #12384 : Add a three-second timeout for RSS reader widget
2023-05-01 16:19:39 -04:00
jeremystretch
f49e4ee512
Merge branch 'develop' into feature
2023-04-26 15:09:51 -04:00
Austin de Coup-Crank
adb9673f09
Fixes #11623 : obfuscate Wi-Fi PSKs ( #12244 )
...
* Fixes #11623 : obfuscate Wi-Fi PSKs
* yarn linting fixes
* include static files
2023-04-24 12:13:28 -04:00
PieterL75
b693123f6e
Fixes #10987 : Show rack-list dropdown in rack ( #11779 )
...
* Intial. 2 ways the racknavigation displayed
* show active rack in dropdown
* auto hide/show when viewport reduces
* Dropdown only
* Update links to use get_absolute_url()
---------
Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com >
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-04-24 12:01:33 -04:00
jeremystretch
e7663b7e39
Mark Provider.account as deprecated
2023-04-21 16:21:04 -04:00
jeremystretch
2fcdc0ae6a
#10520 : Restore ability to edit platform NAPALM fields via UI
2023-04-21 11:21:42 -04:00
jeremystretch
197c6a1cbf
Add scheduling_enabled parameter for scripts
2023-04-18 08:45:31 -04:00
jeremystretch
014a5d10d1
Closes #12187 : Add button to download rendered config from UI
2023-04-17 16:37:02 -04:00
jeremystretch
7ecf3be33c
Clean up script & report job views
2023-04-17 15:27:12 -04:00
jeremystretch
a0893c2e8b
Add general purpose view for individual jobs
2023-04-17 15:08:18 -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
Austin de Coup-Crank
bb9a125934
Closes #12040 : fix bulk import tab selection
2023-04-12 13:01:04 -04:00
jeremystretch
6820796c10
Closes #10414 : Enable general purpose image attachments for device types
2023-04-10 16:43:40 -04:00
jeremystretch
1146aaff89
Closes #11453 : Display a warning banner when DEBUG is enabled
2023-04-10 09:12:04 -04:00
jeremystretch
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
jeremystretch
63a0ec7a79
Fixes #12190 : Fix form layout for plugin textarea fields
2023-04-07 10:03:47 -04:00
jeremystretch
f44a2ba0ee
Closes #12119 : Lock & unlock dashboard layout
2023-04-05 09:59:22 -04:00
jeremystretch
730eb2e83b
Fixes #12112 : Do not link data source URL for local paths
2023-03-31 09:06:16 -04:00
jeremystretch
90527b799d
#9416 : Add view to reset user's dashboard
2023-03-30 12:46:06 -04:00
jeremystretch
424b336536
Fixes #12061 : Improve handling of insufficient permissions for widget content
2023-03-30 10:03:41 -04:00
jeremystretch
f965608791
Fixes #11660 : Catch RQ timeout exception when syncing data sources
2023-03-30 08:51:47 -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
Daniel Sheppard
9d709c84e7
Closes : #9047 - Add Provider Accounts ( #12057 )
...
* #9047 - ProviderAccount
* #9047 - Move to new selector types
* #9047 - Re-introduce provider FK to Circuit model
* #9047 - Fix broken tests
* Misc cleanup
* Revert errant change
* Fix tests
* Update circuit filter form
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-03-29 08:27:11 -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
Arthur
ad03061edf
12038 show vc priority with placeholder
2023-03-28 10:13:51 -04:00
Arthur
87eabdbffb
12029 add description to virtual description add
2023-03-28 10:10:05 -04:00
jeremystretch
669cfe8952
Closes #12062 : Avoid caching invalid RSS feed content
2023-03-27 09:29:51 -04:00
Jeremy Stretch
f7a2eb8aef
Closes #11890 : Sync/upload reports & scripts ( #12059 )
...
* Initial work on #11890
* Consolidate get_scripts() and get_reports() functions
* Introduce proxy models for script & report modules
* Add add/delete views for reports & scripts
* Add deletion links for modules
* Enable resolving scripts/reports from module class
* Remove get_modules() utility function
* Show results in report/script lists
* Misc cleanup
* Fix file uploads
* Support automatic migration for submodules
* Fix module child ordering
* Template cleanup
* Remove ManagedFile views
* Move is_script(), is_report() into extras.utils
* Fix URLs for nested reports & scripts
* Misc cleanup
2023-03-24 21:00:36 -04:00
jeremystretch
e176c7d906
#9416 : cleanup & widget improvements
2023-03-22 15:44:01 -04:00
jeremystretch
08bdb54cb4
#11558 : Disable sync button if RQ worker not running
2023-03-20 15:12:11 -04:00
jeremystretch
3b9fda0169
Merge branch 'develop' into feature
2023-03-20 08:54:22 -04:00
Jeremy Stretch
206d578bc3
Closes #10242 : Redirect to filtered objects list after bulk import ( #12001 )
...
* Redirect user to filtered objects list after bulk import
* Remove obsolete table attribute from bulk import views
2023-03-17 09:23:40 -04:00
jeremystretch
43bba935c3
Remove unused template
2023-03-15 14:08:56 -04:00
jeremystretch
da7293524e
#10054 : Simplify cable forms
2023-03-15 14:01:01 -04:00
Ryan Merolle
4286d74d44
Add fieldsets functionality to scripts to allow for form field groupings ( #11880 )
...
* update script template
* update docs
* introduce default_fieldset
* correct custom script docs
* default to use fieldsets in scripts
* update scripts docs for new behavior
* Misc cleanup
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-03-14 15:50:49 -04:00
Arthur
f7150645a1
8749 clone custom fields
2023-03-14 15:44:16 -04:00
jeremystretch
1446b07f8c
Closes #11780 : Enable loading import data from remote sources
2023-03-14 14:53:26 -04:00
Jeremy Stretch
8bd0a2ef9d
Closes #11826 : RSS feed widget ( #11976 )
...
* Add feedparser as a dependency
* Introduce RSSFeedWidget
* Clean up widget templates
2023-03-14 11:59:27 -04:00
jeremystretch
af63ac693e
Closes #11893 : Convert ChangeLogWidget for use with all models
2023-03-14 08:39:18 -04:00
Jeremy Stretch
d1f76bec37
Closes #10054 : Implement advanced UI controls for object selection ( #11952 )
...
* WIP
* WIP
* WIP
* Make object selector functional
* Replace extraneous form fields with selector widgets
* Avoid overlap with filterset field names
* Show checkmarks next to visibile filters
* Update results automatically when searching
* Include selector for device/VM component parent fields
* Use selector for filtering VLAN group/site
* Limit selector to 100 results
2023-03-13 12:44:26 -04:00