Commit graph

57 commits

Author SHA1 Message Date
58d709f7be Fix attachment reusal bug
The way that the atom was sometimes dereferenced and sometimes not
caused weird re-rendering artifacts, where sometimes attachment would
show up below posts that they actually did not belong to.
Refactoring all of the different cases to be handled by separate
functions seems to solve this.
2025-11-21 13:59:09 +01:00
bddb3b97fa Handle attachments with height < 320px 2025-11-21 13:47:19 +01:00
a02c33c620 Clean up database calls 2025-11-21 13:39:26 +01:00
54067c2103 Shout less in database wrapper 2025-11-21 13:15:00 +01:00
5eb75a3ac2 Fix typo 2025-11-21 13:07:28 +01:00
28eb3655c3 Fix lazy image loading 2025-11-21 09:12:55 +01:00
c35eb6d11e Add note about API compatibility 2025-11-21 09:07:08 +01:00
1b54880e8a Prevent flickering when paginating requests 2025-11-21 08:55:17 +01:00
84109a3429 Fix badly stretched image attachments 2025-11-21 08:26:38 +01:00
33ebd5eb2a Start autoplaying gifs only on hover or tap 2025-11-21 07:44:15 +01:00
aea0c8f1f1 Remove ?code= parameter after fetching bearer token
This is to ensure that it's not stored in any bookmark. The parameter
only has a short validity, so it's mostly cosmetic, but the docs
[recommend treating it
securely](https://docs.joinmastodon.org/methods/oauth/#200-ok).

Unfortunately it will still show up in logs. We should consider
switching to `urn:ietf:wg:oauth:2.0:oob`.
2025-11-21 07:28:56 +01:00
de2cf7f9c2 Place rsync example into README 2025-11-21 00:33:12 +01:00
09407c3231 Place control buttons next to search input on large enough screens 2025-11-21 00:30:52 +01:00
a9e4d2aa38 Simplify and gather reactive refresh logic in one place 2025-11-21 00:20:02 +01:00
7d359c2ed7 Fix index lookup for minimal and maximal favorite id 2025-11-20 23:21:38 +01:00
7ea11bfeb4 Do not autoplay sound for gifv attachments 2025-11-20 19:48:33 +01:00
2deba1b648 Update README 2025-11-20 19:44:17 +01:00
a06ec7ceae Fix "fetch more" button
This sent a lot of unnecessary requests, because the `min_id` / `max_id`
parameters that were fetched from the database were way off. No idea why
exactly that happened, but aggregating the result manually seems to work
fine.
2025-11-20 19:36:32 +01:00
a5dea165af Remove stray console.log in attachment component 2025-11-20 15:02:18 +01:00
8d7e4dde0e Debounce refresh when typing 2025-11-20 12:19:48 +01:00
c91b1ff2d4 Add support for gifs 2025-11-20 11:25:46 +01:00
2b78afde38 Clean up database interop 2025-11-20 11:25:41 +01:00
905fe2bd88 Add favicon 2025-11-19 22:29:05 +01:00
b0b4b01e37 Fix bug in debounce 2025-11-19 22:16:09 +01:00
b7fce71a17 Fix bug in promise-all 2025-11-19 20:49:57 +01:00
aec81cc1d7 Match query hits in image and video descriptions 2025-11-19 20:21:59 +01:00
fa3e3ad5cb Disable fetch more button while posts are loaded 2025-11-19 20:21:42 +01:00
a152c942ea Give attachments a max height 2025-11-19 20:21:33 +01:00
dbe15d9054 Fix pagination direction for "fetch more" button 2025-11-19 20:13:12 +01:00
f984e9b14d Add "load more" button and fix pagination 2025-11-19 19:43:09 +01:00
80d0a6e258 Implement nicer loading indicator 2025-11-19 13:23:00 +01:00
a7267a241d Improve page header
- Add illustration in correct size
- Rephrase explanatory intro paragraphs
2025-11-19 13:22:21 +01:00
4fe1ea90cc Use button for controls in header 2025-11-18 22:26:11 +01:00
51d8a023fe Use "connect your account" instead of login 2025-11-18 22:26:07 +01:00
9505023718 Use keyword as index name 2025-11-18 22:14:08 +01:00
5452579f0d Add tests for query syntax 2025-11-18 21:48:32 +01:00
934c499e93 Add logout buttons 2025-11-18 21:47:08 +01:00
6b62af8727 Fix video dimensions on mobile 2025-11-18 21:45:59 +01:00
46a0766995 Re-enable attachments 2025-11-18 20:25:32 +01:00
54d35961d1 Sort posts by creation date, most recent first 2025-11-18 20:20:10 +01:00
973004f1dd Be more consistent in section styling 2025-11-18 20:19:27 +01:00
dceb7f141b Make all inputs a bit larger 2025-11-18 20:00:38 +01:00
27ec45b812 Improve styling of post controls 2025-11-18 19:58:01 +01:00
f41af48bb0 Implement "Copy URL to Clipboard" 2025-11-18 19:46:44 +01:00
6cf08248ae Fix CSS formatting 2025-11-18 18:43:42 +01:00
cb974cb498 Handle loading state of parallel long-running updates correctly 2025-11-18 16:42:36 +01:00
342462fd63 Improve post view
Moves link below main post and adds date
2025-11-18 16:42:28 +01:00
566bc711be fix typo 2025-11-18 16:09:58 +01:00
5c7b14fc58 fix js path 2025-11-18 15:33:06 +01:00
eb2b10571d clean up 2025-11-18 14:08:24 +01:00