c1ca8d5d8d
Closes #12906 : Make boto3 & dulwich libraries optional ( #13324 )
...
* Initial work on #12906
* Catch import errors during backend init
* Tweak error message
* Update requirements & add note to docs
2023-08-01 11:13:35 -04:00
e625a5667c
Closes #13279 : Wrap choice labels with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 17:31:07 -04:00
e284cd7e54
Closes #13150 : Wrap table column headers with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 14:35:28 -04:00
b7a9649269
Closes #13149 : Wrap form field labels with gettext_lazy()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 12:52:38 -04:00
83bebc1bd2
Closes #13132 : Wrap verbose_name and other model text with gettext_lazy() (i18n)
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 11:28:07 -04:00
d52c18ce38
Merge branch 'develop' into feature
2023-07-28 10:36:09 -04:00
0276f29067
adds sensitive_parameters to DataBackend #12625
2023-07-27 16:33:29 -04:00
837be4d45f
Merge branch 'develop' into feature
2023-07-11 10:09:26 -04:00
49af70a77d
fixes choice field schema for response #12960
2023-06-23 14:21:51 -04:00
69b818ed33
12237 update to Django 4.2 / psycopg3 ( #12916 )
...
* 12237 upgrade django and psycopg
* 12237 add migration
* 12237 rename migration
* 12237 update requirements
* 12237 fix migration
* Update base requirements
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-06-23 10:38:08 -04:00
518fd8cca6
12794 change User ref to get_user_model ( #12905 )
...
* 12794 change User ref to get_user_model
* 12794 call get_user_model once in tests
* 12794 call get_user_model once in tests
* 12794 use settings.AUTH_USER_MODEL for FK reference
2023-06-22 08:26:50 -04:00
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