kkthxbye-code
679a9e839b
Work on job scheduling:
...
* Added JobResult form filtersets
* Change housekeeping cleanup delete from `_raw_delete` to `delete` to make sure scheduled tasks are cancelled
* Change default sort of JobResult table to -created
* Added `delete` override to `JobResult` to remove scheduled tasks from RQ when a JobResult is deleted
* Updated js/css dist files. Will need to be redone when develop is merged to feature.
2022-10-09 21:05:31 +02:00
kkthxbye-code
06dea8ef3f
WIP: Moving JobResults out of the admin panel
2022-09-23 13:44:24 +02:00
kkthxbye
25ac1edb48
Merge branch 'netbox-community:develop' into 8366-job-scheduling
2022-09-18 15:08:11 +02:00
kkthxbye-code
824b4e0923
Add scheduling for reports and scripts
2022-09-18 15:06:28 +02:00
kkthxbye-code
f489ffa043
Allow running scripts nested in modules/packages
2022-09-07 22:33:24 +02:00
jeremystretch
c380fd00bf
Merge branch 'develop' into feature
2022-07-11 12:58:24 -04:00
Jeremy Stretch
dde005366a
Merge pull request #9700 from PieterL75/issue9656_journalviewlayout
...
Fixes : #9656 Re-order journal list and form
2022-07-11 09:54:48 -04:00
Pieter Lambrecht
13f854c91f
Re-order journal list and form
2022-07-06 14:10:10 +02:00
jeremystretch
379880cd84
Closes #9582 : Enable assigning config contexts based on device location
2022-06-22 16:10:48 -04:00
jeremystretch
ba12db3019
Merge branch 'develop' into feature
2022-06-20 11:50:23 -04:00
Kim Johansson
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
jeremystretch
31024ce672
Changelog & cleanup for #9166
2022-05-24 16:39:05 -04:00
kkthxbye
20eaa7d069
#9166 - Add UI Visibility setting for custom fields
2022-05-24 10:12:32 +02:00
jeremystretch
ca10a7834a
Merge branch 'develop' into feature
2022-05-11 16:09:25 -04:00
kkthxbye
1358469375
Remove stray characters from Config Context tab
2022-05-06 08:01:15 +02:00
jeremystretch
e2b32757d8
Merge branch 'develop' into feature
2022-04-25 12:20:46 -04:00
jeremystretch
41244dc677
Closes #9152 : Annotate related object type under custom field view
2022-04-18 08:56:28 -04:00
jeremystretch
17df8a5c43
Closes #8495 : Enable custom field grouping
2022-04-15 14:45:28 -04:00
jeremystretch
1d55c04c21
Closes #9006 : Enable custom fields, custom links, and tags for journal entries
2022-03-31 11:40:02 -04:00
jeremystretch
58f97bc0e7
Merge develop into feature
2022-03-24 16:35:35 -04:00
jeremystretch
8d682041a4
Extend linkify() to accept an attr name for the link text
2022-03-22 15:17:34 -04:00
jeremystretch
75dae5fbe8
Introduce linkify template filter
2022-03-22 14:51:20 -04:00
jeremystretch
aa85ae89c1
Merge v3.1.8
2022-02-15 10:05:07 -05:00
jeremystretch
dd848d754f
Changelog & cleanup for #8556
2022-02-14 10:06:56 -05:00
Mathieu PAYROL
46f4359e1f
Closes #8556 : Add 'Full Name' column to Change Log table
2022-02-14 09:07:57 +01:00
jeremystretch
1319b62acb
Standardize on get_FOO_color() method for returning ChoiceField colors
2022-02-11 14:25:13 -05:00
jeremystretch
7c105019d8
Closes #8600 : Document built-in template tags & filters
2022-02-09 16:01:58 -05:00
jeremystretch
b0039e938e
Clean up and document object edit & delete templates
2022-02-08 11:19:33 -05:00
jeremystretch
478eefb74c
Merge v3.1.7
2022-02-03 12:55:34 -05:00
jeremystretch
ff3b48fa59
Fixes #8527 : Fix display of changelog retention period
2022-02-03 09:48:21 -05:00
Daniel Sheppard
ea283365e7
Fixes #8425 - Fix exception when viewing change list/records with removed plugins
2022-02-02 11:18:41 -06:00
jeremystretch
c8713d94d8
Merge branch 'develop' into feature
2022-01-11 16:16:13 -05:00
jeremystretch
72e17914e2
Closes #8296 : Allow disabling custom links
2022-01-10 12:11:37 -05:00
jeremystretch
01e8017265
Clean up template blocks
2022-01-05 09:09:39 -05:00
jeremystretch
0a22b3990f
#7450 : Clean up footer and navbar styles
2022-01-04 20:42:44 -05:00
jeremystretch
3bb485d0b8
Merge v3.1.3
2021-12-29 12:41:56 -05:00
jeremystretch
82a0240d2e
Closes #8182 : Introduce checkmark template tag
2021-12-29 10:26:42 -05:00
jeremystretch
7b66dae2f0
Merge branch 'develop' into feature
2021-12-28 16:14:24 -05:00
jeremystretch
1987647cc3
Closes #8175 : Display parent object when attaching an image
2021-12-28 13:06:27 -05:00
jeremystretch
77dd684916
Closes #7784 : Support cluster type assignment for config contexts
2021-12-23 14:20:03 -05:00
jeremystretch
8af12b22bb
Clean up report & script templates
2021-12-21 08:43:01 -05:00
jeremystretch
4ae2b4e0b9
Convert reports to use HTMX
2021-12-20 20:52:29 -05:00
jeremystretch
872691a138
Convert scripts to use HTMX
2021-12-20 20:45:32 -05:00
jeremystretch
ff9dde54e3
Ensure consistent placement of table paginator
2021-12-15 10:34:20 -05:00
jeremystretch
c50dc1eb35
Standardize usage of table template
2021-12-13 15:36:51 -05:00
jeremystretch
870aa3a265
Merge branch 'develop' into feature
2021-11-24 14:00:37 -05:00
jeremystretch
416caa8f50
Hide code blocks when not needed
2021-11-24 13:17:59 -05:00
jeremystretch
f16c6d81cf
Merge branch 'develop' into feature
2021-11-18 11:06:54 -05:00
jeremystretch
1fed564c47
Clean up script & report lists
2021-11-12 14:44:14 -05:00
jeremystretch
839afe5ac0
Improve webhook tests
2021-11-03 14:01:59 -04:00
jeremystretch
aa9e68e121
Tweak preformatted block styling
2021-10-28 10:46:00 -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
f04dc55030
Reorganize panel inclusion templates
2021-10-19 14:21:31 -04:00
miaow2
a7b6c40596
Fixing display of webhook types
2021-10-14 20:35:21 +03:00
jeremystretch
3f766ffea8
Fixes #7474 : Fix AttributeError exception when rendering a report or custom script
2021-10-07 09:37:21 -04:00
jeremystretch
c7523ffc67
Fixes #7358 : Add missing choices column to custom field CSV import form
2021-09-27 12:28:52 -04:00
jeremystretch
de58f53f9f
Closes #7208 : Add navigation breadcrumbs for custom scripts & reports
2021-09-15 15:14:24 -04:00
jeremystretch
bd957612c6
Fixes #7167 : Ensure consistent font size when using monospace formatting
2021-09-09 16:05:46 -04:00
jeremystretch
4493c31216
Fixes #7227 : Correct placeholder value for webhook CA file path
2021-09-09 09:10:02 -04:00
jeremystretch
2c1745ce28
Refactor checkJobStatus() to use API URLs provided via context
2021-09-08 14:17:27 -04:00
jeremystretch
9813f3b696
Clean up custom script templates
2021-08-26 15:04:24 -04:00
jeremystretch
3203db07b7
UI cleanup
2021-08-26 14:48:24 -04:00
jeremystretch
a72e23eddf
Fix custom script layout
2021-08-13 09:43:23 -04:00
jeremystretch
081054e08c
Add missing plugin content injection tags
2021-07-22 11:40:55 -04:00
jeremystretch
7be684835b
Introduce an inclusion template for object comments
2021-07-21 14:20:14 -04:00
jeremystretch
a9930bd442
Optimize display of ConfigContext assigned objects
2021-07-21 14:11:42 -04:00
jeremystretch
19eafef41e
General UI cleanup
2021-07-21 12:06:43 -04:00
jeremystretch
74e0d0396a
Fix breadcrumbs display for object changes
2021-07-20 16:51:21 -04:00
jeremystretch
ba3552b697
Tweak form widths
2021-07-20 13:21:09 -04:00
jeremystretch
856956afce
Standardize object breadcrumbs
2021-07-20 12:14:01 -04:00
checktheroads
07f34c2675
#6372 : Migrate away from form-floating field styles
2021-07-20 00:16:13 -07:00
checktheroads
7449ea28a5
#6372 : Remove extra search box from object change log
2021-07-13 09:23:34 -07:00
jeremystretch
faa993acfb
Use non-card tables for all tabbed views
2021-07-12 15:36:51 -04:00
jeremystretch
dc8adfc546
Clean up object titles
2021-07-12 10:57:26 -04:00
jeremystretch
88e382e7a1
Merge v2.11.8 changes
2021-07-06 12:10:29 -04: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
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
jeremystretch
14f696e824
Merge branch 'develop' into feature
2021-06-14 09:23:01 -04:00
drmsoffall
a224e5d470
Closes #6493 : show ObjectChange diff for non-atomic changes
2021-06-05 19:15:25 +00:00
jeremystretch
0e23038e28
Merge v2.11.5
2021-06-04 09:47:14 -04:00
maxime-gerges-external
e61b2b1fc5
feat: markdown support in report's description
...
* markdown support in report list and report result pages
* Add notes in the documentation regarding markdown
2021-06-03 14:48:18 +02:00
Jeremy Stretch
805892f623
Template cleanup ( #6421 )
...
* Clean up & comment base templates
* Clean up login template & form
* Use SVG file for NetBox logo
* Simplify breadcrumbs
* Merge changelog.html into home.html
* Rename title_container block to header
* Move breadcrumbs block to object.html
* Attach names to endblock template tags
* Reorganize root-level templates into base/ and inc/
* Remove obsolete reference to Bootstrap 3.4.1
2021-05-17 16:27:27 -04:00
checktheroads
460a203c29
Add basic support for smaller screens
2021-04-30 15:55:37 -07:00
checktheroads
fe4a9bff2d
remove all bootstrap icons in favor of material design icons
2021-04-21 11:31:28 -07:00
checktheroads
a55316aef9
fix scripts/reports template layout
2021-04-21 10:39:56 -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
f7c1bc71d9
migrate templates to bootstrap 5
2021-04-18 16:42:28 -07:00
checktheroads
4b0d5815c0
migrate script job checking to typescript & update templates for bootstrap 5
2021-04-18 14:17:13 -07:00
checktheroads
125965b559
migrate templates to bootstrap 5
2021-04-18 11:35:42 -07:00
checktheroads
3c0f4278c7
update extras templates
2021-04-16 14:58:44 -07:00
jeremystretch
ef78a7d41b
Merge branch 'develop' into feature
2021-04-15 15:46:48 -04: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
7c48e3632d
Closes #6157 : Support Markdown rendering for report logs
2021-04-14 10:21:07 -04:00
checktheroads
d1d2ad6a5c
bootstrap 5 class updates
2021-04-13 21:51:12 -07:00
jeremystretch
46e144f647
Clean up object header
2021-04-13 16:03:07 -04:00
jeremystretch
a296a9e109
Closes #6150 : Enable change logging for journal entries
2021-04-13 10:53:55 -04:00
jeremystretch
3cfab25f8a
Tweak JournalEntry form layout
2021-04-05 14:35:09 -04:00
jeremystretch
aa2beb1d78
Add tagged items count to tag view
2021-04-05 13:53:25 -04:00
Jeremy Stretch
c7040fd418
Closes #6038 : Include tagged objects list on tag view
2021-03-29 16:53:41 -04:00
Jeremy Stretch
cd629fc737
Closes #4833 : Allow assigning config contexts by device type
2021-03-29 15:40:09 -04:00
Jeremy Stretch
0fae7504b3
Add Markdown support for JournalEntry comments
2021-03-29 09:43:21 -04:00
Jeremy Stretch
36c903da04
Add dedicated view for tags
2021-03-26 15:25:18 -04:00
Jeremy Stretch
c828806b67
Merge branch 'develop' into feature
2021-03-25 16:09:28 -04:00
checktheroads
cbd4d2f99a
fix journal layout
2021-03-17 23:32:08 -07:00
checktheroads
cf8dad5763
fix object journal styles
2021-03-17 22:37:13 -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
82fbd975f1
Add kind field to JournalEntry
2021-03-17 12:51:39 -04:00
Jeremy Stretch
8be4fbbce3
Add JournalEntry list view w/filtering
2021-03-16 15:57:23 -04:00
Jeremy Stretch
1f1a62da67
Initial work on #151 : Object journaling
2021-03-16 15:00:08 -04:00
checktheroads
991f71bf28
update templates to bootstrap 5 classes
2021-03-14 01:06:18 -07:00
checktheroads
9b89afd6dc
begin bootstrap 5 migration, update templates
2021-03-13 02:19:42 -07:00
Martin Rødvand
d58291d119
Closes #5953 : Adds Markdown rendering of Custom Scripts' descriptions
2021-03-11 22:27:43 +01:00
Jeremy Stretch
79b19821f6
Closes #5892 : Introduce SiteGroup model ( #5937 )
...
* Initial work on #5892
* Add site group selection to object edit forms
* Add documentation for site groups
* Changelog for #5892
* Finish application of site groups to config context
2021-03-08 13:28:53 -05:00
Jeremy Stretch
9c967ee3ea
Fixes #5913 : Improve change logging ( #5924 )
...
* Initial work on #5913
* Provide per-line diff highlighting
* BulkDeteView should delete objects individually to secure a pre-change snapshot
* Add changelog tests for bulk operations
2021-03-04 13:06:04 -05:00
Jeremy Stretch
51120ccf31
Introduce generic object template
2021-03-02 15:58:33 -05:00
Jeremy Stretch
6a9b50f95d
Closes #5873 : Use numeric IDs in all object URLs
2021-02-26 17:23:23 -05:00
Jeremy Stretch
42e82f0ead
Update object edit template to use fieldsets where possible
2021-02-25 13:51:48 -05:00
Jeremy Stretch
790e1ee2e4
Update created_updated.html
2020-11-19 13:44:34 -05:00
Jeremy Stretch
d5d87e0fdd
Update templates to use "object" context var
2020-11-19 13:22:33 -05:00
Jeremy Stretch
3e7cf416f1
Update ObjectChangeLogView to use "object" context var
2020-11-19 11:49:37 -05:00
Jeremy Stretch
e2d2ff8586
Standardize on "object" for ObjectView template context
2020-11-19 11:29:18 -05:00
Jeremy Stretch
a3675854be
Clean up generic view templates
2020-11-11 16:58:29 -05:00
Jeremy Stretch
72dace29b7
Replace Glyphicons with Material Design
2020-11-06 14:49:14 -05:00
Jeremy Stretch
867f308027
Replace Font Awesome icons with Material Design
2020-11-06 14:33:20 -05:00
Jeremy Stretch
bc0e6cc8dd
Fixes #5012 : Return details of exceptions resulting from report/script execution
2020-08-20 12:47:26 -04:00
Jeremy Stretch
c163ec1e8d
Clean up custom script templates
2020-08-10 16:27:24 -04:00
Jeremy Stretch
93da6b6edf
#2006 : Clean up report views
2020-08-10 15:56:55 -04:00
Jeremy Stretch
59091efa86
Closes #4840 : Enable change logging for config contexts
2020-07-09 17:09:03 -04:00
Jeremy Stretch
6e50ed084d
Fix tags display
2020-07-08 13:10:40 -04:00
Jeremy Stretch
592ad18317
Provide a default view for Report instances
2020-07-06 13:30:13 -04:00
John Anderson
4a74927fa2
Merge branch 'develop-2.9' into 2006-scripts-reports-background
2020-07-06 02:06:53 -04:00
John Anderson
41f92ef8e6
review updates
2020-07-06 02:00:16 -04:00
John Anderson
f092c107b5
PR review updates
2020-07-06 02:00:16 -04:00
Jeremy Stretch
1ed152cd49
Fix unrestricted queries for Tags
2020-07-02 16:25:13 -04:00
Jeremy Stretch
f98fa364c0
Merge branch 'develop-2.9' into 2006-scripts-reports-background
2020-07-02 11:00:59 -04:00
John Anderson
3777fbccc3
Implements #2006 - run reports and scripts in the background
2020-06-29 03:50:05 -04:00
Jeremy Stretch
ba138de53b
Fix display of tags
2020-06-24 16:27:44 -04:00
Jeremy Stretch
2d4694e72d
Merge pull request #4770 from netbox-community/3703-limit-tag-creation
...
Closes #3703 : Restrict tag creation
2020-06-17 12:28:04 -04:00
Jeremy Stretch
adf0255bdf
Allow unrestricted access to assigned tags
2020-06-16 14:17:40 -04:00
Jeremy Stretch
da906f48d9
Standardize add, import, and export functionality for tags
2020-06-12 09:48:23 -04:00
Jeremy Stretch
bdbf21b3e2
Closes #4421 : Retain user's preference for config context format
2020-04-24 12:01:41 -04:00
Jeremy Stretch
19a10cee82
Rename base template
2020-04-10 10:21:02 -04:00
Jeremy Stretch
fa83750e72
Merge branch 'develop-2.8' into 3351-plugins
2020-03-27 13:05:34 -04:00
John Anderson
4e84e8048f
added admin and api views for listing all plugins, and refactored urls import
2020-03-20 20:10:02 -04:00
Jeremy Stretch
d4f6909859
Rename Tag.comments to description
2020-03-13 17:00:00 -04:00
Jeremy Stretch
16d3cebf3e
Update markdown filter name
2020-03-09 10:42:32 -04:00