diff --git a/README.md b/README.md index bdcd9386..e64c7ad4 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,44 @@ ## Dependencies setup -### [pyotherside](https://github.com/thp/pyotherside) +Outside of pip/github: - git clone https://github.com/thp/pyotherside - cd pyotherside - qmake - make - sudo make install +Qt 5.12+, including: +- qt5-declarative +- qt5-quickcontrols2 +- qt5-graphicaleffects +- qt5-qmake + +[pyotherside](https://github.com/thp/pyotherside): + + git clone https://github.com/thp/pyotherside + cd pyotherside + qmake + make + sudo make install After this, verify the permissions of the installed plugin files. - sudo chmod 644 /usr/lib/qt5/qml/io/thp/pyotherside/* - sudo chmod 755 /usr/lib/qt5/qml/io/thp/pyotherside/*.so + sudo chmod 644 /usr/lib/qt5/qml/io/thp/pyotherside/* + sudo chmod 755 /usr/lib/qt5/qml/io/thp/pyotherside/*.so + +Dependencies on Pypi: + + pip3 install --user --upgrade \ + Pillow atomicfile dataclasses filetype lxml mistune uvloop + +Dependencies on Github (most recent version needed): + +[matrix-nio](https://github.com/mirukan/matrix-nio): + + git clone https://github.com/mirukan/matrix-nio + cd matrix-nio + pip3 install --user --upgrade -e . + +## Building + + git clone + cd harmonyqml + qmake && make && sudo make install + +After this if no errors happened, run `harmonyqml`. diff --git a/TODO.md b/TODO.md index eed7b808..e14ee244 100644 --- a/TODO.md +++ b/TODO.md @@ -1,4 +1,5 @@ - Devices and client settings in edit account page + - Multiaccount aliases - If avatar is set, name color from average color? - Accent color from background - Reduce messages ListView cacheBuffer height once http thumbnails @@ -7,12 +8,10 @@ - Accept drag and dropping a picture in account settings to set avatar - When all the events loaded on beginning in a room are name/avatar changes, no last event room text is displayed (use sync filter?) -- `QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling)` ? - -- Qt 5.12 - - .mjs modules +- `QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling)` ? - Refactoring + - Use .mjs modules - Don't bake in size properties for components - Unfinished work in button-refactor branch - Button can get "hoverEnabled: false" to let HoverHandlers work @@ -26,6 +25,7 @@ - Horrible performance for big rooms - UI + - Show something when connection is lost or 429s happen - "Rejoin" LeftBanner button if room is public - Daybreak color - Html links color @@ -51,7 +51,6 @@ - Spinner when loading past room events, images or clicking buttons - Better theming/styling system - Settings page - - Multiaccount aliases - Message/text selection - Custom file picker for Linux... diff --git a/src/python/matrix_client.py b/src/python/matrix_client.py index e6f79642..589cdfd9 100644 --- a/src/python/matrix_client.py +++ b/src/python/matrix_client.py @@ -289,7 +289,7 @@ class MatrixClient(nio.AsyncClient): async def onErrorResponse(self, resp: nio.ErrorResponse) -> None: # TODO: show something in the client - log.warning(resp) + log.warning("%s - %s", resp, json.dumps(resp.__dict__, indent=4)) # Callbacks for nio events