Commit Graph

496 Commits

Author SHA1 Message Date
Miguel Jacq c740813b57 Ensure pinned posts appear on front page before others 2022-08-31 08:19:47 +02:00
Josh Washburne 0ef2f1f89d Remove surrounding whitespace before processing query
Ran into this issue twice quite by accident with fat-fingering copy/paste on
my phone. If there is any whitespace in front of or trailing after the
lookup query, it returns an "Unexpected error". Stripping the string is the
quick and dirty way to clean it.

I hate modifying the same function argument name in place like that, but it
is valid Python. If you want me to assign it to a separate variable and
replace all the references of "query", let me know.

Thanks!
2022-08-31 08:16:32 +02:00
Thomas Sileo 6d933863d2 Fix outbox delete side effects 2022-08-30 20:05:10 +02:00
Thomas Sileo 8fe6cc9b9d Fix the delete button 2022-08-30 19:09:51 +02:00
Thomas Sileo 4cb499e44d Fix form for new objects 2022-08-30 08:51:02 +02:00
Miguel Jacq 95745374cd 'followers-only' posts are not necessarily deleted, but may not be viewable to the signed-in actor 2022-08-30 08:21:11 +02:00
Miguel Jacq db8f0cb141 Harden the CSP a bit for values that don't inherit default-src. Set Permissions-Policy. Remove TODO 2022-08-30 08:21:11 +02:00
Miguel Jacq 05f840ecc8 Small typos in docs/install.md 2022-08-30 08:21:11 +02:00
Thomas Sileo ebdba62a06 No more inline CSS 2022-08-29 21:42:54 +02:00
Thomas Sileo 2fb85e138e Remove inlined JS 2022-08-29 20:11:31 +02:00
Thomas Sileo b843b29975 Another Makefile fix 2022-08-29 19:44:02 +02:00
Thomas Sileo 4f8bb00d86 Fix Makefile 2022-08-29 19:40:11 +02:00
Thomas Sileo a02c8cf0bb Fix NGINX setup instructions 2022-08-29 19:28:54 +02:00
Thomas Sileo ee5265f4dd Small tweaks/typos 2022-08-29 09:09:28 +02:00
Thomas Sileo 727eaa9ee1 Tweak docs 2022-08-28 22:21:22 +02:00
Thomas Sileo 39ca3ed7e2 Revert CSS changes 2022-08-28 19:53:11 +02:00
Thomas Sileo c67db749dc Tweak CSS 2022-08-28 19:35:51 +02:00
Thomas Sileo fc0445fcec Add missing template 2022-08-28 19:32:05 +02:00
Thomas Sileo c275d7064e Tweak supervisord config 2022-08-28 19:08:44 +02:00
Thomas Sileo 1a7e9e4565 Fix OG metadata processing 2022-08-28 19:05:06 +02:00
Thomas Sileo 87f035d298 HTML error page 2022-08-28 17:36:58 +02:00
Thomas Sileo 651682829a Tweak worker shutdown 2022-08-28 12:05:44 +02:00
Thomas Sileo 3f85c851be More share dedup tweak 2022-08-28 11:39:44 +02:00
Thomas Sileo 333e367a5b Improve debug mode 2022-08-28 11:24:46 +02:00
Thomas Sileo 09cdef118c Fix share dedup 2022-08-27 17:28:53 +02:00
Thomas Sileo 00004a3239 Debug share dedup 2022-08-27 11:21:42 +02:00
Thomas Sileo 7283ba134c Tweak templates 2022-08-27 09:45:14 +02:00
Thomas Sileo c8f3bed065 Tweak inbox display 2022-08-27 09:28:37 +02:00
Thomas Sileo 93e0d073a0 Tweak lookup 2022-08-27 09:24:21 +02:00
Thomas Sileo e959085d38 Improve shares on homepage 2022-08-27 09:14:16 +02:00
Thomas Sileo aaf8b811dc Fix mention processing bug 2022-08-27 09:10:14 +02:00
Thomas Sileo 4e445a7207 Prevent replay attacks with TLS1.3 0-RTT 2022-08-26 23:35:58 +02:00
Thomas Sileo 40c4a4413d Tweak media proxy error 2022-08-26 22:04:38 +02:00
Thomas Sileo dd4773fc27 Fix share dedup 2022-08-26 21:23:16 +02:00
Thomas Sileo 0db6b0e2ba Tweak deps 2022-08-26 21:07:46 +02:00
Thomas Sileo 88cb82c9bb Improve static assets caching 2022-08-26 20:26:41 +02:00
Thomas Sileo 372851caaf Tweak sample nginx conf 2022-08-26 20:25:55 +02:00
Thomas Sileo e16dbf03e7 Add NGINX tips in the doc 2022-08-26 20:18:59 +02:00
Thomas Sileo 7d4b7f6756 Improve Announce dedup 2022-08-26 19:09:40 +02:00
Thomas Sileo edf9e28ed1 Tweak cache size 2022-08-26 18:58:21 +02:00
Thomas Sileo eb9a6024a8 Tweak supervisord config 2022-08-26 18:43:56 +02:00
Thomas Sileo 84203fc66e More webp support 2022-08-26 09:28:00 +02:00
Thomas Sileo 55d82c5843 Also save outbox attachment thumbnails as webp 2022-08-26 09:05:55 +02:00
Thomas Sileo 53a31ae562 Webp support 2022-08-26 08:48:14 +02:00
Thomas Sileo d21ce3313d Fix notif page 2022-08-26 08:18:51 +02:00
Thomas Sileo 93ee6c435d Tweak notifications 2022-08-26 08:15:49 +02:00
Thomas Sileo bec40cc050 Pagination for the admin profile page 2022-08-26 08:10:46 +02:00
Thomas Sileo 505abd7da8 Only display tiny actor icon for shares 2022-08-26 07:57:10 +02:00
Thomas Sileo 63073279e1 More actor icons 2022-08-26 07:43:39 +02:00
Thomas Sileo 365e6cc534 Mention Docker disk usage in the install guide 2022-08-25 08:57:30 +02:00