Commit Graph

20799 Commits

Author SHA1 Message Date
John Preston 2abc55e1d0 Fade the clipped rich-draft preview bottom 2026-07-02 17:49:08 +04:00
John Preston 74075ae38e Keep non-premium formatting when flattening rich sends 2026-07-02 17:49:08 +04:00
John Preston 929fbf29af Show grayed Hide-from-name for non-premium forwards 2026-07-02 17:49:08 +04:00
John Preston bcddeadc0f Show premium stars in place of style menu shortcuts 2026-07-02 17:49:08 +04:00
John Preston 102665ced6 Show premium stars on rich-only toolbar buttons 2026-07-02 17:49:08 +04:00
John Preston 7a56e1065e Offer to send a rich draft without formatting 2026-07-02 17:49:08 +04:00
John Preston 45adb8fde4 Mark rich-formatted drafts with a Send-button lock badge 2026-07-02 17:49:08 +04:00
John Preston d15a500258 Restore hover tooltips on the IV editor top toolbar 2026-07-02 17:49:08 +04:00
John Preston 6e2397c1e3 Show shortcuts and active-color marking in style menus 2026-07-02 17:49:08 +04:00
John Preston 382e173e97 Swap table title and first-cell backspace boundary 2026-07-02 17:49:08 +04:00
John Preston ae57ec48c4 Re-add the divider insert entry to the block menu 2026-07-02 17:49:08 +04:00
John Preston 0da3e55cc0 Restore the rich draft via cloud draft on send fail 2026-07-02 17:49:08 +04:00
John Preston 8584f292bc Recover cleanly when rich submit is empty or rejected 2026-07-02 17:49:08 +04:00
John Preston 71ea71b13e Drop author-only quotes that the server rejects 2026-07-02 17:49:08 +04:00
John Preston 7a2555abd9 Drop empty rich blocks and gate semi-empty on send 2026-07-02 17:49:08 +04:00
John Preston 057e8c5917 Support tg://grams to show Grams section. 2026-07-02 17:49:08 +04:00
John Preston 402cb0e668 Fix crash when removing folders with pinned chats.
ChatFilters::applyRemove() emptied the filter in the list and only then
detached its chats. Unpinning a chat re-caches its siblings' pinned
indices, which runs Session::refreshChatListEntry(); seeing the filter
still listed but emptied, it re-entered removeFromChatList() ->
setChatPinned() -> PinnedList::setPinned() on the same pinned list while
its re-cache loop iterated with a cached size, reading past the end of
the vector. This aborted on closing the Folders editor after removing
two or more folders that had pinned chats.

Detach the filter from the list before applyChange() tears down its
chats, so the re-entrant refresh no longer touches it. Also harden the
setPinned() re-cache loop to re-check the container size each iteration
as defense in depth.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 17:49:07 +04:00
John Preston c91afffd60 Fix possible crash on AdminLog teardown. 2026-07-02 17:49:07 +04:00
John Preston 3a4f39eb0e Reflect the current cell selection in the top table button
On selection change the top bar derives its active block and menu from the live article selection instead of the previously edited node, so a multi-cell table rectangle always lights the table button and its menu offers Unite cells.
2026-07-02 17:49:07 +04:00
John Preston 399b973440 Fix some editor bugs. 2026-07-02 17:49:07 +04:00
John Preston 051bc0dcf0 Refresh rich-draft media references from the server draft 2026-07-02 17:49:07 +04:00
John Preston cc247cca45 Reveal the spoiler on first click for grouped media 2026-07-02 17:49:07 +04:00
John Preston 7a67710094 Keep the slideshow active slide stable across edits 2026-07-02 17:49:07 +04:00
John Preston 162abf9cea Upload the edited photo from the rich editor 2026-07-02 17:49:07 +04:00
John Preston 276dd14657 Show the Expand button only for multi-line drafts 2026-07-02 17:49:07 +04:00
John Preston 9e6b5d7a7a Keep plain lines together when migrating field to editor 2026-07-02 17:49:07 +04:00
John Preston 7f96642797 Clear the source field when content moves to rich editor 2026-07-02 17:49:07 +04:00
John Preston 96b631e28f Give each ordered-list type its own list-menu glyph 2026-07-02 17:49:07 +04:00
John Preston 91f50c407d Fix IV editor discard/cancel glyph size and placement 2026-07-02 17:49:07 +04:00
John Preston fff550c4e4 Show nearest drop line for external file drag in editor 2026-07-02 17:49:07 +04:00
John Preston 15ac77e2ac Per-item controls and layout switch for grouped rich media 2026-07-02 17:49:07 +04:00
John Preston 7603a8b0ba Overlay three-dot and add buttons on rich editor media 2026-07-02 17:49:07 +04:00
John Preston 36a6f83c99 Edit a photo in the media editor from the rich editor 2026-07-02 17:49:07 +04:00
John Preston 54eb43f00e Autosave rich draft on each media upload. 2026-07-02 17:49:07 +04:00
John Preston efa742b6a1 Remove only the clicked item from a Collage or Slideshow 2026-07-02 17:49:07 +04:00
John Preston e574f3a786 Open the media menu on click for spoilered media 2026-07-02 17:49:07 +04:00
John Preston 2e72ebe2f2 Add Expand compose button to open the rich editor 2026-07-02 17:49:07 +04:00
John Preston 7e3ab2e280 Strip blockquote and code wrappers when splitting draft 2026-07-02 17:49:07 +04:00
John Preston 20d5499b54 Carry the field draft into the editor on Article 2026-07-02 17:49:07 +04:00
John Preston 90fbd23788 Send simple rich messages as normal text without premium 2026-07-02 17:49:07 +04:00
John Preston 8362d8b8a0 Clamp editor auto-scroll between floating controls. 2026-07-02 17:49:07 +04:00
John Preston 05eb0db3e4 Round Save button and normal Cancel pill in editor 2026-07-02 17:49:07 +04:00
John Preston 8234f9fbae Round Send button and normal Discard pill in editor 2026-07-02 17:49:07 +04:00
John Preston 0818ea081b Swap attach and formula buttons in IV editor toolbar 2026-07-02 17:49:07 +04:00
John Preston 2a6f2e4f98 Show Unite cells in the top-control table menu 2026-07-02 17:49:07 +04:00
John Preston 923f36ecac Replace Bordered table action with Borderless toggle 2026-07-02 17:49:07 +04:00
John Preston f68033d05f Fix build with Qt 5. 2026-07-02 17:49:07 +04:00
John Preston c65aab2725 Reuse existing media views for Slideshow. 2026-07-02 17:49:07 +04:00
John Preston 45f0341735 Make a better shadow for pills. 2026-07-02 17:49:06 +04:00
John Preston e9caa13c9a Gray formula placeholder, re-roll sample on clear 2026-07-02 17:49:06 +04:00