Commit Graph

49 Commits

Author SHA1 Message Date
Abhimanyu Saharan
b47bfdcf08 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
jeremystretch
6a8ffd9fac Rename JobResult to Job and move to core 2023-03-27 14:20:13 -04:00
jeremystretch
e672146a43 #11559: Add device config API endpoint & cleanup 2023-03-21 17:00:06 -04:00
jeremystretch
696bd9b8d8 Cleanup & docs 2023-03-14 15:44:16 -04:00
jeremystretch
9388a7370c Add type_job_start & type_job_end to Webhook 2023-03-07 18:01:32 -05:00
jeremystretch
f4ab37c234 Clean up model & registry documentation 2023-02-19 20:09:52 -05:00
Jeremy Stretch
86690d83a1 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
jeremystretch
b11e9ce39b Closes #11693: Enable remote data synchronization for export templates 2023-02-19 20:09:51 -05:00
Jeremy Stretch
164bdeee68 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
jeremystretch
05319c589d Closes #11406: Correct example JSON 2023-01-05 16:38:29 -05:00
jeremystretch
2dd94435bd Fix typo 2022-11-16 16:38:29 -05:00
jeremystretch
a2517a7ee7 Add missing model documentation 2022-11-15 10:50:26 -05:00
Jeremy Stretch
af1398c64f 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
jeremystretch
b680b4f65f Add model documentation for JournalEntry 2022-08-16 16:06:48 -04:00
jeremystretch
c697e2fbe1 Refreshed extras model documentation 2022-08-12 16:00:04 -04:00
jeremystretch
e3e71a20d1 Finish customization docs 2022-08-11 16:14:06 -04:00
jeremystretch
5bff60dc30 Split webhooks documentation 2022-08-11 11:55:45 -04:00
jeremystretch
3e77e6520c Restore model documentation for all models under extras 2022-08-11 11:37:07 -04:00
jeremystretch
8b5771a73d Continued work on feature docs 2022-08-10 14:07:51 -04:00
jeremystretch
4b987453fd Reorganize documentation 2022-08-04 14:11:52 -04:00
jeremystretch
46909071ba Merge branch 'develop' into feature 2022-07-20 12:20:33 -04:00
Henry
4eb15245e0 Corrected typo for description of 'snapshots' 2022-07-15 10:52:37 -04:00
jeremystretch
6f95a14a0b Documentation cleanup 2022-07-11 17:29:25 -04:00
jeremystretch
58579d8bbc Merge branch 'develop' into feature 2022-07-11 12:58:24 -04:00
jeremystretch
c33a406491 Fixes #9687: Don't restrict custom text field lengths when entering via UI form 2022-07-11 11:12:06 -04:00
jeremystretch
ee2df5cc24 Closes #9582: Enable assigning config contexts based on device location 2022-06-22 16:10:48 -04:00
jeremystretch
2197315e3b Merge branch 'develop' into feature 2022-03-30 15:45:40 -04:00
jeremystretch
e3e662fb7f Closes #8336: Add note about referening object in custom link template 2022-03-30 14:14:49 -04:00
jeremystretch
9f22b2b065 Closes #8684: Change custom link template context variable 'obj' to 'object' (backward-compatible) 2022-02-18 09:50:02 -05:00
jeremystretch
510a5fbb69 Merge v3.1.7 2022-02-03 12:55:34 -05:00
jeremystretch
7a5516f980 Closes #8376: Correct example condition defitinions; call out value vs label ealuation for choice fields 2022-01-18 11:31:39 -05:00
Martin Rødvand
264aa11f79 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
jeremystretch
108644262b Closes #8296: Allow disabling custom links 2022-01-10 12:11:37 -05:00
jeremystretch
c19f590120 Documentation and changelog for #7006 2022-01-06 13:44:21 -05:00
jeremystretch
0991290643 Changelog & docs for #6782 2021-12-22 20:57:59 -05:00
jeremystretch
4e14cf8c75 Fixes #8030: Validate custom field names 2021-12-09 15:19:19 -05:00
jeremystretch
076366108d Closes #7452: Add JSON custom field type 2021-10-28 10:29:14 -04:00
jeremystretch
7b19de37a2 Documentation & changelog for #6238 2021-10-25 09:52:08 -04:00
jeremystretch
bfc52b15bb Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
jeremystretch
dac4589587 Closes #6711: Add longtext custom field type with Markdown support 2021-10-14 14:48:00 -04:00
HumanEquivalentUnit
ad7f170bcc Mention data in custom fields, link Jinja2 docs.
Resolves #7367
2021-10-07 00:51:07 +01:00
jeremystretch
2d3da3f987 Fixes #7392: Fix "help" links for custom fields, other models 2021-09-29 09:09:10 -04:00
Jeremy Stretch
b7c247ca2e Closes #4833: Allow assigning config contexts by device type 2021-03-29 15:40:09 -04:00
Jeremy Stretch
e1ab2aecc3 Update documentation for journal entries 2021-03-29 09:59:44 -04:00
Jeremy Stretch
bb007552ee Changelog and documentation for #151 2021-03-17 10:58:40 -04:00
Jeremy Stretch
8cfcfe4ff2 Update docs for tags, config contexts 2020-07-30 11:36:46 -04:00
Jeremy Stretch
84dbdc436c Fixes #4875: Fix documentation for image attachments 2020-07-22 16:48:56 -04:00
Jeremy Stretch
397c63564e Add missing docs page for tags 2020-03-05 15:16:15 -05:00
Jeremy Stretch
dc74180bcd Add missing model doc pages 2020-03-05 13:48:47 -05:00