Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(attachments): add support for creating new attachments #6676

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 21, 2024

  1. feat(attachments): add support for creating new attachments

    - Introduced a new endpoint (`Attachment#createAttachment`) to create attachment files via POST requests.
    - Added `createAttachment` method in `AttachmentService` to handle file creation logic with permission checks.
    - Updated `MediaHandler.vue` and `MediaHandler.provider.js` to integrate the new attachment creation functionality in the editor.
    - Enhanced `ActionAttachmentUpload.vue` to support dynamic attachment creation from predefined templates.
    - Included a new "Plus" icon for attachment creation actions in `icons.js`.
    - Extended `SessionApi.js` with a `createAttachment` method to interface with the new API endpoint.
    - Minor refactor and UI enhancements to support seamless attachment creation in the text editor.
    
    These changes enable users to create and insert new attachment files directly from the editor, improving workflow efficiency.
    
    Signed-off-by: Peter Birrer <[email protected]>
    pbirrer committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    4647545 View commit details
    Browse the repository at this point in the history