Commit Graph

54 Commits

Author SHA1 Message Date
Marcel Hellkamp
63407ea0a1 fix: Dark mode not working on dark browsers
Ironically, only if browser preference and wall config agreed both on dark mode,
it was not applied because there was no change detected by watch().
2023-08-07 18:21:30 +02:00
Marcel Hellkamp
576dce80b9 1.1.1 2023-08-07 16:20:59 +02:00
Marcel Hellkamp
3d2cdb0fcc fix: Account lookup fails with 404 2023-08-07 16:20:35 +02:00
Marcel Hellkamp
e78305b556 1.1.0 2023-08-04 15:09:02 +02:00
Marcel Hellkamp
c424d29d5d Better explain deployment and customization 2023-08-04 13:42:17 +02:00
Marcel Hellkamp
deb3b75999 Clarify how content settings are related.
Disable fields that have no effect if no servers are configured.
Clarify that accounts are not filtered hash hashtags.
2023-08-04 11:17:22 +02:00
Marcel Hellkamp
7c0d42c929 Reorder parameter defintions
Order matters for URL generation. Important options should be up front.
2023-08-04 11:11:31 +02:00
Marcel Hellkamp
4294f3a9a7 Accept server domains with port 2023-07-31 17:11:32 +02:00
Marcel Hellkamp
a266b3cbda Config dialog wording 2023-07-31 17:11:32 +02:00
Marcel Hellkamp
08bf098611 Filter statuses at API level if possible 2023-07-31 16:18:27 +02:00
Marcel Hellkamp
4fd62c6efa Explain 'auto' theme 2023-07-31 15:38:54 +02:00
Marcel Hellkamp
c560a13e92 Renamed some query parameters
Renamed `no` to `hide`, `block` to `ban` and changed
`media=yes|no|notext` to two simple boolean parameters
`text` and `meida`. Empty parameters now also keep their `=`
so empty lists (e.g. `tags`) won't look like boolean switches.
2023-07-31 15:21:28 +02:00
Marcel Hellkamp
c894d076fe Show account handle in addition to display name 2023-07-31 14:17:50 +02:00
Marcel Hellkamp
c57d9815d3 Replace mastodon emoji shortcodes with images
Replace :emoji: shortcodes with images in status bodys
and profile display names. Use non-animated version unless
video-autoplay is enabled.
2023-07-31 14:17:50 +02:00
Marcel Hellkamp
5edb276dfe Added fontawesome icons 2023-07-31 14:17:45 +02:00
Marcel Hellkamp
c6abbcd342 Filter bad words also in spoiler text and media descriptions 2023-07-28 19:43:33 +02:00
Marcel Hellkamp
9f8057e4d5 Code cleanup 2023-07-28 19:36:57 +02:00
Marcel Hellkamp
b9d0c9f677 Re-layout the Masonry grid quicker after changes.
Watch more changes that might require a re-layout, but debounce
re-layouts to avoid chaos (500ms).
2023-07-28 19:26:30 +02:00
Marcel Hellkamp
1be255ec4c Hide posts that would be empty.
Hide posts that contain only text or only media if that content type
is no displayed anyway.
2023-07-28 19:21:32 +02:00
Marcel Hellkamp
d7fde80d06 Add support for video media attachments.
Videos are only downloaded if autoplay is enabled and the video is visible on screen.
Disabling autoplay shows preview images instead.
2023-07-28 18:43:52 +02:00
Marcel Hellkamp
2c6d99e8ec Update page title 2023-07-27 17:36:50 +02:00
Marcel Hellkamp
3c65cfdd6c Code cleanup 2023-07-27 17:36:10 +02:00
Marcel Hellkamp
2afc9f41d2 Do not escape / in query strings 2023-07-27 17:22:13 +02:00
Marcel Hellkamp
cd183e14c8 Allow overriding site config URL via query parameter
Remodeled config dialog a bit and added a way to fetch
site config from any url via ?load=URL parameter.
2023-07-27 17:12:56 +02:00
Marcel Hellkamp
9a00596ff1 Better compatibility with old devices
Android boxes powering video walls are often quite old...
2023-07-27 14:29:58 +02:00
Marcel Hellkamp
181cc64a07 Fixed bugs found by eslint 2023-07-25 09:52:14 +02:00
Marcel Hellkamp
cee770d5a4 Reordering imports 2023-07-24 22:17:50 +02:00
Marcel Hellkamp
f21d0f3a03 Moved mastodon fetch logic to separate file
This should make it easier to add other backends in the future.
2023-07-24 22:17:50 +02:00
Marcel Hellkamp
a0157e508f Moved common types to separate file 2023-07-24 22:17:50 +02:00
Marcel Hellkamp
5375a2764a Implemented new filter options 2023-07-24 14:51:11 +02:00
Marcel Hellkamp
15883a53aa Refactored parallel-fetch logic.
The wall fetches all servers in parallel, but tasks per
server run sequence to not overwhelm individual servers.
2023-07-24 14:18:33 +02:00
Marcel Hellkamp
de8d4f834e Config overhaul with tons of new options.
- Lots of new config options and feature switches.
- Changed the way query parameters are translated to config values and vice versa.
- New layout and smarter error correction for config UI.

WIP, still missing functionality for many of the new options.
2023-07-24 12:50:04 +02:00
Marcel Hellkamp
7d003382ce Build fallback bundles for old browsers
This feature adds a lot of dependencies and some build time, but many
large screens at venues are powered by outdated android boxes and won't
be able to display anything otherwise. Modern browsers are not affected,
the fallback bundles are only downloaded by browsers that actually need
them.
2023-07-20 16:29:41 +02:00
Marcel Hellkamp
0987956ecf Remove unused dependency 2023-07-20 16:23:20 +02:00
Marcel Hellkamp
394725b14e Use a path independent build for Github Pages 2023-07-20 13:22:32 +02:00
Marcel Hellkamp
c0c770e86c Fix version string when building with github actions 2023-07-20 12:26:22 +02:00
Marcel Hellkamp
a766bb1ba8 Removed Makefile which is not useful 2023-07-20 12:14:05 +02:00
Marcel Hellkamp
bb03f7db94 Display fediwall version in page footer 2023-07-20 12:14:05 +02:00
Marcel Hellkamp
aae24de78b Skip updates while the tab/window is not visible
Pause updates while the window is minimized or the tab is in the background, but immediately continue updating once the wall is visible again. This should avoid a ton of unnecessary requests to servers.
2023-07-20 10:45:34 +02:00
Marcel Hellkamp
7ffa2a2f6d Do not allow style tags in untrusted html 2023-07-20 09:53:41 +02:00
Marcel Hellkamp
eecf6003e0 Change page title to "Fediwall" 2023-07-18 12:02:48 +02:00
Marcel Hellkamp
23e64962be Build with a relative basedir by default
Tests show this works. If not, build with `npm run build --base=/your/base/`
2023-07-17 16:31:15 +02:00
Marcel Hellkamp
8027e9187d Added very simple nginx-based dockerfile 2023-07-17 16:29:57 +02:00
Marcel Hellkamp
a2d4202b76 Added F.A.Q. to readme 2023-07-17 14:34:02 +02:00
Marcel Hellkamp
d93a7f32da Added support for multiple servers
Hashtags and domain-less accounts are searched on all configured servers. Accounts with a domain are now always fetched from their home server.

closes #2
2023-07-17 14:33:29 +02:00
Marcel Hellkamp
6c72830545 fix: Do not escape @ in generated URLs 2023-07-16 18:45:54 +02:00
Marcel Hellkamp
61af1d552c fix: Unable do configure fully qualified accounts 2023-07-16 17:16:04 +02:00
Marcel Hellkamp
f59515adf9 Fix layout: Remove whitespace on sides
Using rem-based sizing for the columns means that there is up to hallf a column (10rem) space on each side before another column can be added. We now use percent-based sizing instead and decide on the column count via CSS media queries based on avalable screen space. Still relative ro rem, so zoom still works.
2023-07-15 12:59:22 +02:00
Marcel Hellkamp
8c16791086 Scale better on really small devices 2023-07-15 12:10:32 +02:00
Marcel Hellkamp
3f50241a8d Fix: Do not url-encode @ in account urls 2023-07-15 10:01:59 +02:00