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

Add asset channel as way to export assets #91

Merged
merged 10 commits into from
Sep 15, 2023

Conversation

doluk
Copy link
Contributor

@doluk doluk commented Aug 19, 2023

By passing a channel to the export function, the assets get exported to this channel. Meaning deleting the channel of the transcript does not lead to missing assets in the transcripts/dead links.

@mahtoid
Copy link
Owner

mahtoid commented Aug 19, 2023

Would you like to update the README as well to include this new optional argument?

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>
Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>
@doluk
Copy link
Contributor Author

doluk commented Aug 20, 2023

Would you like to update the README as well to include this new optional argument?

Added it

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>
@mahtoid mahtoid changed the base branch from master to 2.7.0 September 15, 2023 21:20
@mahtoid mahtoid merged commit 1ae1c0f into mahtoid:2.7.0 Sep 15, 2023
2 checks passed
mahtoid added a commit that referenced this pull request Apr 1, 2024
* Add asset channel as way to export assets (#91)

* Addition of an optional asset channel to save attachments to another channel and preserve them from being not displayed in the final transcript (as long as the asset channel doesn't get deleted)

* Fetch attachments properly as Bytes and send them into the attachment channel

* propagate errors from sending assets to asset channel to user level

* Cleanup code after 1st review

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>

* Add new attribute to README.md

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>

* cleanup

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>

* Fix missing keyword argument

---------

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>

* Implement member caching across multiple instances of MemberConstruct (#92)

* feat: implement caching members in MessageConstructs

* version bump

* Asset Handler (#96)

- Removal of asset_channel feature
- Addition of AssetHandler origin class
- Addition of two examples for implementing AssetHandlers in form of LocalFileHostHandler and DiscordChannelHandler (latter one has the same functionality as the asset_channel)
- Bugfix: Preventing code blocks from being parsed for other markdown
- Bugfix: Fix timestamp markdown
- Bugfix: Fix div tags for pinned messages
- Bugfix: Fix parsing and css of here and everyone mentions
- Bugfix: Attempting to create a transcript of an empty channel would lead to an IndexError
- Bugfix: Fixing erroring in some channels but not others #98
- Addition of list markdown
- Addition of heading markdown

* README update

* Explain the concept of AttachmentHandlers (#99)

* Explain the AttachmentHandler concept

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>

* Deduplicate

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>

---------

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>

---------

Signed-off-by: doluk <69309597+doluk@users.noreply.github.com>
Co-authored-by: Lukas Dobler <69309597+doluk@users.noreply.github.com>
Co-authored-by: Dan <77840397+Void-ux@users.noreply.github.com>
Co-authored-by: mahtoid <git@mahto.id>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants