checktheroads
fa6661e4ae
Merge branch 'feature' of github.com:netbox-community/netbox into feature
2021-07-13 09:17:58 -07:00
checktheroads
bfb1b6ac0a
#6372 : Implement table-flush styling, improve changelog layout
2021-07-13 09:14:57 -07:00
checktheroads
6b88ed0321
#6372 : Clean up project-static directory structure
2021-07-12 15:21:20 -07:00
jeremystretch
faa993acfb
Use non-card tables for all tabbed views
2021-07-12 15:36:51 -04:00
jeremystretch
fbcdae9a6b
Fix "Select all" boxes for object lists
2021-07-12 15:19:07 -04:00
jeremystretch
12e1681d31
Fix active tab display for prefixes
2021-07-12 14:56:00 -04:00
jeremystretch
4225e28a4b
Move changelog table out of card
2021-07-12 12:12:06 -04:00
jeremystretch
23be5694d0
Move device/VM component tables outside of cards
2021-07-12 12:06:11 -04:00
jeremystretch
dc8adfc546
Clean up object titles
2021-07-12 10:57:26 -04:00
jeremystretch
5d98c3337a
Simplify home view stats
2021-07-12 10:32:13 -04:00
jeremystretch
5406acf329
Merge branch 'jstretch-ui-work' into feature
2021-07-12 09:56:33 -04:00
Jeremy Stretch
7f121f7518
Merge pull request #6739 from netbox-community/6471-reset-migrations
...
Closes #6471 : Squash database migrations up to v2.11.0
2021-07-12 09:04:54 -04:00
jeremystretch
1b132379be
Clean up table sizing; remove cards
2021-07-11 21:24:36 -04:00
jeremystretch
0f99e5fcaa
Clean up object list view
2021-07-10 22:06:28 -04:00
jeremystretch
726b148aa9
Clean up sidebar layout
2021-07-10 21:30:55 -04:00
jeremystretch
facf757997
Separate navigation menu structure from template tag
2021-07-10 20:44:33 -04:00
jeremystretch
fe1f221286
Log a warning when rqworker invoked without specified queues
2021-07-09 21:23:27 -04:00
jeremystretch
42b2e2717d
Standardize squashed migration names
2021-07-09 13:23:43 -04:00
jeremystretch
3387282de4
Resolve migration dependencies
2021-07-09 11:51:42 -04:00
jeremystretch
c82470e4df
Add re-initialized migrations for v2.11.0
2021-07-09 11:11:21 -04:00
jeremystretch
4383425060
Delete pre-2.11.0 migrations
2021-07-09 10:57:07 -04:00
Jeremy Stretch
fd58eeae1d
Merge branch 'feature' into 6651-plugins-rq-queues
2021-07-09 08:43:39 -04:00
Tobias Genannt
b814123ede
Only check REMOTE_AUTH_BACKEND in API token auth
2021-07-09 08:14:45 +02:00
Tobias Genannt
a3d40e3521
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
4abfa6231c
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
5bf4234ad3
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
7640740113
Use method from parent class
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2021-07-09 08:14:45 +02:00
Tobias Genannt
82300990ec
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
bc812e4937
Closes #5223 : Remove the console/power/interface connections REST API endpoints
2021-07-08 17:30:40 -04:00
jeremystretch
38d7b83ed0
Merge v2.11.9
2021-07-08 12:15:57 -04:00
jeremystretch
ec5ed17860
PRVB
2021-07-08 09:21:35 -04:00
jeremystretch
e8e3e9b0be
Release v2.11.9
2021-07-08 09:01:40 -04:00
jeremystretch
28ca815c88
Fixes #6456 : API schema type should be boolean for _occupied on cable termination models
2021-07-08 08:41:59 -04:00
jeremystretch
f426ba3526
Remove the check_releases queue
2021-07-07 22:10:10 -04:00
jeremystretch
7c6e5a68d9
Remove the RELEASE_CHECK_TIMEOUT parameter
2021-07-07 21:55:07 -04:00
jeremystretch
fa99263918
Remove release checkng background task
2021-07-07 21:53:02 -04:00
jeremystretch
e173c8b548
Add release check to the housekeeping task
2021-07-07 21:37:35 -04:00
jeremystretch
3e19038e06
Restore CACHING_REDIS_SKIP_TLS_VERIFY; add CACHE_TIMEOUT usage warning
2021-07-07 21:17:40 -04:00
jeremystretch
2c023ef7a0
Update release check to use django-redis
2021-07-07 20:57:47 -04:00
jeremystretch
d9e27b6a82
Replace django-cacheops with django-redis
2021-07-07 20:35:59 -04:00
jeremystretch
b6ec1d9aa7
Remove cacheops workarounds & queryset caching metrics
2021-07-07 17:15:42 -04:00
jeremystretch
f683f0786e
Drop caching_config from plugin configuration
2021-07-07 17:04:21 -04:00
jeremystretch
54dfa6cb7f
Fixes #6714 : Fix rendering of device type component creation forms
2021-07-07 15:38:59 -04:00
jeremystretch
7c667f3485
Fixes #6710 : Fix assignment of VM interface parent via REST API
2021-07-07 11:55:20 -04:00
maximumG
995aa65f16
feat: Netbox plugin can defined their own RQ queues
2021-07-07 15:26:33 +02:00
maximumG
8b76db2bca
add: RQ queues for netbox core (high, default, low, check_release)
2021-07-07 15:25:53 +02:00
checktheroads
9c247d9a19
#5203 : Persist Show/Hide Images state in rack view
2021-07-06 17:56:49 -07:00
checktheroads
d9a6f11c35
#6372 : Implement basic state management with localStorage integration
2021-07-06 17:55:13 -07:00
checktheroads
00c4ac8d51
#6372 : General cleanup
2021-07-06 17:54:24 -07:00
jeremystretch
88e382e7a1
Merge v2.11.8 changes
2021-07-06 12:10:29 -04:00
jeremystretch
c585175214
PRVB
2021-07-06 11:35:03 -04:00
jeremystretch
9c1de27562
Release v2.11.8
2021-07-06 11:10:02 -04:00
jeremystretch
fc15ef6967
Changelog & cleanup for #5503
2021-07-06 10:43:08 -04:00
Jeremy Stretch
eaf0259c3d
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
fe2ce03ac1
Closes #6200 : Add rack reservations to global search
2021-07-06 10:17:16 -04:00
jeremystretch
70585ff32e
Fixes #6695 : Fix exception when importing device type with invalid front port definition
2021-07-05 09:30:52 -04:00
Robin Schneider
a479c867c4
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
74f1b51b38
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
0ad9b83623
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
631d991d8d
Closes #6368 : Enable virtual chassis assignment during bulk import of devices
2021-07-01 15:49:05 -04:00
jeremystretch
1be4a57bd4
Closes #6345 : Introduce PermissionsViolation exception for use in generic views
2021-07-01 15:33:39 -04:00
jeremystretch
76a6119584
Closes #6138 : Add an 'empty' filter modifier for character fields
2021-07-01 15:17:46 -04:00
jeremystretch
add95292ce
Fixes #6680 : Allow setting custom field values for VM interfaces on intial creation
2021-07-01 10:48:24 -04:00
jeremystretch
2fe734e6f9
Omit _path from CableTermination models
2021-06-30 10:20:20 -04:00
jeremystretch
e6091ee0c9
Consolidate GraphQLTestCase into APIViewTestCase
2021-06-30 10:07:33 -04:00
jeremystretch
728b3bac67
Use _list appendix for GraphQL list queries
2021-06-30 09:57:33 -04:00
jeremystretch
18a9e39be6
Closes #6667 : Display VM memory as GB/TB as appropriate
2021-06-29 14:00:16 -04:00
jeremystretch
18934bcc69
Closes #6666 : Show management-only status under interface detail view
2021-06-29 13:47:44 -04:00
jeremystretch
98ff00bc62
Fixes #6676 : Fix device/VM counts per cluster under cluster type/group views
2021-06-29 13:44:46 -04:00
jeremystretch
8d2f79cf24
Add configuration parameter to toggle GraphQL API
2021-06-29 13:30:38 -04:00
jeremystretch
05ba54b6d3
Add GraphQL for users and groups
2021-06-29 13:15:10 -04:00
jeremystretch
ef3cb9544a
Clean up GraphQL object types & tests
2021-06-29 12:55:17 -04:00
jeremystretch
79614ed2cf
Add GraphQL type for ContentType
2021-06-29 11:36:18 -04:00
jeremystretch
7deabfe9cd
Extended GraphQL tests to include all fields
2021-06-29 11:20:54 -04:00
jeremystretch
bd1e019a42
Clean up token-based authentication for GraphQL
2021-06-28 16:19:02 -04:00
jeremystretch
14e27363e0
Add GraphQL for DCIM
2021-06-25 16:17:36 -04:00
jeremystretch
605b7c5b3e
Add GraphQL for virtualization
2021-06-25 15:31:43 -04:00
jeremystretch
881b18f6d0
Add GraphQL for tenancy
2021-06-25 14:19:20 -04:00
jeremystretch
7256c7050a
Add GraphQL for extras
2021-06-25 14:12:09 -04:00
jeremystretch
7a2a25c13a
Use v3.0 enum naming
2021-06-25 14:11:41 -04:00
jeremystretch
3e0bcd58d4
Add GraphQL for IPAM
2021-06-25 10:14:35 -04:00
jeremystretch
4c209ed74c
Clean up GraphQL tests
2021-06-25 10:14:06 -04:00
jeremystretch
d5675a5d4a
Add support for DRF token authentication
2021-06-25 09:13:08 -04:00
jeremystretch
91d39cc0c0
Added initial GraphQL tests
2021-06-24 09:08:45 -04:00
jeremystretch
930ca8d9a1
Add support for custom field data
2021-06-24 09:08:45 -04:00
jeremystretch
6a07f66cfc
Initial work on GraphQL
2021-06-24 09:08:45 -04:00
jeremystretch
6cc4f27ee3
Tables cleanup
2021-06-24 08:51:29 -04:00
jeremystretch
4e0b795a3c
Add UI views for webhooks
2021-06-23 21:30:23 -04:00
jeremystretch
10cbbee947
Add UI views for export templates
2021-06-23 20:56:50 -04:00
jeremystretch
276ded0119
Add UI views for custom links
2021-06-23 17:10:04 -04:00
jeremystretch
b017927c69
Add UI views for custom fields
2021-06-23 17:10:04 -04:00
checktheroads
e59d88bbe9
#6372 : Fix nav-pill styling
2021-06-23 11:46:43 -07:00
checktheroads
e1391cae20
#6372 : Improve sidebar styling
2021-06-23 11:39:32 -07:00
checktheroads
0b819053cf
#6372 : Add opacity utility classes
2021-06-23 11:39:04 -07:00
checktheroads
25b6f02091
#6372 : Fix sidebar tooltip rendering
2021-06-23 11:30:58 -07:00
checktheroads
32b6bc6a74
#6372 : Upgrade bootstrap to 5.0.2
2021-06-23 11:22:25 -07:00
checktheroads
18f1b93ae4
#6372 : Responsive layout improvements
2021-06-23 10:57:09 -07:00
jeremystretch
c7afc9eb28
Rename custom field model forms
2021-06-23 11:53:58 -04:00
jeremystretch
3f63a02145
Rename and refactor CustomFieldForm
2021-06-23 11:53:58 -04:00
checktheroads
eb0d5c996e
#6372 : Implement layout improvements
2021-06-22 17:20:17 -07:00
jeremystretch
a8a9e061a1
Merge branch 'develop' into feature
2021-06-22 14:30:47 -04:00
jeremystretch
4292d88a92
Closes #6620 : Show assigned VMs count under device role view
2021-06-22 14:21:41 -04:00
jeremystretch
a8af24d7ca
Fixes #6637 : Fix group assignment in 'available VLANs' link under VLAN group view
2021-06-22 14:16:16 -04:00
jeremystretch
efa0fc2b09
Fixes #6640 : Disallow numeric values in custom text fields
2021-06-22 14:00:54 -04:00
jeremystretch
ebb2918a88
Fixes #6652 : Fix exception when adding components in bulk to multiple devices
2021-06-22 13:54:03 -04:00
jeremystretch
607039f043
Cleanup for #5139
2021-06-21 08:46:20 -04:00
jeremystretch
fb379b63ec
Fixes #6626 : Fix site field on VM search form; add site group
2021-06-21 08:38:46 -04:00
jeremystretch
4a6278f598
Merge v2.11.7
2021-06-16 16:27:37 -04:00
jeremystretch
697161beb1
PRVB
2021-06-16 16:21:19 -04:00
jeremystretch
2bf20fa501
Release NetBox v2.11.7
2021-06-16 15:59:46 -04:00
jeremystretch
685e0ce00d
Closes #6588 : Add support for webp files as front/rear device type images
2021-06-16 14:01:30 -04:00
jeremystretch
6a6b0236a9
Closes #6589 : Standardize breadcrumb navigation for power panels and feeds
2021-06-16 13:50:35 -04:00
jeremystretch
857c70ece9
Closes #6564 : Add N connector type for pass-through ports
2021-06-16 13:43:38 -04:00
jeremystretch
f56a470cc7
Fixes #6602 : Fix deletion of devices with cables attached
2021-06-14 16:38:19 -04:00
jeremystretch
14f696e824
Merge branch 'develop' into feature
2021-06-14 09:23:01 -04:00
jeremystretch
7e481960f9
Optimize MPTTColumn rendering
2021-06-14 09:19:05 -04:00
jeremystretch
4c4fe80697
Fix schema generation for tokens endpoint
2021-06-14 08:52:22 -04:00
jeremystretch
fdd8e33b58
Revert tweak to TokenPermissions.has_permission()
2021-06-14 08:38:10 -04:00
jeremystretch
c36b190d5d
Omit REST API schema view from permissions enforcement
2021-06-11 16:24:02 -04:00
jeremystretch
b038b1f613
Add a REST API endpoint to provision new tokens using username & password
2021-06-11 15:54:31 -04:00
jeremystretch
48b4bf1683
Initial work on REST API endpoint for tokens
2021-06-11 15:14:19 -04:00
jeremystretch
d87ec82fe3
Closes #6590 : Introduce a nightly housekeeping command to clear expired sessions and change records
2021-06-11 10:44:17 -04:00
jeremystretch
809d9e4697
Fixes #6584 : Fix ordering of nested inventory items
2021-06-10 14:27:42 -04:00
jeremystretch
a1ba3b567c
Introduce ColorField for consistent represention of color choice fields in forms
2021-06-09 17:17:39 -04:00
jeremystretch
b3ed545d6a
Closes #3682 : Add color field to front and rear ports
2021-06-09 16:51:51 -04:00
jeremystretch
7e18b0dd3a
Remove csv_headers model attributes
2021-06-09 15:52:49 -04:00
jeremystretch
578885225f
Replace 'default format' export with 'all data'
2021-06-09 15:26:02 -04:00
jeremystretch
3ec6194a47
Remove obsolete to_csv() methods
2021-06-09 15:08:49 -04:00
jeremystretch
9d3cac43b7
Modify default CSV export to render from tables
2021-06-09 15:02:31 -04:00
jeremystretch
44c0dec68b
Extend CustomValidator to support required, prohibited fields
2021-06-09 13:10:35 -04:00
jeremystretch
f81b3d4ed6
Rename fail() kwarg from attr to field
2021-06-09 12:11:47 -04:00
jeremystretch
3bfa1cbf41
Initial work on custom model validation
2021-06-09 11:36:29 -04:00
Jeremy Stretch
6195fc0d11
Merge pull request #6552 from drmsoffall/6493-diff-legacy-changes
...
Show change log diff for non-atomic changes
2021-06-08 15:24:22 -04:00
Jeremy Stretch
6523334a48
Merge pull request #6545 from crafty-ua/Add_ipv4_32_and_ipv6_128_prefix_support_#6455
...
Add ipv4 /32 and ipv6 /128 prefix support #6455
2021-06-08 15:12:25 -04:00
jeremystretch
b3cde51590
Fixes #6562 : Disable ordering of secrets by assigned object
2021-06-08 14:18:24 -04:00
jeremystretch
6ec296f2a7
Fixes #6563 : Fix filtering by location for cable connection forms
2021-06-08 14:15:06 -04:00
jeremystretch
cb4392628f
Fixes #6553 : ProviderNetwork search should match on name
2021-06-08 14:06:17 -04:00
drmsoffall
a224e5d470
Closes #6493 : show ObjectChange diff for non-atomic changes
2021-06-05 19:15:25 +00:00
jeremystretch
7444110c79
PRVB
2021-06-04 11:15:12 -04:00
jeremystretch
4273b6e4fb
Release v2.11.6
2021-06-04 10:59:36 -04:00
jeremystretch
5e08b2be37
Fixes #6544 : Fix migration error when upgrading with VRF(s) defined
2021-06-04 10:53:13 -04:00
Your Name
a665b79f85
#6455 - initial
2021-06-04 16:46:02 +02:00
jeremystretch
0e23038e28
Merge v2.11.5
2021-06-04 09:47:14 -04:00
jeremystretch
0783d57459
Release v2.11.5
2021-06-04 09:09:56 -04:00
jeremystretch
4e1e5bd8c4
Fix "select all" box (again)
2021-06-04 09:01:58 -04:00
jeremystretch
b3a14e9a7b
Improve performance when fetching objects for bulk edit
2021-06-03 21:11:45 -04:00
jeremystretch
b725a9bcea
Closes #6495 : Replace 'help' link in footer with 'community'
2021-06-03 20:35:53 -04:00
jeremystretch
5c263fac8d
Closes #6540 : Add a 'flat' column to the prefix table
2021-06-03 20:31:09 -04:00
jeremystretch
04c1619eb4
Remove unused function
2021-06-03 20:27:24 -04:00
maxime-gerges-external
e61b2b1fc5
feat: markdown support in report's description
...
* markdown support in report list and report result pages
* Add notes in the documentation regarding markdown
2021-06-03 14:48:18 +02:00