From 7cf3b5bdb58d279d2cc2aa7770c09afeeeebb5b7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 8 Feb 2021 22:50:21 +0100 Subject: Matrix: add room list on the left side when in a room --- TODO | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index c53a2c9..c8dcbff 100644 --- a/TODO +++ b/TODO @@ -29,11 +29,8 @@ Show filename at the bottom when viewing an image/video on 4chan. Add ctrl+c keybinding to copy the url of the previewing image. Add ctrl+c keybiding to copy the url to the currently selected post on 4chan. Add ctrl+s to save the previewing image/video (for images that would be a copy, since its already stored in cache and for videos youtube-dl would be used). -Show some kind of indication that there are new messages in a room in matrix room view, and also show another indication if somebody mentioned us (and how many times). -Show the rooms menu on the left side when the window is large in matrix. Use https://github.com/simdjson/simdjson as a json library in other parts than matrix. Sanitize check: do not allow pasting more than 2gb of text. -Add search bar for matrix rooms. Only add related videos to recommendations if its the first time we watch the video. This is to prevent rewatching a video multiple times from messing up recommendations. Implement mentions in matrix with an autofill list, like on element. Also do the same with / commands. Add option to disable autosearch and search when pressing enter instead or something? this would be needed for mobile phones where typing is slow. @@ -42,7 +39,7 @@ Provide a way to specify when notifications should be received (using matrix api Use quickmedia to show image in matrix rooms, instead of mpv. Respect ~/.Xresources dpi (read the file, loop lines and look for Xft.dpi). Fallback to 96 dpi. Merge body items in matrix if they are posted by the same author (there is a git stash for this). -Add joining/leaving room in matrix, and also show invites and add command to ban users. +Add command to ban users. Support peertube (works with mpv, but need to implement search and related videos). Scroll to bottom when receiving a new message even if the selected message is not the last one. It should instead scroll if the last message is visible on the screen. Also add a tab for common directories and recently accessed files/directories (the directories would be the directory of used files). @@ -82,7 +79,6 @@ Show redacted messages even when part of the initial sync in matrix. Right now t Fix inconsistent behavior when editing a message that is replied to in matrix. Right now if the replied to message already exits in the body then its used directly and when editing that message the reply message shows the edit embedded, but not if the edit is of an body item that is created because we dont already have it, to fix this we could perhaps replace the newly created body items for replies when loading old messages and one of the old messages is also one of the embedded messages (by event id). Add button to skip to next video. MPV has this feature when setting "next" video (can be done over IPC). -Handle room leave in matrix and remove rooms from the list. Use a custom allocator that replaces malloc/realloc/free/new/delete to release memory properly, using munmap in free/delete. The C allocator doesn't do that! memory usage remains high after one large allocation. The C allocator only marks it as free. Ignore timestamp ordering for messages in matrix? element seems to do that (or only for new messages???), and also we need the latest message to be last I guess to set read markers properly? Merge |Page::search| and |Page::get_page|. get_page with page 0 should be the same as search. @@ -98,7 +94,6 @@ Remove reply formatting for NOTICE in matrix as well. Scroll body when adding new items and the selected item fits after the scroll (needed for matrix where we want to see new messages when the last item is not selected). Or show the last item when its not visible in matrix (at the bottom, just like when replying/editing). Implement our own encryption for matrix. This is also needed to make forwarded message work. Pantalaimon ignores them! Modify matrix sync to download and parse json but not handle it, and then add a function to handle the json. This would allow us to remove all the mutex code if we would call that new method from the main thread (similar to chromium multithreading). -Room list in matrix ignores edited messages, which it should for unread messages but it should show the edited message if the edited message is the last message in the room. Fetch replies/pinned message using multiple threads. Show in room tags list when there is a message in any of the rooms in the tag. Cancel video download when pressing escape or closing window (important in matrix). @@ -158,7 +153,6 @@ Add arguments to pipe plugin to pass input and output fifo for sending commands Update thumbnails in file-manager if an image is replaced, by including the modify date of the image in the thumbnail cache as well. Create a workaround for dwm terminal swallow patch stealing mpv when moving QuickMedia to another monitor sometimes. Maybe check for structure notify events on mpv and reparent and select input on the mpv window again? Resize video thumbnail when extracted with ffmpeg to 480x360, clamped from its original size. -Remove reply formatting from edited text in room description in room list. Add option to decline and mute user in invites. This is to combat invite spam, where muted users cant invite you. Searching in channel page should search in the channel instead of filter, because with filtering we only filter the videos we have loaded in the channel page and the channel page uses pagination; so we may have only loaded 20 videos while the channel may actually have 2000 videos. Allow hiding videos so they dont show up in recommendations and related videos. -- cgit v1.2.3