- Publicity: Public Only All
markdown-image-procs.tcl
Stage pasted forum images and save them as message attachments.
- Location:
- packages/forums/tcl/markdown-image-procs.tcl
Procedures in this file
- forum::markdown_image::attach (private)
- forum::markdown_image::attachment (private)
- forum::markdown_image::directory (private)
- forum::markdown_image::discard_attached_draft (private)
- forum::markdown_image::draft_path (private)
- forum::markdown_image::drafts (private)
- forum::markdown_image::expire_drafts (private)
- forum::markdown_image::mime_type (private)
- forum::markdown_image::parts (private)
- forum::markdown_image::upload_url (private)
Detailed information
forum::markdown_image::attach (private)
forum::markdown_image::attach forum_id message_id drafts
Import staged images through the Forums content repository attachment workflow.
- Parameters:
- forum_id (required)
- message_id (required)
- drafts (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::attachment (private)
forum::markdown_image::attachment message_id uuid
Look up a previously committed inline image on its specific message.
- Parameters:
- message_id (required)
- uuid (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::directory (private)
forum::markdown_image::directory
Return the staging directory for forum images.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::discard_attached_draft (private)
forum::markdown_image::discard_attached_draft message_id uuid path
Remove a staged image only when its message attachment has committed.
- Parameters:
- message_id (required)
- uuid (required)
- path (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::draft_path (private)
forum::markdown_image::draft_path key
Find a staged image belonging to the current user and package.
- Parameters:
- key (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::drafts (private)
forum::markdown_image::drafts forum_id message_id content format
Find this message's pasted images that still need to be attached.
- Parameters:
- forum_id (required)
- message_id (required)
- content (required)
- format (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::expire_drafts (private)
forum::markdown_image::expire_drafts
Remove abandoned draft images after one day.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::mime_type (private)
forum::markdown_image::mime_type path
Recognize supported bitmap images from the uploaded bytes.
- Parameters:
- path (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::parts (private)
forum::markdown_image::parts key
Decode a local image key.
- Parameters:
- key (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
forum::markdown_image::upload_url (private)
forum::markdown_image::upload_url forum_id message_id mode
Authorize clipboard uploads for an already validated posting or editing form.
- Parameters:
- forum_id (required)
- message_id (required)
- mode (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.