Commit Graph

12429 Commits

Author SHA1 Message Date
Jeremy Stretch
ea66d5fb05 Formatting cleanup 2024-04-19 10:50:00 -04:00
Jeremy Stretch
625f5e2bd1 Fixes #15698: Drop and recreate FK constraints on ObjectPermission M2M tables 2024-04-19 08:17:19 -04:00
Jeremy Stretch
303843728b Update changelog 2024-04-17 16:24:04 -04:00
Arthur
020931f3fb 15636 change content_type_id to object_type_id for imageattachment 2024-04-17 16:13:29 -04:00
Jeremy Stretch
934b8a66c9 Closes #15736: Remove annotated_date() template filter and annotated_now() template tag 2024-04-17 14:09:07 -04:00
Jeremy Stretch
6e11d438b4 Closes #15752: Remove the ENABLE_LOCALIZATION configuration parameter 2024-04-17 11:54:29 -04:00
Jeremy Stretch
c59cfae043 Closes #15738: Remove configuration parameters date & time formatting 2024-04-17 11:50:14 -04:00
Jeremy Stretch
cdb193d442 Closes #15618: Always use ISO 8601 date & time formatting (#15737)
* Introduce the isodate(), isotime(), and isodatetime() template filters

* Display the relative time on mouse hover

* Render journal entry times in ISO 8601 format

* Use ISO 8601 format when displaying dates & times in a table

* Standardize the use of DateTimeColumn across all tables
2024-04-17 11:46:47 -04:00
Jeremy Stretch
6debf15cf1 Remove notes referencing past releases 2024-04-17 08:41:51 -04:00
Jeremy Stretch
095faadca1 Fix broken link in installation guide 2024-04-17 08:37:38 -04:00
Markku Leiniö
9b8025bdd5 Closes #15740: Fix typos and deprecated List in docs (#15741)
* Fix typos in migration-v4.md

* Replace typing.List with list

typing.List is deprecated since Python 3.9

* Also replace typing.List with list in graphql-api.md
2024-04-17 08:28:03 -04:00
Jeremy Stretch
46d8375165 Fixes #15695: Clear any legacy group permission associations during migration 2024-04-16 16:20:00 -04:00
Jeremy Stretch
fa0c1e0530 Fixes #15613: Show login button/user menu on mobile view 2024-04-16 16:17:50 -04:00
Jeremy Stretch
65177a25f1 Fixes #15652: Fix the display of error messages after attempting to delete an object 2024-04-15 15:47:43 -04:00
Arthur Hanson
3e9ac0b9b3 15684 strawberry filter (#15686)
* 15579 update requirements

* 15684 add USE_DEPRECATED_FILTERS to strawberry
2024-04-15 13:29:29 -04:00
Arthur Hanson
289b68c9b7 15671 save module before sync_classes (#15675)
* 15671 save module before sync_classes

* 15671 don't return save
2024-04-15 13:22:56 -04:00
Arthur
7756ac6090 15532 fix autotype_decorator for method fields 2024-04-15 13:05:55 -04:00
Jeremy Stretch
675d72fc4d Changelog for #15605, #15616, #15617, #15619, #15637, #15638 2024-04-11 10:46:52 -04:00
Arthur Hanson
2b8ff822cf 15676 update python versions in pyproject.toml (#15687)
* 15676 update python versions in pyproject.toml

* 15676 update formatting
2024-04-10 16:36:04 -04:00
Arthur
96be6f701a 15688 remove USE_L10N setting 2024-04-10 16:23:53 -04:00
Jeremy Stretch
8d7f90f359 Fixes #15605: Account for older sequence name in migration 2024-04-10 16:17:01 -04:00
Jeremy Stretch
8e501e52b5 Fixes #15638: Correct parameter used to retrieve saved filters for a model 2024-04-05 14:56:16 -04:00
Jeremy Stretch
fcf473c989 Fixes #15620: Limit width of user preferences form 2024-04-05 14:38:32 -04:00
Jeremy Stretch
b85068f94a Fixes #15637: Fix rendering of links from within embedded tables w/HTMX enabled (#15642)
* Add htmx_table to __all__

* Fix dropdown menu clipping

* Fix loading links from within embedded tables

* Fix rendering of object deletion warning
2024-04-05 14:22:09 -04:00
Jeremy Stretch
f9783eea80 Fixes #15619: Enforce a minimum width for progress bars 2024-04-05 14:20:05 -04:00
Jeremy Stretch
0e538a6fda Fixes #15617: Fix rack elevation styling under dark mode 2024-04-05 14:19:30 -04:00
Jeremy Stretch
521806005d Fixes #15616: Tweak button class for invalid custom links 2024-04-05 14:17:58 -04:00
Jeremy Stretch
7f80443255 Closes #15607: Update upgrade path diagram 2024-04-03 14:25:32 -04:00
Jeremy Stretch
2027b9a112 Bump OS & Python for docs build 2024-04-03 09:32:48 -04:00
Jeremy Stretch
8eebe2fc9e Add warning to beta release notes 2024-04-03 09:02:25 -04:00
Jeremy Stretch
0b2c127711 Release v4.0-beta1 2024-04-03 08:44:34 -04:00
Jeremy Stretch
75f5af199b Merge branch 'develop' into feature 2024-04-03 08:43:12 -04:00
Jeremy Stretch
31d5bd853c Change log for #14799, #15502 2024-04-03 08:15:44 -04:00
Daniel Sheppard
025a125488 Fixes: #15502 - Correct exception on IP import form when VM is target 2024-04-03 08:10:28 -04:00
tobiWu
40f6343bf6 Fix #15506 Update documentation for plugins index.md (#15518)
* Update documentation for plugins index.md

You should restart netbox-rq workers if you added a plugin. Otherwise you can't load modules from plugin to custom scripts later.

* Update docs/plugins/index.md

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-03 08:05:47 -04:00
Markku Leiniö
9aee07c8b3 Fixes #15583: Update API token provisioning example response (#15584)
* Fixes #15583: Update API token provisioning example response

* Fix 'display' field output
2024-04-03 07:58:46 -04:00
Jeremy Stretch
42b838b5fa Update API test for Group model 2024-04-02 16:33:12 -04:00
Jeremy Stretch
6594d8b7d3 Prevent the stock Django Group model from appearing in the admin UI (if enabled) 2024-04-02 15:48:40 -04:00
Jeremy Stretch
97db8507ff Include description field on Group serializer 2024-04-02 15:41:44 -04:00
Jeremy Stretch
56afcfc218 Refactor models under users app 2024-04-02 15:06:05 -04:00
Jeremy Stretch
de11ea5282 #12795: Complete support for description field on custom Group model 2024-04-02 14:44:26 -04:00
Jeremy Stretch
dfabdbcba7 Update custom validation docs for #14279, #15490 2024-04-02 14:14:58 -04:00
Jeremy Stretch
192db111c8 Remove old feature notifications 2024-04-02 14:14:58 -04:00
Arthur
2f60632ed6 update readme for strawbery 2024-04-02 11:12:33 -07:00
Jeremy Stretch
4f3f4ec897 Fleshed out v4.0 release notes 2024-04-02 13:30:26 -04:00
Jeremy Stretch
5ba59d3385 Fix ordering of Groups 2024-04-02 08:31:53 -04:00
Jeremy Stretch
ec8ce78d5e Closes #15043: Add v4.0 migration guide for plugins (#15477)
* Add v4.0 migration guide for plugins

* Note Python 3.12 support

* 15403 update GraphQL plugin conversion docs

* Add section on FieldSets

---------

Co-authored-by: Arthur <worldnomad@gmail.com>
2024-04-01 09:08:28 -04:00
Jeremy Stretch
cc052bf4ac Fixes #15581: Disable HTMX when logging out 2024-03-29 15:26:43 -04:00
Jeremy Stretch
7e419163b9 Closes #15464: Move permission assignments to user & group models (#15554)
* Move user & group M2M assignments for ObjectPermission

* Restore users & groups fields on ObjectPermission serializer
2024-03-29 14:57:16 -04:00
Arthur Hanson
cc979e110f 15553 change graphql sub-queries from functions to types (#15557)
* 15553 change graphql list to types

* 15553 review changes
2024-03-29 14:54:31 -04:00