Jeremy Stretch
78c45e23b1
Merge branch 'feature' into 6651-plugins-rq-queues
2021-07-09 08:43:39 -04:00
Hans Erasmus
239a661a2a
Update 3-netbox.md
2021-07-09 11:43:50 +02:00
maximumG
d47c3d805d
chore: avoid the default RQ worker to listen to every queues by default and rather only listen to netbox core queues.
2021-07-09 10:03:51 +02:00
maximumG
4c9de9d117
chore: documentation about netbox plugin queueing system
2021-07-09 09:42:03 +02:00
Tobias Genannt
15bc6c74b2
Only check REMOTE_AUTH_BACKEND in API token auth
2021-07-09 08:14:45 +02:00
Tobias Genannt
3b28ef7680
Load LDAP groups for API token authenticated users
...
When users are authenticated with an API token not all permissions where
assigned to the session because the LDAP group memberships where not
available.
Now the information is loaded from the directory if the user is found.
If not the local group memberships are used.
2021-07-09 08:14:45 +02:00
Tobias Genannt
c0ddb2092c
Fixed bug for users authenticated with API token
...
This prevents a crash when the current user has authenticated himself
with an API token. In this case the user will not have the permissions
given to his LDAP groups.
2021-07-09 08:14:45 +02:00
Tobias Genannt
fa94b80a13
Fix error when running scripts
...
This fixes the error Can't pickle local object 'LDAPBackend.__new__.<locals>.NBLDAPBackend'
2021-07-09 08:14:45 +02:00
Tobias Genannt
f55cf993dd
Use method from parent class
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2021-07-09 08:14:45 +02:00
Tobias Genannt
911cbf2b18
Fixes #5442 : Use LDAP groups to find permissions
...
When AUTH_LDAP_FIND_GROUP_PERMS is set to true the filter to find the
users permissions is extended to search for all permissions assigned to
groups in which the LDAP user is.
2021-07-09 08:14:45 +02:00
jeremystretch
e906855e22
Closes #5223 : Remove the console/power/interface connections REST API endpoints
2021-07-08 17:30:40 -04:00
jeremystretch
4af19267db
Merge v2.11.9
2021-07-08 12:15:57 -04:00
jeremystretch
4c586ad2ba
PRVB
2021-07-08 09:21:35 -04:00
Jeremy Stretch
6f85008a87
Merge pull request #6723 from netbox-community/develop
...
Release v2.11.9
2021-07-08 09:18:11 -04:00
jeremystretch
69dbf6fab4
Release v2.11.9
2021-07-08 09:01:40 -04:00
jeremystretch
aea4dc0bc3
Fixes #6456 : API schema type should be boolean for _occupied on cable termination models
2021-07-08 08:41:59 -04:00
Jeremy Stretch
8333863801
Merge pull request #6717 from netbox-community/6713-release-checking
...
Closes #6713 : Move release checking to the housekeeping routine
2021-07-07 22:22:02 -04:00
jeremystretch
918d739acb
Remove the check_releases queue
2021-07-07 22:10:10 -04:00
Jeremy Stretch
35b9f5c409
Merge pull request #6716 from netbox-community/6639-drop-cacheops
...
Closes #6639 : Replace django-cacheops with django-redis for caching
2021-07-07 22:08:01 -04:00
jeremystretch
1f048a6d61
Changelog for #6713
2021-07-07 21:58:54 -04:00
jeremystretch
16529372f0
Remove the RELEASE_CHECK_TIMEOUT parameter
2021-07-07 21:55:07 -04:00
jeremystretch
af58204cd7
Remove release checkng background task
2021-07-07 21:53:02 -04:00
jeremystretch
8850add0a8
Add release check to the housekeeping task
2021-07-07 21:37:35 -04:00
jeremystretch
901ac6be7b
Restore CACHING_REDIS_SKIP_TLS_VERIFY; add CACHE_TIMEOUT usage warning
2021-07-07 21:17:40 -04:00
jeremystretch
425a4a71e5
Update release check to use django-redis
2021-07-07 20:57:47 -04:00
jeremystretch
f19db4174d
Replace django-cacheops with django-redis
2021-07-07 20:35:59 -04:00
jeremystretch
532d216120
Remove cacheops workarounds & queryset caching metrics
2021-07-07 17:15:42 -04:00
jeremystretch
9e96f2c633
Drop caching_config from plugin configuration
2021-07-07 17:04:21 -04:00
jeremystretch
2cd532af60
Fixes #6714 : Fix rendering of device type component creation forms
2021-07-07 15:38:59 -04:00
jeremystretch
c8933fc1ed
Fixes #6710 : Fix assignment of VM interface parent via REST API
2021-07-07 11:55:20 -04:00
maximumG
d9d4d15254
feat: Netbox plugin can defined their own RQ queues
2021-07-07 15:26:33 +02:00
maximumG
676a3eb6a0
add: RQ queues for netbox core (high, default, low, check_release)
2021-07-07 15:25:53 +02:00
checktheroads
b78a9f820e
#5203 : Persist Show/Hide Images state in rack view
2021-07-06 17:56:49 -07:00
checktheroads
e0f38c4962
#6372 : Implement basic state management with localStorage integration
2021-07-06 17:55:13 -07:00
checktheroads
f20c322945
#6372 : General cleanup
2021-07-06 17:54:24 -07:00
jeremystretch
16f2304547
Merge v2.11.8 changes
2021-07-06 12:10:29 -04:00
jeremystretch
4dad2516a5
PRVB
2021-07-06 11:35:03 -04:00
Jeremy Stretch
89afd6b588
Merge pull request #6700 from netbox-community/develop
...
Release v2.11.8
2021-07-06 11:28:19 -04:00
Jeremy Stretch
bdcf512c22
Merge branch 'master' into develop
2021-07-06 11:13:29 -04:00
jeremystretch
05f3fb77cb
Release v2.11.8
2021-07-06 11:10:02 -04:00
jeremystretch
e8b04206f2
Changelog & cleanup for #5503
2021-07-06 10:43:08 -04:00
Jeremy Stretch
5250d41b33
Merge pull request #5764 from ypid/feature/5503-ui-iso-date-with-tooltip
...
Closes #5503 : ISO 8601 date in UI and alternative format as tooltip
2021-07-06 10:35:21 -04:00
jeremystretch
d6007984d0
Closes #6200 : Add rack reservations to global search
2021-07-06 10:17:16 -04:00
jeremystretch
65b9222886
Fixes #6695 : Fix exception when importing device type with invalid front port definition
2021-07-05 09:30:52 -04:00
Robin Schneider
6a016d0458
Do not use annotated_date on custom date fields to avoid date parsing
...
@jeremystretch:
> It'd be better to have the custom field return a date object than to
> accommodate string values in the template filter. Let's just omit custom
> field dates for now to keep this from getting any more complex.
2021-07-02 22:30:11 +02:00
Robin Schneider
48e0f205e8
Use annotated_date also for updated datetimes
...
This changes the text from: Updated 5 months, 1 week ago
to: Updated 2021-01-24 00:33 (5 months, 1 week ago)
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2021-07-02 22:22:38 +02:00
Robin Schneider
42179bf97c
Closes #5503 : ISO 8601 date in UI and alternative format as tooltip
...
With this commit all dates in the UI are now consistently displayed.
I changed the long date format as suggested by @xkilian and confirmed by my own
research.
* DATETIME_FORMAT
* Before July 20, 2020 4:52 p.m.
* Now 20th July, 2020 16:52
"20th July, 2020" would be spoken as "the 20th of July, 2020" but the "the" and
"of" are never written.
The only exception is `object_list.html`. I tried it but there it does not
work so easily because the dates are passed to Jinja as SafeString.
2021-07-02 22:22:37 +02:00
jeremystretch
1c2800f24f
Closes #6368 : Enable virtual chassis assignment during bulk import of devices
2021-07-01 15:49:05 -04:00
jeremystretch
e503cc9f56
Closes #6345 : Introduce PermissionsViolation exception for use in generic views
2021-07-01 15:33:39 -04:00
jeremystretch
b03a0a9a8f
Closes #6138 : Add an 'empty' filter modifier for character fields
2021-07-01 15:17:46 -04:00