Commit Graph

93 Commits

Author SHA1 Message Date
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
Marcel Hellkamp
7aec21f6c1 Switch demo site to GitHub Pages. 2023-07-15 09:42:21 +02:00
Marcel Hellkamp
b7e89e8334 Added action to deploy main branch to Github Pages 2023-07-15 09:39:00 +02:00
Marcel Hellkamp
1a5091ca43
Added screenshot to README.md 2023-07-15 08:56:25 +02:00
Marcel Hellkamp
2252cad370 Initial commit 2023-07-15 08:46:52 +02:00