jeremystretch
85a4b1f881
Closes #10699 : Remove custom import_object() function
2022-10-19 10:40:39 -04:00
kkthxbye-code
f797b5ed97
Add scheduled_time to JobResultSerializer
2022-10-16 15:27:33 +02:00
kkthxbye-code
e143038df8
Remove JobResult view from admin panel
2022-10-16 15:20:38 +02:00
kkthxbye-code
074082d1f1
Allow export of JobResult table
2022-10-16 15:18:54 +02:00
kkthxbye-code
d647983003
Always activate scheduler functionality when running the rqworker management command
2022-10-16 13:47:15 +02:00
kkthxbye-code
1d9808a92a
Added scheduled_time field to JobResult model
2022-10-16 13:42:28 +02:00
Arthur Hanson
99cf1b1671
8245 add graphql filtering at all levels ( #10618 )
...
* 8245 monkey-patch graphene-django to support filtering at all levels
* 8245 fix tests
* 8245 fix tests
2022-10-12 13:21:34 -04:00
Arthur Hanson
9ca4c7315b
10595 extend graphql relationships ( #10603 )
...
* 9817 add graphql l2vpntermination assigned_object
* 9817 add graphql ipaddressassignment assigned_object
* 9817 ipan graphql gfk
* 9817 dcim graphql gfk
* 9817 dcim graphql gfk
* 9817 fix tests
* 10595 cable a_terminations to graphql
* 10595 add contacts to graphql
* 10595 move contacts to Provider
2022-10-11 12:26:18 -04:00
Arthur Hanson
ffce5d968d
8927 plugin search ( #10489 )
...
* #7016 base search classes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 8927 refactor search
* 8927 refactor search
* 8927 refactor search
* 8927 refactor search
* 8927 get search choices working
* 8927 cleanup - optimize
* 8927 use backend search function
* 8927 fix for plugin search
* 8927 add docs
* Move search app to a module under netbox/
* Utilize global registry to register model search classes
* Build search form options from registry
* Determine search categories from model app by default
* Enable dynamic search registration for plugins
* Update docs & improve plugin support
* Clean up search backend class
* Docs for #8927
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-10-10 14:00:59 -04:00
kkthxbye-code
ef0b455b05
Called super delete method before deleting JobResult task.
...
Done to avoid having deleted a task on accident if the deleting of the JobResult fails.
2022-10-09 21:16:26 +02:00
kkthxbye-code
679a9e839b
Work on job scheduling:
...
* Added JobResult form filtersets
* Change housekeeping cleanup delete from `_raw_delete` to `delete` to make sure scheduled tasks are cancelled
* Change default sort of JobResult table to -created
* Added `delete` override to `JobResult` to remove scheduled tasks from RQ when a JobResult is deleted
* Updated js/css dist files. Will need to be redone when develop is merged to feature.
2022-10-09 21:05:31 +02:00
kkthxbye-code
53c8a48244
Merge branch 'feature' into 8366-job-scheduling
...
Sync with upstream
2022-10-09 11:18:47 +02:00
jeremystretch
b0ba9bd83d
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:17:58 -04:00
jeremystretch
053c97b7a8
Docs and test for #9072
2022-10-07 15:03:52 -04:00
jeremystretch
5e1a0733e4
Replace active_tab context for object views
2022-10-07 12:14:19 -04:00
jeremystretch
bfe26b46a6
Wrap model detail views with register_model_view()
2022-10-07 11:36:14 -04:00
jeremystretch
a0bae06ff7
Replace static journaling, changelog URL paths with dynamic resolution
2022-10-06 16:21:23 -04:00
jeremystretch
0d7851ed9d
#9072 : Implement a mechanism for dynamically registering model detail views
2022-10-06 16:20:35 -04:00
jeremystretch
c481a1b6a2
Merge branch 'develop' into feature
2022-10-05 10:28:48 -04:00
jeremystretch
fec8d1bc2f
Fixes #10423 : Enforce object type validation when creating journal entries
2022-10-04 15:26:52 -04:00
Jonathan Senecal
dc522a0135
Initial implementation
...
- Allows to specify a list of django-apps to be "installed" alongside the plugin.
(cherry picked from commit 6c7296200d756d2acbba3a589a7759f3a690cc48)
2022-09-30 17:18:12 -04:00
jeremystretch
10352ff5ad
Merge branch 'develop' into feature
2022-09-30 17:17:18 -04:00
Arthur Hanson
af8bb0c4b9
10348 add decimal custom field ( #10422 )
...
* 10348 add decimal custom field
* 10348 fix tests
* 10348 add documentation
* Rearrange custom fields to be ordered consistently
* Rename number_field to integer_field for clarity
* Clean up validation logic
* Apply suggested changes from PR
* Store decimal custom field values natively
* Fix filter test
* Update custom field model migrations to use new encoder
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-30 16:03:24 -04:00
Jeremy Stretch
c95ad5b208
Merge pull request #10441 from netbox-community/9071-plugin-menu
...
9071 add header to plugin menu
2022-09-28 17:08:10 -04:00
jeremystretch
3fbd514417
Add test for plugin menu registration
2022-09-28 16:57:40 -04:00
jeremystretch
d0465242a3
Add documentation for PluginMenu
2022-09-28 16:44:16 -04:00
jeremystretch
db90b084cf
Enable plugins to create root-level navigation menus
2022-09-28 16:08:03 -04:00
Arthur Hanson
20e3fdc782
#9045 #9046 - remove legacy fields from Provider ( #10377 )
...
* #9045 - remove legacy fields from Provider
* Add safegaurd for legacy data to migration
* 9045 remove fields from forms and tables
* Update unrelated tests to use ASN model instead of Provider
* Fix migrations collision
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-28 15:22:19 -04:00
jeremystretch
f51415cf2c
Replace unique_together with UniqueConstraints
2022-09-27 15:35:24 -04:00
Arthur
b134d2a7b0
9071 fix test
2022-09-26 14:23:53 -07:00
jeremystretch
2463e4efd3
Fixes #10461 : Enable filtering by read-only custom fields in the UI
2022-09-26 16:42:11 -04:00
06dea8ef3f
WIP: Moving JobResults out of the admin panel
2022-09-23 13:44:24 +02:00
kkthxbye-code
cbb3378d10
Job Scheduling WIP
2022-09-23 06:45:40 +02:00
Arthur
e074570b8f
9071 add header to plugin menu
2022-09-22 10:01:19 -07:00
kkthxbye
25ac1edb48
Merge branch 'netbox-community:develop' into 8366-job-scheduling
2022-09-18 15:08:11 +02:00
kkthxbye-code
824b4e0923
Add scheduling for reports and scripts
2022-09-18 15:06:28 +02:00
Jeremy Stretch
7b4f5252f1
Merge pull request #10290 from kkthxbye-code/10258-nested-module-scripts
...
Fixes #10258 - Allow running scripts nested in modules/packages
2022-09-15 10:06:28 -04:00
kkthxbye-code
c335b76ec6
PEP8: Fix whitespace on blank line
2022-09-14 20:00:12 +02:00
kkthxbye-code
356ff457be
Allow reports to be nested in submodules
2022-09-14 19:57:37 +02:00
jeremystretch
f67cb71dbc
Fixes #10333 : Show available values for ui_visibility field of CustomField for CSV import
2022-09-12 10:36:19 -04:00
jeremystretch
2b2a41edd2
Enable cloning for custom fields & custom links
2022-09-09 16:51:18 -04:00
kkthxbye-code
f489ffa043
Allow running scripts nested in modules/packages
2022-09-07 22:33:24 +02:00
Arthur
def853e8c4
#10278 add get_extra_addanother_params
2022-09-07 10:40:24 -07:00
Andreas Nieß
b11fa53519
Closes #10231 : Add missing serializer annotations
2022-09-01 17:18:09 +02:00
Jeremy Stretch
d3f2d77961
Merge pull request #10187 from amhn/9895_Remove_JSONFieldInspector
...
9895 remove json field inspector
2022-08-30 14:21:02 -04:00
jeremystretch
14f79ef85a
Closes #10202 : Clean up TemplateColumn template code & accessors
2022-08-30 09:55:12 -04:00
Arthur
c8ee01ba0f
#10170 changes from codereview
2022-08-29 14:53:28 -07:00
Arthur
249b8b0363
#10170 changes from code review
2022-08-29 12:20:51 -07:00
Andreas Nieß
0b5478ad2d
Fixes #9895 : Change DictField serializers to JSONField
2022-08-29 08:02:38 +02:00
Arthur
cb6d8bf063
#10170 optimize change log queries
2022-08-26 10:46:47 -07:00