Commit Graph
6 Commits
Author SHA1 Message Date
lyuksovannyyandClaude Opus 5.5 e3cfaef40e [no bump] Shift plugin icon index down by one
Publish plugin / publish (push) Successful in 3s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 14:20:24 +02:00
lyuksovannyyandClaude Opus 5.5 2ac2600dcf [no bump] Move technical docs to docs/, add icon and PNG export tool
Publish plugin / publish (push) Successful in 3s
README now carries the icon, TL;DR, description and features; the
technical sections live in docs/. tools/icon_png.py renders
images/icon.svg to a square PNG (512x512 by default, --resolution N).
plugin.json points at the plugin's own icon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 14:16:37 +02:00
lyuksovannyyandClaude Opus 5.5 1f0a9a1a7a Send forwarded media to the forum topic picked in the share sheet
Publish plugin / publish (push) Successful in 3s
The picker only read the selected dialog ids, so media always landed in
a forum's General topic. Read ShareAlert's selectedDialogTopics as well
and address each target the way ShareAlert.sendInternal() does: reply to
the topic's start message in forums, or set monoForumPeer in a channel's
direct-messages chat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.1.2
2026-10-09 12:50:03 +02:00
lyuksovannyyandClaude Opus 5.5 46503f24a0 Rename to Extended Media Forwards and forward rich message media
Publish plugin / publish (push) Successful in 5s
Rename the plugin (id extended_media_forwards) and add the Forward button
to media opened from rich messages, both single media and carousels.

Rich message media opens PhotoViewer through ChatActivity's
ChatArticlePageBlocksAdapter, whose parent object is the MessageObject
rather than a WebPage, so the article-only check hid the button. The
re-sent media links back to the message when it lives in a channel or
supergroup; elsewhere it is sent without a caption. FileLoader now gets
the parent object so expired file references can be refreshed.

Instant View carousels already worked: slideshow items are flattened
into the article's photo list. Findings are in docs/media-viewer-notes.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.1.1
2026-10-07 00:51:58 +02:00
lyuksovannyy 05c5212a8a [no bump] Implement telegra.ph media forward
Publish plugin / publish (push) Successful in 3s
Adds a share action to the Instant View photo viewer that downloads the
media and re-sends it from the user's own account with a text_url caption
linking back to the source article.

- src/main.py: hooks PhotoViewer.onPhotoShow, injects the toolbar item
- src/ivmedia.py: resolves the viewer's page block to a TL media object
- src/picker.py: share sheet + comment field (restores focus after the
  keyboard animation, which PhotoViewer.showShareAlert does itself)
- src/sender.py: FileLoader download, cache reuse, re-send with caption
- src/icons.py: IconManager-aware drawable lookup so icon packs apply
- tools/verify_bundle.py: offline checks for URL acceptance, caption
  entity shape and bundled-module isolation

Drops the sample greeting/textutil modules.
v1.0.0
2026-09-25 00:49:58 +02:00
exteraGramPlugins bfd0f80c6f Initial commit 2026-09-24 20:23:49 +00:00