Commit graph

132 commits

Author SHA1 Message Date
Matti Viljanen
f9768aeeb0
Remove unused code 2021-04-28 22:01:19 +03:00
Matti Viljanen
7ff2c0250d
Don't log translated strings 2021-04-28 22:00:48 +03:00
Matti Viljanen
de1061e0fe
Version bump to 3.11-1 2021-04-27 21:45:23 +03:00
Matti Viljanen
308f0ae060
Handle saving and loading config more carefully. Fixes #35 2021-04-27 20:13:44 +03:00
Matti Viljanen
bd3bfb8365
Version bump to 3.10-1 2021-04-26 17:41:02 +03:00
Matti Viljanen
ac1e735d26
Close notification early, once only 2021-04-26 17:36:02 +03:00
Matti Viljanen
1a0b730a1c
Fine-tune logging, fix a few messages, fix indentation 2021-04-26 17:34:44 +03:00
Matti Viljanen
afe6850d88
Make the emulator less of a special case 2021-04-26 17:13:11 +03:00
Matti Viljanen
9079c10bd1
Don't log when there is no action. 2021-04-26 17:08:04 +03:00
Matti Viljanen
64eb90da76
Version bump to v3.9-2 2021-04-25 00:04:35 +03:00
Matti Viljanen
71834b9bbf
Version bump to 3.9-1 2021-04-24 19:06:58 +03:00
Matti Viljanen
fa7c24568a
Adjust logged messages 2021-04-24 18:27:37 +03:00
Matti Viljanen
591eb3ff10
Remove unneeded dependencies 2021-04-24 18:17:27 +03:00
Matti Viljanen
942949226a
Add --logfile option to daemon 2021-04-24 18:14:26 +03:00
Matti Viljanen
f542628e56
Implement log level settings 2021-04-24 17:44:25 +03:00
Matti Viljanen
0d67eb3316
Fix notifications (again), get rid of useless code 2021-04-18 13:55:30 +03:00
Matti Viljanen
5d35057e15
Fine tune logging 2021-04-17 23:42:22 +03:00
Matti Viljanen
f9354eacc3
Add log viewer page, enable logging by default 2021-04-17 23:39:36 +03:00
Matti Viljanen
51d5c8f29d
Fix function return type 2021-04-17 22:18:13 +03:00
Matti Viljanen
e31b791bdb
Remove unused function 2021-04-17 22:14:36 +03:00
Matti Viljanen
f4bf1d0763
Use const keywords and references a lot more 2021-04-17 22:13:57 +03:00
Matti Viljanen
d3132a453d
Replace QDebug with custom Logger 2021-04-17 22:01:19 +03:00
Matti Viljanen
4a885c347d
Don't hard code application name, properly assign object owners, Qt handles delete 2021-04-10 04:08:50 +03:00
Matti Viljanen
5da67a5a22
Set percentage ranges to 5%...100% 2021-04-10 01:42:08 +03:00
Matti Viljanen
0aff894dd2
Don't enable charging on exit when running on emulator 2021-04-09 23:34:06 +03:00
Matti Viljanen
ba3d17b611
Fine-tune debug output 2021-04-09 23:33:21 +03:00
Matti Viljanen
74cad3b5b5
Enable debug output when using emulator on daemon, too 2021-04-09 23:29:34 +03:00
Matti Viljanen
a86086d5a1 Version bump to 3.8-1 2021-01-31 21:45:03 +02:00
Matti Viljanen
787f53216b Enable charging control by default 2021-01-31 21:43:23 +02:00
Matti Viljanen
b678017006
Don't hardcode nemo home path 2021-01-31 21:26:07 +02:00
Matti Viljanen
cef5e3b76a Version bump to 3.7-1 2020-12-30 01:06:25 +02:00
Matti Viljanen
7b490275ba Use current ringtone volume. Fixes issue #9 2020-12-29 22:59:15 +02:00
Matti Viljanen
f582d55809 Fix timer logic once again... 2020-12-27 16:21:15 +02:00
Matti Viljanen
07c463b238 Use QMediaPlayer instead of QSoundeffect
...but it STILL dowsn't respect ringtone volume...
2020-12-27 16:17:05 +02:00
Matti Viljanen
5cca284fa7 Don't update timers immediately on charger dis/connect
Fixes unnecessary "Connect charger" notification right after charger is connected
2020-12-27 02:24:19 +02:00
Matti Viljanen
d49b661053 Don't let high/low alert close low/high notification 2020-12-27 02:10:34 +02:00
Matti Viljanen
ff50092d84 Use QSoundEffect for notification sounds 2020-12-27 02:10:05 +02:00
Matti Viljanen
041adb3c85 Refine "Once" and "Never" behavior, remove redundant updateNotification 2020-12-01 00:53:48 +02:00
Matti Viljanen
b94df34839 Remove redundant high/low notification enabled 2020-11-30 22:58:37 +02:00
Matti Viljanen
aea2ef3da2 Implement "Once" and "Never" special time values 2020-11-30 22:41:09 +02:00
Matti Viljanen
16f8d1b30a Signal timer reset when necessary 2020-11-30 22:35:58 +02:00
Matti Viljanen
5235b5b0a0 Return if the value changed 2020-11-30 22:28:59 +02:00
Matti Viljanen
d359c95a40 Start timers only once at startup 2020-11-30 21:27:57 +02:00
Matti Viljanen
5e2fc08f45 Rename the class so the code actually compiles... 2020-11-30 20:51:16 +02:00
Matti Viljanen
082030f1fa Use nemonotifications-qt5 instead of lipstick-qt5-tools for notifications 2020-11-30 20:47:08 +02:00
Matti Viljanen
56e39608e7 Version bump to 3.6-3 2020-11-17 16:10:49 +02:00
Matti Viljanen
d933231a1e Version bump to 3.6-2 2020-11-15 23:25:18 +02:00
Matti Viljanen
45d3ceed37 Version bump to 3.6-1 2020-11-15 22:44:08 +02:00
Matti Viljanen
2e803210be Version bump to 3.5-1 2020-10-19 07:55:40 +03:00
Matti Viljanen
e4090c111a
Version bump to 3.4 2020-06-14 19:33:18 +03:00
Matti Viljanen
6c461c57d1
Split high and low notification controls (fixes issue #9) 2020-06-14 19:23:17 +03:00
Matti Viljanen
6a5945c6d9
Don't send notifications twice at daemon at startup 2020-06-14 18:29:31 +03:00
Matti Viljanen
61d9dae5ac
Reset notification ID after closing 2020-06-14 18:23:11 +03:00
Matti Viljanen
71b644e32d
Show/hide notifications as soon as charger is connected/disconnected 2020-06-14 17:43:08 +03:00
Matti Viljanen
b2ff23aacc
Fix non-root notifications and audio 2020-06-14 17:40:51 +03:00
Matti Viljanen
6bb39bde4f
Remove unused properties 2020-06-14 13:09:58 +03:00
Matti Viljanen
a74ccff6ab
Version bump to 3.3 2020-06-14 11:54:09 +03:00
Matti Viljanen
fa5b0cd9e7
Warn if restoring charger status fails at exit 2020-06-12 14:33:33 +03:00
Matti Viljanen
0cb9551c3a
Return success writing new charger state 2020-06-12 14:26:00 +03:00
Matti Viljanen
87e72bed0b
Always try to write new charger status 2020-06-12 14:16:46 +03:00
Matti Viljanen
0b91257e29
Version bump to 3.2 2020-06-12 01:19:19 +03:00
Matti Viljanen
9054577008
Control the daemon from the UI 2020-06-12 01:19:18 +03:00
Matti Viljanen
6899638969
Bring back the oneshot permission daemon (initial commit) 2020-06-11 12:18:11 +03:00
Matti Viljanen
8e3ab2024a
Version bump to 3.0-1 2020-06-01 18:58:31 +03:00
Matti Viljanen
28d4e4277d
Don't alert on "100% idle", increase readability 2020-06-01 18:56:03 +03:00
Matti Viljanen
616d478324
Version bump to 3.0 2020-05-31 21:56:22 +03:00
Matti Viljanen
4b289606b6
Version bump to 3.0-beta1 (2.99-1) 2020-04-26 19:06:49 +03:00
Matti Viljanen
b6e62511f0
Update copyrights 2020-04-26 19:06:10 +03:00
Matti Viljanen
55e701122e
Code cleanup 2020-04-26 18:39:27 +03:00
Matti Viljanen
71f8f93223
Fix more startup crashes 2020-04-26 18:20:54 +03:00
Matti Viljanen
30653a1c11
Implement notifications and sounds using the daemon 2020-04-26 18:20:28 +03:00
Matti Viljanen
542a5b7636
Exit gracefully on Ctrl-C and service stop 2020-04-26 11:32:03 +03:00
Matti Viljanen
7bd7a94bd5
Implement variations of Battery and Settings 2020-04-26 11:31:33 +03:00
Matti Viljanen
4b6609f56b
Update, move and create some project files 2020-04-26 11:27:37 +03:00
Matti Viljanen
cbf7e7cdbc
Split project into GUI application and CLI service 2020-04-24 11:22:07 +03:00
Matti Viljanen
15a221f60a
Merge remote-tracking branch 'origin/master' 2020-03-24 10:01:02 +02:00
olf
934b1a2d1e
[Nitpicking] Correct cut & paste mishap 2020-03-24 02:56:56 +01:00
olf
e8c743161c
[Nitpicking] Correct cut & paste mishap 2020-03-24 02:55:49 +01:00
olf
13ff802da0
[Nitpicking] Correct cut & paste mishap 2020-03-24 02:53:15 +01:00
Matti Viljanen
fe8b27d18c
Fix crash on startup 2020-03-23 04:04:47 +02:00
Matti Viljanen
cc52212eb5
Update copyrights 2020-03-21 03:27:09 +02:00
Matti Viljanen
d15d45ee1f
Add systemd service for ensuring write access 2020-03-20 17:27:38 +02:00