Jeremy Stretch
|
fec3ee6f08
|
Closes #4835: Support passing multiple initial values for multiple choice fields
|
2020-07-08 12:50:12 -04:00 |
|
Jeremy Stretch
|
f98fa364c0
|
Merge branch 'develop-2.9' into 2006-scripts-reports-background
|
2020-07-02 11:00:59 -04:00 |
|
Jeremy Stretch
|
4613b69c28
|
Extend GetReturnURLMixin to automatically resolve default return URL for querysets
|
2020-07-01 11:50:31 -04:00 |
|
John Anderson
|
3777fbccc3
|
Implements #2006 - run reports and scripts in the background
|
2020-06-29 03:50:05 -04:00 |
|
Jeremy Stretch
|
86d1370512
|
Apply restrict_form_fields() to import views
|
2020-06-26 16:26:22 -04:00 |
|
Jeremy Stretch
|
9a1531442a
|
Apply restrict_form_fields() to bulk edit views
|
2020-06-26 15:11:05 -04:00 |
|
Jeremy Stretch
|
edc65a6a34
|
Introduce restrict_form_fields() to automatically restrict field querysets based on user
|
2020-06-26 13:59:53 -04:00 |
|
Jeremy Stretch
|
1dbae5b64c
|
Closes #4792: Add bulk rename capability for console and power ports
|
2020-06-25 14:18:29 -04:00 |
|
Jeremy Stretch
|
909ddd653c
|
Extend ObjectView to provide a default get() method
|
2020-06-25 10:53:00 -04:00 |
|
Jeremy Stretch
|
052555c3f7
|
Add bulk renaming function for VM interfaces
|
2020-06-24 10:02:40 -04:00 |
|
Jeremy Stretch
|
88bf183af5
|
Merge branch 'develop' into develop-2.9
|
2020-06-18 13:20:32 -04:00 |
|
Jeremy Stretch
|
c5dc075fb0
|
Fixes #4775: Allow selecting an alternate device type when creating component templates
|
2020-06-18 11:59:24 -04:00 |
|
Jeremy Stretch
|
360c56ec34
|
Fix permission evaluation for BulkComponentCreateViews
|
2020-06-17 13:30:00 -04:00 |
|
Jeremy Stretch
|
b318bde76c
|
Fix queryset reference under BulkDeleteView
|
2020-06-16 16:40:16 -04:00 |
|
Jeremy Stretch
|
e917535380
|
Merge branch 'develop' into develop-2.9
|
2020-06-15 16:04:32 -04:00 |
|
Jeremy Stretch
|
57cfb4ed7e
|
Fixes #4760: Enable power port template assignment when bulk editing power outlet templates
|
2020-06-15 13:18:26 -04:00 |
|
Jeremy Stretch
|
9b48a26aef
|
Merge pull request #4723 from jsenecal/4615_interface_label
Closes: #4615 Physical labels
|
2020-06-11 13:03:46 -04:00 |
|
Jonathan Senecal
|
25cbab2ea4
|
Avoid checking field twice on all iterations
Yields a small performance improvement
Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
|
2020-06-10 22:16:46 -04:00 |
|
Jonathan Senecal
|
81d08ac50b
|
Stay consistent with codebase: i vs pos
|
2020-06-10 16:41:52 -04:00 |
|
Jonathan Senecal
|
286a3e6ca2
|
Add label to forms, views and templates
|
2020-06-05 13:59:59 -04:00 |
|
Jeremy Stretch
|
e463430d51
|
Change CableCreateView to use ObjectEditView
|
2020-06-02 15:15:57 -04:00 |
|
Jeremy Stretch
|
cae412d280
|
Update ObjectImportView to support ObjectPermissions
|
2020-06-02 14:23:04 -04:00 |
|
Jeremy Stretch
|
85e932bfc1
|
Clean up permissions utility functions
|
2020-06-02 09:31:59 -04:00 |
|
Jeremy Stretch
|
3a9512f086
|
Refine queryset restriction logic
|
2020-06-01 13:09:34 -04:00 |
|
Jeremy Stretch
|
5574aaa8cb
|
Tweak restrict() to accept only an action keyword
|
2020-06-01 10:45:49 -04:00 |
|
Jeremy Stretch
|
5b6a6fb63e
|
Move restrict_queryset() function to RestrictedQuerySet
|
2020-05-29 15:09:08 -04:00 |
|
Jeremy Stretch
|
58989b85c8
|
Introduce restrict_queryset()
|
2020-05-29 14:12:24 -04:00 |
|
Jeremy Stretch
|
73b7eb0c7f
|
Skip queryset filtering for superusers
|
2020-05-28 13:25:12 -04:00 |
|
Jeremy Stretch
|
5dddf6846b
|
Disable built-in model permissions
|
2020-05-27 10:48:56 -04:00 |
|
Jeremy Stretch
|
03da9348e5
|
Merge branch 'develop-2.9' into 554-object-permissions
|
2020-05-26 16:42:39 -04:00 |
|
Jeremy Stretch
|
ae7445ee8e
|
Test object permissions for individual/list model views
|
2020-05-22 14:53:52 -04:00 |
|
Jeremy Stretch
|
3ef4287d57
|
Add additional_permissions to ObjectPermissionRequiredMixin
|
2020-05-22 12:41:20 -04:00 |
|
Jeremy Stretch
|
7e64d3e653
|
Transition BulkComponentCreateView to use ObjectPermissionRequiredMixin
|
2020-05-22 09:23:00 -04:00 |
|
Jeremy Stretch
|
f36c797e98
|
Transition ComponentCreateView to use ObjectPermissionRequiredMixin
|
2020-05-21 16:28:11 -04:00 |
|
Jeremy Stretch
|
af8e1a6472
|
Strip 'param' indicators from docstrings
|
2020-05-21 16:00:18 -04:00 |
|
Jeremy Stretch
|
91362b0f82
|
Transition BulkCreateView to use ObjectPermissionRequiredMixin
|
2020-05-21 15:53:50 -04:00 |
|
Jeremy Stretch
|
e61fc1f709
|
Introduce ObjectView to enforce object-level permissions for individual object views
|
2020-05-21 15:53:00 -04:00 |
|
Jeremy Stretch
|
8fd860a413
|
Transition BulkDeleteView to use ObjectPermissionRequiredMixin
|
2020-05-21 15:14:29 -04:00 |
|
Jeremy Stretch
|
82c247f3cf
|
Transition BulkEditView to use ObjectPermissionRequiredMixin
|
2020-05-21 15:07:20 -04:00 |
|
Jeremy Stretch
|
5e5038d780
|
Transition BulkImportView to use ObjectPermissionRequiredMixin
|
2020-05-21 14:43:27 -04:00 |
|
Jeremy Stretch
|
2b32430a10
|
Transition ObjectDeleteView to use ObjectPermissionRequiredMixin
|
2020-05-21 14:34:40 -04:00 |
|
Jeremy Stretch
|
5381c4e0ae
|
Tweak evaluation of required permission for ObjectEditView
|
2020-05-21 14:26:56 -04:00 |
|
Jeremy Stretch
|
406b076b95
|
Transition ObjectEditView to use ObjectPermissionRequiredMixin
|
2020-05-21 13:59:19 -04:00 |
|
Jeremy Stretch
|
993ee8c900
|
Transition ObjectListView to use ObjectPermissionRequiredMixin
|
2020-05-21 13:22:09 -04:00 |
|
Jeremy Stretch
|
cc6e74dfd5
|
Move ObjectPermissionRequiredMixin to utilities.views
|
2020-05-21 13:12:15 -04:00 |
|
Jeremy Stretch
|
40c590f445
|
Add queryset to all BulkImportViews
|
2020-05-21 12:01:42 -04:00 |
|
Jeremy Stretch
|
5486cff441
|
Add object permission support, tests for bulk import/edit/delete views
|
2020-05-21 11:49:50 -04:00 |
|
Jeremy Stretch
|
f3b22acc9a
|
Merge branch 'develop' into develop-2.9
|
2020-05-15 11:29:07 -04:00 |
|
Jeremy Stretch
|
63f842c7db
|
Implement ObjectPermissionManager
|
2020-05-11 16:02:42 -04:00 |
|
Jeremy Stretch
|
3abb52a085
|
#4624: Refactor ObjectDeleteView to use a queryset
|
2020-05-11 12:47:01 -04:00 |
|
Jeremy Stretch
|
87fa6bc252
|
#4624: Refactor ObjectEditView to use a queryset
|
2020-05-11 12:37:22 -04:00 |
|
Jeremy Stretch
|
5c1adf9e37
|
Fixes #4593: Fix AttributeError exception when viewing object lists as a non-authenticated user
|
2020-05-06 23:44:06 -04:00 |
|
Jeremy Stretch
|
9312dea2b2
|
Merge pull request #4564 from netbox-community/3147-csv-import-fields
Closes #3147: Allow dynamic access to related objects during CSV import
|
2020-05-06 10:15:00 -04:00 |
|
Jeremy Stretch
|
839e999a71
|
Introduce CSVModelForm for dynamic CSV imports
|
2020-05-05 16:15:09 -04:00 |
|
Jeremy Stretch
|
61ae4be16a
|
Add tests for CSVDataField
|
2020-05-01 13:32:28 -04:00 |
|
Jeremy Stretch
|
34a17d4571
|
Enable the specifcation of related objects by arbitrary attribute during CSV import
|
2020-05-01 12:18:04 -04:00 |
|
Jeremy Stretch
|
f51e7519dc
|
Enable reordering table columns
|
2020-04-28 14:27:27 -04:00 |
|
Jeremy Stretch
|
3442ec77a7
|
Enable setting/clearing of table column prefs
|
2020-04-28 13:21:58 -04:00 |
|
Jeremy Stretch
|
e8d493578b
|
Create form for setting table preferences
|
2020-04-28 12:14:51 -04:00 |
|
Jeremy Stretch
|
0ee1112d9d
|
Initial support for table column reordering
|
2020-04-27 16:56:25 -04:00 |
|
Jeremy Stretch
|
30c3d6ee40
|
Remember user's per_page preference (POC for UserConfig)
|
2020-04-23 16:48:13 -04:00 |
|
Jeremy Stretch
|
7b50f2b0eb
|
Fix tag assignment when bulk creating components
|
2020-04-22 14:05:27 -04:00 |
|
Jeremy Stretch
|
0de857bf7a
|
Merge branch 'develop' into develop-2.8
|
2020-03-10 15:06:37 -04:00 |
|
Jeremy Stretch
|
947affd78f
|
Extend BulkImportView._save_obj to pass request context
|
2020-03-09 12:39:07 -04:00 |
|
Jeremy Stretch
|
2bd3f1fcc3
|
Merge pull request #4315 from netbox-community/4195-application-logging
Closes #4195: Application logging
|
2020-03-04 14:39:12 -05:00 |
|
Jeremy Stretch
|
7b6bd75c22
|
#4295 follow-up: Tweak handling of initial data for bulk edit forms
|
2020-03-03 09:43:56 -05:00 |
|
Jeremy Stretch
|
ca1186dca1
|
Add logging output to utility views
|
2020-03-02 16:38:51 -05:00 |
|
Jeremy Stretch
|
e285d0b547
|
Remove obsolete querydict_to_dict() utility function
|
2020-02-28 15:47:59 -05:00 |
|
Jeremy Stretch
|
1449dfc966
|
Fixes #4295: Fix assignment of parent LAG during interface bulk edit
|
2020-02-28 09:44:41 -05:00 |
|
Jeremy Stretch
|
1c72d75b62
|
Fixes #4239: Fix exception when selecting all filtered objects during bulk edit
|
2020-02-21 20:44:53 -05:00 |
|
Jeremy Stretch
|
f05c7be394
|
Fixes #4204: Fix assignment of mask length when bulk editing prefixes
|
2020-02-19 13:28:07 -05:00 |
|
Jeremy Stretch
|
1a8eea5aa9
|
Fixes #4175: Fix potential exception when bulk editing objects from a filtered list
|
2020-02-14 14:27:47 -05:00 |
|
Jeremy Stretch
|
fff657cd5a
|
Migrate DCIM views to use common object list template
|
2020-02-13 14:07:15 -05:00 |
|
Jeremy Stretch
|
c5f74cce80
|
Introduce a common template for object list views
|
2020-02-13 13:29:50 -05:00 |
|
Jeremy Stretch
|
d400f92ee8
|
Overhaul device component template creation views/URLs
|
2020-02-06 13:13:40 -05:00 |
|
Jeremy Stretch
|
a2475ee501
|
Remove obsolete ComponentForm
|
2020-02-06 11:36:25 -05:00 |
|
Jeremy Stretch
|
75906f7591
|
Move component bulk creation views to new URLs
|
2020-02-05 12:36:38 -05:00 |
|
Jeremy Stretch
|
f8ce67c69f
|
Tweak BulkEditView to improve handling of initial PK values
|
2020-02-05 09:56:49 -05:00 |
|
Jeremy Stretch
|
f805b57778
|
Adapt BulkEditView to not require a parent object for device components
|
2020-02-04 18:08:40 -05:00 |
|
Jeremy Stretch
|
c1639b7781
|
Move component bulk delete views to new URLs
|
2020-02-04 16:06:55 -05:00 |
|
Jeremy Stretch
|
cbe090cd3c
|
Fixes #4084: Fix exception when creating an interface with tagged VLANs
|
2020-02-04 11:47:14 -05:00 |
|
Jeremy Stretch
|
c3a6a4520a
|
#3894 follow-up
|
2020-02-04 10:09:22 -05:00 |
|
Jeremy Stretch
|
0d41d12267
|
Merge branch 'develop' into 2921-tags-select2
|
2020-02-04 09:37:31 -05:00 |
|
Jeremy Stretch
|
4aa694f044
|
Skip non-model fields when applying bulk changes
|
2020-02-03 13:07:46 -05:00 |
|
Jeremy Stretch
|
1a25f5a7f2
|
Fixes #4030: Fix exception when bulk editing interfaces (revised)
|
2020-01-30 15:12:10 -05:00 |
|
Saria Hajjar
|
bed08a7b07
|
Use model's get_custom_fields
|
2020-01-23 20:26:21 +00:00 |
|
Saria Hajjar
|
0ab19d723d
|
Moved the header join logic after the custom fields are added
|
2020-01-23 17:18:58 +00:00 |
|
Saria Hajjar
|
89e6de3652
|
Merge branch 'develop' into 568-csv-import-cf
|
2020-01-16 16:05:01 +00:00 |
|
Saria Hajjar
|
2949bfaaa7
|
Merge branch 'develop' into 2921-tags-select2
|
2020-01-16 15:33:42 +00:00 |
|
Jeremy Stretch
|
0dad9f8901
|
Change DeviceType export from CSV to YAML
|
2020-01-13 15:10:16 -05:00 |
|
Saria Hajjar
|
a8d9fe799b
|
Removed tags filter field from view
|
2020-01-13 19:06:05 +00:00 |
|
Saria Hajjar
|
834fd408bd
|
Fixes #2921: Replace tags filter with Select2 widget
|
2020-01-11 15:18:27 +00:00 |
|
Saria Hajjar
|
f1d5e28f13
|
CSV import/export custom fields
|
2020-01-10 14:26:39 +00:00 |
|
Jeremy Stretch
|
da0ac4ff1e
|
Rename filter variables for utility views
|
2020-01-09 20:57:13 -05:00 |
|
Jeremy Stretch
|
ce4a5a38a3
|
Introduce is_taggable utility function for identifying taggable models
|
2019-12-11 15:52:35 -05:00 |
|
kobayashi
|
5710f297f1
|
implement 3664
|
2019-12-11 04:58:42 -05:00 |
|
Jeremy Stretch
|
2956eff051
|
Closes #648: Pre-populate forms when selecting "create and add another"
|
2019-12-06 16:40:39 -05:00 |
|
Jeremy Stretch
|
6892b79366
|
Enforce object creation permissions
|
2019-10-01 16:54:10 -04:00 |
|
Jeremy Stretch
|
ee4e68b082
|
Rewrote test for DeviceType import
|
2019-10-01 16:36:31 -04:00 |
|
Jeremy Stretch
|
edc1b52f65
|
Adopted a different approach to importing related objects
|
2019-09-27 16:51:12 -04:00 |
|