Commit graph

2772 commits

Author SHA1 Message Date
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
Joshua Barrass
c77f3aa3bc
Force update using USR1 signal 2020-08-11 00:45:13 +01:00
tobi-wan-kenobi
b368cb49da
Merge pull request #688 from alexsr/master
Fix wrong usage of asbool in layout-xkb
2020-08-06 16:40:37 +02:00
Alexander Scheid-Rehder
5959d73cde Fix wrong usage of asbool in layout-xkb 2020-08-06 14:49:41 +02:00
tobi-wan-kenobi
f8d035c079
Merge pull request #687 from anlif/main
[modules/contrib/stock] handle urllib request exception
2020-08-01 10:36:23 +02:00
Andreas Lindahl Flåten
5de616ff89 [modules/contrib/stock] handle urllib request exception
Handle exception that is raised when e.g. your network connection is
down.
2020-07-31 15:26:49 +02:00
tobi-wan-kenobi
72d255f0ae [doc] document additional config file parameters
see #678
2020-07-27 07:04:47 +02:00
tobi-wan-kenobi
969378846f
Merge pull request #686 from nayaverdier/main
[xrandr] Add autotoggle behavior to xrandr
2020-07-27 06:55:15 +02:00
Naya Verdier
13a851a636
[xrandr-tests] Test disconnecting excluded active display 2020-07-26 15:52:47 -07:00
Naya Verdier
06afb03807
[xrandr] add tests for dis/connecting without autotoggle 2020-07-26 13:29:14 -07:00
Naya Verdier
06d6739da4
[xrandr] Add autotoggle behavior to xrandr
Also makes i3 subscription events and widget click live-update
2020-07-26 13:21:49 -07:00
tobi-wan-kenobi
3fd8c5aaa0
Merge pull request #684 from nayaverdier/main
[xrandr] unit tests, exclude parameter, and final display safeguard
2020-07-26 11:25:07 +02:00
Naya Verdier
b1adc382aa
[vault] Turns out, <Leave> is triggered when going into a submenu 2020-07-25 12:38:28 -07:00
Naya Verdier
647ad44b31
ModuleNotFoundError incompatible with python 3.4, 3.5 2020-07-25 11:50:13 -07:00
Naya Verdier
22d85d6d1d
[xrandr-test] Catch all exceptions if i3 Subscription fails 2020-07-25 11:33:42 -07:00
Naya Verdier
d05ff39f02
[xrandr] Add unit tests 2020-07-25 10:53:44 -07:00
Naya Verdier
b14eae4d6c
[xrandr] add safeguard to prevent turning off the only display 2020-07-25 10:52:57 -07:00
Naya Verdier
5874850bd5
[xrandr] Fix neighbor functionality when some displays are excluded 2020-07-25 10:52:10 -07:00
Naya Verdier
8f57bb952d
[xrandr] add exclude parameter to ignore certain display prefixes 2020-07-25 08:47:31 -07:00
Naya Verdier
5f2857ad9a
[vault] add leave_menu parameter to auto-close the menu 2020-07-25 08:46:57 -07:00
Naya Verdier
4aff0499f0
[util.popup] Deduplicate code, "close" button only if leave=False 2020-07-25 08:43:26 -07:00
tobi-wan-kenobi
d358790c6a [travis] make unit tests work again 2020-07-21 09:04:50 +02:00
tobi-wan-kenobi
b39dba8867 [travis] remove webbrowser 2020-07-21 09:02:51 +02:00
tobi-wan-kenobi
c692a776b6 [travis] remove tkinter 2020-07-21 09:00:59 +02:00
tobi-wan-kenobi
bee2586ed4 [travis] remove tempfile 2020-07-21 08:58:36 +02:00
tobi-wan-kenobi
632eb0c450 [travis] remove speedtest 2020-07-21 08:55:54 +02:00
tobi-wan-kenobi
6870c3ba84 [travis] removed a couple more modules 2020-07-21 08:53:41 +02:00
tobi-wan-kenobi
993be61eec [travis] remove pygit2 2020-07-21 08:43:08 +02:00
tobi-wan-kenobi
84f2fdd419 [travis] removed random 2020-07-21 08:27:23 +02:00