Commit graph

2410 commits

Author SHA1 Message Date
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
tobi-wan-kenobi
b7083aacce [travis] remove multiprocessing
doesn't install :(
2020-07-21 08:25:18 +02:00
tobi-wan-kenobi
6c7737cdd5 [travis] remove libvirt-python
requires at least python3.5
2020-07-21 08:23:17 +02:00
tobi-wan-kenobi
550b594c86 [tests] fix some test prerequisites 2020-07-21 08:20:55 +02:00
tobi-wan-kenobi
4fe56fc00d [travis] remove math module 2020-07-21 08:19:51 +02:00
tobi-wan-kenobi
6c9e89627a [travis] fix package name 2020-07-21 08:17:25 +02:00
tobi-wan-kenobi
bf1cae2399 [travis] forgot sudo 2020-07-21 08:15:47 +02:00
tobi-wan-kenobi
463bc9665b [travis] fix python-dbus 2020-07-21 08:14:21 +02:00
tobi-wan-kenobi
a008ce3e58 [travis] add all dependencies
to make all unit tests run, and none skipped (hopefully), add a list of
dependencies
2020-07-21 08:08:22 +02:00
tobi-wan-kenobi
54a2fc3a41 [generate-tests] black 2020-07-20 13:58:46 +02:00
tobi-wan-kenobi
548ccc5e94 [tests] add somewhat experimental import-time tests
add auto-generated tests that check that a given module can be imported,
if all prerequisites are followed.

see #641
2020-07-20 13:58:24 +02:00
tobi-wan-kenobi
9be1331e1b [tests] add placeholder for core tests 2020-07-20 13:17:35 +02:00
tobi-wan-kenobi
dc70527797 [util] add a script to generate basic autotests
Add a small utility that can generate a basic "import this unless you
are missing dependencies" test for all modules.
2020-07-20 13:17:15 +02:00