Commit Graph

13107 Commits

Author SHA1 Message Date
Arthur Hanson
0ddb47f614 17410 only add debug middleware if DEBUG 2024-09-11 08:53:41 -04:00
Brian Tiemann
f971ed138b Fix migration dependencies for 3.7->4.1 path 2024-09-11 08:51:31 -04:00
Brian Tiemann
4865d374b9 Add a step to the release checklist documentation for testing migrations on all supported upgrade paths 2024-09-11 08:40:32 -04:00
github-actions
64e6117ffb Update source translation strings 2024-09-11 05:02:05 +00:00
Arthur Hanson
f6ca7223b5 17422 update custom field group display tag (#17423)
* 17422 update custom field group display tag

* 17422 review changes
2024-09-10 14:02:03 -04:00
Jeremy Stretch
e6208a9c00 Changelog for #16926, #17066, #17347, #17387, #17414 2024-09-10 09:31:46 -04:00
Arthur Hanson
abe8f41814 17414 allow single vlan in vlan group (#17418)
* 17414 allow single vlan in vlan group

* 17414 add test
2024-09-10 09:03:50 -04:00
amit177
73082c6e4f Add NEMA L22-20 2024-09-10 08:48:38 -04:00
github-actions
6f05c410c8 Update source translation strings 2024-09-10 05:02:11 +00:00
bchow
3695c6a572 Closes #16926 Adds various USB cable types to front/rear ports and cable choices (#16951)
* Closes #16926 Adds various USB cable types to front/rear ports and cable choices

* Closes #16926 Changes USB cable types to reflect versions-physical differences. Updated human readable labels on USB front/rear ports to match style of usb console ports

* Closes #16926 Removes USB cable type choices in favor of single, generic 'USB' cable
2024-09-09 10:49:04 -04:00
Arthur Hanson
49ed71a072 17066 fix put/patch for Script OpenAPI docs 2024-09-09 08:33:21 -04:00
MA Gang
e0578fbc87 Disable Directory Browsing for Static file path in Apache2 config 2024-09-09 08:21:05 -04:00
Peter Eckel
6c7ba75ae4 Fixed view permissions for ObjectChange 2024-09-05 12:58:37 -04:00
Jeremy Stretch
8a4a080c6e Closes #17384: Reorder GitHub issue templates 2024-09-05 12:57:04 -04:00
Arthur Hanson
e711dd609d 16349 add warning to custom script docs 2024-09-05 12:52:16 -04:00
github-actions
1a863ff782 Update source translation strings 2024-09-05 05:02:14 +00:00
Jeremy Stretch
b7457f8529 Changelog for #17332, #17353, #17354, #17364 2024-09-04 17:05:24 -04:00
Arthur Hanson
3b6760479b 17353 make map buttons consistent (#17371)
* 17353 make map buttons consistent

* 17353 fix margin
2024-09-04 17:01:16 -04:00
Jeremy Stretch
02b80fc043 Fixes #17332: Restore pagination for object list dashboard widgets 2024-09-04 16:20:19 -04:00
Arthur Hanson
9e9b87d49b 17354 fix import with custom-field (#17368)
* 17354 fix import with custom-field

* 17354 change to use kwargs
2024-09-04 16:15:44 -04:00
github-actions
25a4140c85 Update source translation strings 2024-09-04 05:02:15 +00:00
Jeremy Stretch
a162963e03 Release v4.1.0 2024-09-03 14:45:28 -04:00
Jeremy Stretch
fcbdfd2ab1 Merge pull request #17349 from netbox-community/feature
Move to v4.1
2024-09-03 14:18:51 -04:00
Jeremy Stretch
588dccde5e Update changelog 2024-09-03 13:56:29 -04:00
Jeremy Stretch
30f531a1bc Fix broken link 2024-09-03 13:36:39 -04:00
Jeremy Stretch
e71eadf90b #17289: Document new default configuration 2024-09-03 12:17:56 -04:00
Jeremy Stretch
6a8e455294 Merge branch 'develop' into feature 2024-09-03 11:59:59 -04:00
Jeremy Stretch
ba7569b6c6 Merge pull request #17346 from netbox-community/develop
Release v4.0.11
2024-09-03 10:50:46 -04:00
Jeremy Stretch
b352fc5bc2 Release v4.0.11 2024-09-03 10:33:47 -04:00
Jeremy Stretch
7d5414b2bb Compile translations 2024-09-03 10:16:26 -04:00
dependabot[bot]
43f882d4f8 Bump micromatch from 4.0.5 to 4.0.8 in /netbox/project-static
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 10:12:50 -04:00
transifex-integration[bot]
26777a8d6b Updates for project NetBox (#17345)
* Translate django.po in es

100% translated source file: 'django.po'
on 'es'.

* Translate django.po in ru

100% translated source file: 'django.po'
on 'ru'.

* Translate django.po in ja

100% translated source file: 'django.po'
on 'ja'.

* Translate django.po in cs

100% translated source file: 'django.po'
on 'cs'.

* Translate django.po in da

100% translated source file: 'django.po'
on 'da'.

* Translate django.po in nl

100% translated source file: 'django.po'
on 'nl'.

* Translate django.po in de

100% translated source file: 'django.po'
on 'de'.

* Translate django.po in pl

100% translated source file: 'django.po'
on 'pl'.

* Translate django.po in it

100% translated source file: 'django.po'
on 'it'.

* Translate django.po in tr

100% translated source file: 'django.po'
on 'tr'.

* Translate django.po in uk

100% translated source file: 'django.po'
on 'uk'.

* Translate django.po in pt

100% translated source file: 'django.po'
on 'pt'.

* Translate django.po in fr

100% translated source file: 'django.po'
on 'fr'.

* Translate django.po in zh

100% translated source file: 'django.po'
on 'zh'.

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-09-03 10:11:56 -04:00
Brian Candler
eb61a3fbf8 Hide exception in ObjectCountsWidget for models without a xxx_list view function (#17342)
* Hide exception in ObjectCountsWidget for models without a `xxx_list` view function

Fixes #17341

* Disable hyperlink for invalid view names

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-09-03 09:38:06 -04:00
Jeremy Stretch
43c6d510d6 Fixes #17323: Associate job with script object when executed using runscript command 2024-09-03 09:20:18 -04:00
bctiemann
01ca156f8f Fixes: #17320 - New screenshots for 4.1 UI (#17331)
* New screenshots for 4.1

* Remove footer info

* Add bookmarks to dashboard to match previous

* Reverse ordering of bookmarks

* Fix colors of cables in cable-trace.png

* New screenshots for 4.1

* Recapture screenshots with better rendering gradient

* Better sidebar on cable-trace.png
2024-09-03 09:03:41 -04:00
Jeremy Stretch
2f2a30ae94 Fixes #17337: Fix ordering of virtual device contexts by device name 2024-09-03 08:58:13 -04:00
Arzhel Younsi
8af41a65cc runscript: use the previously defined "user"
There is already a logic set earlier in the code to define "user" if --user is passed as parameter, and default to the user with the lowest ID no none is provided.
This patch uses this "user" to run the job instead of always applying the default.
2024-09-03 08:42:37 -04:00
Jeremy Stretch
b413db87b3 Closes #17288: Limit the number of aliases within a GraphQL API requests to 10 (#17329)
* Closes #17288: Limit the number of aliases within a GraphQL API request to 10

* Introduce GRAPHQL_MAX_ALIASES config parameter
2024-09-02 09:30:41 -04:00
Jeremy Stretch
5ce4a2aeb8 Fixes #17301: Fix script module edit & delete button styling (#17328) 2024-09-02 08:38:16 -04:00
Arthur Hanson
6e923bdd3b 17289 enforce minimum password strength (#17299)
* 17289 add password validation

* 17289 add password validation

* 17289 fix tests

* 17289 fix tests

* Update netbox/utilities/password_validation.py

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

* Update netbox/utilities/password_validation.py

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

* Update netbox/utilities/password_validation.py

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

* 17289 update tests

* 17289 remove common password check

* 17289 fix user create

* 17289 revert _post_clean

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-30 17:23:01 -04:00
Daniel Sheppard
45754798e7 Fixes: #17310 - Properly restrict GraphQL related object queries (#17312)
* Fixes: #17310 - Fix GraphQL restriction of related objects

* Fix some failing tests

* Fix test
2024-08-30 14:22:58 -04:00
Jeremy Stretch
a0a199cec3 #8198: Rename CustomField.validation_unique to unique (#17325)
* #8198: Rename CustomField.validation_unique to unique

* Update CustomField model documentation
2024-08-30 13:44:03 -04:00
Arthur Hanson
f2cb70c7dc 12826 make RackType.form_factor required (#17327)
* 12826 make RackType.form_factor required

* 12826 fix tests
2024-08-30 13:43:07 -04:00
Jeremy Stretch
c8a1ae939a Update changelog 2024-08-30 13:31:41 -04:00
Arthur Hanson
d7f55cc796 11969 remove airflow from racktype (#17324)
* 11969 remove airflow from racktype

* 11969 remove airflow from racktype

* 11969 update docs

* 11969 fix rack edit

* Rename migration

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-30 13:30:51 -04:00
Jeremy Stretch
2895d52726 Closes #17318: Include provider in nested API representation of circuits 2024-08-30 13:13:33 -04:00
Jeremy Stretch
30e7466b5c #17051: Tag ISOLATED_DEPLOYMENT as a v4.1 feature 2024-08-30 10:19:22 -04:00
Jeremy Stretch
2d76f446b7 #17143: Update docs for nested serializer use 2024-08-30 10:18:29 -04:00
Jeremy Stretch
fbaf952a34 #16782: Fix help text on form field 2024-08-30 09:36:27 -04:00
Jeremy Stretch
1497f22e6b #15106: Put distance & distance_unit on same line in model form 2024-08-30 08:40:16 -04:00