Commit graph

38 commits

Author SHA1 Message Date
Kevin Wallace
b37b77ad34 Make local actor icon optional
If a remote actor has no icon, we show our local default icon.

If we have no icon, we should allow remote instances to show their
default icon, instead of sending ours.
2022-11-19 08:12:49 +01:00
Kevin Wallace
a2254f2674 Add return type to hmac_sha256 2022-11-18 20:30:29 +01:00
Thomas Sileo
698a2bae11 Follow up fixes for the image URL support 2022-11-11 15:13:45 +01:00
Alexey Shpakovsky
4613997fe3 Add option to set image_url ("background image") for user
While this option is not used anywhere in microblog.pub itself, some
other servers do occasionally use it when showing remote profiles.

Also, this image _can_ be used in microblog.pub - just add this:

	<img src="{{ local_actor.image_url }}">

in the appropriate place of your template!
2022-11-11 15:08:17 +01:00
Thomas Sileo
62c9327500 Add support for setting a custom CSP 2022-11-09 21:26:43 +01:00
Kevin Wallace
a4cfd65009 Sign media URLs to avoid becoming an open proxy
Signatures are valid for ~1 week.
2022-11-04 19:36:26 +01:00
Thomas Sileo
540b9d1470 Minor tweaks about non-root handling 2022-11-04 19:28:21 +01:00
Kevin Wallace
1c076049cf Fix URL generation when not at domain root 2022-11-04 19:22:30 +01:00
Kevin Wallace
2843155501 Allow actor id to be specified in config
This is useful if the actor won't be at the root of the domain.
2022-11-04 19:22:30 +01:00
Thomas Sileo
32692a7dcd First shot at supporting custom handler 2022-11-02 08:51:21 +01:00
Thomas Sileo
d93bcf6128 Complete the switch to mistletoe 2022-10-19 20:46:01 +02:00
Thomas Sileo
9093659b0a Tweak error wording 2022-09-16 18:37:09 +02:00
Thomas Sileo
b99552384c Improve expired session and CSRF error handling 2022-09-16 18:14:50 +02:00
Thomas Sileo
b2f268682c New config item to hide followers/following 2022-09-13 21:03:35 +02:00
Thomas Sileo
a701d3b06e Improve move support 2022-09-08 20:00:02 +02:00
Thomas Sileo
5f20eab3f1 More work towards support moving/deleting instance 2022-09-01 20:42:20 +02:00
Thomas Sileo
6384dbcd93 Re-add support for custom emoji 2022-08-31 19:16:03 +02:00
Thomas Sileo
2fb85e138e Remove inlined JS 2022-08-29 20:11:31 +02:00
Thomas Sileo
d43bf54609 Custom footer support 2022-08-24 21:18:30 +02:00
Thomas Sileo
3b767eae11 Improve version handling 2022-08-24 09:02:20 +02:00
Thomas Sileo
0ffacca796 Start support for pruning old inbox data 2022-08-18 23:48:00 +02:00
Thomas Sileo
1e6a290fb3 Start supporting a server blocklist 2022-08-15 10:15:00 +02:00
Thomas Sileo
ce80e98d33 Invalidate CSS cache when updated 2022-08-13 15:35:39 +02:00
Thomas Sileo
e8397f802d Add support for profile metadata 2022-08-10 08:58:18 +02:00
Thomas Sileo
6d2db24c33 Improve theming support 2022-08-04 19:10:57 +02:00
Thomas Sileo
8cfac8df6a Allow to replace URL dynamically (for Nitter, Teddit...) 2022-08-04 07:31:18 +02:00
Thomas Sileo
a1a9ec3f7c Start support for manually approving followers 2022-08-02 20:14:40 +02:00
Thomas Sileo
4b20c26e4b Better Docker support 2022-07-30 08:46:29 +02:00
Thomas Sileo
fe88481431 Docker + docker compose support 2022-07-18 20:44:55 +02:00
Thomas Sileo
5845bb72f5 Tweak the default code highlighting theme 2022-07-12 19:50:11 +02:00
Thomas Sileo
8dd6890a7d More CSRF tweaks 2022-07-11 09:42:39 +02:00
Thomas Sileo
2d035a03e9 Tweak CSRF token handling 2022-07-11 09:34:06 +02:00
Thomas Sileo
dfe7d692e3 Bugfixes and cleanup 2022-07-07 20:37:16 +02:00
Thomas Sileo
dbb024edbd Use semver 2022-07-04 21:45:23 +02:00
Thomas Sileo
1f54a6a6ac Switch to aiosqlite 2022-06-29 20:43:17 +02:00
Thomas Sileo
09ce33579a Custom emoji support 2022-06-27 20:55:44 +02:00
Thomas Sileo
b16cf7a719 Fix CI 2022-06-22 20:48:48 +02:00
Thomas Sileo
d528369954 Initial commit for new v2 2022-06-22 20:11:22 +02:00