Commit Graph

147 Commits

Author SHA1 Message Date
Arthur Hanson
c42b209f79 8853 Prevent the retrieval of API tokens after creation (#10645)
* 8853 hide api token

* 8853 hide key on edit

* 8853 add key display

* 8853 cleanup html

* 8853 make token view accessible only once on POST

* Clean up display of tokens in views

* Honor ALLOW_TOKEN_RETRIEVAL in API serializer

* Add docs & tweak default setting

* Include token key when provisioning with user credentials

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-02 12:45:00 -04:00
Jeremy Stretch
68cf700a3e Closes #10560: New global search (#10676)
* Initial work on new search backend

* Clean up search backends

* Return only the most relevant result per object

* Clear any pre-existing cached entries on cache()

* #6003: Implement global search functionality for custom field values

* Tweak field weights & document guidance

* Extend search() to accept a lookup type

* Move get_registry() out of SearchBackend

* Enforce object permissions when returning search results

* Add indexers for remaining models

* Avoid calling remove() on non-cacheable objects

* Use new search backend by default

* Extend search backend to filter by object type

* Clean up search view form

* Enable specifying lookup logic

* Add indexes for value field

* Remove object type selector from search bar

* Introduce SearchTable and enable HTMX for results

* Enable pagination

* Remove legacy search backend

* Cleanup

* Use a UUID for CachedValue primary key

* Refactoring search methods

* Define max search results limit

* Extend reindex command to support specifying particular models

* Add clear() and size to SearchBackend

* Optimize bulk caching performance

* Highlight matched portion of field value

* Performance improvements for reindexing

* Started on search tests

* Cleanup & docs

* Documentation updates

* Clean up SearchIndex

* Flatten search registry to register by app_label.model_name

* Clean up search backend classes

* Clean up RestrictedGenericForeignKey and RestrictedPrefetch

* Resolve migrations conflict
2022-10-21 13:16:16 -04:00
jeremystretch
2b65e1311a Merge branch 'develop' into feature 2022-09-26 11:55:58 -04:00
Arthur Hanson
e6cc0911af 10407 fix documentation link to requests (#10409)
* 10407 fix documentation link to requests

* Append page heading to URL

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-26 09:17:02 -04:00
jeremystretch
d250c5c149 Closes #10358: Raise minimum required PostgreSQL version from 10 to 11 2022-09-14 17:10:14 -04:00
jeremystretch
4b987453fd Reorganize documentation 2022-08-04 14:11:52 -04:00
jeremystretch
31c2cd8301 Reorganize configuration docs 2022-07-29 15:10:50 -04:00
jeremystretch
6f95a14a0b Documentation cleanup 2022-07-11 17:29:25 -04:00
jeremystretch
450525b78f Docs & cleanup for #7702 2022-06-23 17:26:20 -04:00
Jeremy Stretch
c56c5bff25 Changelog for #9501, #9512 2022-06-13 19:05:16 -04:00
kkthxbye-code
03c83b5361 Add configuration option JINJA2_FILTERS 2022-06-10 23:13:49 +02:00
jeremystretch
fecffc2436 Changelog for #9277 2022-05-24 16:00:18 -04:00
tyler-8
57ab2214ef Add optional CSRF_COOKIE_NAME setting, update example config, and docs. 2022-05-24 10:57:38 -04:00
jeremystretch
7a1048d86a #9340: Introduce config parameters for Sentry sampling rates 2022-05-12 10:00:57 -04:00
jeremystretch
9c138e1787 #9340: Add default Sentry DSN 2022-05-12 09:35:13 -04:00
jeremystretch
2f57e2eac4 Enable & document Sentry integration 2022-05-11 14:13:50 -04:00
kkthxbye-code
9515cf1efd Change default JOBRESULT_RETENTION from 0 to 90 2022-04-12 11:42:47 -04:00
kkthxbye
56a8a86043 Add dynamic config JOBRESULT_RETENTION
and cleanup functionality to the housekeeping script
2022-04-12 11:42:47 -04:00
Jeremy Stretch
b09d321f6c Merge pull request #9082 from danielestevez/doc-remote-auth-default-group
Conflicting documentation on remote default group
2022-04-08 10:44:38 -04:00
jeremystretch
9038e7a5bc Closes #8794: Support dynamic configuration for JournalEntry kinds 2022-03-21 16:35:24 -04:00
Daniel Estévez
9d6db1564e Conflicting documentation on remote default group
In the current documentation we have two seemingly conflicting sentences:
* REMOTE_AUTH_DEFAULT_GROUPS: (Requires REMOTE_AUTH_ENABLED.)
* REMOTE_AUTH_ENABLED: (REMOTE_AUTH_DEFAULT_GROUPS will not function if REMOTE_AUTH_ENABLED is enabled)
2022-02-25 11:30:13 -05:00
jeremystretch
c497c47ae3 Closes #8649: Enable customization of configuration module using NETBOX_CONFIGURATION environment variable 2022-02-15 12:36:03 -05:00
jeremystretch
aafadd81ec Update documentation for v3.2 2022-02-11 12:57:08 -05:00
jeremystretch
553fb3d905 Merge branch 'develop' into feature 2022-02-10 15:05:54 -05:00
Jamie (Bear) Murphy
b2e22ae6be small documentation upgrade regarding group syncs
small documentation upgrade regarding group syncs
2022-02-09 13:05:51 +00:00
jeremystretch
f867cf3524 #8054: Allow replacing default static choices 2022-02-03 13:52:42 -05:00
jeremystretch
af6d1938c3 Closes #8509: CSRF_TRUSTED_ORIGINS is now a discrete configuration parameter 2022-02-01 14:29:52 -05:00
jeremystretch
ac54863a8b Update documentation for FIELD_CHOICES 2021-12-28 20:21:35 -05:00
jeremystretch
9a6d51de91 Introduce DEFAULT_USER_PREFERENCES dynamic config setting 2021-12-21 20:30:59 -05:00
jeremystretch
914d1d01b8 Closes #7650: Add support for local account password validation 2021-12-16 11:28:57 -05:00
jeremystretch
acba80f38a #8054: Support configurable status choices 2021-12-16 09:36:15 -05:00
jeremystretch
6b209568f0 Move GRAPHQL_ENABLED to dynamic configuration 2021-11-08 15:31:09 -05:00
jeremystretch
cb549e15a3 Move CUSTOM_VALIDATORS to dynamic configuration 2021-11-08 15:22:29 -05:00
jeremystretch
6fa417c51c Move CHANGELOG_RETENTION to dyanmic configuration 2021-11-08 15:07:58 -05:00
jeremystretch
b26da4256e Move remote authentication config parameters to a separate page 2021-11-04 15:41:46 -04:00
jeremystretch
9e12155143 Docs & changelog for #5883 2021-10-26 15:40:34 -04:00
jeremystretch
96317528d0 Closes #7318: Raise minimum required PostgreSQL version from 9.6 to 10 2021-09-29 12:14:15 -04:00
Max Rink
68ac7e6d09 Add Remote Group Support to the RemoteUserAuth Backend and Middleware
fix incorrect assumption about when to run the group sync

Add documentation for new Settings

format to autopep8 compliance

add first set of basic testcases

format test to comply with pep8

rename SEPERATOR to SEPARATOR

remove accidentally carried over parameter
2021-09-01 16:34:14 +02:00
jeremystretch
b528672fd5 Update references to NAPALM in docs 2021-08-30 11:51:18 -04:00
jeremystretch
b4fc9dcd36 Merge branch 'develop' into feature 2021-08-23 13:23:39 -04:00
jeremystretch
45b2788371 Fixes #6929: Introduce LOGIN_PERSISTENCE configuration parameter to persist user sessions 2021-08-20 16:06:37 -04:00
jeremystretch
f2a440d0ae Closes #6781: Disable database query caching by default 2021-07-23 11:34:24 -04:00
jeremystretch
b8960ebca5 Update release notes for v3.0 2021-07-22 14:25:30 -04:00
jeremystretch
16529372f0 Remove the RELEASE_CHECK_TIMEOUT parameter 2021-07-07 21:55:07 -04:00
jeremystretch
f19db4174d Replace django-cacheops with django-redis 2021-07-07 20:35:59 -04:00
jeremystretch
a1ccde7b0c Add configuration parameter to toggle GraphQL API 2021-06-29 13:30:38 -04:00
jeremystretch
584cf66df8 Update extras documentation 2021-06-24 08:37:06 -04:00
jeremystretch
c919481532 Document the custom validation feature 2021-06-09 12:09:30 -04:00
Daniel Sheppard
00b4a82ee8 Closes: #5278 - Remove Secrets (#6397)
* Remove Secrets

* #5278: Remove secrets javascript from netbox core

* Remove userkey references

* Fix PEP8

* Remove a few more instances of secrets.  Rebundle

* Remove Secrets

Co-authored-by: checktheroads <matt@allroads.io>
2021-05-17 16:26:02 -04:00
jeremystretch
b9d6b98865 Changelog & docs for #6197 2021-04-29 08:10:11 -04:00