Commit graph

2683 commits

Author SHA1 Message Date
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
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