John Anderson
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
Jeremy Stretch
3bb3b85fa2
Merged v2.5.13
2019-05-31 21:37:41 -04:00
hellerve
f9cd89a4a4
urls: fix 3168 by changing url to path
2019-05-26 14:56:00 +02:00
Jeremy Stretch
e19feb92ea
Move TenancyFilterForm to tenancy.forms
2019-05-09 14:36:18 -04:00
Jeremy Stretch
fbde6282b2
Cleanup from #2931
2019-05-09 14:32:49 -04:00
Jeremy Stretch
dfffd1ea94
Restore id__in filters to retain backward compatability until v2.7
2019-05-08 21:08:35 -04:00
Jeremy Stretch
205adeb2e9
Remove NullableCharFieldFilter; add missing filter fields
2019-05-07 13:59:21 -04:00
Jeremy Stretch
3d616baf75
Remove NumericInFilter and id__in filters
2019-05-07 13:07:18 -04:00
Jeremy Stretch
6cb5173e27
Update query filters to OR multiple values
2019-05-07 12:25:33 -04:00
dansheps
22e5834d8b
Remove tenant group from ipam table
2019-04-30 10:06:27 -05:00
Jeremy Stretch
c2d0e8fd95
Cleanup from earlier work on caching
2019-04-22 14:49:31 -04:00
Jeremy Stretch
017a5011ec
Added '*_count' fields for child objects
2019-04-19 16:50:42 -04:00
John Anderson
2580b026fe
change cacheing to use cacheops
2019-04-17 12:29:21 -04:00
John Anderson
4723ddb5ce
move caching to views
2019-04-15 14:41:04 -04:00
John Anderson
f0505477b8
intial work on #2647 - caching
2019-04-15 03:55:33 -04:00
Jeremy Stretch
a46b43bff6
Added child counts to API serializers (WIP)
2019-04-12 17:07:56 -04:00
Jeremy Stretch
e710ccb0e6
Enforce view permissions for UI views
2019-04-11 17:27:38 -04:00
dansheps
6fa54bed73
Fix PEP8 Errors
2019-04-10 08:42:27 -05:00
dansheps
6e8e6809f3
Move Filter and Form to new file, update all files
2019-04-10 08:37:12 -05:00
dansheps
a91a79681f
Merge branch 'develop' of https://github.com/digitalocean/netbox into 2813-addtenantgroupfilter
2019-04-09 15:57:22 -05:00
Jeremy Stretch
f1d1e8b537
Update migrations
2019-04-09 14:22:45 -04:00
Jeremy Stretch
4f9b666eee
Merge branch 'develop' into develop-2.6
2019-04-09 14:11:26 -04:00
Jeremy Stretch
9a91bdbdb2
Fixes #2937 : Redirect to list view after editing an object from list view
2019-04-08 14:10:55 -04:00
Jeremy Stretch
0b95016e00
Merge branch 'develop' into develop-2.6
2019-03-11 21:01:18 -04:00
dansheps
c208d8fc2e
* Added CSS to:
...
* Hide URLs
* Hide elements with "noprint" class
* Added noprint to:
* Header Panel
* Search Panel, Tags Panel
* Buttons
* Various list elements
* Related elements
2019-03-05 15:42:47 -06:00
Jeremy Stretch
8a1d7fdb37
Updated migrations to account for extras/0017_exporttemplate_mime_type_length
2019-03-05 13:46:37 -05:00
dansheps
3bb1cbcdb0
* Resolve conflict with virtualization filters.
2019-03-05 08:18:04 -06:00
dansheps
b4d7f9ea43
Fixes #2781 : Fixes filter by regions on site and device list
...
* Add Device filter
2019-03-05 08:10:10 -06:00
John Anderson
11976f8968
Merge branch 'develop' into develop-2.6
2019-03-03 19:06:15 -05:00
John Anderson
b381bdec27
fixes #2952 - slug field absent from TenantFilter
2019-03-03 18:52:57 -05:00
dansheps
8683efe54a
Fixes #2813 : Add Filter and List View for TenantGroup
...
Added Filter for TenantGroup to the following Forms and Filter classes
* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackElevation
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
Added List View to the following classes:
* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
2019-02-23 11:09:02 -06:00
John Anderson
b9d11aa4ca
refactor tag migrations and add changelog fields to tag
2019-02-22 01:32:31 -05:00
John Anderson
fc2bb724fa
initial pass on migrating to custom tag model with color and comments fields
2019-02-20 03:52:47 -05:00
Jeremy Stretch
9d69f14faa
Implement basic view testing for all models ( #2909 )
2019-02-15 17:02:18 -05:00
John Anderson
613e8f05c2
fixes #2835 - certain model filters did not support the q query param
2019-01-31 13:36:30 -05:00
John Anderson
86bafbb760
Tenancy Select2 forms
2019-01-09 23:33:08 -05:00
John Anderson
c27cea981c
select2 for all create/edit forms in dcim
2019-01-04 14:41:36 -05:00
Jeremy Stretch
4da755e75f
Formatting cleanup
2018-11-27 11:57:29 -05:00
Jeremy Stretch
bd7aee7c1f
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
Jeremy Stretch
bc8dbfde7c
Merge branch 'develop' into develop-2.5
2018-11-12 16:03:52 -05:00
Jeremy Stretch
0c33af2140
Fixes #2558 : Filter on all tags when multiple are passed
2018-11-12 15:48:58 -05:00
Jeremy Stretch
75f0d8ee90
Closes #2578 : Reorganized nested serializers
2018-11-12 11:36:44 -05:00
Jeremy Stretch
f8a961b568
Cleaned up import statements
2018-11-02 15:20:08 -04:00
Jeremy Stretch
516faac73f
Fixed deprecation warnings from DRF 3.9
2018-11-02 13:48:44 -04:00
Jeremy Stretch
29d546a3f1
Upgraded django-filter to 2.0.0
2018-11-02 13:46:28 -04:00
Jeremy Stretch
22ed4f1b53
Merge release v2.4.6
2018-10-10 09:36:51 -04:00
Jeremy Stretch
259da2d18a
#2487 : Added API tests
2018-10-04 16:20:01 -04:00
Jeremy Stretch
364bbdeab8
Merged release v2.4.5
2018-10-03 11:23:21 -04:00
Jeremy Stretch
aed2a3cd1b
Closes #2438 : API optimizations for tagged objects
2018-09-28 16:44:05 -04:00
Jeremy Stretch
980d62d579
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00