Commit Graph

3649 Commits

Author SHA1 Message Date
Jeremy Stretch
beece4040f Release v4.0.0 2024-05-06 14:40:31 -04:00
Arthur Hanson
19d32a9c84 15934 screenshots (#15935)
* 15934 update documentation screenshots

* 15934 update documentation screenshots

* 15934 update documentation screenshots

* Update cable trace screenshot

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-05-06 13:08:55 -04:00
Jeremy Stretch
58f4c854eb Merge branch 'develop' into feature 2024-05-06 12:59:24 -04:00
Jeremy Stretch
f319d830eb Release v3.7.8 2024-05-06 12:43:46 -04:00
Jeremy Stretch
0b16416b3a Changelog for #15877, #15917, #15925 2024-05-03 17:34:45 -04:00
Jeremy Stretch
1c94e711ed Changelog for #15630, #15802, #15831, #15852, #15915, #15942, #15944 2024-05-03 17:31:43 -04:00
Jeremy Stretch
1ea93b10e2 Extend release checklist to include updating UI resources 2024-05-02 17:07:41 -04:00
Jeremy Stretch
b551cb5727 Closes #15630: Remove server-side color mode preference & simplify toggling 2024-05-01 18:59:42 -04:00
Jeremy Stretch
a1ae3c124a Update changelog with beta2 bug fixes 2024-05-01 16:15:08 -04:00
Jeremy Stretch
0571d36f83 Merge branch 'develop' into feature 2024-05-01 16:09:14 -04:00
Jeremy Stretch
43b0841d8e Release v3.7.7 2024-05-01 15:08:08 -04:00
Jeremy Stretch
913fc0015e Changelog for #11460, #15891, #15894, #15896, #15899; add warning for #15811 2024-05-01 14:52:15 -04:00
Jeremy Stretch
ca3b688c8b Changelog for #14852, #15428, #15524, #15548, #15812, #15845, #15872 2024-04-29 17:55:14 -04:00
Jeremy Stretch
c4e3450058 Closes #15811: Note potential incompatibilities for remote auth headers containing underscores 2024-04-29 16:46:56 -04:00
JCWasmx86
7158d61202 Fixes #15812: Add Date(Time)Var for scripts to allow much easier date… (#15821)
* Fixes #15812: Add Date(Time)Var for scripts to allow much easier date input

* Extend tests for invalid data

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-29 12:46:39 -04:00
Daniel Sheppard
de7a374829 Update changelog for #14750 2024-04-22 21:57:40 -05:00
Daniel Sheppard
f9cba1a1b9 Correct wording for #13874 2024-04-22 21:51:54 -05:00
Daniel Sheppard
24cd3dfdd8 Update changelog for #13874 2024-04-22 21:51:08 -05:00
Jeremy Stretch
206a8b7a4d Release v4.0-beta2 2024-04-22 15:35:34 -04:00
Jeremy Stretch
2914276837 Merge branch 'develop' into feature 2024-04-22 13:23:42 -04:00
Jeremy Stretch
bdf4c48bd0 PRVB 2024-04-22 12:23:31 -04:00
Jeremy Stretch
837772522e Release v3.7.6 2024-04-22 11:46:03 -04:00
Arthur Hanson
0602fea022 15803 localize help_text (#15804) 2024-04-22 11:42:20 -04:00
Jeremy Stretch
7a48019867 Changelog for #14690, #15541, #15588, #15761, #15771, #15790 2024-04-22 11:25:21 -04:00
Jeremy Stretch
f99cc94369 Closes #15664: Restore usage of READTHEDOCS env variable 2024-04-22 09:52:03 -04:00
Jeremy Stretch
312ad44729 Update documentation for the DEFAULT_LANGUAGE configuration parameter 2024-04-19 16:15:32 -04:00
Jeff Gehlbach
99d707bfa5 Add link to plugin certification program details in Plugin module of docs. Fixes #15769 2024-04-19 08:49:13 -04:00
Jeremy Stretch
303843728b Update changelog 2024-04-17 16:24:04 -04:00
Jeremy Stretch
4f96bd3dcc Changelog for #15427, #15582, #15635 2024-04-17 16:18:57 -04:00
Jeremy Stretch
103490cc45 Closes #10696: Break out instructions for installing & removing plugins (#15757)
* Closes #10696: Break out instructions for installing & rmeoving plugins

* Misc cleanup
2024-04-17 11:58:14 -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
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ö
4899561843 Closes #15727: Add tab template context variable in the plugin doc 2024-04-17 08:30:39 -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
9cde60b7f4 Changelog for #15640, #15644, #15654, #15668, #15685 2024-04-15 12:10:33 -04:00
Julio Oliveira at Encora
0e35bfd52e Fixes #15644 - Add the ability to configure HSTS in NetBox (#15683)
* Added SECURE_HSTS_SECONDSm SECURE_HSTS_INCLUDE_SUBDOMAINS, and SECURE_HSTS_PRELOAD to settings.py

* Addressed some PR comments.

* Apply suggestions from code review

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-15 10:19:15 -04:00
Jeremy Stretch
675d72fc4d Changelog for #15605, #15616, #15617, #15619, #15637, #15638 2024-04-11 10:46:52 -04:00
Jeremy Stretch
2d7b924f7e PRVB 2024-04-04 16:23:16 -04:00
Jeremy Stretch
c1b3c0b4cf Release v3.7.5 2024-04-04 16:06:42 -04:00
Jeremy Stretch
ab42126da8 Changelog for #14707, #15039, #15598, #15608, #15609 2024-04-04 15:05:49 -04:00
muTeREdO
9653a019cd add example showing how to order results. (#15627)
* add example showing how to order results.

This addresses issue 15622 by building off filtering example to
show how to order results on a named field.

* Apply suggestions from code review

---------

Co-authored-by: Frank Clements <fclements@scoore.net>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-04 14:21:26 -04:00
Jeremy Stretch
7f80443255 Closes #15607: Update upgrade path diagram 2024-04-03 14:25:32 -04:00
Jeremy Stretch
4e57408e83 Changelog for #15029, #15102, #15435, #15597 2024-04-03 14:12:35 -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
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
97db8507ff Include description field on Group serializer 2024-04-02 15:41:44 -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
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
Arthur Hanson
b75d4b3c9b 15552 graphql docs (#15578)
* 15552 update query

* 15552 update query

* 15552 update query

* Update docs/integrations/graphql-api.md

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-03-29 14:50:11 -04:00
Arthur Hanson
afca8ac009 15154 Add uWSGI as option to gunicorn (#15550)
* 15154 uwsgi docs

* 15154 uwsgi contrib files

* 15154 review comments - merge nginx conf

* Restructure gunicorn/uWSGI installation docs

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-03-28 15:24:08 -04:00
Jeremy Stretch
c0f048ce1c Clean up the Markdown reference guide 2024-03-26 16:26:47 -04:00
Arthur Hanson
d166f577e1 9856 Replace graphene with Strawberry (#15141)
* 9856 base strawberry integration

* 9856 user and group

* 9856 user and circuits base

* 9856 extras and mixins

* 9856 fk

* 9856 update strawberry version

* 9856 update imports

* 9856 compatability fixes

* 9856 compatability fixes

* 9856 update strawberry types

* 9856 update strawberry types

* 9856 core schema

* 9856 dcim schema

* 9856 extras schema

* 9856 ipam and tenant schema

* 9856 virtualization, vpn, wireless schema

* 9856 fix old decorator

* 9856 cleanup

* 9856 cleanup

* 9856 fixes to circuits type specifiers

* 9856 fixes to circuits type specifiers

* 9856 update types

* 9856 GFK working

* 9856 GFK working

* 9856 _name

* 9856 misc fixes

* 9856 type updates

* 9856 _name to types

* 9856 update types

* 9856 update types

* 9856 update types

* 9856 update types

* 9856 update types

* 9856 update types

* 9856 update types

* 9856 update types

* 9856 update types

* 9856 GraphQLView

* 9856 GraphQLView

* 9856 fix OrganizationalObjectType

* 9856 single item query for schema

* 9856 circuits graphql tests working

* 9856 test fixes

* 9856 test fixes

* 9856 test fixes

* 9856 test fix vpn

* 9856 test fixes

* 9856 test fixes

* 9856 test fixes

* 9856 circuits test sans DjangoModelType

* 9856 core test sans DjangoModelType

* 9856 temp checkin

* 9856 fix extas FK

* 9856 fix tenancy FK

* 9856 fix virtualization FK

* 9856 fix vpn FK

* 9856 fix wireless FK

* 9856 fix ipam FK

* 9856 fix partial dcim FK

* 9856 fix dcim FK

* 9856 fix virtualization FK

* 9856 fix tests / remove debug code

* 9856 fix test imagefield

* 9856 cleanup graphene

* 9856 fix plugin schema

* 9856 fix requirements

* 9856 fix requirements

* 9856 fix docs

* 9856 fix docs

* 9856 temp fix tests

* 9856 first filterset

* 9856 first filterset

* 9856 fix tests

* 9856 fix tests

* 9856 working auto filter generation

* 9856 filter types

* 9856 filter types

* 9856 filter types

* 9856 fix graphiql test

* 9856 fix counter fields and merge feature

* 9856 temp fix tests

* 9856 fix tests

* 9856 fix tenancy, ipam filter definitions

* 9856 cleanup

* 9856 cleanup

* 9856 cleanup

* 9856 review changes

* 9856 review changes

* 9856 review changes

* 9856 fix base-requirements

* 9856 add wrapper to graphiql

* 9856 remove old graphiql debug toolbar

* 9856 review changes

* 9856 update strawberry

* 9856 remove superfluous check

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-03-22 12:56:30 -04:00
Jeremy Stretch
8b348d30e1 Move choice sets from utilities.choices to netbox.choices 2024-03-22 08:59:52 -04:00
Jeremy Stretch
a685035864 Closes #14279: Pass current request to custom validators (#15491)
* Closes #14279: Pass current request to custom validators

* Update custom validation docs

* Check that validator is a subclass of CustomValidator
2024-03-21 21:19:53 -04:00
Jeremy Stretch
8b74ddfec3 Update release notes 2024-03-19 14:18:15 -04:00
Jeremy Stretch
85972ab4bf Add form rendering utilities to plugins dev docs 2024-03-19 13:34:13 -04:00
Daniel Sheppard
32c08fc358 Closes: #13918 - Add facility field (#15456)
* Fixes: #13918 - Add facilities field to Location model.

* Stupidly forgot to `git add`

* Fix errant reference to site.

* Misc cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-03-18 10:09:50 -04:00
Jeremy Stretch
521735c400 Merge branch 'develop' into feature 2024-03-15 12:32:54 -04:00
Jeremy Stretch
5d8feee8a2 PRVB 2024-03-13 19:37:28 -04:00
Jeremy Stretch
296b813104 Release v3.7.4 2024-03-13 19:23:51 -04:00
Jeremy Stretch
9112f064f3 Changelog for #13722, #14206, #14366, #14832, #15322, #15347, #15356 2024-03-13 19:15:35 -04:00
Jeremy Stretch
68149ecec6 Closes #15357: Rename CustomField.object_type to related_object_type (#15366) 2024-03-09 06:16:17 -05:00
Jeremy Stretch
46e3ca9414 Changelog for #15220, #15232, #15241, #15243, #15316 2024-03-08 17:05:10 -05:00
Jeremy Stretch
ffcdd4c42e Fixes #15336: Correct label for recurring scheduled jobs 2024-03-08 17:03:18 -05:00
Jeremy Stretch
f3c7da2cfb Closes #15291: Add tunnel termination buttons to VM interfaces table 2024-03-08 16:58:04 -05:00
Jeremy Stretch
6372d3be41 Closes #15297: Linkify platform column in device & virtual machine tables 2024-03-08 16:48:39 -05:00
Jeremy Stretch
7148c47795 Changelog for #12795, #15277, #15292 2024-03-06 16:47:38 -05:00
Jeremy Stretch
86673156db Closes #15292: Remove obsolete device_role attribute from Device model 2024-03-01 11:31:47 -05:00
Jeff Gehlbach
0bac36a98e Fixes: Use systemctl enable --now shortcut in docs #15249 2024-02-29 16:01:53 -05:00
Jeremy Stretch
11830a2e80 Changelog for #14438, #15042, #15087, #15131, #15238 2024-02-29 11:37:23 -05:00
Jeremy Stretch
703791326d Merge branch 'develop' into feature 2024-02-21 16:24:23 -05:00
Jeremy Stretch
9dea6dfdaf PRVB 2024-02-21 16:04:04 -05:00
Jeremy Stretch
a7663fbc02 Release v3.7.3 2024-02-21 15:46:41 -05:00
Jeremy Stretch
a5f56c4f4e Changelog for #14064, #14689, #14966, #15101, #15185 2024-02-21 14:46:10 -05:00
Jeremy Stretch
378e51bf33 Changelog for #14405, #14587, #14946, #15090. #15174, #15177, #15184, #15192 2024-02-20 16:29:46 -05:00
Jeremy Stretch
f44dece501 Changelog for #14058, #14079, #14952, #15127 2024-02-20 09:45:58 -05:00
Jeremy Stretch
c26f10c2b4 Update v4.0 release notes 2024-02-13 16:43:51 -05:00
Jeremy Stretch
e347863e39 Changelog for #15059, #15067, #15091, #15115, #15126, #15133 2024-02-13 16:39:41 -05:00
Jeremy Stretch
f4a5a8cb33 Closes #13283: Add context to dropdown options (#15104)
* Initial work on #13283

* Enable passing TomSelect HTML template attibutes on DynamicModelChoiceField

* Merge disabled_indicator into option_attrs

* Add support for annotating a numeric count on dropdown options

* Annotate parent object on relevant fields

* Improve rendering of color options

* Improve rendering of color options

* Rename option_attrs to context

* Expose option context on ObjectVar for custom scripts

* Document dropdown context variables
2024-02-13 16:31:17 -05:00
Ikko Eltociear Ashimine
442fddbebb Update remote-authentication.md
Seperator -> Separator
2024-02-12 08:43:11 -05:00
Jeremy Stretch
19153f88ca Closes #15100: Remove obsolete NullableCharField class 2024-02-09 15:57:42 -05:00
Jeremy Stretch
f732aa9a08 Closes #15099: Remove legacy device_role & device_role_id filters for devices 2024-02-09 15:55:03 -05:00
Jeff Gehlbach
d012f7d33c Merge pull request #15053 from aharrisson/develop
Fix custom script documentation example script
2024-02-09 11:19:51 -05:00
Jeremy Stretch
c0598e9fc3 Fixes #15070: Fix inclusion of config_template field on REST API serializer for virtual machines 2024-02-08 09:10:24 -05:00
Jeremy Stretch
3d54836528 Fixes #15084: Fix "add export template" link 2024-02-08 08:47:16 -05:00
Arthur Hanson
fda9518740 12510 Merge Scripts and Reports (#14976)
* 12510 move reports to use BaseScript

* 12510 merge report into script view

* 12510 add migration for job report to script

* 12510 update templates

* 12510 remove reports

* 12510 cleanup

* 12510 legacy jobs

* 12510 legacy jobs

* 12510 fixes

* 12510 review changes

* 12510 review changes

* 12510 update docs

* 12510 review changes

* 12510 review changes

* 12510 review changes

* 12510 review changes

* 12510 main log results to empty string

* 12510 move migration

* Introduce an internal log level for debug to simplify Script logging

* Misc cleanup

* Remove obsolete is_valid() method

* Reformat script job data (log, output, tests)

* Remove ScriptLogMessageSerializer

* Fix formatting of script logs

* Record a timestamp with script logs

* Rename _current_method to _current_test

* Clean up template

* Remove obsolete runreport management command

* Misc cleanup & refactoring

* Clean up template

* Clean up migration

* Clean up docs

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-07 12:02:09 -05:00
Anders Harrisson
cdb8d9c0ec Fix custom script documentation example script
The example script still uses the old "role" field when creating
a Device object.

Fixes #15052
2024-02-06 12:42:17 +01:00
Jeremy Stretch
1736ac00b1 Update release notes 2024-02-05 15:00:20 -05:00
Jeremy Stretch
f76e3ce68c Merge branch 'develop' into feature 2024-02-05 14:38:26 -05:00
Jeremy Stretch
7f53394542 PRVB 2024-02-05 14:12:50 -05:00
Jeremy Stretch
86448adf7a Release v3.7.2 2024-02-05 13:56:52 -05:00