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

49 Commits

Author SHA1 Message Date
d7ca453f26 Adds hide-if-unset to custom field (#12723)
* adds hide-if-unset to custom field #12597

* moved hide logic from template to python

* fix indentation

* Update logic for omit_hidden under get_custom_fields()

* Update docs

* Account for False values

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-30 09:42:37 -04:00
40572b543f Rename JobResult to Job and move to core 2023-03-27 14:20:13 -04:00
00088cba6d #11559: Add device config API endpoint & cleanup 2023-03-21 17:00:06 -04:00
5cd3ad0b12 Cleanup & docs 2023-03-14 15:44:16 -04:00
697feed257 Add type_job_start & type_job_end to Webhook 2023-03-07 18:01:32 -05:00
574b5551a0 Clean up model & registry documentation 2023-02-19 20:09:52 -05:00
73a7a2d27a Closes #11559: Implement config template rendering (#11769)
* WIP

* Add config_template field to Device

* Pre-fetch referenced templates

* Correct up_to_date callable

* Add config_template FK to Device

* Update & merge migrations

* Add config_template FK to Platform

* Add tagging support for ConfigTemplate

* Catch exceptions when rendering device templates in UI

* Refactor ConfigTemplate.render()

* Add support for returning plain text content

* Add ConfigTemplate model documentation

* Add feature documentation for config rendering
2023-02-19 20:09:52 -05:00
ac87ce733d Closes #11693: Enable remote data synchronization for export templates 2023-02-19 20:09:51 -05:00
678a7d17df Closes #9073: Remote data support for config contexts (#11692)
* WIP

* Add bulk sync view for config contexts

* Introduce 'sync' permission for synced data models

* Docs & cleanup

* Remove unused method

* Add a REST API endpoint to synchronize config context data
2023-02-19 20:09:51 -05:00
b88fcb6625 Closes #11406: Correct example JSON 2023-01-05 16:38:29 -05:00
cb2b256934 Fix typo 2022-11-16 16:38:29 -05:00
4230162294 Add missing model documentation 2022-11-15 10:50:26 -05:00
a5308ea28e Closes #10851: New staging mechanism (#10890)
* WIP

* Convert checkout() context manager to a class

* Misc cleanup

* Drop unique constraint from Change model

* Extend staging tests

* Misc cleanup

* Incorporate M2M changes

* Don't cancel wipe out creation records when an object is deleted

* Rename Change to StagedChange

* Add documentation for change staging
2022-11-14 13:55:03 -05:00
e6c69127e4 Add model documentation for JournalEntry 2022-08-16 16:06:48 -04:00
cff6b81f1f Refreshed extras model documentation 2022-08-12 16:00:04 -04:00
0750e27351 Finish customization docs 2022-08-11 16:14:06 -04:00
a7b78565a1 Split webhooks documentation 2022-08-11 11:55:45 -04:00
5f15f550c9 Restore model documentation for all models under extras 2022-08-11 11:37:07 -04:00
9733cee3d2 Continued work on feature docs 2022-08-10 14:07:51 -04:00
5da3cab4de Reorganize documentation 2022-08-04 14:11:52 -04:00
abf11fbcb8 Merge branch 'develop' into feature 2022-07-20 12:20:33 -04:00
6da171a699 Corrected typo for description of 'snapshots' 2022-07-15 10:52:37 -04:00
1ddb219a0c Documentation cleanup 2022-07-11 17:29:25 -04:00
c380fd00bf Merge branch 'develop' into feature 2022-07-11 12:58:24 -04:00
5a4467a4a8 Fixes #9687: Don't restrict custom text field lengths when entering via UI form 2022-07-11 11:12:06 -04:00
379880cd84 Closes #9582: Enable assigning config contexts based on device location 2022-06-22 16:10:48 -04:00
3ff4fd814e Merge branch 'develop' into feature 2022-03-30 15:45:40 -04:00
1eaf55c555 Closes #8336: Add note about referening object in custom link template 2022-03-30 14:14:49 -04:00
a5c8bbf79e Closes #8684: Change custom link template context variable 'obj' to 'object' (backward-compatible) 2022-02-18 09:50:02 -05:00
478eefb74c Merge v3.1.7 2022-02-03 12:55:34 -05:00
4b81d86311 Closes #8376: Correct example condition defitinions; call out value vs label ealuation for choice fields 2022-01-18 11:31:39 -05:00
5cbc978cad Render the payload_url of the Webhook with Jinja2
- Update markdown documentation
- Expand on the help text for the Webhook model
2022-01-12 21:58:19 +01:00
72e17914e2 Closes #8296: Allow disabling custom links 2022-01-10 12:11:37 -05:00
3002382edc Documentation and changelog for #7006 2022-01-06 13:44:21 -05:00
99e0dcec76 Changelog & docs for #6782 2021-12-22 20:57:59 -05:00
de698154cd Fixes #8030: Validate custom field names 2021-12-09 15:19:19 -05:00
15e011ae52 Closes #7452: Add JSON custom field type 2021-10-28 10:29:14 -04:00
2423e0872f Documentation & changelog for #6238 2021-10-25 09:52:08 -04:00
cfb3897047 Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
176bd2396b Closes #6711: Add longtext custom field type with Markdown support 2021-10-14 14:48:00 -04:00
6d1f07df05 Mention data in custom fields, link Jinja2 docs.
Resolves #7367
2021-10-07 00:51:07 +01:00
38f34ddb28 Fixes #7392: Fix "help" links for custom fields, other models 2021-09-29 09:09:10 -04:00
cd629fc737 Closes #4833: Allow assigning config contexts by device type 2021-03-29 15:40:09 -04:00
7396975500 Update documentation for journal entries 2021-03-29 09:59:44 -04:00
bd95d2b852 Changelog and documentation for #151 2021-03-17 10:58:40 -04:00
d42a37f866 Update docs for tags, config contexts 2020-07-30 11:36:46 -04:00
86956c8fc3 Fixes #4875: Fix documentation for image attachments 2020-07-22 16:48:56 -04:00
1657d6a0b8 Add missing docs page for tags 2020-03-05 15:16:15 -05:00
8a23811831 Add missing model doc pages 2020-03-05 13:48:47 -05:00