1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

233 Commits

Author SHA1 Message Date
f56e3eb784 Fixes #8058: Display server-side form errors inline with fields 2022-11-22 12:02:21 -05:00
f411c4f439 Introduce panel template for services 2022-11-16 16:52:35 -05:00
9628dead07 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
ce054dd37d Closes #9477: Add a button to clear applied table column ordering 2022-08-31 15:28:59 -04:00
1379b9c9fb Tweak display of prerequisite model warning 2022-08-25 14:25:47 -04:00
f35ff105ab Merge pull request #10096 from arthanson/art-6454
Fixes #6454 - Adds warning for prerequisite models
2022-08-22 16:09:59 -04:00
a972174706 #6454 changes from PR review 2022-08-22 11:46:41 -07:00
2ef9e2d6fc Closes #10066: Use fixed column widths for custom field values in UI 2022-08-22 11:17:40 -04:00
38a8ddcd77 #6454 fix merge conflicts 2022-08-18 15:31:54 -07:00
928dff6b68 #6454 add prerequisite alert 2022-08-18 15:11:03 -07:00
eb3d3dcbc4 #6454 add prerequisite alert 2022-08-18 13:58:40 -07:00
a36294e209 Merge branch 'develop' into feature 2022-08-16 12:56:49 -04:00
ca0b21bef5 Closes #9980: Use standard table controls template for device interfaces list 2022-08-12 11:25:03 -04:00
e4bbebf87a Merge branch 'develop' into feature 2022-08-12 10:18:57 -04:00
f74b7aa7ac Add a "clear" button for quick search
Fixes #9857
2022-08-11 08:26:25 -04:00
c24f1f14ec Closes #9625: Add Contact Phone/Email to quick view panes to save time 2022-08-10 13:22:58 +02:00
466931d2fb Fixes #9829: Arrange custom fields by group when editing objects 2022-07-26 12:41:51 -04:00
123e758c6d Closes #9708: Render user API tokens in a table 2022-07-11 15:43:59 -04:00
531d961d30 Add API tokens to user menu 2022-07-11 14:47:15 -04:00
a57398b0d6 Closes #9647: Introduce customfield_value template tag 2022-07-01 14:45:22 -04:00
e8b970608e Replace None in templates with placeholder filter
To be consistent, all uses of — or None is replaced with the
placeholder filter.

Fixes #9537
2022-06-15 22:33:21 +02:00
17df8a5c43 Closes #8495: Enable custom field grouping 2022-04-15 14:45:28 -04:00
df2f6d4a7d Fixes #8872: Enable filtering by custom object fields 2022-03-23 14:34:42 -04:00
75dae5fbe8 Introduce linkify template filter 2022-03-22 14:51:20 -04:00
92c4e5bfaf Fixes #8659: Fix display of multi-object custom fields after deleting related object 2022-02-16 09:07:01 -05:00
7c105019d8 Closes #8600: Document built-in template tags & filters 2022-02-09 16:01:58 -05:00
353e132cf9 Replace filter_groups with fieldsets on filter forms 2022-01-31 16:03:26 -05:00
3e3880823b Merge v3.1.6 2022-01-17 11:12:54 -05:00
c8713d94d8 Merge branch 'develop' into feature 2022-01-11 16:16:13 -05:00
9152ba72f1 Fixes #8306: Redirect user to previous page after login 2022-01-10 14:44:25 -05:00
271b7adeb8 Extend to support the assignment of multiple objects per field 2022-01-05 17:05:54 -05:00
ccda73494f Center modal dialog vertically 2022-01-05 14:57:56 -05:00
443b4ccc57 Initial work on #8231 2022-01-05 14:06:56 -05:00
fa1e28e860 Initial work on #7006 2022-01-04 16:59:52 -05:00
82a0240d2e Closes #8182: Introduce checkmark template tag 2021-12-29 10:26:42 -05:00
542534aeba Add direct link to preferences in user menu 2021-12-23 14:41:39 -05:00
7fe45018e9 #7449: Remove red color from logout link 2021-12-22 15:22:06 -05:00
37065b7c50 Remove obsolete template 2021-12-22 14:47:42 -05:00
3a54ecb522 Fix #8097: Re-fix markdown table rendering 2021-12-20 23:31:24 +01:00
3699f16848 Show per-page selector only when results are present 2021-12-15 09:46:59 -05:00
863fb9aa47 Sync HTMX and non-HTMX paginator styles 2021-12-14 20:53:24 -05:00
8ed79d5973 Remove obsolete templates 2021-12-14 16:44:03 -05:00
414d33eb26 Refactor HTMX table template 2021-12-14 11:41:39 -05:00
6dd6094088 Push HTMX URL to browser location 2021-12-14 08:25:17 -05:00
5c34a75032 Enable HTMX for quick table search 2021-12-13 20:15:03 -05:00
91f33d3289 #8057: Enable dynamic tables for object list views 2021-12-13 16:51:59 -05:00
c50dc1eb35 Standardize usage of table template 2021-12-13 15:36:51 -05:00
34f24de3e4 Fixes #7757: Fix 404 when assigning multiple contacts/FHRP groups in succession 2021-11-09 17:08:28 -05:00
f93d6813a9 Merge branch 'develop' into feature 2021-11-09 16:52:36 -05:00
3ad773beb3 Fixes #7741: Fix 404 when attaching multiple images in succession 2021-11-09 16:46:58 -05:00