diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c436639..dcdb864 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,4 +14,6 @@ If you're on Windows, just stick with Python requests. Try to follow PEP-8 (the squiggly underlines in Pycharm) standards. If you can't, that's perfectly fine. You can use a code formatter called Ruff if needed. +If you add a dependency, make sure to add the appropriate license to the licenses folder. + To edit the user interface, use QT designer and put the UI files under `src/ui`. To apply the UI, run `src/regenerate.py`. diff --git a/README.md b/README.md index ee4c068..9ec60ab 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Qtcord is a Discord client built with QT aiming to bring a lightweight, native e [Download for Windows](https://github.com/mak448a/Qtcord/releases)
-![Screenshot of Qtcord](demos/demo1.png) +![Screenshot of Qtcord](demos/demo4.png) ## Setup > [!NOTE] diff --git a/demos/demo1.png b/demos/demo1.png index 35bf419..1156954 100644 Binary files a/demos/demo1.png and b/demos/demo1.png differ diff --git a/demos/demo2.png b/demos/demo2.png index c415eea..5d6b4f6 100644 Binary files a/demos/demo2.png and b/demos/demo2.png differ diff --git a/demos/demo3.png b/demos/demo3.png index bf1faf4..c2738b4 100644 Binary files a/demos/demo3.png and b/demos/demo3.png differ diff --git a/demos/demo4.png b/demos/demo4.png new file mode 100644 index 0000000..1dab958 Binary files /dev/null and b/demos/demo4.png differ diff --git a/demos/demo5.png b/demos/demo5.png new file mode 100644 index 0000000..b5d3d12 Binary files /dev/null and b/demos/demo5.png differ diff --git a/demos/demo6.png b/demos/demo6.png new file mode 100644 index 0000000..77d632a Binary files /dev/null and b/demos/demo6.png differ diff --git a/licenses/xxhash-license.txt b/licenses/xxhash-license.txt new file mode 100644 index 0000000..52b4c4e --- /dev/null +++ b/licenses/xxhash-license.txt @@ -0,0 +1,26 @@ +xxHash Library +Copyright (c) 2012-2021 Yann Collet +All rights reserved. + +BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/flatpak_builder/io.github.mak448a.QTCord.metainfo.xml b/src/flatpak_builder/io.github.mak448a.QTCord.metainfo.xml index 1460ecb..f64c581 100644 --- a/src/flatpak_builder/io.github.mak448a.QTCord.metainfo.xml +++ b/src/flatpak_builder/io.github.mak448a.QTCord.metainfo.xml @@ -7,31 +7,56 @@ io.github.mak448a.QTCord.desktop mak448a -

Qtcord is a Discord client built with QT aiming to bring a lightweight, native experience.

+

Qtcord is a Discord client built with Qt aiming to bring a lightweight, native experience. It takes less RAM than the offical client and the browser version of Discord!

Please report bugs and account bans at https://github.com/mak448a/Qtcord/issues.

-

DISCLAIMER: I am not responsible if your account gets banned with this app, as it is against the Discord TOS.

+

DISCLAIMER: I am not responsible for account bans! This app is against the Discord TOS.

+ + #76f1d8 + #30a18b + https://github.com/mak448a/Qtcord MIT MIT - https://github.com/mak448a/Qtcord/raw/v0.0.19/demos/demo1.png + https://github.com/mak448a/Qtcord/raw/main/demos/demo1.png Server list view - https://github.com/mak448a/Qtcord/raw/v0.0.19/demos/demo2.png + https://github.com/mak448a/Qtcord/raw/main/demos/demo2.png Channel list view - https://github.com/mak448a/Qtcord/raw/v0.0.19/demos/demo3.png + https://github.com/mak448a/Qtcord/raw/main/demos/demo3.png Friends list view + + https://github.com/mak448a/Qtcord/raw/main/demos/demo4.png + Dark Mode server list view + + + https://github.com/mak448a/Qtcord/raw/main/demos/demo5.png + Dark Mode channel list view + + + https://github.com/mak448a/Qtcord/raw/main/demos/demo6.png + Dark Mode friends list view + intense + + +

New icon (again)!

+

A server and channel indicator by @randomusername-a!

+

Display nicknames!

+

Bug fixes and performance improvements! :)

+
+ https://github.com/mak448a/Qtcord/releases/v0.0.20 +

- New icon!

diff --git a/src/ui/licenses.ui b/src/ui/licenses.ui index ce06042..dd3babb 100644 --- a/src/ui/licenses.ui +++ b/src/ui/licenses.ui @@ -34,11 +34,13 @@ li.checked::marker { content: "\2612"; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">PySide6</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">LGPL</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Platformdirs</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT: Copyright (c) 2010-202x The platformdirs developers</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Requests</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Apache</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Python</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">PSF</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">xxHash</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">BSD: Copyright (c) 2012-2021 Yann Collet</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Altgraph</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT: Copyright (c) 2004 Istvan Albert unless otherwise noted., Copyright (c) 2006-2010 Bob Ippolito, Copyright (2) 2010-2020 Ronald Oussoren, et. al.</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Certifi</span></p> diff --git a/src/ui/licenses_ui.py b/src/ui/licenses_ui.py index b0257e1..fddd6c5 100644 --- a/src/ui/licenses_ui.py +++ b/src/ui/licenses_ui.py @@ -63,31 +63,34 @@ def retranslateUi(self, LicensesDialog): "

PySide6

\n" "

LGPL

\n" "

Platformdirs

\n" -"

MIT

\n" -"

Requests

\n" -"Apache

\n" +"

MIT: Copyright (c) 2010-202x The platformdirs developers

\n" +"

Requests

\n" +"

Apache

\n" "

Python

\n" "

PSF

\n" +"

xxHash

\n" +"

BSD: Copyright (c) 2012-2021 Yann Collet

\n" "

Altgraph

\n" -"

MIT: Copyright (c) 2004 Istvan Albert unless otherwise noted., Copyright (c) 2006-2010 Bob Ippolito, Copyright (2) 2010-2020 Ronald Oussoren, et. al.

\n" -"

Certifi

\n" +"MIT: Copyright (c) 2004 Istvan Albert unless otherwise noted., Copyright (c) 2006-2010 Bob Ippolito, Copyright (2) 2010-2020 Ronald Oussoren, et. al.

\n" +"

Certifi

\n" "

MPL

\n" "

Charset-Normalizer

\n" "

MIT: Copyright (c) 2019 TAHRI Ahmed R.

\n" -"

Idna

\n" +"

Idna

\n" "

BSD: Copyright (c) 2013-2023, Kim Davies and contributors.

\n" -"

Urllib3

\n" +"

Urllib3

\n" "

MIT: Copyright (c) 2008-2020 Andrey Petrov and contributors.

\n" "

Websocket-Client

\n" "

Apache

\n" -"


\n" +"


\n" "

You can view the full licenses by going into the folder where Qtcord was installed. For Linux, check the following directories:

\n" -"

/var/lib/flatpak/app/io.github.mak448a.Qtcord/x86_64/stable/active/files/bin/licenses/

\n" -"

~/.local/share/flatpak/app/io.github.mak448a.Qtcord/x86_64/stable/active/files/bin/licenses/

\n" -"


", None)) +"

/var/lib/flatpak/app/io.github.mak448a.QTCord/x86_64/stable/active/files/bin/licenses/

\n" +"

~/.local/share/flatpak/app/io.github.mak448a.QTCord/x86_64/stable/active/files/bin/licenses/

\n" +"


", None)) # retranslateUi