Arthur Hanson
ffce5d968d
8927 plugin search ( #10489 )
...
* #7016 base search classes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 7016 add search indexes
* 8927 refactor search
* 8927 refactor search
* 8927 refactor search
* 8927 refactor search
* 8927 get search choices working
* 8927 cleanup - optimize
* 8927 use backend search function
* 8927 fix for plugin search
* 8927 add docs
* Move search app to a module under netbox/
* Utilize global registry to register model search classes
* Build search form options from registry
* Determine search categories from model app by default
* Enable dynamic search registration for plugins
* Update docs & improve plugin support
* Clean up search backend class
* Docs for #8927
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-10-10 14:00:59 -04:00
jeremystretch
b0ba9bd83d
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:17:58 -04:00
jeremystretch
a0bae06ff7
Replace static journaling, changelog URL paths with dynamic resolution
2022-10-06 16:21:23 -04:00
Arthur Hanson
af8bb0c4b9
10348 add decimal custom field ( #10422 )
...
* 10348 add decimal custom field
* 10348 fix tests
* 10348 add documentation
* Rearrange custom fields to be ordered consistently
* Rename number_field to integer_field for clarity
* Clean up validation logic
* Apply suggested changes from PR
* Store decimal custom field values natively
* Fix filter test
* Update custom field model migrations to use new encoder
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-30 16:03:24 -04:00
Arthur Hanson
20e3fdc782
#9045 #9046 - remove legacy fields from Provider ( #10377 )
...
* #9045 - remove legacy fields from Provider
* Add safegaurd for legacy data to migration
* 9045 remove fields from forms and tables
* Update unrelated tests to use ASN model instead of Provider
* Fix migrations collision
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-28 15:22:19 -04:00
jeremystretch
f51415cf2c
Replace unique_together with UniqueConstraints
2022-09-27 15:35:24 -04:00
jeremystretch
f10460d774
Add relevant tests for all device components
2022-09-12 17:03:33 -04:00
jeremystretch
57365ef7b9
Rename is_occupied to occupied
2022-09-12 16:42:04 -04:00
Arthur
d24f10ce6e
#8580 add tests
2022-09-12 10:52:40 -07:00
Arthur
38a8ddcd77
#6454 fix merge conflicts
2022-08-18 15:31:54 -07:00
Arthur
928dff6b68
#6454 add prerequisite alert
2022-08-18 15:11:03 -07:00
jeremystretch
8cd5a24409
#9414 : Clean up clone_fields on all models
2022-08-11 09:58:37 -04:00
Kim Johansson
6904666e2a
Remove deprecated usage of prefetch_related
...
Fixes #9699
2022-07-30 01:18:30 +02:00
jeremystretch
3eb6b6c07f
Clean up core API imports
2022-07-13 16:18:55 -04:00
jeremystretch
43b27cc052
Misc cleanup
2022-07-12 16:29:26 -04:00
jeremystretch
c380fd00bf
Merge branch 'develop' into feature
2022-07-11 12:58:24 -04:00
Kim Johansson
1539769c08
Prefetch Tenant Group on user configurable tables
...
Prefetch the Tenant Group in views which allows its table to be configured
by the user. This decreases the amount of database queries that are required
to fetch the data.
2022-07-10 17:17:56 +02:00
Kim Johansson
e6bfde1397
Replace TenantColumn with new TenancyColumnsMixin
...
Replaces all usages of the TenantColumn with the new TenancyColumnsMixin.
This enables the user to add a column for Tenant Group on all tables which
also has a column for Tenant.
2022-07-10 15:13:48 +02:00
jeremystretch
9a7f3f8c1a
Cleanup for #9102
2022-07-07 12:48:44 -04:00
jeremystretch
af14bfdd84
Rename LinkTermination to CabledObjectModel
2022-07-06 15:56:10 -04:00
jeremystretch
ba079b9ee5
Merge branch 'feature' into 9102-cabling
2022-07-06 14:09:25 -04:00
jeremystretch
a5124ab9c8
Closes #8511 : Enable custom fields and tags for circuit terminations
2022-07-01 15:10:31 -04:00
jeremystretch
25ed3390cb
Merge branch 'feature' into 9102-cabling
2022-06-27 12:12:34 -04:00
jeremystretch
341615668b
Closes #7120 : Add termination_date field to Circuit
2022-06-22 15:09:50 -04:00
jeremystretch
440dfabefe
Merge branch 'feature' into 9102-cabling
2022-06-20 15:04:55 -04:00
jeremystretch
3362bc3106
Remove link peer fields from cable termination models
2022-06-01 16:48:56 -04:00
jeremystretch
7b02070007
Merge branch 'feature' into 9102-cabling
2022-05-31 16:10:10 -04:00
jeremystretch
a7d3e5e7f5
Merge all cable creation URLs into a single view
2022-05-23 13:22:45 -04:00
jeremystretch
7b5ff4c1a5
Merge cable creation/edit views & forms
2022-05-20 16:53:23 -04:00
jeremystretch
9ef9443969
Add REST API endpoint for CableTermination
2022-05-16 16:21:15 -04:00
kkthxbye-code
aba4e03d3b
Add contact_group to ContactModelFilterSet
2022-05-14 17:48:37 +02:00
jeremystretch
3a461d0279
Update Cable instantiations to match new signature
2022-05-13 09:33:00 -04:00
jeremystretch
d89f067c00
Update & restore rebuild_paths()
2022-05-12 16:08:44 -04:00
jeremystretch
5667a9c456
Refactor CablePath.from_origin()
2022-05-12 16:08:44 -04:00
jeremystretch
c48c8cc353
Remove termination IDs from cable creation view paths
2022-05-12 16:08:44 -04:00
jeremystretch
39a9ebaeee
Fixes #9313 : Remove HTML code from CSV output of many-to-many relationships
2022-05-06 10:26:02 -04:00
jeremystretch
0301aec409
Closes #9260 : Apply user preferences to tables under object detail views
2022-05-04 15:46:13 -04:00
jeremystretch
c1b7f09530
Ensure legacy data checks run before other migrations
2022-04-05 15:56:21 -04:00
jeremystretch
b576ce72a1
Merge branch 'develop' into feature
2022-04-01 09:13:37 -04:00
jeremystretch
99a01207bc
Closes #9012 : Linkify circuits count in providers list
2022-04-01 09:06:44 -04:00
jeremystretch
bddc35bbc7
Closes #8496 : Enable assigning multiple ASNs to a provider
2022-03-30 17:17:36 -04:00
jeremystretch
3dc671395e
Introduce local ChoiceField and MultipleChoiceField classes
2022-03-21 15:08:05 -04:00
jeremystretch
ba1e6e91b9
Rename ObjectEditView.model_form to form
2022-03-21 10:22:30 -04:00
jeremystretch
8d53b46e82
Merge branch 'develop' into feature
2022-03-18 13:17:11 -04:00
Alex Gittings
50bc0caccf
Fix issues with ordering and add field_groups
2022-03-18 14:58:51 +00:00
minitriga
da37db1ea9
Update netbox/circuits/filtersets.py
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2022-03-18 14:39:22 +00:00
jeremystretch
245cff887c
Move q filter to NetBoxModelFilterSet
2022-03-11 16:16:58 -05:00
jeremystretch
59aba52b03
Rename OrderedDefaultRouter to NetBoxRouter & document for plugins
2022-03-11 15:59:03 -05:00
jeremystretch
ffc29d14a8
Add tags field to NetBoxModelForm
2022-03-10 15:08:23 -05:00
Alex Gittings
ef6576bdd6
merge develop into issue
2022-03-09 17:47:58 +00:00