Jeremy Stretch
1b11895c90
Fix tests
2025-07-18 09:43:21 -04:00
Jeremy Stretch
32fb3869a4
Closes #19829 : Move object types REST API endpoint to core app
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
2025-07-16 14:54:03 -04:00
Arthur Hanson
6a6286777c
Fixes #19680 fix deletion dependency order for GenericRelations ( #19681 )
...
* #19680 fix deletion dependency order for GenericRelations
* 19680 add test
* 19680 fix Collector and test
* 19680 put on changeloggingmixin
* 19680 cleanup
* 19680 cleanup
* 19680 cleanup
* 19680 skip changelog update for deleted objects
* 19680 remove print
2025-06-13 16:08:59 -05:00
Jeremy Stretch
51d046b1f5
Closes #19521 : Clean up test suite output ( #19524 )
2025-05-21 09:57:32 -07:00
Jeremy Stretch
77b9820577
Closes #18287 : Enable periodic synchronization for data sources ( #18747 )
...
* Add sync_interval to DataSource
* Enqueue a SyncDataSourceJob when needed after saving a DataSource
* Fix logic for clearing pending jobs on interval change
* Fix lingering background tasks after modifying DataSource
2025-03-03 09:29:40 -05:00
Arthur Hanson
a24576f126
7848 Add RQ API ( #17938 )
...
* 7848 Add Background Tasks (RQ) to API
* 7848 Tasks
* 7848 cleanup
* 7848 add worker support
* 7848 switch to APIView
* 7848 Task detail view
* 7848 Task enqueue, requeue, stop
* 7848 Task enqueue, requeue, stop
* 7848 Task enqueue, requeue, stop
* 7848 tests
* 7848 tests
* 7848 OpenAPI doc generation
* 7848 OpenAPI doc generation
* 7848 review changes
* 7848 viewset
* 7848 viewset
* 7848 fix tests
* 7848 more viewsets
* 7848 fix docstring
* 7848 review comments
* 7848 review comments - get all tasks
* 7848 queue detail view
* 7848 cleanup
* 7848 cleanup
* 7848 cleanup
* 7848 cleanup
* Rename viewsets for consistency w/serializers
* Misc cleanup
* 7848 review changes
* 7848 review changes
* 7848 add test
* 7848 queue detail view
* 7848 fix tests
* 7848 fix the spectacular test failure
* 7848 fix the spectacular test failure
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-11-26 10:01:06 -05:00
Jeremy Stretch
f08e36e538
Merge branch 'develop' into feature
2024-11-21 14:00:57 -05:00
Arthur Hanson
6ab0792f02
Closes #11279 : Replace _name natural key sorting with collation ( #18009 )
...
* 11279 add collation
* 11279 add collation
* 11279 add collation
* 11279 add collation
* 11279 fix tables /tests
* 11279 fix tests
* 11279 refactor VirtualDisk
* Clean up migrations
* Misc cleanup
* Correct errant file inclusion
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-11-15 09:32:09 -05:00
Jeremy Stretch
c34fea6c9b
Fixes #17969 : Fix system info export when a config revision exists
2024-11-12 14:35:10 -05:00
Arthur Hanson
27d15615b3
17898 upgrade to django-rq v3 ( #17911 )
...
* 17898 upgrade to django-rq v3
* Unpin base requirements
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-11-01 15:14:11 -04:00
Jeremy Stretch
a777850702
Merge branch 'develop' into feature
2024-09-03 11:59:59 -04:00
Daniel Sheppard
4fead1c85f
Fixes : #17310 - Properly restrict GraphQL related object queries ( #17312 )
...
* Fixes : #17310 - Fix GraphQL restriction of related objects
* Fix some failing tests
* Fix test
2024-08-30 14:22:58 -04:00
Jeremy Stretch
853d990c03
Closes #16388 : Move change logging resources from extras to core ( #16545 )
...
* Initial work on #16388
* Misc cleanup
2024-06-17 08:03:06 -04:00
Jeremy Stretch
6af12b1814
Add tests for missing FilterSet filters
2024-03-11 14:39:34 -04:00
Jeremy Stretch
d042e6f69d
Closes #15238 : Include description field in brief mode
2024-02-26 11:39:31 -05:00
Jeremy Stretch
74e67afa41
Merge branch 'develop' into feature
2024-02-05 14:38:26 -05:00
Jeremy Stretch
fde9c1664a
Closes #13729 : Censor sensitive data source parameters in change log ( #15032 )
2024-02-05 11:35:12 -05:00
Arthur Hanson
93b77cb4f0
14729 Move background tasks list from admin UI to Primary UI ( #14825 )
...
* 14729 rq table
* 14729 rq table
* 14729 rq table
* 14729 rq table
* 14729 jobs table
* 14729 jobs detail
* 14729 formatting fixup
* 14729 formatting fixup
* 14729 format datetime in tables
* 14729 display job id
* Update templates for #12128
* 14729 review fixes
* 14729 review fixes
* 14729 review fixes
* 14729 review fixes
* 14729 merge feature
* 14729 add modal
* 14729 review changes
* 14729 url fixup
* 14729 no queue param on task
* 14729 queue pages
* 14729 job status handling
* 14729 worker list
* 14729 exec detail and common view
* 14729 worker detail
* 14729 background task delete
* 14729 background task delete
* 14729 background task requeue
* 14729 background task enqueue stop
* 14729 review changes
* 14729 remove rq from admin
* 14729 add tests
* 14729 add tests
* Clean up HTML templates
* Clean up tables
* Clean up views
* Fix tests
* Clean up tests
* Move navigation menu entry for background tasks
* Remove custom deletion form
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-02-01 11:44:07 -05:00
Arthur Hanson
58227293f3
14637 update to Django 5 ( #14675 )
...
* 14637 update to Django 5
* 14637 fix tests
* 14637 remove extra assignment
* Syntax tweak
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-01-05 13:30:04 -05:00
Jeremy Stretch
d5c1cb0ef6
Merge branch 'develop' into feature
2023-12-28 14:20:04 -05:00
Jeremy Stretch
3ef2db81e8
Closes #14629 : Add filter tests for all q and description filters
2023-12-28 13:53:16 -05:00
Jeremy Stretch
30ce9edf1c
Closes #13381 : Enable plugins to register custom data backends ( #14095 )
...
* Initial work on #13381
* Fix backend type display in table column
* Fix data source type choices during bulk edit
* Misc cleanup
* Move backend utils from core app to netbox
* Move backend type validation from serializer to model
2023-10-24 11:35:53 -04:00
jeremystretch
a1c9f7a2c6
DataFile should not inherit from ChangeLoggingMixin
2023-02-19 20:09:51 -05:00
Jeremy Stretch
d8784d4155
Closes #11558 : Add support for remote data sources ( #11646 )
...
* WIP
* WIP
* Add git sync
* Fix file hashing
* Add last_synced to DataSource
* Build out UI & API resources
* Add status field to DataSource
* Add UI control to sync data source
* Add API endpoint to sync data sources
* Fix display of DataSource job results
* DataSource password should be write-only
* General cleanup
* Add data file UI view
* Punt on HTTP, FTP support for now
* Add DataSource URL validation
* Add HTTP proxy support to git fetcher
* Add management command to sync data sources
* DataFile REST API endpoints should be read-only
* Refactor fetch methods into backend classes
* Replace auth & git branch fields with general-purpose parameters
* Fix last_synced time
* Render discrete form fields for backend parameters
* Enable dynamic edit form for DataSource
* Register DataBackend classes in application registry
* Add search indexers for DataSource, DataFile
* Add single & bulk delete views for DataFile
* Add model documentation
* Convert DataSource to a primary model
* Introduce pre_sync & post_sync signals
* Clean up migrations
* Rename url to source_url
* Clean up filtersets
* Add API & filterset tests
* Add view tests
* Add initSelect() to HTMX refresh handler
* Render DataSourceForm fieldsets dynamically
* Update compiled static resources
2023-02-19 20:09:51 -05:00