jeremystretch
e0cfd5e49b
Closes #2658 : Avalable VLANs API endpoint for VLAN groups
2021-12-23 10:14:28 -05:00
jeremystretch
2dd165bbef
Merge branch 'develop' into feature
2021-12-23 08:32:40 -05:00
jeremystretch
9dafb36c88
Introduce CustomLinkColumn
2021-12-22 20:56:11 -05:00
jeremystretch
f369b5f588
Reorganize & clean up templatetag templates
2021-12-22 15:05:24 -05:00
Jeremy Stretch
063abc8ef7
Merge pull request #8153 from davama/develop
...
Add missing HTTP_X_FORWARDED_FOR
2021-12-22 12:46:22 -05:00
jeremystretch
70f257b1ea
Introduce UserConfigForm for managing user preferences
2021-12-21 16:29:01 -05:00
jeremystretch
d275538116
Changelog & cleanup for #7246 , #8097
2021-12-21 11:53:31 -05:00
Jeremy Stretch
853a52f3ca
Merge branch 'develop' into fix-8097
2021-12-21 11:37:58 -05:00
jeremystretch
5e32c69e0e
Merge branch 'develop' into feature
2021-12-21 11:28:16 -05:00
jeremystretch
57a78b3cad
Clean up device/devicetype tab views
2021-12-21 10:28:28 -05:00
kkthxbye-code
3a54ecb522
Fix #8097 : Re-fix markdown table rendering
2021-12-20 23:31:24 +01:00
jeremystretch
71b4641e18
Merge v3.1.2
2021-12-20 16:28:11 -05:00
jeremystretch
e12da72615
Fixes #8101 : Preserve return URL when using "create and add another" button
2021-12-20 13:41:22 -05:00
jeremystretch
7735a539e9
Fixes #8088 : Improve legibility of text in labels with light-colored backgrounds
2021-12-16 12:44:18 -05:00
jeremystretch
d8be8e25a5
ChoiceSet cleanup
2021-12-16 10:31:32 -05:00
jeremystretch
1902ecb8ca
Drop as_dict() method from ChoiceSet
2021-12-16 10:22:05 -05:00
jeremystretch
124302908a
Support nested choice groups
2021-12-16 10:19:16 -05:00
jeremystretch
0d3b50a5e5
Support CSS class definition directly in CHOICES iterable
2021-12-16 10:03:23 -05:00
jeremystretch
419f86a4a5
#8054 : Support configurable status choices
2021-12-16 09:36:15 -05:00
jeremystretch
fd785fc9a5
Move speed select dropdown menu to widget template
2021-12-16 08:41:43 -05:00
jeremystretch
997e88af00
Merge branch 'develop' into feature
2021-12-15 10:53:21 -05:00
jeremystretch
91f33d3289
#8057 : Enable dynamic tables for object list views
2021-12-13 16:51:59 -05:00
jeremystretch
f2f6edabf9
Merge branch 'develop' into feature
2021-12-13 11:29:54 -05:00
jeremystretch
ee6e2e0af1
Fixes #7690 : Fix custom field integer support for MultiValueNumberFilter
2021-12-10 16:34:38 -05:00
jeremystretch
58095e1916
Fixes #8038 : Placeholder filter should display zero integer values
2021-12-10 15:38:51 -05:00
jeremystretch
7d99e15dc3
Closes #7743 : Remove legacy ASN field from site model
2021-12-09 17:01:27 -05:00
jeremystretch
8680981990
Closes #8031 : Remove automatic redirection of legacy slug-based URLs
2021-12-09 15:43:41 -05:00
jeremystretch
1df05715c2
Fixes #8033 : Fix display of zero values for custom integer fields in tables
2021-12-09 14:56:12 -05:00
jeremystretch
f94c1e91ea
Merge branch 'develop' into feature
2021-12-06 12:10:31 -05:00
jeremystretch
40c6b172f7
Fixes #7981 : Fix Markdown sanitization regex
2021-12-06 11:33:00 -05:00
jeremystretch
68f322a03b
Closes #7925 : Linkify contact phone and email attributes
2021-12-03 10:51:24 -05:00
jeremystretch
870aa3a265
Merge branch 'develop' into feature
2021-11-24 14:00:37 -05:00
Jeremy Stretch
c9b00891ed
Merge pull request #7861 from netbox-community/7657-threadsafe-changelog
...
Fixes #7657 : Make request/webhook caching thread-safe
2021-11-24 09:06:48 -05:00
Dave
038d7e0fa6
Add missing HTTP_X_FORWARDED_FOR
...
See discussion [here](https://github.com/netbox-community/netbox/discussions/7876 ) for background.
From the [doc](https://netbox.readthedocs.io/en/stable/customization/custom-scripts/ ) i should be able to access `META.HTTP_X_FORWARDED_FOR` but i was not able to since they were not being sent downstream
2021-11-19 15:20:00 -05:00
jeremystretch
b7c9ca720a
Closes #7886 : Introduce a base FilterForm class
2021-11-19 15:12:45 -05:00
jeremystretch
55049bb303
Apply BootstrapMixin to BulkEditForm
2021-11-18 16:23:26 -05:00
jeremystretch
c210c6937b
Apply BootstrapMixin to CustomFieldModelForm
2021-11-18 16:19:25 -05:00
jeremystretch
f16c6d81cf
Merge branch 'develop' into feature
2021-11-18 11:06:54 -05:00
jeremystretch
6a369ac985
Closes #7531 : Add Markdown support for strikethrough formatting
2021-11-17 16:50:23 -05:00
jeremystretch
0d60099588
Move request object and webhook queue to TLS
2021-11-17 15:12:19 -05:00
jeremystretch
9de179cba8
Closes #7858 : Standardize the representation of content types across import & export functions
2021-11-17 11:02:22 -05:00
jeremystretch
500f213c6b
Fix erroneous merge resolution
2021-11-12 09:29:55 -05:00
jeremystretch
cede27b5fe
Merge branch 'develop' into feature
2021-11-12 09:09:15 -05:00
jeremystretch
9f8068e8d1
Fixes #7808 : Fix reference values for content type under custom field import form
2021-11-11 16:21:27 -05:00
jeremystretch
a799094227
Fixes #7788 : Improve XSS mitigation in Markdown renderer
2021-11-11 15:38:34 -05:00
jeremystretch
f93d6813a9
Merge branch 'develop' into feature
2021-11-09 16:52:36 -05:00
jeremystretch
3ad773beb3
Fixes #7741 : Fix 404 when attaching multiple images in succession
2021-11-09 16:46:58 -05:00
jeremystretch
d08ed9fe5f
Fixes #7780 : Preserve mutli-line values during CSV file import
2021-11-09 15:24:21 -05:00
jeremystretch
4649ab2d85
Merge branch 'develop' into feature
2021-11-05 08:49:25 -04:00
jeremystretch
06f1d15283
Introduce create_test_virtualmachine()
2021-11-04 13:22:21 -04:00
jeremystretch
8f1acb700d
Fix ID list creation in API tests
2021-11-04 11:31:39 -04:00
Daniel Sheppard
5fc373f5cc
Merge feature -> develop
2021-11-03 12:05:11 -05:00
jeremystretch
2c2e37e9f0
Merge branch 'develop' into feature
2021-11-03 10:29:02 -04:00
jeremystretch
318c8b85e9
Fixes #7721 : Retain pagination preference when MAX_PAGE_SIZE is zero
2021-11-03 08:25:50 -04:00
jeremystretch
d0b85586b9
Changelog & cleanup for #6930
2021-11-02 16:24:28 -04:00
Rhys Barrie
cef0d168a5
Closes #6930 : Add 'ID' column to object tables ( #7673 )
...
* netbox-community/netbox#6930 : Add ID column to devices, device types, and components
* netbox-community/netbox#6930 : Add ID column to sites, racks, and tenants
* netbox-community/netbox#6930 : Add ID column to power, providers, TODO circuits
* netbox-community/netbox#6930 : Add ID column to virtualization tables
* netbox-community/netbox#6930 : Add ID column to IPAM tables
* netbox-community/netbox#6930 : Add ID column to 'extras' tables
* netbox-community/netbox#6930 : Move ID column to BaseTable class
* netbox-community/netbox#6930 : Don't linkify ID in device component template tables
* netbox-community/netbox#6930 : Don't show ID column in interface/console/power connections tables
* netbox-community/netbox#6930 : Don't show ID column in device component template tables
* netbox-community/netbox#6930 : Add ID column to ObjectJournal, DeviceImport, and Circuit tables
* Exclude ID column from selected tables
* netbox-community/netbox#6930:revert default columns on ObjectChangeTable, not configurable
* netbox-community/netbox#6930 : Add object ID to tagged objects table in tag detail view
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2021-11-02 16:21:34 -04:00
Daniel Sheppard
330c498fe4
Merge feature
2021-11-02 11:16:01 -05:00
Daniel Sheppard
8c27ff3859
#6732 - Add ASN back to filtersets
2021-11-02 11:07:19 -05:00
jeremystretch
1ce9192369
Move MACAddressField to utilities
2021-10-28 16:26:31 -04:00
Daniel Sheppard
033db83068
Merge branch 'feature' of https://github.com/netbox-community/netbox into 6732-asn-model
2021-10-28 11:55:20 -05:00
Daniel Sheppard
1902e112f6
#6732 - Fix tests for utilities
2021-10-28 11:46:55 -05:00
jeremystretch
fbf91dda7d
Optimize config queries
2021-10-26 13:41:56 -04:00
jeremystretch
64d8512fc3
Add PAGINATE_COUNT, MAX_PAGE_SIZE
2021-10-26 11:43:06 -04:00
jeremystretch
559dc2f865
Add ALLOWED_URL_SCHEMES
2021-10-26 10:24:33 -04:00
jeremystretch
3a3ed8bf64
Merge branch 'feature' into 3979-wireless
2021-10-21 13:19:52 -04:00
jeremystretch
efb41b7433
Merge branch 'develop' into feature
2021-10-20 10:10:10 -04:00
jeremystretch
39430e01de
Fixes #7550 : Fix rendering of UTF8-encoded data in change records
2021-10-19 15:41:19 -04:00
jeremystretch
717fd760df
#3979 : UI cleanup
2021-10-15 12:24:07 -04:00
jeremystretch
075f4907ef
Store channel frequency & width as independent values
2021-10-15 11:39:53 -04:00
jeremystretch
18c3bb673f
Closes #1337 : Add WWN field to interfaces
2021-10-07 15:09:42 -04:00
jeremystretch
e09024e86f
Fixes #7446 : Fix exception when viewing a large number of child IPs within a prefix
2021-10-05 12:07:03 -04:00
jeremystretch
1757102536
Fixes #7442 : Fix missing actions column on user-configured tables
2021-10-05 09:34:30 -04:00
jeremystretch
c9c537a1b9
Fixes #6817 : Custom field columns should be removed from tables upon their deletion
2021-10-01 20:22:54 -04:00
jeremystretch
1be748b479
Fixes #6433 : Fix bulk editing of child prefixes under aggregate view
2021-10-01 16:21:16 -04:00
jeremystretch
a1f271d7d9
Fixes #7417 : Prevent exception when filtering objects list by invalid tag
2021-10-01 14:07:26 -04:00
jeremystretch
1f1a05dc67
Fixes #6895 : Remove errant markup for null values in CSV export
2021-09-29 21:00:45 -04:00
jeremystretch
3ec0fe5519
Closes #7372 : Link to local docs for model from object add/edit views
2021-09-28 13:23:57 -04:00
jeremystretch
3cf1d6baf4
Closes #7118 : Render URL custom fields as hyperlinks in object tables
2021-09-21 14:04:47 -04:00
jeremystretch
41dfdc0aaa
Fixes #7324 : Fix TypeError exception in web UI when filtering objects using single-choice filters
2021-09-21 09:13:26 -04:00
jeremystretch
713e79c1a9
Fixes #7298 : Restore missing object names from applied object list filters
2021-09-17 16:55:32 -04:00
jeremystretch
16d8981a3f
Closes #7284 : Include comments field in table/export for all appropriate models
2021-09-17 12:04:22 -04:00
Jeremy Stretch
a39a9c9b56
Merge branch 'develop' into 7205-applied-filters
2021-09-08 11:12:29 -04:00
jeremystretch
45988b9818
Minor cleanup for get_selected_values()
2021-09-08 11:11:52 -04:00
jeremystretch
e12314ba60
Fix test user permissions for API pagination tests
2021-09-08 09:57:53 -04:00
jeremystretch
9226302742
Fixes #7209 : Allow unlimited API results when MAX_PAGE_SIZE is disabled
2021-09-08 09:38:23 -04:00
thatmattlove
a9c1c8968e
Return cleaned null_option
value as None
in dynamic multi-select field
2021-09-07 18:43:36 -07:00
thatmattlove
6a15c2ae86
Remove invalid (for Python <3.9) type annotation
2021-09-07 18:37:55 -07:00
thatmattlove
752de0d9c0
Fixes #7205 : Handle null_option
when getting selected form values in applied_filters
template tag
2021-09-07 18:30:45 -07:00
thatmattlove
49617a595d
#7205 : Handle null_option
in dynamic multi-select choices field
2021-09-07 18:28:49 -07:00
thatmattlove
4a13ee6f40
Fixes #7176 : Reset query parameters on APISelect when deep copied
2021-09-07 14:13:53 -07:00
jeremystretch
a1110b07de
Fixes #7153 : Allow clearing of assigned device type images
2021-09-02 16:48:54 -04:00
thatmattlove
ddff193786
#7123 : Handle empty_option on API Select
2021-09-01 17:02:43 -07:00
thatmattlove
7bdde47473
Fixes #7124 : Fix duplicate static query param values in API Select
2021-09-01 11:48:13 -07:00
jeremystretch
707e51d855
#7084 : Catch ValueErrors when initializing dynamic form fields
2021-09-01 13:33:41 -04:00
jeremystretch
528df76747
#7082 : Handle stale content types
2021-09-01 12:55:25 -04:00
jeremystretch
d2fe59ae8f
Fixes #7109 : Ensure human readability of exceptions raised during REST API requests
2021-09-01 10:43:12 -04:00
jeremystretch
f63dcb1f08
#7091 : Simplify access to BASE_PATH variable
2021-09-01 09:34:33 -04:00
thatmattlove
14d87a3584
Fixes #7041 : Properly format JSON config object returned from a NAPALM device
2021-09-01 00:03:53 -07:00
thatmattlove
679bbd3e76
Fixes #7091 : Ensure API requests from the UI are aware of BASE_PATH
2021-08-31 15:13:53 -07:00
Brian Candler
349733c6dd
Redirect users on error to the GitHub discussion forum
...
Fixes #7102
2021-08-31 19:51:53 +01:00
jeremystretch
1c09ffdd1f
Fixes #7101 : Enforce MAX_PAGE_SIZE for table and REST API pagination
2021-08-31 13:52:04 -04:00
jeremystretch
415313ac2f
Fixes #7082 : Avoid exception when referencing invalid content type in table
2021-08-31 11:43:44 -04:00
jeremystretch
7db2b9d091
Fixes #7072 : Fix table configuration under prefix child object views
2021-08-31 11:15:41 -04:00
jeremystretch
deb53d771d
Fixes #7070 : Fix exception when filtering by prefix max length in UI
2021-08-30 16:51:07 -04:00
Matt Love
25d1fe2c8d
Improve APISelect query parameter handling ( #7040 )
...
* Fixes #7035 : Refactor APISelect query_param logic
* Add filter_fields to extras.ObjectVar & fix default value handling
* Update ObjectVar docs to reflect new filter_fields attribute
* Revert changes from 89b7f3f
* Maintain current `query_params` API for form fields, transform data structure in widget
* Revert changes from d0208d4
2021-08-30 09:43:32 -04:00
jeremystretch
94b8d36065
Introduce ContentTypesColumn for custom field and webhook tables
2021-08-26 12:55:37 -04:00
jeremystretch
85b61c0b7e
Bump django-timezone-field to 4.2.1
2021-08-24 15:52:04 -04:00
jeremystretch
736da4bcad
Merge branch 'develop' into feature
2021-08-10 21:03:10 -04:00
jeremystretch
db359719a9
Closes #6921 : Employ a sandbox when rendering Jinja2 code for increased security
2021-08-10 20:52:45 -04:00
jeremystretch
c7ebad0fbb
Closes #6931 : Include applied filters on object list view
2021-08-10 13:11:35 -04:00
jeremystretch
1bb596fc7e
Fixes #6908 : Allow assignment of scope to VLAN groups upon import
2021-08-09 09:54:27 -04:00
Jeremy Stretch
fe54acef51
v3.0 nav menu tweaks ( #6906 )
...
* Clean up nav menu spacing & link colors
* Shrink NetBox icon & collapsed sidebar
* Fix gap between scrollbar and righthand window border
2021-08-06 17:43:02 -04:00
jeremystretch
65659fb676
Badges use secondary BG by default; add custom option
2021-08-06 15:41:26 -04:00
jeremystretch
d0fbbbfb37
Merge branch 'develop' into feature
2021-08-06 10:06:52 -04:00
jeremystretch
46d0af6cef
Fixes #6892 : Fix validation of unit ranges when creating a rack reservation
2021-08-05 11:12:08 -04:00
Matt
582b69de74
#6797 : Improve object edit form field layout
2021-08-04 10:57:01 -07:00
jeremystretch
11836cdfb1
Fixes #6871 : Support dynamic tag types in GraphQL API
2021-08-03 16:29:34 -04:00
jeremystretch
1b612816cc
Merge branch 'feature' into 6829-graphql-reverse-relations
2021-08-03 16:05:31 -04:00
Matt
e8ba4b0564
#6797 : Improve controls & custom link styling
2021-08-03 10:21:06 -07:00
Matt
53e21ceed4
#6797 : Improve global search styles
2021-08-03 09:19:24 -07:00
jeremystretch
0df67dbc12
Add ip_addresses relation on InterfaceType, VMInterfaceType
2021-08-03 11:27:14 -04:00
thatmattlove
06c730f4dc
Merge branch 'feature' into feature-object-filter
...
# Conflicts:
# netbox/project-static/dist/netbox-dark.css
# netbox/project-static/dist/netbox-light.css
# netbox/project-static/styles/netbox.scss
# netbox/project-static/styles/select.scss
2021-08-03 06:57:22 -07:00
checktheroads
afc8d5bbbf
Fix PEP8 formatting error
2021-08-02 02:31:30 -07:00
checktheroads
1de46f592c
Various styling improvements
2021-08-02 02:18:31 -07:00
checktheroads
863048cda2
Deprecate collapsible advanced search and re-implement field-based filtering on object views
2021-08-01 21:24:22 -07:00
checktheroads
d18c83beb0
#6828 : Fix various mobile UI issues
2021-07-30 00:35:38 -07:00
checktheroads
007d660ce1
Merge branch 'feature-sidebar' into feature
...
# Conflicts:
# netbox/project-static/dist/netbox.js
# netbox/project-static/dist/netbox.js.map
2021-07-29 17:39:07 -07:00
checktheroads
3752cb3e56
#6797 : Implement new sidebar
2021-07-29 17:33:10 -07:00
jeremystretch
c7e0abc3fb
Merge v2.11.10
2021-07-28 16:26:04 -04:00
jeremystretch
8d9d3a9e7d
Changelog and cleanup for #6560
2021-07-28 11:44:13 -04:00
Jeremy Stretch
ea0de4b01d
Merge pull request #6561 from abigley/csv_feature
...
CSV file import
2021-07-28 10:48:30 -04:00
checktheroads
2d32aeb972
Migrate to collapsed sidebar layout
2021-07-26 14:46:05 -07:00
checktheroads
0479d5a02a
#6797 : Improve toast styles
2021-07-24 17:08:18 -07:00
checktheroads
5ba053a1c0
#6797 : Fix duplicate ID on searchbar fields
2021-07-24 00:41:49 -07:00
jeremystretch
a0b17e145b
Clean up nav menu template
2021-07-22 10:29:21 -04:00
jeremystretch
6b09c139e7
Refactor navigation menu
2021-07-22 10:21:39 -04:00
jeremystretch
ebe7779f40
Use button role names instead of color shades
2021-07-20 21:21:03 -04:00
jeremystretch
347ea4ca98
Tweak object list sizing, alignment
2021-07-20 21:16:36 -04:00
jeremystretch
a5dda0705e
Standardize button colors
2021-07-20 13:46:59 -04:00
checktheroads
c14b546d5f
#6372 : Refactor Select2 naming
2021-07-19 16:39:16 -07:00
Jeremy Stretch
3cfb0bacf4
Merge pull request #6760 from netbox-community/834-ip-ranges
...
Closes #834 : Add support for IP ranges
2021-07-19 09:47:19 -04:00
jeremystretch
11a14927c9
Initial work on IP ranges
2021-07-16 13:35:52 -04:00
jeremystretch
c5178fd90e
Extend foreground_color() utility to support custom dark/light colors
2021-07-15 13:59:14 -04:00
jeremystretch
726b148aa9
Clean up sidebar layout
2021-07-10 21:30:55 -04:00
jeremystretch
facf757997
Separate navigation menu structure from template tag
2021-07-10 20:44:33 -04:00
jeremystretch
fa99263918
Remove release checkng background task
2021-07-07 21:53:02 -04:00
jeremystretch
2c023ef7a0
Update release check to use django-redis
2021-07-07 20:57:47 -04:00
jeremystretch
88e382e7a1
Merge v2.11.8 changes
2021-07-06 12:10:29 -04:00
jeremystretch
fc15ef6967
Changelog & cleanup for #5503
2021-07-06 10:43:08 -04:00
Robin Schneider
a479c867c4
Do not use annotated_date on custom date fields to avoid date parsing
...
@jeremystretch:
> It'd be better to have the custom field return a date object than to
> accommodate string values in the template filter. Let's just omit custom
> field dates for now to keep this from getting any more complex.
2021-07-02 22:30:11 +02:00
Robin Schneider
0ad9b83623
Closes #5503 : ISO 8601 date in UI and alternative format as tooltip
...
With this commit all dates in the UI are now consistently displayed.
I changed the long date format as suggested by @xkilian and confirmed by my own
research.
* DATETIME_FORMAT
* Before July 20, 2020 4:52 p.m.
* Now 20th July, 2020 16:52
"20th July, 2020" would be spoken as "the 20th of July, 2020" but the "the" and
"of" are never written.
The only exception is `object_list.html`. I tried it but there it does not
work so easily because the dates are passed to Jinja as SafeString.
2021-07-02 22:22:37 +02:00
jeremystretch
1be4a57bd4
Closes #6345 : Introduce PermissionsViolation exception for use in generic views
2021-07-01 15:33:39 -04:00
jeremystretch
76a6119584
Closes #6138 : Add an 'empty' filter modifier for character fields
2021-07-01 15:17:46 -04:00
jeremystretch
2fe734e6f9
Omit _path from CableTermination models
2021-06-30 10:20:20 -04:00
jeremystretch
e6091ee0c9
Consolidate GraphQLTestCase into APIViewTestCase
2021-06-30 10:07:33 -04:00
jeremystretch
728b3bac67
Use _list appendix for GraphQL list queries
2021-06-30 09:57:33 -04:00
jeremystretch
18a9e39be6
Closes #6667 : Display VM memory as GB/TB as appropriate
2021-06-29 14:00:16 -04:00
jeremystretch
05ba54b6d3
Add GraphQL for users and groups
2021-06-29 13:15:10 -04:00
jeremystretch
7deabfe9cd
Extended GraphQL tests to include all fields
2021-06-29 11:20:54 -04:00
jeremystretch
605b7c5b3e
Add GraphQL for virtualization
2021-06-25 15:31:43 -04:00
jeremystretch
4c209ed74c
Clean up GraphQL tests
2021-06-25 10:14:06 -04:00
jeremystretch
d5675a5d4a
Add support for DRF token authentication
2021-06-25 09:13:08 -04:00
jeremystretch
91d39cc0c0
Added initial GraphQL tests
2021-06-24 09:08:45 -04:00
jeremystretch
4e0b795a3c
Add UI views for webhooks
2021-06-23 21:30:23 -04:00
jeremystretch
10cbbee947
Add UI views for export templates
2021-06-23 20:56:50 -04:00
jeremystretch
276ded0119
Add UI views for custom links
2021-06-23 17:10:04 -04:00
jeremystretch
b017927c69
Add UI views for custom fields
2021-06-23 17:10:04 -04:00
checktheroads
e1391cae20
#6372 : Improve sidebar styling
2021-06-23 11:39:32 -07:00
checktheroads
eb0d5c996e
#6372 : Implement layout improvements
2021-06-22 17:20:17 -07:00
Alyssa Bigley
0a661596b3
moved duplicated code in CSV Fields into functions in forms/utils.py
2021-06-14 14:07:37 -04:00
jeremystretch
14f696e824
Merge branch 'develop' into feature
2021-06-14 09:23:01 -04:00
jeremystretch
7e481960f9
Optimize MPTTColumn rendering
2021-06-14 09:19:05 -04:00
Alyssa Bigley
55b7cf21cc
changed name of csv_file variable and started work on ValidationError
2021-06-10 14:41:33 -04:00
jeremystretch
a1ba3b567c
Introduce ColorField for consistent represention of color choice fields in forms
2021-06-09 17:17:39 -04:00
jeremystretch
7e18b0dd3a
Remove csv_headers model attributes
2021-06-09 15:52:49 -04:00
jeremystretch
578885225f
Replace 'default format' export with 'all data'
2021-06-09 15:26:02 -04:00
jeremystretch
9d3cac43b7
Modify default CSV export to render from tables
2021-06-09 15:02:31 -04:00
Alyssa Bigley
3549fc07f6
removed unnecessary use of seek()
2021-06-07 14:29:38 -04:00
Alyssa Bigley
ecd84d7c43
edited docstring for CSVFileField
2021-06-07 14:06:32 -04:00
Alyssa Bigley
c2b2b059e6
CSV import implemented using CSVFileField
2021-06-07 14:06:32 -04:00
jeremystretch
2d44bade4b
Merge branch 'develop' into feature
2021-06-02 20:35:38 -04:00
jeremystretch
0a0b852f2c
Fixes #6492 : Correct tag population in post-change data resulting from REST API changes
2021-06-02 17:02:44 -04:00
jeremystretch
5cb5f9a963
Linkify prefix children count
2021-05-27 15:40:55 -04:00
jeremystretch
da1fb4f969
Replace references to v2.12 with v3.0
2021-05-25 15:05:02 -04:00
jeremystretch
5b4dacf0f5
Merge branch 'develop' into feature
2021-05-25 13:19:17 -04:00
jeremystretch
b3423e1722
Release v2.11.4
2021-05-25 11:38:43 -04:00
checktheroads
8fe795102f
#6372 : Fix native select styling
2021-05-25 08:26:36 -07:00
checktheroads
da0aa38614
#6372 : Move object list search panel into collapsed view & remove search field
2021-05-23 00:31:48 -07:00
checktheroads
6b1397d257
#6372 : Add "add" and "import" buttons to each item as appropriate
2021-05-23 00:30:28 -07:00
jeremystretch
22927bfc76
Closes #6441 : Improve UI paginator to optimize page object count
2021-05-20 12:00:31 -04:00
Daniel Sheppard
744792452f
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
138231059b
Closes #6400 : Add cyan color choice for plugin buttons
2021-05-14 09:13:36 -04:00
jeremystretch
ecf51406c5
Permit disabling utilization graph warning/danger thresholds
2021-05-11 14:52:27 -04:00
jeremystretch
a6d937b366
Closes #5806 : Add kilometer and mile as choices for cable length unit
2021-05-10 11:23:21 -04:00
checktheroads
fabd751f20
#6372 : Reduce padding of top-level menu items & improve home page stat badge coloring
2021-05-07 14:27:32 -07:00
checktheroads
63435f2ec1
#6732 : Fix search filtering
...
This was broken after implementing mobile screen size support in #6327
2021-05-07 11:07:06 -07:00
jeremystretch
534b0e4cf6
Merge branch 'develop' into feature
2021-05-04 14:25:53 -04:00
jeremystretch
3bd99e1910
Closes #6320 : Introduce ChangeLoggedFilterSetTests
2021-05-03 15:25:16 -04:00
jeremystretch
ffa4cd134b
Introduce BaseFilterSetTests to standardize testing of PK filters
2021-05-03 14:36:44 -04:00
jeremystretch
3ef6284a0d
Move base FilterSet classes under netbox core
2021-04-29 16:53:48 -04:00
jeremystretch
1024782b9e
Rename FilterSet modules
2021-04-29 16:48:24 -04:00
jeremystretch
d35ac1347c
Move TagFilter to extras
2021-04-29 16:23:55 -04:00
jeremystretch
c4e88fd11a
Consolidate FilterSet classes
2021-04-29 15:59:11 -04:00
jeremystretch
0de50e0afe
Split Filter and FilterSet classes
2021-04-29 15:13:44 -04:00
checktheroads
013fbf79e9
add dict.get template tag helper
2021-04-25 20:09:32 -07:00
checktheroads
eb55761c38
Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
...
# Conflicts:
# netbox/project-static/js/forms.js
# netbox/templates/dcim/location.html
# netbox/templates/generic/object_list.html
2021-04-22 19:19:03 -07:00
checktheroads
2c9aa86bf0
fix checkbox styles
2021-04-22 18:57:43 -07:00
checktheroads
fe4a9bff2d
remove all bootstrap icons in favor of material design icons
2021-04-21 11:31:28 -07:00
jeremystretch
9476fda987
Closes #5994 : Drop support for display_field argument on ObjectVar
2021-04-21 10:29:25 -04:00
checktheroads
4827cd24d8
improve styles
2021-04-20 12:45:39 -07:00
checktheroads
ea472c844e
Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
...
# Conflicts:
# netbox/templates/generic/object_list.html
2021-04-19 19:40:15 -07:00
checktheroads
f4ac87af3a
add bootstrap mixin subclass to bulk rename form so classes are properly assigned
2021-04-18 11:36:12 -07:00
checktheroads
7cdae0f689
add provider networks to navigation
2021-04-18 00:23:06 -07:00
checktheroads
fb25c79b9c
migrate yaml nav item definitions to dataclasses
2021-04-16 15:55:06 -07:00
checktheroads
3c0f4278c7
update extras templates
2021-04-16 14:58:44 -07:00
checktheroads
0e6e9c5238
fix table config modal styles
2021-04-14 17:05:10 -07:00
checktheroads
4c3b0abe7b
Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
...
# Conflicts:
# netbox/dcim/tables/template_code.py
# netbox/netbox/views/__init__.py
# netbox/project-static/css/base.css
# netbox/templates/base.html
# netbox/templates/circuits/circuit.html
# netbox/templates/circuits/circuittermination_edit.html
# netbox/templates/circuits/inc/circuit_termination.html
# netbox/templates/circuits/provider.html
# netbox/templates/dcim/device.html
# netbox/templates/dcim/device/base.html
# netbox/templates/dcim/device_component.html
# netbox/templates/dcim/devicetype.html
# netbox/templates/dcim/inc/device_napalm_tabs.html
# netbox/templates/dcim/rack.html
# netbox/templates/dcim/site.html
# netbox/templates/dcim/virtualchassis.html
# netbox/templates/extras/configcontext.html
# netbox/templates/extras/object_journal.html
# netbox/templates/extras/tag.html
# netbox/templates/generic/object.html
# netbox/templates/generic/object_list.html
# netbox/templates/home.html
# netbox/templates/inc/nav_menu.html
# netbox/templates/ipam/aggregate.html
# netbox/templates/ipam/ipaddress.html
# netbox/templates/ipam/prefix.html
# netbox/templates/ipam/vlan.html
# netbox/templates/ipam/vlangroup_edit.html
# netbox/templates/ipam/vlangroup_vlans.html
# netbox/templates/secrets/secret.html
# netbox/templates/tenancy/tenant.html
# netbox/templates/users/api_tokens.html
# netbox/templates/virtualization/cluster.html
# netbox/templates/virtualization/vminterface_edit.html
# netbox/utilities/forms/fields.py
# netbox/utilities/templates/buttons/export.html
2021-04-14 11:30:15 -07:00
jeremystretch
664ba55460
Reorganize base TestCase classes
2021-04-14 14:22:58 -04:00
jeremystretch
e5bbf47ab9
Fixes #5583 : Eliminate redundant change records when adding/removing tags
2021-04-13 10:14:25 -04:00
jeremystretch
b4b68c0b00
Move create_test_device() to testing utils
2021-04-12 16:07:03 -04:00
jeremystretch
18f206747c
Closes #6088 : Improved table configuration form
2021-04-12 10:46:32 -04:00
jeremystretch
b0573f88e6
Merge branch 'develop' into feature
2021-04-11 13:16:00 -04:00
jeremystretch
2cc088c633
Fixes #6131 : Correct handling of boolean fields when cloning objects
2021-04-09 14:42:07 -04:00
jeremystretch
9e62d1ad8f
Fixes #6130 : Improve display of assigned models in custom fields list
2021-04-09 09:43:35 -04:00
jeremystretch
696b5c80a7
Closes #6097 : Redirect old slug-based object views
2021-04-08 13:25:29 -04:00
jeremystretch
d6fcd22752
Fixes #6110 : Fix handling of TemplateColumn values for table export
2021-04-08 10:30:13 -04:00
jeremystretch
ae18693715
Add 'add export template' link to dropdown
2021-04-05 15:13:35 -04:00
jeremystretch
3ad7622bf0
Catch AttributeError when generating ContentType labels
2021-04-05 15:11:29 -04:00
Jeremy Stretch
d82f2e289a
Use ContentTypeChoiceField for all ContentType fields
2021-04-02 10:55:16 -04:00
Jeremy Stretch
73e9842877
Introduce ContentTypeChoiceField
2021-04-02 10:54:13 -04:00
Jeremy Stretch
a292ff5cc0
Remove brief_mode parameter from DynamicModelChoiceMixin
2021-03-30 21:34:50 -04:00
Jeremy Stretch
7885ec5511
Clean up custom field column implementation
2021-03-29 17:51:45 -04:00
Tom Grozev
be3d33eebd
Add support for custom fields in tables ( #5460 )
...
* Add support for custom fields in tables
* Fix empty list displays as none
Co-authored-by: TomGrozev <TomGrozev@users.noreply.github.com>
Co-authored-by: Jeremy Stretch <jeremy@netverity.dev>
2021-03-29 17:15:21 -04:00
Jeremy Stretch
93353e94a2
Note that 'table' is a reserved name for ExportTemplates
2021-03-29 11:25:57 -04:00
Jeremy Stretch
1544823d73
Closes #5926 : Strip leading/trailing whitespace from TemplateColumns rendered for export
2021-03-26 16:20:01 -04:00
Jeremy Stretch
981e7017bb
Enable get view tests for organizational objects
2021-03-26 15:15:59 -04:00
Jeremy Stretch
bb00f2ff46
Introduce paginate_table() utility to simplify table pagination
2021-03-26 13:02:55 -04:00
Jeremy Stretch
c828806b67
Merge branch 'develop' into feature
2021-03-25 16:09:28 -04:00
checktheroads
58841e85db
update css classes for bootstrap 5 colors
2021-03-17 23:31:15 -07:00
checktheroads
46cd22ea7e
style textareas supporting markdown with monospace font
2021-03-17 23:30:39 -07:00
checktheroads
8ea2949d84
Update sidenav menu data with Locations and SiteGroups
2021-03-17 22:25:51 -07:00
checktheroads
e4af9ebc6f
fix import/export styles
2021-03-17 22:25:20 -07:00
checktheroads
7a3af8de83
Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
...
# Conflicts:
# netbox/dcim/tables/template_code.py
# netbox/netbox/forms.py
# netbox/templates/dcim/cable_connect.html
# netbox/templates/dcim/consoleport.html
# netbox/templates/dcim/consoleserverport.html
# netbox/templates/dcim/device.html
# netbox/templates/dcim/device/base.html
# netbox/templates/dcim/device_edit.html
# netbox/templates/dcim/interface.html
# netbox/templates/dcim/rack.html
# netbox/templates/dcim/rack_edit.html
# netbox/templates/dcim/site.html
# netbox/templates/extras/configcontext.html
# netbox/templates/extras/objectchange.html
# netbox/templates/generic/object.html
# netbox/templates/inc/nav_menu.html
# netbox/templates/ipam/ipaddress_edit.html
# netbox/templates/ipam/vrf.html
# netbox/utilities/templates/buttons/export.html
2021-03-17 22:02:43 -07:00
Jeremy Stretch
889316085c
Closes #5998 : Introduce ContentTypeColumn
2021-03-17 16:29:43 -04:00
Jeremy Stretch
7f1d9aeaf8
Skip secondary check if get_absolute_url() not defined for model
2021-03-16 16:48:08 -04:00
Jeremy Stretch
a694dbb020
Closes #5990 : Deprecated display_field parameter for custom script ObjectVar and MultiObjectVar fields
2021-03-16 11:08:34 -04:00
Jeremy Stretch
c64f96d65b
Drop usage of display_field on DynamicModelChoiceFields
2021-03-16 10:29:15 -04:00
checktheroads
b0d634a89e
add startswith helper
2021-03-15 08:53:28 -07:00
checktheroads
187f4fa4aa
fix device & device component templates
2021-03-14 17:26:33 -07:00
checktheroads
59d8c0b321
handle server-side form errors
2021-03-14 01:06:51 -07:00