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

185 Commits

Author SHA1 Message Date
4f00b5af4a Miscellaneous RestrictedQuerySet cleanup 2020-07-09 15:11:18 -04:00
85b284be54 Fix permissions evaluation for available IPs endpoint 2020-07-08 09:31:10 -04:00
15f5719f44 Remove unused class IPAddressInterfaceSerializer 2020-07-06 16:51:23 -04:00
924f319343 Closes #4806: Add a url field to all API serializers 2020-07-06 16:41:08 -04:00
eb45ad600e Fix evaluation of RestrictedQuerySets 2020-06-29 11:35:13 -04:00
7b24984280 Update IPAddressSerializer 2020-06-22 15:39:57 -04:00
31bb70d9a2 Fixed IPAM tests 2020-06-22 14:46:25 -04:00
2d4694e72d Merge pull request #4770 from netbox-community/3703-limit-tag-creation
Closes #3703: Restrict tag creation
2020-06-17 12:28:04 -04:00
448dc1442c Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer 2020-06-17 09:57:17 -04:00
e917535380 Merge branch 'develop' into develop-2.9 2020-06-15 16:04:32 -04:00
1f727f565f Adopted fix from #4743 and updated API tests 2020-06-10 16:11:28 -04:00
9fd36279ab Fixes #4743: Allow users to create "next available" IPs without needing permission to create prefixes 2020-06-10 16:06:11 -04:00
ecd3963b7c Merge pull request #4718 from netbox-community/4674-drf_yasg_definitions
Fixes #4674 - Fix available-ips and available-prefixes swagger definitions
2020-06-08 16:59:04 -04:00
e616aad911 Fixes #4725: Fix "brief" rendering of various REST API endpoints 2020-06-05 15:49:06 -04:00
5330914431 #4674 - Correct many=False to many=True on the response serializers 2020-06-04 09:42:00 -05:00
927c012fc9 #4674 - Fix available-ips and available-prefixes swagger definitions 2020-06-04 09:35:58 -05:00
56f6698ba5 Fixes #4707: Fix prefix_count population on VLAN API serializer 2020-06-02 13:40:14 -04:00
cc721efe97 Fixes #3356: Correct Swagger schema specification for the available prefixes/IPs API endpoints 2020-04-21 14:12:49 -04:00
e0f819691f Fixes #4496: Fix exception when validating certain models via REST API 2020-04-15 09:37:30 -04:00
901143b72a Merge branch 'develop' into develop-2.8 2020-03-16 12:17:00 -04:00
7ef9a6c0a7 Fixes #2769: improve prefix_length validations 2020-03-16 03:20:15 -04:00
cebe580484 Add a description field to all organizational models 2020-03-13 16:33:28 -04:00
ea9de37dd1 Remove FieldChoicesViewSet 2020-03-12 10:48:17 -04:00
2e83ce76ed Fix race condition in available-prefix/ip APIs
Implement advisory lock to prevent duplicate records being inserted
when making simultaneous calls. Fixes #2519
2020-02-11 13:36:52 -08:00
7388fa3556 Fixes #4083: Permit nullifying applicable choice fields via API requests 2020-02-10 15:10:33 -05:00
a58bbccfd3 Fixes #4094: Convert unnecessary regular expressions to strings in URL patterns 2020-02-05 16:12:48 -05:00
03087e9d01 Fixes #4049: Restore missing tags field in IPAM service serializer 2020-01-29 16:22:06 -05:00
fdf8211e9a Fixes #3930: Fix API rendering of the family field for aggregates 2020-01-15 13:56:37 -05:00
49f027fae7 Refactor FieldChoicesViewSet; add Interface.type to virtualization _choices endpoint 2020-01-15 09:59:44 -05:00
83c0d1ef44 Renamed ipam FilterSets 2020-01-09 20:37:26 -05:00
7845d9b25f Add description field to Role model (#3655) 2019-12-10 12:59:10 -05:00
4ecbfc4e5e Service.protocol to slug (#3569) 2019-11-27 22:27:06 -05:00
213bd1555a VLAN.status to slug (#3569) 2019-11-27 22:15:59 -05:00
14a7a33cc2 IPAddress.role to slug (#3569) 2019-11-27 22:09:16 -05:00
ba8f324b12 IPAddress.status to slug (#3569) 2019-11-27 21:54:01 -05:00
929c0648d0 Prefix.status to slug (#3569) 2019-11-27 21:46:53 -05:00
ade844f7a7 fixes #3428 - caching invalidation issues
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
a026ec45b8 Closes #166: Add dns_name to IPAddress 2019-04-22 18:10:28 -04:00
46b3512c45 Remove extraneous imports 2019-04-19 16:58:39 -04:00
017a5011ec Added '*_count' fields for child objects 2019-04-19 16:50:42 -04:00
f4bbdf30e8 Implement get_subquery() for annotation of child object counts; Rename dcim.Site 'count_*' fields 2019-04-19 16:09:22 -04:00
ad4d23fa20 Replace distinct annotations with subqueries for much better performance 2019-04-12 17:18:04 -04:00
a46b43bff6 Added child counts to API serializers (WIP) 2019-04-12 17:07:56 -04:00
fc76c8eb0f FieldChoicesViewSet should infer field choices from serializer, not model 2019-03-22 16:24:53 -04:00
bd7aee7c1f Closes #2614: Simplify calls of super() for Python 3 2018-11-27 10:52:24 -05:00
89622f1ddf Fixes #2602: Return HTTP 204 when no new IPs/prefixes are available for provisioning 2018-11-20 13:03:59 -05:00
75f0d8ee90 Closes #2578: Reorganized nested serializers 2018-11-12 11:36:44 -05:00
516faac73f Fixed deprecation warnings from DRF 3.9 2018-11-02 13:48:44 -04:00
29d546a3f1 Upgraded django-filter to 2.0.0 2018-11-02 13:46:28 -04:00
364bbdeab8 Merged release v2.4.5 2018-10-03 11:23:21 -04:00