e635f0defd
Merge branch 'develop' into feature
2023-06-14 16:32:56 -07:00
b4a3156046
9077 audit alters_data=True
2023-06-14 14:23:55 -04:00
c8cbced55e
fix permission #12818
2023-06-14 14:43:18 +05:30
2204735e9f
Adds rq retry options ( #12588 )
...
* adds rq retry options #12327
* Clean up docs; disable retries of failed jobs by default
* Pass a Retry object only if RQ_RETRY_MAX is non-zero
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-16 14:10:44 -04:00
ab69faab87
Fix #12483 : Using mutable dulwich configuration
2023-05-04 16:56:45 -04:00
4df517e4da
Fix #12464 : Only set username, password for HTTP/s ( #12482 )
2023-05-04 13:34:04 -04:00
20f0464824
Fix OpanAPI schema base path
2023-05-01 17:01:51 -04:00
d3206d9bf9
Added method to update viewset description ( #12218 )
...
* wip
* wip
* updated description on viewset
* fixed model name
* Update schema.py
* Update schema.py
2023-04-25 14:37:05 -04:00
dda56f21f3
#12256 remove read-only fields from writable serializers
2023-04-20 14:11:55 -04:00
31c909c368
#12149 remove spectacular choice mapping fixup internal one
2023-04-20 14:10:05 -04:00
9caa7f6b7c
Move SyncedDataMixin from extras to core
2023-04-18 15:18:19 -04:00
197c6a1cbf
Add scheduling_enabled parameter for scripts
2023-04-18 08:45:31 -04:00
86d185fe05
Fix validation of DataSource URL
2023-04-17 16:00:35 -04:00
9ef1fb1e3a
Use dulwich as Git client
2023-04-17 15:53:50 -04:00
a0893c2e8b
Add general purpose view for individual jobs
2023-04-17 15:08:18 -04:00
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
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
872b70c2b5
Fixes #12145 : Employ HTMXSelect widget to fix inclusion of <select> field values during form regeneration
2023-04-03 12:49:26 -04:00
e966d1df47
Merge pull request #12139 from tobiasge/fix-data-source-logs
...
Fix #12138 : Log correct count when files were deleted
2023-04-02 22:29:59 +02:00
e7d1a43541
Fixes #12142 : Add S3Backend to __all__
2023-04-01 11:28:33 +02:00
5ff9483d13
Log correct count when files were deleted
2023-04-01 10:51:33 +02:00
bd38b50e5e
Fixes #12105 : Prevent data sources from becoming stuck in syncing status when an exception is raised
2023-03-31 09:52:07 -04:00
730eb2e83b
Fixes #12112 : Do not link data source URL for local paths
2023-03-31 09:06:16 -04:00
cdad50e051
Fixes #12109 : Fix migration error when replicating more than 100 job results
2023-03-31 08:59:15 -04:00
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
06dec6a2d9
Fixes #12046 : Fix URL parsing for git data sources
2023-03-30 09:07:56 -04:00
f965608791
Fixes #11660 : Catch RQ timeout exception when syncing data sources
2023-03-30 08:51:47 -04:00
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
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
61e2073775
#12067 : Fix ordering for JobResult replication
2023-03-27 14:25:42 -04:00
b3d2020045
Replicate JobResults to new Job model
2023-03-27 14:20:13 -04:00
34236ff468
Update release notes
2023-03-27 14:20:13 -04:00
40572b543f
Rename JobResult to Job and move to core
2023-03-27 14:20:13 -04:00
5c0ce96b6f
Reorganize management commands
2023-03-24 21:11:10 -04:00
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
c57d71a9db
11291 optimize GraphQL queries ( #11943 )
...
* 11291 initial optimize graphql queries
* 11291 add optimizer to schemas
* 11291 cleanup fields.py
* 11291 fix fragment query
2023-03-23 08:42:18 -04:00
a098c3b0c1
#11558 : Introduce GIT_PATH configuration setting
2023-03-22 11:25:03 -04:00
08bdb54cb4
#11558 : Disable sync button if RQ worker not running
2023-03-20 15:12:11 -04:00
13d604d44e
Fix rendering of form textareas
2023-03-20 13:18:09 -04:00
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
cacc418cd5
Closes : #11781 : Add support for Amazon S3 remote data sources ( #11986 )
...
* Add boto3 as a dependency
* Add Amazon S3 backend for remote data sources
* Update docs to include Amazon S3 support
2023-03-15 12:11:52 -04:00
a8c331f88a
Replace JobResult.set_status() with terminate()
2023-03-07 18:01:32 -05:00
36771e821c
10520 remove Napalm code references ( #11768 )
...
* 10520 remove all Napalm code references
* 10520 remove lldp
* 10520 remove config, status - rebuild js
* 10520 re-add config parameters
* 10520 re-add serializer
* 10520 update docs
2023-02-24 15:38:50 -05:00
c84f0de8f8
#11625 : Employ HTMX form rendering for device & VM interfaces
2023-02-19 20:09:52 -05:00
368e774ceb
Add index for (source, path) to DataFile
2023-02-19 20:09:52 -05:00
b9bd96f0c7
Closes #11765 : Remove StaticSelect & StaticSelectMultiple ( #11767 )
...
* Remove StaticSelect, StaticSelectMultiple form widgets
* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
2023-02-19 20:09:51 -05:00
a1c9f7a2c6
DataFile should not inherit from ChangeLoggingMixin
2023-02-19 20:09:51 -05:00
8d68b6a2e6
Fixes #11694 - Remove obsolete SmallTextarea widget
2023-02-19 20:09:51 -05:00
678a7d17df
Closes #9073 : Remote data support for config contexts ( #11692 )
...
* WIP
* Add bulk sync view for config contexts
* Introduce 'sync' permission for synced data models
* Docs & cleanup
* Remove unused method
* Add a REST API endpoint to synchronize config context data
2023-02-19 20:09:51 -05:00
664132281e
Fixes #11659 : Include all relevant DataFile attributes during bulk update
2023-02-19 20:09:51 -05:00