Commit Graph

505 Commits (181a1f15908b77b2a2340460905acc35ad188fc3)

Author SHA1 Message Date
Miguel Jacq 7faa4655f8 Make 'in reply to' more user-friendly by hiding the URL behind object type 2022-10-03 19:12:28 +02:00
Thomas Sileo cf6a891349 Improve/fix non-media attachment display 2022-09-30 09:07:07 +02:00
Thomas Sileo 58b383ba4e Don't try to contact onion services 2022-09-29 09:16:35 +02:00
Thomas Sileo 57fc5ef913 Improve OG meta processing 2022-09-29 09:10:05 +02:00
Thomas Sileo 572a84b4bd Fix/imprive Undo support 2022-09-29 08:41:24 +02:00
Thomas Sileo 992cd55d7b Tweak processing 2022-09-26 21:41:34 +02:00
Thomas Sileo 6216b316e8 Add remote interaction button 2022-09-23 20:09:05 +02:00
Thomas Sileo 96eae971b8 Prevent processing duplicate objects 2022-09-23 09:13:59 +02:00
Thomas Sileo 928bdafeea Tweak Create processing for CacheFile 2022-09-23 09:01:50 +02:00
Thomas Sileo dc89aeb70b Fix permalink 2022-09-23 09:00:23 +02:00
Thomas Sileo 25d3daa6d2 Improve inbox delete side effects 2022-09-22 19:56:36 +02:00
Thomas Sileo cb5d21baeb More admin profile related tweaks 2022-09-21 21:00:17 +02:00
Thomas Sileo 8d0b5d1114 Fix double profile button in the admin 2022-09-21 19:35:48 +02:00
Thomas Sileo 4fcf585c23 Fix OG meta display 2022-09-20 20:15:59 +02:00
Thomas Sileo 6873ede288 Tweak CSS 2022-09-20 20:00:35 +02:00
Thomas Sileo e0ad21f335 Drop View activities 2022-09-20 12:22:00 +02:00
Thomas Sileo b3f25e7da1 Improve replies counter for out-of-order replies 2022-09-19 21:16:09 +02:00
Thomas Sileo d44c8a58aa More improvements for the replies counter 2022-09-19 20:46:05 +02:00
Thomas Sileo 54aa2f51f4 Improve replies counter handling 2022-09-19 20:31:54 +02:00
Thomas Sileo 3305d489ec Fix tag parsing for actors 2022-09-19 19:33:44 +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
Miguel Jacq c30033c19e Fix minor grammatical issues, mostly in docs 2022-09-16 08:52:43 +02:00
Thomas Sileo 4e1e4d0ea8 Tweak actor update 2022-09-15 22:19:01 +02:00
Thomas Sileo 110f7df962 Fix GIF upload handling 2022-09-14 08:38:54 +02:00
Thomas Sileo 4c86cd4be3 Always show followers/following page when admin 2022-09-13 22:33:20 +02:00
Thomas Sileo b2f268682c New config item to hide followers/following 2022-09-13 21:03:35 +02:00
Thomas Sileo 567595bb4b Tweak inbox processing 2022-09-13 21:03:11 +02:00
Thomas Sileo 91b8bb26b7 Bugfixes 2022-09-13 21:02:47 +02:00
Thomas Sileo bd4d5a004a Improve Announce handling 2022-09-13 07:59:35 +02:00
Thomas Sileo 04da8725ed Improve fetch 2022-09-12 08:04:16 +02:00
Thomas Sileo c1231245a4 Complete self-destruct support 2022-09-11 10:51:08 +02:00
Thomas Sileo 0f20a1d12f Allow to post note with attachments and a CW 2022-09-08 22:20:16 +02:00
Thomas Sileo a701d3b06e Improve move support 2022-09-08 20:00:02 +02:00
Thomas Sileo 333fa5dc40 Add new notification type for Move activities 2022-09-07 22:21:12 +02:00
Thomas Sileo 032632c4dc Fix template 2022-09-07 21:54:56 +02:00
Thomas Sileo 3641aa0adc Improve movedTo support 2022-09-07 21:29:09 +02:00
Thomas Sileo eba868e8e5 Fix admin delete in the UI 2022-09-07 19:45:34 +02:00
Thomas Sileo 70120647c2 Tweak Move and outbox prefetch 2022-09-05 21:41:22 +02:00
Thomas Sileo e454e8fe84 Tweak admin login logic 2022-09-04 09:24:58 +02:00
Thomas Sileo f7671f0585 Process EXIF orientation for uploaded files 2022-09-03 10:15:37 +02:00
Thomas Sileo d5c27287af Fix admin in reply to link 2022-09-01 21:00:14 +02:00
Thomas Sileo 5f20eab3f1 More work towards support moving/deleting instance 2022-09-01 20:42:20 +02:00
Thomas Sileo b03daf1274 Fix in reply to link 2022-09-01 20:32:32 +02:00
Thomas Sileo 6e3066bd9b Fix support for multi-codepoints emoji 2022-09-01 12:23:23 +02:00
Thomas Sileo 0175f21273 Fix mentionify 2022-08-31 19:44:40 +02:00
Thomas Sileo 6384dbcd93 Re-add support for custom emoji 2022-08-31 19:16:03 +02:00
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
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 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 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 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 88cb82c9bb Improve static assets caching 2022-08-26 20:26:41 +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 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 e753fee632 Tweak read more link on notifications page 2022-08-25 08:51:46 +02:00
Thomas Sileo 30cfd6260b Pagination for the notifications page 2022-08-25 08:45:07 +02:00
Thomas Sileo d43bf54609 Custom footer support 2022-08-24 21:18:30 +02:00
Thomas Sileo 953a6c3b91 Fix empty tag page 2022-08-24 20:52:15 +02:00
Thomas Sileo ae28cf2294 Improve summary 2022-08-24 20:12:10 +02:00
Thomas Sileo 3b767eae11 Improve version handling 2022-08-24 09:02:20 +02:00
Thomas Sileo ce15d2b0c3 HTML error for failed admin login 2022-08-22 18:50:20 +02:00
Thomas Sileo e55dc652ee Tweak inbox activity processing 2022-08-21 21:06:33 +02:00
Thomas Sileo 8837acd57f More tweals for Yunohost support 2022-08-21 15:46:26 +02:00
Thomas Sileo 601313cf65 Yunohost config utils 2022-08-21 15:40:25 +02:00
Thomas Sileo 7c6768266c Improve lookup 2022-08-21 09:52:48 +02:00
Thomas Sileo 6b670c74cf Tweak logger 2022-08-21 09:42:28 +02:00
Thomas Sileo e16dbb4590 Enable CORS for the webfinger endpoint 2022-08-21 09:36:03 +02:00
Thomas Sileo 827ba5cd2d Improve inbox processing 2022-08-21 09:22:14 +02:00
Thomas Sileo 691ad500c6 Tweak logging 2022-08-20 09:11:48 +02:00
Thomas Sileo 538af64955 Fix inbox processing for deleted actors 2022-08-19 19:36:23 +02:00
Thomas Sileo b2c161466f Improve pruning process 2022-08-19 14:50:56 +02:00
Thomas Sileo 6f9d9d7d9d Tweak remote actor deletion 2022-08-19 09:41:15 +02:00
Thomas Sileo 32e3a6dbf7 Don't fail to accept follow when the oubox cannot be processed 2022-08-19 09:17:06 +02:00
Thomas Sileo de4915f837 Fix Follow request handling 2022-08-19 09:12:00 +02:00
Thomas Sileo c08f3fbefb Fix old inbox data pruning 2022-08-19 09:11:22 +02:00
Thomas Sileo 6a267d3463 Tweak old inbox data pruning 2022-08-19 00:13:23 +02:00
Thomas Sileo 89e21b88e3 Tweak query for pruning inbox data 2022-08-19 00:03:49 +02:00
Thomas Sileo 0ffacca796 Start support for pruning old inbox data 2022-08-18 23:48:00 +02:00
Thomas Sileo 08618c3c72 Tweak HTTP sig handling for blocked servers 2022-08-18 22:42:00 +02:00
Thomas Sileo 1e8a4f933e Fix delete for unknown object 2022-08-18 22:36:39 +02:00
Thomas Sileo d3b7f6ccbb Template fixes 2022-08-18 20:53:51 +02:00
Thomas Sileo 2d28ca3614 Cleanup inbox processing 2022-08-18 20:21:28 +02:00
Thomas Sileo 228de1b83a Improve Accept/Reject for Follow 2022-08-17 21:34:04 +02:00
Thomas Sileo e3a02a8138 Start support for deleting remote actors 2022-08-17 21:18:07 +02:00
Thomas Sileo 02c09f2363 Add support for Move activity 2022-08-16 22:15:05 +02:00
Thomas Sileo 4ae198d074 Fix actor lookup 2022-08-15 22:22:15 +02:00
Thomas Sileo d1b4bd0181 Improve lookup and handle visibility in threads 2022-08-15 21:34:57 +02:00
Thomas Sileo 59af633c6c Prefetch some notes when following an actor 2022-08-15 19:20:56 +02:00
Thomas Sileo c711096262 Allow to interact with objects via lookup 2022-08-15 12:49:07 +02:00
Thomas Sileo d381bb3fec Improve actor-level blocking 2022-08-15 10:50:13 +02:00
Thomas Sileo 4f98ff6bbf Tweak URL parsing 2022-08-15 10:27:58 +02:00
Thomas Sileo 1e6a290fb3 Start supporting a server blocklist 2022-08-15 10:15:00 +02:00
Thomas Sileo 6c3fe894b5 Tweak workers 2022-08-14 22:44:30 +02:00
Thomas Sileo 7d9ced7740 Improve conversation/threads handling 2022-08-14 18:58:47 +02:00
Thomas Sileo 47b898bb13 Enable replies to object without conversation/context 2022-08-14 16:42:08 +02:00
Thomas Sileo 51bfc4bd30 Various tweaks about AP types 2022-08-13 22:37:44 +02:00
Thomas Sileo 1f36348021 Fix DMs section 2022-08-13 15:53:07 +02:00
Thomas Sileo ce80e98d33 Invalidate CSS cache when updated 2022-08-13 15:35:39 +02:00
Thomas Sileo 59688ad5f6 Improve show more and show sensitive attachments 2022-08-13 15:20:56 +02:00
Thomas Sileo abfb6355aa Improve DM threads 2022-08-12 10:01:35 +02:00
Thomas Sileo 23afd31bff Improve outgoing worker 2022-08-11 23:10:24 +02:00
Thomas Sileo 5fc06ccfac Fix OG meta 2022-08-11 22:14:11 +02:00
Thomas Sileo 6b8a4d94b2 Add DMs section 2022-08-11 22:07:40 +02:00
Thomas Sileo ccd77adcb6 Add DM/mention button on profile 2022-08-11 20:48:20 +02:00
Thomas Sileo 81c2ef8961 Tweak mention format to show the full handle 2022-08-11 20:27:17 +02:00
Thomas Sileo 0696268d0b Tweak incoming/outgoing workers 2022-08-11 12:24:17 +02:00
Thomas Sileo 0b6556e54a Fix typing 2022-08-10 20:47:19 +02:00
Thomas Sileo 394dae90f5 Add missing base worker 2022-08-10 20:39:19 +02:00
Thomas Sileo 8633696da0 Improve workers for incoming/outgoing activities 2022-08-10 20:34:36 +02:00
Thomas Sileo e8397f802d Add support for profile metadata 2022-08-10 08:58:18 +02:00
Thomas Sileo ff59e49866 Tweak the privacy replace feature 2022-08-09 23:09:37 +02:00
Thomas Sileo bdfdb2c4f9 Tweak OG metadata 2022-08-09 22:36:53 +02:00
Thomas Sileo 9bd3c06054 Improve Mastodon compat 2022-08-09 22:23:14 +02:00
Thomas Sileo 6323b13feb Fix mentions 2022-08-09 22:22:58 +02:00
Thomas Sileo e59d17f4f6 Fix remote follow 2022-08-08 22:12:24 +02:00
Thomas Sileo 159adaba94 Hide EmojiReact from inbox 2022-08-06 09:32:22 +02:00
Thomas Sileo fabe469a53 Add missing file 2022-08-04 19:13:32 +02:00
Thomas Sileo d378e17173 Improve privacy relace 2022-08-04 19:11:14 +02:00
Thomas Sileo 6d2db24c33 Improve theming support 2022-08-04 19:10:57 +02:00
Thomas Sileo 70cdde5d46 OG metadata fixes/tweaks 2022-08-04 17:36:21 +02:00
Thomas Sileo b59223a2f7 Process opengraph metadata for inbox objects too 2022-08-04 07:41:09 +02:00
Thomas Sileo 8cfac8df6a Allow to replace URL dynamically (for Nitter, Teddit...) 2022-08-04 07:31:18 +02:00
Thomas Sileo 342f708ce9 Don't display inlined images twice 2022-08-03 19:54:11 +02:00
Thomas Sileo 6395a75b6e Better blockquote styling 2022-08-03 19:53:55 +02:00
Thomas Sileo 73a7a3ee21 Improve opengrah metadata 2022-08-02 22:22:15 +02:00
Thomas Sileo e28b988a26 Admin templates tweak 2022-08-02 20:40:43 +02:00
Thomas Sileo a1a9ec3f7c Start support for manually approving followers 2022-08-02 20:14:40 +02:00
Thomas Sileo 9f3956db67 Copy over the content warning when replying 2022-08-01 20:37:08 +02:00
Thomas Sileo 3fc6ac19f4 Fix empty display name issue 2022-07-31 18:48:54 +02:00
Thomas Sileo 96cf0f9aa2 Improve poll support
Misskey polls/questions don't have an endTime or the
Mastodon-specific votersCount attribute.
2022-07-31 18:40:52 +02:00
Thomas Sileo 4f0d819a41 Fix issue with poll rendering 2022-07-31 18:18:42 +02:00
Thomas Sileo b557035eac Make site_name optional of OG metadata 2022-07-31 15:27:12 +02:00
Thomas Sileo 3b74ecff29 Fix query for threads 2022-07-31 15:11:08 +02:00
Thomas Sileo 2fba922e03 Improve notifications page 2022-07-31 15:00:06 +02:00
Thomas Sileo cc18e94a81 Fix replies count when replying to an inbox object 2022-07-31 11:46:45 +02:00
Thomas Sileo cc086f3264 Add support for blocking actors 2022-07-31 10:35:11 +02:00
Thomas Sileo 7782a39638 Improve admin actor profile 2022-07-31 10:03:45 +02:00
Thomas Sileo b8aeb5a199 Improve activity forwarding 2022-07-30 09:14:54 +02:00
Thomas Sileo 61877b22c0 Tweak media proxy 2022-07-30 09:09:18 +02:00
Thomas Sileo 4b20c26e4b Better Docker support 2022-07-30 08:46:29 +02:00
Thomas Sileo 7469188aaf Fix admin buttons in templates 2022-07-30 08:31:27 +02:00
Thomas Sileo fe9e4eebf4 Fix footer 2022-07-29 23:17:02 +02:00
Thomas Sileo 6207af66bd More CSS tweaks 2022-07-29 21:35:02 +02:00
Thomas Sileo 1299f49884 Tweak CSS 2022-07-29 21:26:19 +02:00
Thomas Sileo 583fd5f3d4 Fix footer in templates 2022-07-29 21:01:45 +02:00
Thomas Sileo 2ae08d16b8 Tweak custom emoji path 2022-07-29 15:12:48 +02:00
Thomas Sileo 9c325674c6 Improve Delete handling 2022-07-29 09:24:36 +02:00
Thomas Sileo 241cc1433b Fix mentions when replying 2022-07-28 08:41:50 +02:00
Thomas Sileo 98d5cf32c8 Tweak date format for articles 2022-07-27 20:57:59 +02:00
Thomas Sileo 7d760ecf58 Fix highlight for Python3 2022-07-27 20:55:03 +02:00
Thomas Sileo 4c23d2b984 Fix template 2022-07-27 19:41:11 +02:00
Thomas Sileo 4956092161 Tweak actor display 2022-07-27 19:36:55 +02:00
Thomas Sileo de2f747140 Fix admin profile page 2022-07-27 19:04:25 +02:00
Thomas Sileo cabc74f5cd Fix admin profile 2022-07-27 18:58:57 +02:00
Thomas Sileo b9d44da06e Twek admin actor profile 2022-07-27 18:56:14 +02:00
Thomas Sileo a006ba2cc4 Fix processing for forwarded transient activities 2022-07-27 18:50:10 +02:00
Thomas Sileo 3af56bf2dc Tweak Announce processing 2022-07-27 18:42:52 +02:00
Thomas Sileo f57c4a8e0a Show Announce on the admin profile page 2022-07-27 12:37:33 +02:00
Thomas Sileo 31a2dd6950 Hide announce from non-followers in the stream 2022-07-27 12:31:32 +02:00
Thomas Sileo 2bbb23b7d9 Set the title attr in addition to alt for images 2022-07-27 09:29:20 +02:00
Thomas Sileo 064921fdd1 Handle out-of-order Delete activity 2022-07-26 21:10:59 +02:00
Thomas Sileo 0ab0eaec34 More tests 2022-07-26 19:06:20 +02:00
Thomas Sileo c07d17ba9b Add error handling for admin lookups 2022-07-26 18:51:20 +02:00
Thomas Sileo 24f3f94056 Start support for authoring articles 2022-07-25 22:51:53 +02:00
Thomas Sileo e363ae2802 Tweak inbox/outbox filter 2022-07-25 21:48:40 +02:00
Thomas Sileo 55cbd8b617 Fix note creation 2022-07-24 16:12:55 +02:00
Thomas Sileo fb0081a554 Finish Question/poll support 2022-07-24 12:36:59 +02:00