Commit Graph

4859 Commits

Author SHA1 Message Date
Jeremy Stretch
bae3c83a5b post_data(): Ignore iterables 2020-01-31 11:50:12 -05:00
Daniel Sheppard
4069103b2c Fix PEP8 errors and document functions 2020-01-31 10:05:57 -06:00
Daniel Sheppard
52c22d5f56 Fixes: #3961 - Edit migrate-to-systemd.md to closely match installation instructions under 3-http-daemon.md 2020-01-31 09:39:27 -06:00
Jeremy Stretch
4691e70ddf Add _get_url() for View test case 2020-01-31 10:30:13 -05:00
Jeremy Stretch
da1ca77c34 Move form/CSV data declaration under setUpTestData 2020-01-31 09:27:41 -05:00
Jeremy Stretch
8aa6a9bf99 Reorganize test classes to prevent unittest from running the base TestCases 2020-01-31 09:00:01 -05:00
Saria Hajjar
c10e960421 Set default config context format to JSON to maintain existing behavior 2020-01-31 11:11:42 +00:00
Jeremy Stretch
b1a38fe0da Added ViewTestCase (WIP) 2020-01-30 21:57:20 -05:00
Jeremy Stretch
bc590633b4 Introduced a custom model_to_dict() 2020-01-30 20:48:26 -05:00
Jeremy Stretch
22bd2b731a Fix headings 2020-01-30 20:05:27 -05:00
Jeremy Stretch
c40bc53e80 Convert view tests under extras to the new TestCase 2020-01-30 18:13:02 -05:00
Jeremy Stretch
965a807581 Use assertHttpStatus for evaluating HTTP response codes 2020-01-30 18:08:25 -05:00
Jeremy Stretch
eb69ea52f9 Refactor APITestCase to subclass TestCase 2020-01-30 17:57:34 -05:00
Jeremy Stretch
e09a53518f Merge pull request #4053 from netbox-community/4051-disable-makemigrations
Closes #4051: Disable the makemigrations management command
2020-01-30 16:50:40 -05:00
Jeremy Stretch
d23b234d4f Merge branch 'develop' into 4051-disable-makemigrations 2020-01-30 16:49:15 -05:00
Jeremy Stretch
2fea7657e6 Documented the new DEVELOPER configuration parameter 2020-01-30 16:47:44 -05:00
Jeremy Stretch
a57c38246a Migrate view tests to use new TestCase class 2020-01-30 16:37:40 -05:00
Jeremy Stretch
a9a622449f Introduced a custom TestCase 2020-01-30 16:19:51 -05:00
Jeremy Stretch
3846416492 Fixes #4030: Fix exception when bulk editing interfaces (revised) 2020-01-30 15:12:10 -05:00
Jeremy Stretch
1f4b5b506b Merge pull request #4050 from netbox-community/568-customfield-csv-import
Closes #568: Extend CSV import to support custom fields
2020-01-30 14:04:57 -05:00
agrrajag
50bed64791 Update 3-http-daemon.md (#4055)
There was no documentation to move back into the netbox folder after installing/configuring nginx. You would move into nginx on line 42 then try and figure out why you couldn't copy gunicorn on line 113.
2020-01-30 14:00:37 -05:00
Jeremy Stretch
afc8aa0bc5 Fixes #4052: Fix error when bulk importing interfaces to virtual machines 2020-01-30 13:55:39 -05:00
Jeremy Stretch
767ac3476f Fix VM interfaces table header alignment 2020-01-30 13:39:50 -05:00
Saria Hajjar
1d9b66cc4c Removed changelog to avoid merge conflicts 2020-01-30 18:29:08 +00:00
Saria Hajjar
779fde55bb Virtualization interfaces VLAN filtering 2020-01-30 18:26:30 +00:00
Saria Hajjar
3759254886 Corrected linter warning 2020-01-30 18:10:39 +00:00
Saria Hajjar
865b0970b4 Corrected changelog 2020-01-30 17:52:30 +00:00
Saria Hajjar
c2c4a8b075 Merge branch 'develop' into 2921-tags-select2 2020-01-30 17:51:55 +00:00
Saria Hajjar
8a8a8dbc3c Avoid overriding private attribute in super 2020-01-30 17:49:42 +00:00
Saria Hajjar
eba24c6faa Added TagFilterField to device components' filter forms 2020-01-30 17:45:03 +00:00
Jeremy Stretch
6e43e0fd49 Fixes #4056: Repair schema migration for Rack.outer_unit (from #3569) 2020-01-30 12:08:40 -05:00
Jeremy Stretch
1fbf137ccf Closes #4051: Disable the makemigrations management command 2020-01-30 10:12:53 -05:00
Jeremy Stretch
d473c4e682 Fixes #4049: Restore missing tags field in IPAM service serializer 2020-01-29 16:22:06 -05:00
Jeremy Stretch
10d3f71c93 Add tests for invalid import data 2020-01-29 16:07:32 -05:00
Jeremy Stretch
730eb47f25 Extend CSV import test 2020-01-29 15:34:55 -05:00
Jeremy Stretch
447240c801 Enable CSV import for custom fields 2020-01-29 14:29:47 -05:00
Dan Sheppard
9f0fbcfc91 Cleanup Imports 2020-01-29 12:55:19 -06:00
Dan Sheppard
4331082d82 Remove complex ordering for IP addresses
After review complex ordering does not appear to be required
2020-01-29 12:54:55 -06:00
Jeremy Stretch
d1b5e1a04d Introduced CustomFieldModelCSVForm 2020-01-29 13:53:26 -05:00
Dan Sheppard
f76396464f #4034 - Create tests for addresses 2020-01-29 12:52:48 -06:00
Jeremy Stretch
011256feee Fix assignment of initial CustomField values when editing an object 2020-01-29 13:31:36 -05:00
Jeremy Stretch
aa958955ae Remove get_custom_fields_for_model() 2020-01-29 12:12:47 -05:00
Jeremy Stretch
2054cd4e2f Move form field generation logic to CustomField class 2020-01-29 11:44:37 -05:00
Jeremy Stretch
47a857f472 Update release notes 2020-01-29 11:00:46 -05:00
Jeremy Stretch
098f47462c Rename and simplify CustomFieldChoiceField 2020-01-29 11:00:03 -05:00
Jeremy Stretch
0acc59db0c Rename and refactor CustomFieldForm 2020-01-29 10:59:18 -05:00
Jeremy Stretch
36df544f09 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
Jeremy Stretch
91d2fb17f2 Merge pull request #4037 from newlandk/patch-1
Fixes #4039: LDAP Documentation
2020-01-29 10:09:07 -05:00
Jeremy Stretch
bbca6de77f Fixes #4043: Fix toggling of required fields in custom scripts 2020-01-29 09:40:17 -05:00
Jeremy Stretch
7243f5afea Merge pull request #4023 from smutel/UpdateDoc
Fixes #4024: Update nginx documentation
2020-01-29 09:29:50 -05:00