Commit Graph

1049 Commits

Author SHA1 Message Date
jeremystretch
d7a6947975 Fixes #6777: Fix default value validation for custom text fields 2021-07-21 16:02:32 -04: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
b03a0a9a8f Closes #6138: Add an 'empty' filter modifier for character fields 2021-07-01 15:17:46 -04:00
jeremystretch
a502b4b830 Fixes #6640: Disallow numeric values in custom text fields 2021-06-22 14:00:54 -04:00
drmsoffall
43a42871bc Closes #6493: show ObjectChange diff for non-atomic changes 2021-06-05 19:15:25 +00:00
jeremystretch
8c300de023 Fixes #6217: Disallow passing of string values for integer custom fields 2021-06-02 16:12:11 -04:00
jeremystretch
174adf0bc0 Closes #6519: Avoid querying applicable webhooks for every object 2021-06-01 13:55:17 -04:00
jeremystretch
5148f54383 Restore webhooks worker test 2021-06-01 12:52:25 -04:00
jeremystretch
96565cd026 Add bulk operation tests for webhooks 2021-06-01 09:50:38 -04:00
jeremystretch
dcd51763a1 Update post-change snapshot for M2M changes 2021-06-01 09:30:54 -04:00
jeremystretch
b25ebb0f78 Extend webhook create/update/delete tests 2021-06-01 09:04:01 -04:00
jeremystretch
a24e4780c6 Initial work on #6284 2021-05-28 16:07:27 -04:00
jeremystretch
0d2d6a4b49 Fixes #6502: Correct permissions evaluation for running a report via the REST API 2021-05-28 13:16:25 -04:00
jeremystretch
5c96e4e915 Replace references to v2.12 with v3.0 2021-05-25 15:05:02 -04:00
jeremystretch
b1b521c82d Closes #5121: Add content_type filters for tags 2021-05-21 17:05:32 -04:00
jeremystretch
264d95d3a7 Add tags as a feature query 2021-05-21 16:54:33 -04:00
Thomas
1ed493406f Update views.py
Fixing typo in 'version'
2021-05-14 18:22:01 +02:00
jeremystretch
bb10613a89 Closes #6320: Introduce ChangeLoggedFilterSetTests 2021-05-03 15:25:16 -04:00
jeremystretch
3506fdc456 Introduce BaseFilterSetTests to standardize testing of PK filters 2021-05-03 14:36:44 -04:00
jeremystretch
0104da8369 Rename FilterSet test modules 2021-05-03 13:07:19 -04:00
jeremystretch
cc4534c163 Move base FilterSet classes under netbox core 2021-04-29 16:53:48 -04:00
jeremystretch
431cb2a0ad Rename FilterSet modules 2021-04-29 16:48:24 -04:00
jeremystretch
a630da2686 Move TagFilter to extras 2021-04-29 16:23:55 -04:00
jeremystretch
51e312816f Consolidate FilterSet classes 2021-04-29 15:59:11 -04:00
jeremystretch
05f7699273 Split Filter and FilterSet classes 2021-04-29 15:13:44 -04:00
jeremystretch
5548e2850c Fixes #6262: Support filtering by created/updated time for all relevant objects 2021-04-27 10:04:28 -04:00
jeremystretch
c0e9a6d5d8 Fixes #6236: Journal entry title should account for configured timezone 2021-04-23 15:27:58 -04:00
jeremystretch
d2e74af032 Merge branch 'develop' into feature 2021-04-15 15:46:48 -04:00
jeremystretch
66b07a6be3 Fixes #5652: Update object data when renaming a custom field 2021-04-15 12:04:34 -04:00
jeremystretch
f77b02dcbf Enable webhooks for JournalEntry 2021-04-14 14:55:01 -04:00
jeremystretch
c7268c542e Reorganize base TestCase classes 2021-04-14 14:22:58 -04:00
jeremystretch
087b55ba43 Merge branch 'develop' into feature 2021-04-13 16:41:46 -04:00
jeremystretch
79568fd653 Fixes #6056: Optimize change log cleanup 2021-04-13 13:48:22 -04:00
jeremystretch
223561b6e3 Closes #5848: Filter custom fields by content type in format <app_label>.<model> 2021-04-13 11:30:45 -04:00
jeremystretch
8d6a057b91 Closes #6150: Enable change logging for journal entries 2021-04-13 10:53:55 -04:00
jeremystretch
15d3db817a Fixes #5583: Eliminate redundant change records when adding/removing tags 2021-04-13 10:14:25 -04:00
jeremystretch
8ffe6f7907 Merge branch 'develop' into feature 2021-04-12 14:19:30 -04:00
jeremystretch
9160031f38 Fixes #6082: Support colons in webhook header values 2021-04-12 12:09:37 -04:00
jeremystretch
34e911995d Fixes #6130: Improve display of assigned models in custom fields list 2021-04-09 09:43:35 -04:00
jeremystretch
4cb1ae0fd1 Add tagged items count to tag view 2021-04-05 13:53:25 -04:00
jeremystretch
fe2b920649 Use CommentField for JournalEntry comments 2021-04-02 17:14:15 -04:00
jeremystretch
30ff6edb4b Convert all LinkColumns to Column(linkify=True) 2021-04-02 16:59:53 -04:00
jeremystretch
995446bc57 Remove redundant prechange_data assignments 2021-04-02 15:21:11 -04:00
Jeremy Stretch
36d84c5cd5 Use ContentTypeChoiceField for all ContentType fields 2021-04-02 10:55:16 -04:00
Jeremy Stretch
c599a06e26 Changelog & docs for #5380 2021-03-30 18:59:47 -04:00
Martin Rødvand
68e57681d9 Closes #5830: Add as_attachment field to API serializers and admin view. 2021-03-30 23:26:55 +02:00
Martin Rødvand
139afe844b Add boolean as_attachment to Export template 2021-03-30 22:27:26 +02:00
Jeremy Stretch
2cf2627984 Add missing tests for SiteGroup 2021-03-30 11:06:59 -04:00
Jeremy Stretch
7ac9eca2d5 Closes #6038: Include tagged objects list on tag view 2021-03-29 16:53:41 -04:00
Jeremy Stretch
ed35fb5132 Fix ConfigContext application for SiteGroups 2021-03-29 15:57:44 -04:00