Commit graph

992 commits

Author SHA1 Message Date
0xMRTT
1bed3b0432 fix: reload presets in every case 2022-08-25 12:41:51 +02:00
0xMRTT
650c1fd5ae fix: delete preset 2022-08-25 12:40:52 +02:00
0xMRTT
f22455ffd5 fix: parameters error 2022-08-25 12:33:48 +02:00
0xMRTT
8629881850 feat: undo button in toast after removing preset #261 2022-08-25 12:33:09 +02:00
0xMRTT
434fb8ba85 feat: handle offline case 2022-08-25 12:24:20 +02:00
0xMRTT
d7afdcda57 bug: new presets appear only after reopening preset manager #260 2022-08-25 11:42:21 +02:00
0xMRTT
fb65fe0d78 feat: change height of select background button #265 2022-08-25 11:39:48 +02:00
0xMRTT
7b23e72864 bug: monet engine not working #263 2022-08-25 11:37:53 +02:00
0xMRTT
e9dc56adbc
Fixes by autopep8 action (#256)
This is an auto-generated PR with fixes by autopep8.
2022-08-25 00:30:18 +02:00
0xMRTT
6315a9820c
Merge branch 'next' into autopep8-patches 2022-08-25 00:30:12 +02:00
0xMRTT
62f4a3c123
fiw: remove drop-down
Signed-off-by: 0xMRTT <0xMRTT@tuta.io>
2022-08-25 00:30:01 +02:00
AdwCustomizer
97d5169b39 ci: autopep8 action fixes 2022-08-24 22:29:14 +00:00
0xMRTT
0ef8eb3cfa
fix: remove drop-down
Signed-off-by: 0xMRTT <0xMRTT@tuta.io>
2022-08-25 00:28:55 +02:00
0xMRTT
c21cc4073d
feat: initial community presets download mechanism (#255)
This PR adds an initial mechanism for downloading community presets using info from [presets.json](https://raw.githubusercontent.com/GradienceTeam/Community/main/presets.json) file.

In the future, there should be added some sort of fail-save procedure to prevent Gradience from crashing if perhaps Github was offline (maybe a exception handler as a dialog?).
2022-08-25 00:26:31 +02:00
tfuxu
fc48f98018 remove leftover comments, and add new icon 2022-08-24 21:58:44 +02:00
tfuxu
2a0607be4c fix some bugs, and add missing copyright 2022-08-24 21:35:11 +02:00
tfuxu
3ec691ce77 feat: add functionality to on_apply_button_clicked 2022-08-24 21:35:03 +02:00
tfuxu
f2a3a34dfc
Restore svglib, I deleted it when fixing confilcts
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
2022-08-24 18:59:42 +00:00
tfuxu
ddef25ef8c
Merge branch 'next' into next
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
2022-08-24 18:54:37 +00:00
tfuxu
ad479afc09 feat: initial community presets download mechanism 2022-08-24 20:51:14 +02:00
0xMRTT
8b08ca494c
Fixes by autopep8 action (#254) 2022-08-24 20:34:46 +02:00
AdwCustomizer
4153ae1164 ci: autopep8 action fixes 2022-08-24 18:19:22 +00:00
0xMRTT
c2ffc901d1 feat: add preset list url 2022-08-24 20:19:01 +02:00
0xMRTT
f5b54847c4 feat: add requests 2022-08-24 17:30:01 +02:00
0xMRTT
8dbb96b966 feat: add explore tab 2022-08-24 17:25:24 +02:00
0xMRTT
087ef6c8a3 fix: apply button 2022-08-24 16:02:31 +02:00
0xMRTT
35ae6d4e66 fix: light theme color 2022-08-24 11:23:11 +02:00
0xMRTT
8729bf7e63 fix: warning in light mode 2022-08-24 11:16:52 +02:00
0xMRTT
3b69c213fc feat: use logging 2022-08-24 11:12:34 +02:00
0xMRTT
4bd60f545e
Fixes by autopep8 action (#251) 2022-08-24 11:05:34 +02:00
AdwCustomizer
b67a37f110 ci: autopep8 action fixes 2022-08-24 09:05:13 +00:00
0xMRTT
190399e6ab fix: button margin 2022-08-24 11:04:51 +02:00
0xMRTT
33603cb1b0
A bunch of improvements (#250) 2022-08-24 10:56:35 +02:00
tfuxu
df0a5ac009 fix: comment out self.on_apply_button() in get_default_wallpaper func to get rid of error toast on startup when build in Flatpak
* set tooltip text in monet_file_chooser_button
* update copyright in window.py and add one in plugin_row.py
* update local.sh and fix 'user' rule in Makefile
* replace all remaining print() to buglog(), and redirect to to_slug_case in utils.py
2022-08-23 21:34:47 +02:00
tfuxu
e9ad48f100 feat: move utility functions to modules/utils.py and create a new function: buglog
For now I've moved only buglog and to_slug_case here, but a general purpose of this file is to move any redundant/utility code here as a function, so it can be easily used between other modules.

* replace print() in a codebase with new buglog() function
2022-08-23 21:28:55 +02:00
tfuxu
69a286b82a fix: Change links in constants to the correct ones, and fix typo
* fix warnings caused by non-existing variables in constants.py config
* add tfuxu to translator credits
2022-08-23 21:25:41 +02:00
0xMRTT
8996f481a8
update next (#249) 2022-08-23 21:18:47 +02:00
AdwCustomizer
064557419f ci: generate .pot file 2022-08-23 12:16:39 +00:00
0xMRTT
85334ecdbd
translate: translations update from Hosted Weblate (#247) 2022-08-23 13:24:52 +02:00
0xMRTT
38444a2129
Fixes by autopep8 action (#246) 2022-08-23 13:24:37 +02:00
AdwCustomizer
1a20a9cf69 ci: autopep8 action fixes 2022-08-23 11:01:42 +00:00
0xMRTT
158cb5ed11 fix: remove tab 2022-08-23 13:01:17 +02:00
0xMRTT
629c242e9b fix: remove dropdown 2022-08-23 12:57:19 +02:00
yangyangdaji
1b4b8eb960
translate: added translation using Weblate (Chinese (Simplified)) 2022-08-23 12:37:41 +02:00
0xMRTT
fcf48fe48e fix: empty card 2022-08-23 12:25:30 +02:00
0xMRTT
7ebb6fa5d8 fix: empty card 2022-08-23 12:18:15 +02:00
0xMRTT
d847e9d0f7 fix: error 2022-08-23 12:15:31 +02:00
0xMRTT
ce922e8a08 fix: typo error 2022-08-23 12:14:45 +02:00
0xMRTT
ddf5faab96 fix: handle if no preset 2022-08-23 12:14:17 +02:00
0xMRTT
67cbd55f26 feat: add toasts 2022-08-23 12:12:22 +02:00