Commit graph

2300 commits

Author SHA1 Message Date
Tobias Witek
fcbb89db90 [modules/spotify] make global dbus object
instead of creating a new dbus instance during each update interval,
reuse one dbus instance.

see #702
2020-09-13 11:17:21 +02:00
tobi-wan-kenobi
f37eb31f94
Merge pull request #709 from cristianmiranda/missing_screenshots_for_dunstctl_and_thunderbird
Docs; Missing screenshots for dunstctl and thunderbird
2020-09-11 06:20:11 +02:00
Cristian Miranda
4621de95b5 docs[thunderbird]: Added missing screenshot 2020-09-10 17:42:41 -03:00
Cristian Miranda
2390dfa946 docs[dunstctl]: Added missing screenshot 2020-09-10 17:42:19 -03:00
tobi-wan-kenobi
070fe865dd [modules/spotify] update in the background
to rule out issues in the dbus communication, update the spotify module
in the background.

see #702
2020-09-09 14:15:16 +02:00
tobi-wan-kenobi
b79c19b616 [modules/spotify] fix song not shown issue
the previous commit accidentially removed the song display. re-add that
and also add a bit of logging for troubleshooting.
2020-09-06 14:27:17 +02:00
tobi-wan-kenobi
3a5365a2c3 [doc] add testing guidelines, general improvements 2020-09-06 14:09:18 +02:00
tobi-wan-kenobi
965e7b2453 [modules/spotify] improve update mechanism
instead of updating the widget list during each update, create the list
of widgets during initialization, and later only update the widget
states.

see #702
2020-09-06 14:00:32 +02:00
tobi-wan-kenobi
7a4d4d5ab6
Merge pull request #706 from cristianmiranda/thunderbird
[modules/thunderbird]: Thunderbird's unread email counts by inbox
2020-09-06 07:13:46 +02:00
tobi-wan-kenobi
f180c7cc58
Merge pull request #705 from cristianmiranda/dunstctl
[modules/dunstctl]: Toggle dunst v1.5.0+ notifications using dunstctl
2020-09-06 07:10:58 +02:00
Cristian Miranda
100568206a [modules/thunderbird]: Thunderbird's unread email counts by inbox 2020-09-05 19:22:40 -03:00
Cristian Miranda
d568ef3622 [modules/dunstctl]: Toggle dunst v1.5.0+ notifications using dunstctl 2020-09-04 17:30:46 -03:00
tobi-wan-kenobi
ecf1825c00
Merge pull request #704 from izn/add-uptime-and-public-ip-tests
Add uptime and public ip tests
2020-09-03 03:42:38 +02:00
Thaynã Moretti
e7b853c667 Remove useless mock side effect 2020-09-02 22:16:58 -03:00
Thaynã Moretti
710a2cef98 Create uptime and public ip tests 2020-09-02 22:10:09 -03:00
tobi-wan-kenobi
7e7327c374
Merge pull request #703 from izn/add-load-module-tests
Add load module tests
2020-09-02 19:38:06 +02:00
Thaynã Moretti
6c0930cfae Add load module tests 2020-09-02 14:33:07 -03:00
tobi-wan-kenobi
1638180b6d
Merge pull request #700 from izn/add-date-and-time-module-tests
Add date and time module tests
2020-09-02 07:15:56 +02:00
tobi-wan-kenobi
7b57299cdb
Merge pull request #701 from izn/improve-network-traffic-tests
Improve network traffic module tests
2020-09-02 07:14:53 +02:00
Thaynã Moretti
04f6a6a08f Add time module tests 2020-09-01 22:16:57 -03:00
Thaynã Moretti
213c28992c Add date tests 2020-09-01 22:16:57 -03:00
Thaynã Moretti
032a651efa Improve network traffic module tests 2020-09-01 22:12:54 -03:00
tobi-wan-kenobi
1b66e17780
Merge pull request #699 from izn/add-cpu-module-tests
Add CPU module tests
2020-09-02 02:20:47 +02:00
tobi-wan-kenobi
6db8470c2b
Merge pull request #698 from izn/add-datetime-tests
Add datetime tests + freezegun dependency
2020-09-02 02:17:11 +02:00
Thaynã Moretti
07f0b7e34a Add CPU module tests 2020-09-01 20:54:10 -03:00
Thaynã Moretti
b1501a8159 Remove useless import 2020-09-01 20:29:04 -03:00
Thaynã Moretti
0776592da6 Add freezegun to Travis dependencies 2020-09-01 20:12:31 -03:00
Thaynã Moretti
f22095e978 Add datetime module tests 2020-08-31 17:48:19 -03:00
tobi-wan-kenobi
ebeb084da0
Merge pull request #696 from izn/fix-memory-module-tests
Fix memory module tests
2020-08-30 18:06:14 +02:00
Thaynã Moretti
0c8d682d62 Add unit tests 2020-08-30 12:49:33 -03:00
Thaynã Moretti
49de0e520b Reduce code cognitive complexity 2020-08-30 12:37:58 -03:00
Thaynã Moretti
6f6f3cedd9 Improve meminfo parse logic 2020-08-30 12:28:48 -03:00
Thaynã Moretti
820598b1b8 Fix memory module tests 2020-08-30 12:11:48 -03:00
tobi-wan-kenobi
780c5bf3d0
Merge pull request #695 from izn/add-memory-module-tests
Add memory module tests
2020-08-30 16:25:08 +02:00
Thaynã Moretti
945838dc74 Create memory module tests 2020-08-30 11:15:23 -03:00
tobi-wan-kenobi
9d5035fa10
Merge pull request #694 from bbernhard/octoprint_long_error
small improvements in octoprint plugin
2020-08-30 09:21:04 +02:00
Bernhard B
c339a16365 small improvements in octoprint plugin
* octoprint sometimes returns additional information a the 3d printer is offline.
  so, it's better to check if the octoprint job state starts with "Offline".

* in case the returned job state is really long, truncate it.
2020-08-30 09:03:34 +02:00
tobi-wan-kenobi
58bbcf2ac5
Merge pull request #693 from izn/tests/network-traffic-module
Add Network Traffic module tests
2020-08-30 04:55:59 +02:00
Thaynã Moretti
22ddcf42bd Improve tests 2020-08-29 21:49:41 -03:00
Thaynã Moretti
dff187252a Fix RECV/SENT start values 2020-08-29 21:09:59 -03:00
Thaynã Moretti
2c8dafec70 Add Network Traffic module tests 2020-08-29 20:17:39 -03:00
tobi-wan-kenobi
905f71fa52 [core] fix broken "sparse" updates
c77f3aa accidentially broke "sparse" updates (i.e. updates that do not
trigger during each update interval).

Introduce a new update parameter, "force", to model the use case "update
everything on SIGUSR1".

fixes #692
2020-08-28 17:14:05 +02:00
tobi-wan-kenobi
362d1a5f6f [modules/contrib/dnf] fix undefined "widget" error
while refactoring, i overlooked that the variable "widget" doesn't exist
anymore.

see #692
2020-08-28 14:03:34 +02:00
tobi-wan-kenobi
db41792afb [dnf] simplify threading
use framework threading to simplify the dnf module

see #692
2020-08-27 20:07:10 +02:00
tobi-wan-kenobi
38e54a7c81
Merge pull request #691 from cristianmiranda/github_remove_error_print_on_exception
[github]: Remove error print on exception catch
2020-08-21 16:50:53 +02:00
Cristian Miranda
9b5477675c [github]: Remove error printing if exception caught
I experienced that when an exception is caught and we print it
I get an ugly error on the whole bar making it unusable. This
fixes that problem.
2020-08-20 10:47:56 -03:00
tobi-wan-kenobi
738a846853 Merge branch 'master' into main 2020-08-11 20:54:23 +02:00
tobi-wan-kenobi
d759ed5051
Merge pull request #690 from joshbarrass/deadbeef-patch
Quotes around the deadbeef string to prevent parsing errors by deadbeef
2020-08-11 06:16:58 +02:00
tobi-wan-kenobi
ad91b1c025
Merge pull request #689 from joshbarrass/usr1
Force status bar to update early using USR1 signal
2020-08-11 06:16:04 +02:00
Joshua Barrass
9e04e0a27b
Quotes around the deadbeef string to prevent parsing errors by deadbeef 2020-08-11 00:54:35 +01:00