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

43 Commits

Author SHA1 Message Date
484efdaf75 Closes #9623: Implement saved filters (#10801)
* Initial work on saved filters

* Return only enabled/shared filters

* Add tests

* Clean up filtering of usable SavedFilters
2022-11-02 12:27:53 -04:00
cb815ede60 7961 CSV bulk update (#10715)
* 7961 add csv bulk update

* temp checkin - blocked

* 7961 bugfix and cleanup

* 7961 change to id, add docs

* 7961 add tests cases

* 7961 fix does not exist validation error

* 7961 fix does not exist validation error

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 optimize loading csv test data

* 7961 update tests remove redundant code

* 7961 avoid MPTT issue in test cases
2022-10-27 13:10:18 -04:00
16919cc1d9 Closes #10761: Enable associating an export template with multiple object types 2022-10-26 13:30:45 -04:00
9e8234bb45 Closes #8274: Enable associating a custom link with multiple object types 2022-10-26 11:39:26 -04: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
32322e95b6 Merge branch 'develop' into feature 2022-05-31 15:50:23 -04:00
998a392bd3 Fixes #9425: Fix bulk import for object and multi-object custom fields 2022-05-31 11:37:30 -04:00
20eaa7d069 #9166 - Add UI Visibility setting for custom fields 2022-05-24 10:12:32 +02:00
72e17914e2 Closes #8296: Allow disabling custom links 2022-01-10 12:11:37 -05:00
8e69961744 Fix CustomLinkButtonClassChoices references in tests 2021-12-30 08:15:43 -05:00
43fadab3bb Closes #8034: Enable specifying custom field validators during CSV import 2021-12-29 11:57:27 -05:00
78ecc8673c Add conditions for webhooks 2021-10-22 17:15:08 -04:00
c7523ffc67 Fixes #7358: Add missing choices column to custom field CSV import form 2021-09-27 12:28:52 -04:00
051abc00c4 Fix bulk_import button class in test view after naming change in e8ba4b0 2021-08-03 12:43:28 -07:00
f7ee5e8d78 Fix button class in test view after naming change in e8ba4b0 2021-08-03 12:06:13 -07:00
4e0b795a3c Add UI views for webhooks 2021-06-23 21:30:23 -04:00
10cbbee947 Add UI views for export templates 2021-06-23 20:56:50 -04:00
276ded0119 Add UI views for custom links 2021-06-23 17:10:04 -04:00
b017927c69 Add UI views for custom fields 2021-06-23 17:10:04 -04:00
82fbd975f1 Add kind field to JournalEntry 2021-03-17 12:51:39 -04:00
956e2728c2 Add bulk edit, delete views for journal entries 2021-03-17 10:41:06 -04:00
f2c079de87 Add JournalEntry tests 2021-03-16 16:47:35 -04:00
38ded66c4e Closes #5608: Add REST API endpoint for custom links 2021-03-08 20:57:44 -05:00
f53810ebb2 Fixes #5231: Fix KeyError exception when viewing object with custom link and debugging is disabled 2020-10-09 15:53:45 -04:00
fe20c30a81 Fix parameters for ObjectChangeTestCase 2020-07-23 14:57:35 -04:00
59091efa86 Closes #4840: Enable change logging for config contexts 2020-07-09 17:09:03 -04:00
57b73c485f #4416: Remove individual view for extras.Tag 2020-07-01 14:21:51 -04:00
da906f48d9 Standardize add, import, and export functionality for tags 2020-06-12 09:48:23 -04:00
d26fcc9918 Annotated blocked TODO items 2020-06-10 16:56:24 -04:00
486f1a74ab Standardize base classes for view test cases 2020-05-28 12:05:54 -04:00
635fefcb5c Update exempted tests 2020-05-22 16:33:56 -04:00
3b1128f8f3 Establish standard test cases for all models 2020-02-12 13:25:56 -05:00
d431efb7d4 Add bulk edit view tests 2020-02-03 13:53:19 -05:00
cea1e3d090 Fixes #4071: Enforce "view tag" permission on individual tag view 2020-01-31 16:10:16 -05:00
8881bba696 Suppress tag view test until #4071 is fixed 2020-01-31 14:22:56 -05:00
ab7b921641 Convert extras view tests to StandardTestCases 2020-01-31 13:45:09 -05:00
a44c4d14e4 Convert view tests under extras to the new TestCase 2020-01-30 18:13:02 -05:00
2bcbcd3458 ObjectChange.action to slug (#3569) 2019-12-05 16:30:15 -05:00
6e66f8d68a Fixes #3452: Queue deletion ObjectChanges until after response is sent 2019-08-26 16:52:05 -04:00
438b01815a Fix test for tags view 2019-06-05 15:05:35 -04:00
e710ccb0e6 Enforce view permissions for UI views 2019-04-11 17:27:38 -04:00
fc2bb724fa initial pass on migrating to custom tag model with color and comments fields 2019-02-20 03:52:47 -05:00
9d69f14faa Implement basic view testing for all models (#2909) 2019-02-15 17:02:18 -05:00