Commit Graph

7631 Commits

Author SHA1 Message Date
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
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
jeremystretch
0a77051c9d Fixes #6680: Allow setting custom field values for VM interfaces on intial creation 2021-07-01 10:48:24 -04:00
Jeremy Stretch
8443146835 Merge pull request #6678 from netbox-community/2007-graphql
Closes #2007: Implement GraphQL API
2021-06-30 10:42:49 -04:00
jeremystretch
6a5e4c912e Omit _path from CableTermination models 2021-06-30 10:20:20 -04:00
jeremystretch
925e11f6d2 Consolidate GraphQLTestCase into APIViewTestCase 2021-06-30 10:07:33 -04:00
jeremystretch
7cba0badd6 Use _list appendix for GraphQL list queries 2021-06-30 09:57:33 -04:00
jeremystretch
cc4adf86d1 Add documentation for GraphQL API 2021-06-30 09:35:50 -04:00
jeremystretch
3847beee02 Closes #6667: Display VM memory as GB/TB as appropriate 2021-06-29 14:00:16 -04:00
jeremystretch
fe60f9c9c7 Closes #6666: Show management-only status under interface detail view 2021-06-29 13:47:44 -04:00
jeremystretch
17821d39a9 Fixes #6676: Fix device/VM counts per cluster under cluster type/group views 2021-06-29 13:44:46 -04:00
jeremystretch
a1ccde7b0c Add configuration parameter to toggle GraphQL API 2021-06-29 13:30:38 -04:00
jeremystretch
212b6cfaf3 Add GraphQL for users and groups 2021-06-29 13:15:10 -04:00
jeremystretch
02427fb41e Clean up GraphQL object types & tests 2021-06-29 12:55:17 -04:00
jeremystretch
bf62b7ecfd Add GraphQL type for ContentType 2021-06-29 11:36:18 -04:00
jeremystretch
6927c11389 Extended GraphQL tests to include all fields 2021-06-29 11:20:54 -04:00
jeremystretch
d7af0b0c49 Clean up token-based authentication for GraphQL 2021-06-28 16:19:02 -04:00
jeremystretch
9399dcfccd Add GraphQL for DCIM 2021-06-25 16:17:36 -04:00
jeremystretch
87d28a6724 Add GraphQL for virtualization 2021-06-25 15:31:43 -04:00
jeremystretch
51d5eedc93 Add GraphQL for tenancy 2021-06-25 14:19:20 -04:00
jeremystretch
1e06d3ce3c Add GraphQL for extras 2021-06-25 14:12:09 -04:00
jeremystretch
0e90bd5e6e Use v3.0 enum naming 2021-06-25 14:11:41 -04:00
jeremystretch
a14463bb05 Add GraphQL for IPAM 2021-06-25 10:14:35 -04:00
jeremystretch
984e815cdf Clean up GraphQL tests 2021-06-25 10:14:06 -04:00
jeremystretch
a2d9e525ff Add support for DRF token authentication 2021-06-25 09:13:08 -04:00
jeremystretch
ed261f339d Added initial GraphQL tests 2021-06-24 09:08:45 -04:00
jeremystretch
c7fea50a2c Add support for custom field data 2021-06-24 09:08:45 -04:00
jeremystretch
716d565314 Initial work on GraphQL 2021-06-24 09:08:45 -04:00
Jeremy Stretch
1d62d67c86 Merge pull request #6659 from netbox-community/6466-replace-django-admin
Closes #6646: Move extras out of Django admin UI
2021-06-24 09:04:08 -04:00
jeremystretch
d83a3f81f4 Tables cleanup 2021-06-24 08:51:29 -04:00
jeremystretch
584cf66df8 Update extras documentation 2021-06-24 08:37:06 -04:00