Commit Graph

835 Commits

Author SHA1 Message Date
Luna Nova
ee6b48ac32
Add github actions workflows (#267)
* Run linters and unit tests with github actions

* Reformat with black, 22.1.0 (compiled: yes)

* Remove native deps as should no longer be needed

* Remove pylint from workflows

* Remove unused Gtk dependency in test_daemon.py

* Install subset of python deps with apt-get for ci
2022-02-07 17:52:41 +01:00
sezanzeb
162e7fcbf7 Avoiding GObject dependencies for unit tests 2022-02-06 23:52:27 +01:00
nouraldeenm0
779263779e
Remove extra comma in the DEBIAN control file (#286) 2022-02-06 23:36:26 +01:00
Jose Riha
b139f95ee2
Add Slovak translation for polkit message (#285) 2022-02-05 18:12:22 +01:00
sezanzeb
8e409ca4b4 Updated usage.md 2022-02-03 17:31:37 +01:00
sezanzeb
6029aac838 Added pydantic dependency 2022-02-03 16:52:14 +01:00
sezanzeb
a86dfbf786 Added varying error exit codes 2022-02-03 16:46:34 +01:00
jonasBoss
3732d9e1e6
#278 Fix compatability with python 3.8 (#280) 2022-02-02 12:30:09 +01:00
jonasBoss
b3e1e4ca19
Refactorings (#275) 2022-01-31 20:58:37 +01:00
jonasBoss
ae56f2c0e3
#276 Fix crash when a macro is already running 2022-01-31 14:05:11 +01:00
sezanzeb
3fe52d9c99 Moved numlock test to integration folder, black 2022-01-31 14:02:03 +01:00
sezanzeb
1f92ac086b Avoiding some redundant calls in the GUI, improved test lags 2022-01-31 13:42:42 +01:00
sezanzeb
abbbefc7a2 Removed problematic redundant call to terminate in reader 2022-01-22 18:22:52 +01:00
sezanzeb
f885d22318 Ubuntu seems to require the dev package for GtkSource 2022-01-22 18:19:28 +01:00
sezanzeb
44edcca42c 1.4.0 2022-01-22 18:10:29 +01:00
sezanzeb
47420c8948 Avoiding redundant save in migration to preserve modification date 2022-01-19 22:34:17 +01:00
sezanzeb
5cd015f1cb Coloring process name based on pid 2022-01-18 22:34:28 +01:00
sezanzeb
753ce5319f Logging process name and coloring logs based on file path 2022-01-18 21:20:42 +01:00
sezanzeb
dda3bd2d81 Removed unused imports, updated badges, updated test instructions 2022-01-18 01:08:38 +01:00
sezanzeb
271c250337 Split tests into unit and integration 2022-01-18 00:55:01 +01:00
Luna Nova
e316c6f36c
Use non-zero exit code if tests fail (#265) 2022-01-18 00:35:31 +01:00
Luna Nova
43731875ad
Use tempfiles instead of hardcoded /tmp (#264) 2022-01-18 00:32:13 +01:00
sezanzeb
9037afe0f7 Not attempting to call xmodmap -pke as the service 2022-01-16 13:34:28 +01:00
jonasBoss
5588cbf3c5
the ui no longer records keycodes if the preset is active (#257)
* the ui no longer records keycodes if the preset is active

since there can be multiple evdev devices in the same grup it was possible to record keycodes even if the injection was active. This was confusing behaviour.

* updated docstring

* fixed test_can_modify_mapping
2022-01-16 11:03:07 +01:00
sezanzeb
d6de1bbd3d One more check for invalid cwd setups 2022-01-15 15:08:05 +01:00
sezanzeb
60960aa095 Made tests in PyCharm work 2022-01-15 15:03:21 +01:00
sezanzeb
bb1af00a63 Updated usage.md 2022-01-14 19:01:00 +01:00
sezanzeb
334d73b437 increased timeout for TestDBusDaemon 2022-01-14 18:55:11 +01:00
jonasBoss
3cd30c4bf3
Independent uinput (#228) 2022-01-14 18:50:57 +01:00
sezanzeb
47bcefa7f3 #109 New mapping editor with multiline input and improved autocompletion 2022-01-10 20:37:22 +01:00
sezanzeb
76c3cadcfa 1.3.0 2022-01-10 20:20:29 +01:00
Tobi
1c084101ff
Fixed link to packages.debian.org 2022-01-02 02:40:12 +01:00
sezanzeb
1c7e259b79 Updated pip installation instructions 2022-01-01 14:34:47 +01:00
sezanzeb
063e4bc8b4 Updated copyright year 2022-01-01 13:52:33 +01:00
Tobi
a2ed3696ca
Renamed to Input Remapper 2022-01-01 13:00:49 +01:00
sezanzeb
d3d1d9124f #247 Fixed autoload after rename 2021-12-31 11:59:06 +01:00
sezanzeb
3892789b73 pkg_resources.parse_version as drop-in for packaging.version.parse 2021-12-15 15:18:44 +01:00
sezanzeb
1823b7dab1 1.2.2 2021-12-15 15:08:25 +01:00
jonasBoss
4713511035
Refactored Migrations (#232)
* refactored migrations

moved migration functions to a common migrations file

* moved migration tests to test_migrations.py

* Simplify all_presets() in keymapper/migrations.py

Co-authored-by: Tobi <to.213692@protonmail.ch>

* simplifications/style improvements in migrations.py

Co-authored-by: Tobi <to.213692@protonmail.ch>

* migrations now use version number

and we have some new tests for migrations

* Added docstrings and updated migrations()

* badges, 1.2.2

Co-authored-by: Tobi <to.213692@protonmail.ch>
Co-authored-by: sezanzeb <proxima@sezanzeb.de>
2021-12-15 15:06:23 +01:00
sezanzeb
b23e6d5340 #219 Using systemd-analyze instead of who 2021-12-07 01:14:43 +01:00
sezanzeb
ed2d084a22 Stricter rules for skipping autoload 2021-12-07 00:51:27 +01:00
sezanzeb
716b4bb921 #222 Showing the keycode instead of "unknown" 2021-12-02 22:43:14 +01:00
sezanzeb
6a68b894dc Improved docs about limitations 2021-11-27 23:02:54 +01:00
sezanzeb
f5bdafa682 #211 Avoiding psutil dependency to get number of users 2021-11-24 08:59:27 +01:00
sezanzeb
70bc804f15 Logging improvements, updated readme and some linting 2021-11-23 19:59:28 +01:00
sezanzeb
ef3970f33e #197 Not attempting to autoload if no user is logged in yet 2021-11-22 23:19:59 +01:00
sezanzeb
3fb42ad438 Catching exceptions in group discovery, updated usage.md 2021-11-22 14:38:22 +01:00
sezanzeb
6484ab4972 Update docs on special characters 2021-11-21 23:33:15 +01:00
sezanzeb
ce223646ee Timeout for set_config_dir 2021-11-21 22:13:23 +01:00
sezanzeb
232ba48c58 Clarified some log messages 2021-11-21 22:01:28 +01:00