1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

648 Commits

Author SHA1 Message Date
75906f7591 Move component bulk creation views to new URLs 2020-02-05 12:36:38 -05:00
6b9fa5e76f Enable tests for component bulk edit views 2020-02-05 11:14:07 -05:00
f8ce67c69f Tweak BulkEditView to improve handling of initial PK values 2020-02-05 09:56:49 -05:00
f805b57778 Adapt BulkEditView to not require a parent object for device components 2020-02-04 18:08:40 -05:00
3e79b9d26a Add InterfaceTestCase for virtual machines 2020-02-04 16:40:18 -05:00
c1639b7781 Move component bulk delete views to new URLs 2020-02-04 16:06:55 -05:00
cbe090cd3c Fixes #4084: Fix exception when creating an interface with tagged VLANs 2020-02-04 11:47:14 -05:00
c3a6a4520a #3894 follow-up 2020-02-04 10:09:22 -05:00
0d41d12267 Merge branch 'develop' into 2921-tags-select2 2020-02-04 09:37:31 -05:00
ed99158391 Merge branch 'develop' into 3313-config-context-gui 2020-02-03 16:07:15 -05:00
d431efb7d4 Add bulk edit view tests 2020-02-03 13:53:19 -05:00
4aa694f044 Skip non-model fields when applying bulk changes 2020-02-03 13:07:46 -05:00
24ab082674 Add bulk delete view tests 2020-02-03 10:04:09 -05:00
5386ed438e Extend standard view test case to validate built-in CSV export 2020-01-31 17:09:50 -05:00
ce081a6e15 Merge pull request #4072 from netbox-community/4000-view-tests
Closes #4000: Add tests for the create, edit, and delete views of all models
2020-01-31 16:07:32 -05:00
250bda2bf6 Extend and correct evaluation of view permissions 2020-01-31 14:13:30 -05:00
936e3424bb Refactor model_to_dict() to better handle tags 2020-01-31 14:12:48 -05:00
c9d0dcecf3 model_to_dict(): Convert object lists to PK lists 2020-01-31 13:44:34 -05:00
a208cbdf0b model_to_dict(): Remove fields that start with an underscore 2020-01-31 12:14:51 -05:00
6a17be740b post_data(): Ignore iterables 2020-01-31 11:50:12 -05:00
7daf1df22d Add _get_url() for View test case 2020-01-31 10:30:13 -05:00
78d43a5d66 Move form/CSV data declaration under setUpTestData 2020-01-31 09:27:41 -05:00
939b5f2e29 Reorganize test classes to prevent unittest from running the base TestCases 2020-01-31 09:00:01 -05:00
98cce7eee4 Added ViewTestCase (WIP) 2020-01-30 21:57:20 -05:00
e01c984c01 Introduced a custom model_to_dict() 2020-01-30 20:48:26 -05:00
179abcc79d Refactor APITestCase to subclass TestCase 2020-01-30 17:57:34 -05:00
ac27759250 Merge branch 'develop' into 4051-disable-makemigrations 2020-01-30 16:49:15 -05:00
43b2c36066 Introduced a custom TestCase 2020-01-30 16:19:51 -05:00
1a25f5a7f2 Fixes #4030: Fix exception when bulk editing interfaces (revised) 2020-01-30 15:12:10 -05:00
52f7ef4864 Merge branch 'develop' into 2921-tags-select2 2020-01-30 17:51:55 +00:00
5879671971 Avoid overriding private attribute in super 2020-01-30 17:49:42 +00:00
4ba2579936 Closes #4051: Disable the makemigrations management command 2020-01-30 10:12:53 -05:00
193435b554 Enable CSV import for custom fields 2020-01-29 14:29:47 -05:00
f12199dcb5 Rename and simplify CustomFieldChoiceField 2020-01-29 11:00:03 -05:00
db3b4505c1 Merge pull request #3885 from hSaria/568-csv-import-cf
Fixes #568: CSV import/export of custom fields
2020-01-29 10:11:40 -05:00
00b50f9c65 Remove obsolete constants 2020-01-27 12:34:52 -05:00
724d3b8894 Fixes #3313: YAML-format the config context in the GUI 2020-01-25 15:56:24 +00:00
ca035a72bd Merge branch 'develop' into 2921-tags-select2 2020-01-24 20:56:36 +00:00
deb653cbf3 Merge branch 'develop' into 3840-limit-vlan-choices 2020-01-24 20:54:56 +00:00
096814dc33 #3880: Define constants for arbitrary values 2020-01-24 14:42:57 -05:00
cdecf93f00 Add tests for ChoiceSet 2020-01-23 16:19:34 -05:00
fe402331f2 Handle grouped choices when returning ChoiceSet values 2020-01-23 16:16:52 -05:00
06398a9ac6 Merge branch 'develop' into 568-csv-import-cf 2020-01-23 20:27:07 +00:00
bed08a7b07 Use model's get_custom_fields 2020-01-23 20:26:21 +00:00
8f86244b4f Cleaned the CustomField choice field 2020-01-23 18:54:37 +00:00
0a5eecd0e3 Explicitly use the value of the choice, instead of relying on __str__ 2020-01-23 17:37:51 +00:00
0ab19d723d Moved the header join logic after the custom fields are added 2020-01-23 17:18:58 +00:00
ba6df87d10 Move min/max prefix length validators to ipam.validators 2020-01-22 16:26:06 -05:00
bdfead6265 Merge branch 'develop' into 568-csv-import-cf 2020-01-21 21:30:38 +00:00
77c8bcef6d Merge branch 'develop' into 2921-tags-select2 2020-01-21 21:29:21 +00:00