9c214622a1
Closes #4350 : Illustrate reservations vertically alongside rack elevations
2022-06-21 16:30:27 -04:00
84f0561712
Initial work on half-height RUs
2022-06-20 12:05:06 -04:00
ba12db3019
Merge branch 'develop' into feature
2022-06-20 11:50:23 -04:00
7c79c90cd2
Sanitize HTML after rendering markdown
2022-06-17 23:16:57 +02:00
723954f0d9
Merge pull request #9547 from kkthxbye-code/fix-9533
...
Fixes #9533 - Move markdown documentation to docs
2022-06-17 13:14:44 -04:00
cf76d5c46a
Move markdown documentation to docs
2022-06-16 22:26:37 +02:00
d1aa820856
Add configuration option JINJA2_FILTERS
2022-06-10 23:13:49 +02:00
32322e95b6
Merge branch 'develop' into feature
2022-05-31 15:50:23 -04:00
b0a56a71bb
Fixes #9291 : Improve data validation for MultiObjectVar script fields
2022-05-31 13:37:14 -04:00
6d3cded579
Make sure initial data is passed as array for DynamicModelChoiceFields
2022-05-27 20:41:50 +02:00
db42589cca
Closes #5303 : A virtual machine may be assigned to a site and/or cluster
2022-05-26 14:59:49 -04:00
b331f047af
Closes #8222 : Enable the assignment of a VM to a specific host device within a cluster
2022-05-25 16:01:10 -04:00
e208404e3a
Merge branch 'develop' into feature
2022-05-12 14:16:01 -04:00
ad12ad4a77
Closes #9221 : Add definition list support for Markdown
2022-05-12 11:05:34 -04:00
37903776fd
Fixes #9296 : Improve Markdown link sanitization
2022-05-12 10:41:29 -04:00
4fac10ac4a
Merge branch 'develop' into feature
2022-04-15 12:09:28 -04:00
27a9313396
#9096 : Correct getattr() call
2022-04-12 08:13:08 -04:00
517d0158b6
Fixes #9096 : Remove duplicate filter tag when filtering by "none"
2022-04-11 08:51:11 -04:00
03535ce50b
Closes #8995 : Enable arbitrary ordering of REST API results
2022-04-08 16:00:33 -04:00
830b56ac9e
Check that ChoiceSet CHOICES is mutable if key is set
2022-04-05 08:40:30 -04:00
22908a12e9
Merge branch 'develop' into feature
2022-03-25 10:38:44 -04:00
dde4495e20
#8232 : Cleanup & test fix
2022-03-25 09:59:58 -04:00
1278429518
Closes #8232 : Add color show full 100% utilization ( #8816 )
...
* Closes #8232 : Add color show full 100% utilization
* change rounding
* change rounding
* fix hard code html
* format
2022-03-25 09:52:13 -04:00
a5820e27a6
Fixes #8905 : Disable ordering by assigned tags to prevent erroneous results
2022-03-24 11:56:18 -04:00
8d682041a4
Extend linkify() to accept an attr name for the link text
2022-03-22 15:17:34 -04:00
75dae5fbe8
Introduce linkify template filter
2022-03-22 14:51:20 -04:00
3dc671395e
Introduce local ChoiceField and MultipleChoiceField classes
2022-03-21 15:08:05 -04:00
15005209d1
Merge branch 'develop' into feature
2022-03-18 13:34:31 -04:00
0da04232f3
Fixes #8813 Retain search value after submitting ( #8907 )
...
* Fixes #8813 Retain search value after submitting
* remove autofocus from searchbar
Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com >
2022-03-18 13:23:39 -04:00
76445bd19c
Move bulk edit/delete buttons to template tags
2022-03-10 16:27:53 -05:00
5a3e99626d
Simplify add/import/export button invocation
2022-03-10 15:56:09 -05:00
655bc49fad
Clean up form select widgets
2022-03-07 15:11:57 -05:00
cd29293dd6
Merge v3.1.9
2022-03-07 10:55:30 -05:00
bffe63a233
Merge pull request #8793 from seros1521/fix_8715
...
Fixes #8715 : eliminates duplicates when used in many-to-many field constraints
2022-03-07 09:27:14 -05:00
6423b386d2
Closes #8758 : Allow empty string substitution when renaming objects in bulk
2022-03-04 13:30:32 -05:00
90257e9dee
Fixes #8715 : eliminates duplicates when used in many-to-many field constraints
...
When using permissions that use tags, a user may receive multiple permissions
of the same type if multiple tags are assigned to the device. This causes the
RestrictedQuerySet class to generate a query similar to this:
>>> dcim.models.Device.objects.filter(Q(tags__name='tag1')|Q(tags__name='tag2'))
<ConfigContextModelQuerySet [<Device: device1>, <Device: device1>]>
This query returns the same object twice if both tags are assigned to it. This
is due to the use of the django-taggit library. The library's documentation
describes this behavior as expected and suggests using an explicit distinct()
call in queries to avoid duplicates.
However, the use of DISTINCT in queries has a global side effect -
deduplication of responses, which may or may not be acceptable behavior
(depending on further use). Since it is not known how RestrictedQuerySet will
be used in the rest of the code, it was decided to dedupe using a subquery.
2022-03-04 14:37:05 +07:00
21e3159711
Hide table checkboxes when no bulk actions are enabled
2022-03-02 16:13:59 -05:00
5f8af6ad66
Closes #8779 : Enable the use of ChoiceSet by plugins
2022-03-02 11:43:28 -05:00
4dc428d75b
Closes #8764 : Correct the endpoint for plugin API view names
2022-03-01 13:11:49 +01:00
d6c272cfd6
Fixes #8764 : Correct view name resolution for dynamic form fields
2022-02-28 15:17:49 -05:00
6604ebfd01
Fix tag background color
2022-02-22 13:10:04 -05:00
d9696ae34c
Fixes #8714 : Remove label from comments form field
2022-02-22 10:47:02 -05:00
aa85ae89c1
Merge v3.1.8
2022-02-15 10:05:07 -05:00
c0a62793c4
Merge pull request #8441 from seulsale/8391-install-date-null
...
Fixes #8391 : Install date should appear empty when exported
2022-02-14 10:32:56 -05:00
f80452c7d9
Update import order
2022-02-14 00:47:48 -06:00
611f1b57dd
Implement custom DateTimeColumn improving null values handling
2022-02-14 00:44:50 -06:00
e1ef911d40
#8564 : Fix deepmerge logic to allow nullifying dicts
2022-02-11 15:22:50 -05:00
1319b62acb
Standardize on get_FOO_color() method for returning ChoiceField colors
2022-02-11 14:25:13 -05:00
7c105019d8
Closes #8600 : Document built-in template tags & filters
2022-02-09 16:01:58 -05:00
10e6ae2094
Introduce get_viewname() as a standard utility
2022-02-09 13:47:12 -05:00