Commit Graph

11542 Commits

Author SHA1 Message Date
Arthur
3754e00ee0 12809 document not to use underscores in model names 2023-06-29 15:49:47 -04:00
pobradovic08
dd6d9bf6e3
List multiple devices in Terminations (#13030) 2023-06-29 15:48:00 -04:00
Abhimanyu Saharan
183c7deb81 adds contact accessor fields on assignment table #12955 2023-06-29 14:50:30 -04:00
Jeremy Stretch
0a60a3fd2a Add OneMind Services as a sponsor 2023-06-29 14:47:10 -04:00
Jeremy Stretch
6e222f8dce
Closes #8248: User bookmarks (#13035)
* Initial work on #8248

* Add tests

* Fix tests

* Add feature query for bookmarks

* Add BookmarksWidget

* Correct generic relation name

* Add docs for bookmarks

* Remove inheritance from ChangeLoggedModel
2023-06-29 14:36:11 -04:00
Jeremy Stretch
b13f9d27d9 Fix Repography charts 2023-06-27 10:19:12 -04:00
Jeremy Stretch
6b01b1df40 Changelog for #12849, #12945, #12961, #12977, #12983, #13011 2023-06-27 08:39:51 -04:00
Harm Geerts
34d32374a8 Fix #12983 bulk edit of M2M fields when nothing is selected
Partially revert 41c92483a0 to restore
bulk edit with m2m fields. The m2m cleaned_data yields a empty queryset
when nothing is selected. By setting the m2m relation unless set null is
checked even when nothing is selected the m2m relation is always
cleared.

This commit only sets the m2m relation when a selection is made.
2023-06-27 08:28:19 -04:00
rmanyari
c99e565426 fix remote auth backend check 2023-06-27 08:09:50 -04:00
pobradovic08
16d5107b71 Add QSFP-DD (100GE) interface type 2023-06-27 08:02:46 -04:00
Alexander Votteler
f1858a7c23 Fixes #13011: Allow comma in custom links 2023-06-27 08:00:33 -04:00
Arthur
0565663e87 12589 remove from admin 2023-06-26 13:17:13 -07:00
Arthur
54ae41809e 12589 change password 2023-06-26 13:13:53 -07:00
Jeremy Stretch
290ffd408a
Fixes #12977: Fix URL parameters for object count dashboard widgets (#12991)
* Fixes #12977: Introduce dict_to_querydict() to ensure proper handling of QueryDicts

* Remove unused import
2023-06-26 14:21:26 -04:00
Arthur
1f08dc6c55 12589 update proflie base template 2023-06-26 10:26:58 -07:00
Arthur
12cd1af564 12589 merge feature 2023-06-26 10:01:17 -07:00
Arthur
171f85d857 12589 objectpermission remove bulk import 2023-06-26 09:52:35 -07:00
Jeremy Stretch
74d9fe1ea2 Fixes #12961: Set correct return_url for object contacts tabs 2023-06-26 12:50:54 -04:00
Arthur
4e418ba7f0 12589 objectpermission test fixes for create check where create new objectpermission 2023-06-26 09:35:32 -07:00
Arthur
8e57521f3e 12589 objectpermission test fixes for create check where create new objectpermission 2023-06-26 09:32:47 -07:00
Arthur
c25fee9315 12589 objectpermission test fixes 2023-06-26 08:43:26 -07:00
Arthur
c4131af496 12589 objectpermission bulk edit 2023-06-25 17:11:31 -07:00
Arthur
93ba0c0177 12589 validation error 2023-06-25 12:02:53 -07:00
Arthur
e7b21549b2 12589 validation error 2023-06-25 12:02:21 -07:00
Arthur
b3b59a2e49 12589 objectpermission get_absolute_url 2023-06-25 12:00:14 -07:00
Arthur
ee29b2762d 12589 cleanup 2023-06-24 20:54:36 -07:00
Arthur
53fe4495e3 12589 group test fixes 2023-06-24 20:48:07 -07:00
Arthur
ef4e9bd0d8 12589 export objects test fixes 2023-06-24 20:25:44 -07:00
Arthur
0fee7b71ff 12589 bulk edit test fixes 2023-06-24 20:16:41 -07:00
Jeremy Stretch
d131d9b310 Correct changelog for #12953 2023-06-23 15:31:18 -04:00
Jeremy Stretch
32fe9fe8ec Changelog for #12533, #12960, #12963, #12966, #12975, #12989 2023-06-23 15:26:48 -04:00
Jeremy Stretch
882f29192c Fixes #12975: Correct URL for VirtualDeviceContext API serializer 2023-06-23 15:23:40 -04:00
Abhimanyu Saharan
27e850a68d fix ip address assignment #12953 2023-06-23 14:39:16 -04:00
Abhimanyu Saharan
c83b2499f0 fix db maintenance mode exception #12966 2023-06-23 14:36:50 -04:00
Abhimanyu Saharan
79c8219202 fixes device interface serializer #12533 2023-06-23 14:34:08 -04:00
Abhimanyu Saharan
49af70a77d fixes choice field schema for response #12960 2023-06-23 14:21:51 -04:00
Abhimanyu Saharan
7f96c7fee7 fixes most schema warnings #12257 2023-06-23 14:19:40 -04:00
Abhimanyu Saharan
13315f36d4 fixes device type and module type tag import #12949 2023-06-23 14:17:28 -04:00
Jeremy Stretch
1056e513b1
Closes #11541: Support for limiting tag assignments by object type (#12982)
* Initial work on #11541

* Merge migrations

* Limit tags by object type during assignment

* Add tests for object type validation

* Fix form field parameters
2023-06-23 14:08:14 -04:00
Arthur
923afae23d 12589 fix tests 2023-06-23 08:41:27 -07:00
Arthur
53b19980a1 12589 fix tests 2023-06-23 08:26:31 -07:00
Arthur Hanson
69b818ed33
12237 update to Django 4.2 / psycopg3 (#12916)
* 12237 upgrade django and psycopg

* 12237 add migration

* 12237 rename migration

* 12237 update requirements

* 12237 fix migration

* Update base requirements

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-06-23 10:38:08 -04:00
Arthur
98ac45ec3c 12589 fix tests 2023-06-22 16:34:55 -07:00
Arthur Hanson
148278a74a
12591 config params admin (#12904)
* 12591 initial commit

* 12591 detail view

* 12591 add/edit view

* 12591 edit button

* 12591 base views and forms

* 12591 form cleanup

* 12591 form cleanup

* 12591 form cleanup

* 12591 review changes

* 12591 move check for restrictedqueryset

* 12591 restore view

* 12591 restore page styling

* 12591 remove admin

* Remove edit view for ConfigRevision instances

* Order ConfigRevisions by creation time

* Correct permission name

* Use RestrictedQuerySet for ConfigRevision

* Fix redirect URL

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-06-22 14:04:24 -04:00
Arthur
bce8672a85 12589 test fixes 2023-06-22 10:31:28 -07:00
Jeremy Stretch
48b2ab3587 Closes #12964: Raise minimum PostgreSQL version from 11 to 12 2023-06-22 12:27:21 -04:00
Jeremy Stretch
9fa1411d74 Changelog for #9077, #11305, #12175, #12180, #12794 2023-06-22 10:55:12 -04:00
Arthur Hanson
eff4a3741c
12175 rack with starting unit > 1 (#12778)
* 12175 add rack starting unit

* 12175 rack starting unit to svg

* verify devices can still fit if change rack starting_unit

* 12175 fix migration

* 12175 fix typo and test

* 12175 fix test

* 12175 fix max height calc display

* Misc cleanup & fixes

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-06-22 09:09:01 -04:00
Arthur Hanson
518fd8cca6
12794 change User ref to get_user_model (#12905)
* 12794 change User ref to get_user_model

* 12794 call get_user_model once in tests

* 12794 call get_user_model once in tests

* 12794 use settings.AUTH_USER_MODEL for FK reference
2023-06-22 08:26:50 -04:00
Arthur
8267ca5840 12589 fix for Objectchange 2023-06-20 17:12:43 -07:00