Commit Graph

7440 Commits

Author SHA1 Message Date
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
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
375d088c08 Closes #6620: Show assigned VMs count under device role view 2021-06-22 14:21:41 -04:00
jeremystretch
a801ba988a Fixes #6637: Fix group assignment in 'available VLANs' link under VLAN group view 2021-06-22 14:16:16 -04:00
jeremystretch
a502b4b830 Fixes #6640: Disallow numeric values in custom text fields 2021-06-22 14:00:54 -04:00
jeremystretch
3afeeaab0b Fixes #6652: Fix exception when adding components in bulk to multiple devices 2021-06-22 13:54:03 -04:00
Hans Erasmus
9b2534b6a2 Update installation
Just separated it so the user can easily click the copy button, and only be presented with the command.
2021-06-22 09:59:01 +02:00
jeremystretch
a9ddf451cc Cleanup for #5139 2021-06-21 08:46:20 -04:00
jeremystretch
8e6f0905aa Fixes #6626: Fix site field on VM search form; add site group 2021-06-21 08:38:46 -04:00
jeremystretch
08fb38980c PRVB 2021-06-16 16:21:19 -04:00
Jeremy Stretch
346e03079b Merge pull request #6616 from netbox-community/develop
Release v2.11.7
2021-06-16 16:18:52 -04:00
jeremystretch
36291d411f Release NetBox v2.11.7 2021-06-16 15:59:46 -04:00
jeremystretch
6853b1e111 Closes #6588: Add support for webp files as front/rear device type images 2021-06-16 14:01:30 -04:00
jeremystretch
011cf8bc92 Closes #6589: Standardize breadcrumb navigation for power panels and feeds 2021-06-16 13:50:35 -04:00
jeremystretch
9b9aff6bf6 Closes #6564: Add N connector type for pass-through ports 2021-06-16 13:43:38 -04:00
jeremystretch
5eebe33414 Add Equinix Metal as a sponsor 2021-06-15 15:22:20 -04:00
Jeremy Stretch
adefc0d77e Merge pull request #6604 from bluikko/patch-2
custom fields documentation missing word "more"
2021-06-15 10:57:58 -04:00
bluikko
8ff7e5c363 custom fields documentation missing word "more"
The "one or object types" looks like it is missing the word "more".
2021-06-15 15:05:37 +07:00
jeremystretch
f2652bde18 Update NetDev Slack links 2021-06-14 16:41:10 -04:00
jeremystretch
f562c2c60b Fixes #6602: Fix deletion of devices with cables attached 2021-06-14 16:38:19 -04:00
Alyssa Bigley
34dab01072 cleaned up validation error method 2021-06-14 15:23:42 -04:00
jeremystretch
cfb3844e45 Adopt IRM terminology 2021-06-14 14:08:55 -04:00
Alyssa Bigley
e34e92b7b9 moved duplicated code in CSV Fields into functions in forms/utils.py 2021-06-14 14:07:37 -04:00
jeremystretch
f12d425fd1 Optimize MPTTColumn rendering 2021-06-14 09:19:05 -04:00
Alyssa Bigley
7d48043937 Caught and handled ValidationError 2021-06-11 13:42:26 -04:00
Alyssa Bigley
2b95b626e5 changed name of csv_file variable and started work on ValidationError 2021-06-10 14:41:33 -04:00
jeremystretch
2bb14b7aad Fixes #6584: Fix ordering of nested inventory items 2021-06-10 14:27:42 -04:00
jeremystretch
ff84f03753 Changelog for #6455, 6493 2021-06-08 15:39:39 -04:00
Jeremy Stretch
f624ac7159 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
c1fd361a7e 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
6f087de9de Fixes #6562: Disable ordering of secrets by assigned object 2021-06-08 14:18:24 -04:00
jeremystretch
64c0ebb31c Fixes #6563: Fix filtering by location for cable connection forms 2021-06-08 14:15:06 -04:00
jeremystretch
16d56e9de0 Fixes #6553: ProviderNetwork search should match on name 2021-06-08 14:06:17 -04:00
Alyssa Bigley
24bd8549dc removed unnecessary use of seek() 2021-06-07 14:29:38 -04:00
Alyssa Bigley
bc70b23279 edited docstring for CSVFileField 2021-06-07 14:06:32 -04:00
Alyssa Bigley
12c71257f2 CSV import implemented using CSVFileField 2021-06-07 14:06:32 -04:00
Alyssa Bigley
c00b7abad3 cleaned up csv parsing 2021-06-07 14:06:31 -04:00
Alyssa Bigley
92d9dc4f5c csv parse using python csv library 2021-06-07 14:06:31 -04:00
Alyssa Bigley
2a67c83712 working csv upload first draft 2021-06-07 14:06:31 -04:00