Commit Graph

885 Commits

Author SHA1 Message Date
Archisman Panigrahi ed64041354
Merge pull request #603 from undefiened/make_limit_consecutive_skips_enabled_by_default
Enabled limiting consecutive skips enabled by default
2024-07-14 16:01:10 -04:00
undefiened ccab8eaa50 Enabled limiting consecutive skips enabled by default 2024-07-14 19:52:35 +02:00
Archisman Panigrahi 62a4cac3c1 add translations for "List of Contributors" 2024-07-14 11:14:06 -04:00
Archisman Panigrahi d00df27bd2 add list of contributors to about dialog 2024-07-14 11:03:00 -04:00
Archisman Panigrahi dfd471d568 Update version: 2.2.0 2024-07-14 09:32:21 -04:00
Archisman Panigrahi 6477d1c824 Update all translation files 2024-07-14 09:22:31 -04:00
undefiened fabdc4a6db added copyright 2024-07-10 19:43:55 +02:00
undefiened ff6c395e4c merge master 2024-07-10 19:36:01 +02:00
Hosted Weblate 2707ea03f1
Merge branch 'origin/master' into Weblate. 2024-07-10 13:09:25 +02:00
menom aa90e9b280
Translated using Weblate (Slovak)
Currently translated at 100.0% (119 of 119 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sk/
2024-07-10 11:09:22 +00:00
Archisman Panigrahi 76551f0fa0 fix another icon name in settings dialog 2024-07-06 12:55:00 -04:00
Archisman Panigrahi 56393cc22f Fix icon in settings window 2024-07-06 12:48:38 -04:00
deltragon d834af98a7
Remove uses of deprecated gtk3 apis (#560)
* fix deprecations

* port to Gtk.Application

Gtk.main() and Gtk.main_quit() are dropped in gtk4 in favor of
subclassing Gtk.Application.

This commit also moves argument handling from a separate thread to
GtkApplication.do_startup().

* fix deprecations in settings dialog
2024-07-02 20:03:40 -04:00
Hosted Weblate 05d95adbe9
Merge branch 'origin/master' into Weblate. 2024-07-02 12:10:35 +00:00
openSUSE Lietuviškai 6c9b00db50
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (119 of 119 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/lt/
2024-07-02 14:09:35 +02:00
albanobattistella 60c45d21f4
Translated using Weblate (Italian)
Currently translated at 100.0% (119 of 119 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/it/
2024-07-02 14:09:35 +02:00
onur 981988a74a fix MetaInfo errors
flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream io.github.slgobinath.SafeEyes.metainfo.xml
2024-07-01 12:30:15 +03:00
gallegonovato 8a78f7173a
Translated using Weblate (Spanish)
Currently translated at 100.0% (119 of 119 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/es/
2024-06-30 23:09:16 +02:00
Oğuz Ersen e850b0aa2b
Translated using Weblate (Turkish)
Currently translated at 100.0% (119 of 119 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/tr/
2024-06-28 17:09:12 +00:00
Hosted Weblate d02e7d8e04
Merge branch 'origin/master' into Weblate. 2024-06-27 02:57:57 +02:00
aerowolf 1c59cee5fa
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/zh_Hans/
2024-06-27 02:57:55 +02:00
Gobinath 603e1d7445 Update locale files 2024-06-26 20:56:22 -04:00
Archisman Panigrahi 55693cb4be
Merge pull request #554 from terop/remove_looseversion
Remove use of distutils
2024-06-26 14:05:07 -04:00
Tero Paloheimo 5c0884facb Remove use of distutils
As of Python 3.12 setuptools is no longer installed by default and
if setuptools is not installed distutils is not found and SafeEyes
fails to start.

Furthermore distutils is deprecated and should thus not be used
anymore. The packaging module provides a replacement for LooseVersion
and it is also recommended by PEP 632 [1].

Also update required Python version for Debian to 3.12 or newer.

[1] https://peps.python.org/pep-0632/#migration-advice
2024-06-26 21:01:09 +03:00
Archisman Panigrahi 1159d6cf9d
Merge pull request #556 from terop/fix_typos
Fix some typos
2024-06-26 12:58:28 -04:00
deltragon a156cea515
Merge pull request #571 from rhendric/rhendric/donotdisturb-gnome
donotdisturb: fix for GNOME
2024-06-26 15:54:45 +02:00
deltragon bbcae910ed
Merge pull request #546 from antoninkriz/patch-1
Correctly detect GNOME in screensaver plugin and in utility.py
2024-06-26 15:49:32 +02:00
Gobinath d43599000c Bump version to 2.1.9 2024-06-18 20:26:09 -04:00
deltragon 4c43de8fff
Fix crash in smartpause (#582)
* smartpause: fix calling disable_safeeyes on main thread

by adding missing parameter
This was missed in 903d407faf

* fix forwarding arguments in execute_main_thread

This broke when the first parameter was None, but the second wasn't (the
second parameter wasn't passed at all.)
Use *args/**kwargs to make it behave properly in all cases.
2024-06-18 20:15:47 -04:00
Gobinath 30512cc088 Bump version to 2.1.8 2024-06-08 18:41:47 -04:00
Archisman Panigrahi 97b4567709 New version with python 3.12 support 2024-06-08 16:06:03 -04:00
Ryan Hendrickson 2786f55c8a donotdisturb: fix for GNOME 2024-04-24 03:02:35 -04:00
aerowolf 00c33908a3
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/zh_Hans/
2024-02-21 11:01:57 +01:00
Сергій 766e9a9795
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/uk/
2024-02-15 14:01:56 +01:00
Salif Mehmed 4f7cbc4d93
Translated using Weblate (Bulgarian)
Currently translated at 37.0% (43 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/bg/
2024-02-07 06:56:10 +01:00
Hosted Weblate c8f815345d
Merge branch 'origin/master' into Weblate. 2024-01-30 15:01:51 +01:00
麋悟BigELK176 a59f3770dc
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/zh_Hant/
2024-01-30 15:01:49 +01:00
Tero Paloheimo e995446cfc Fix some typos 2023-12-30 20:01:40 +02:00
AdamPS 3e89aa4fcf Improvements to "interpret idle as break" #551 (correction) 2023-12-20 20:08:11 +00:00
AdamPS 903d407faf Improvements to "interpret idle as break" #551 2023-11-30 18:04:44 +00:00
Alyssa Rosenzweig 777d48603d
Fix with python3.12 (#544)
imp is deprecated in 3.4 and removed in 3.12. this caused safe eyes to
break on upgrading to fedora 39

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2023-11-30 18:01:58 +00:00
AdamPS cbfc0cc133 Local function names should match #550 2023-11-30 14:57:37 +00:00
AdamPS edb5b70b53 Improvements to health statistics #549 2023-11-29 14:00:29 +00:00
AdamPS dd190d0543 Update comment with list of methods 2023-11-29 14:00:29 +00:00
AdamPS 9d30def057 Display next long break #374 2023-11-29 14:00:29 +00:00
Almaz Mannanov 0cce71070b
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2023-11-26 00:02:15 +00:00
Antonín Kříž a33235b11b Correctly detect all possible GNOME sessions in screen saver plugin lock feature and in utility.py 2023-11-13 16:01:57 +01:00
Hosted Weblate e8bf389da8
Merge branch 'origin/master' into Weblate. 2023-10-31 16:04:52 +00:00
Eryk Michalak e8a254d74e
Translated using Weblate (Polish)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/pl/
2023-10-31 16:04:50 +00:00
Kryštof Jelínek c37e9db6db
Translated using Weblate (Czech)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/cs/
2023-10-31 16:04:49 +00:00
akhil_s 776a8b81de Fix 'initialize_logging' function spelling 2023-10-16 10:17:56 -04:00
Hosted Weblate c4675b743d
Merge branch 'origin/master' into Weblate. 2023-10-13 04:15:40 +00:00
Novak Urosevic a33f317241
Translated using Weblate (Serbian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sr/
2023-10-13 06:15:38 +02:00
Ilario Gelmetti 5a993a4d60
Fix broken startup symlinks (#531)
* utility: create_startup_entry check link health

* model: init always run create_startup_entry

* utility: initialize_safeeyes don't call create_startup_entry

* utility: add force option to create_startup_entry

* model: do not create autostart, only repair broken

* utility: fix comment
2023-08-18 11:15:30 -04:00
Milan Šalka 068771d5fd
Translated using Weblate (Slovak)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sk/
2023-08-10 21:53:26 +02:00
Salif Mehmed b04d49ed34
Translated using Weblate (Bulgarian)
Currently translated at 7.7% (9 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/bg/
2023-08-05 20:48:05 +02:00
undefiened a54c16476e Removed copyright 2023-07-09 01:17:08 +02:00
undefiened bc7ae63120 Added an icon 2023-07-09 00:59:20 +02:00
Hosted Weblate e6112a87a9
Merge branch 'origin/master' into Weblate. 2023-07-08 20:48:00 +02:00
Dmitriy Q b838f3c5fe
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2023-07-08 20:47:58 +02:00
Gobinath Loganathan bd18d33c90 Prepare v2.1.6 2023-07-04 20:09:53 -04:00
Hosted Weblate 1a9ebfb2db
Merge branch 'origin/master' into Weblate. 2023-07-04 22:53:46 +02:00
Sebastian Pipping f26bcc5af2
Translated using Weblate (German)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/de/
2023-07-04 22:53:44 +02:00
undefiened 3428759a85 Fixed comment 2023-05-28 21:07:55 +02:00
undefiened bd51aed724 Added plugin for limiting the number of consecutive skips or postpones 2023-05-28 13:54:09 +02:00
Onur Alp Akin 684d16265a
Reverse-DNS scheme for icons & Broken initialize logic fix & Add appstream (#519)
* Add appstream

* rename platform files reverse-dns format

* rename debian install file reverse-dns format

* rename usages reverse-dns format

* Respect XDG_CONFIG while initializing safeeyes

Instead of using custom variable to define target; Continue respecting XDG specs
https://github.com/slgobinath/SafeEyes/issues/432#issuecomment-883829334

* move appstream under platform

* add flathub badge

* update flathub badge & flatpak installation
2023-05-10 05:45:38 -04:00
Sebastian Pipping 45a633d31f
Display a traceback of plugin loading errors when --debug is given (#506) 2023-04-17 20:06:26 -04:00
Sebastian Pipping 06d8f491c4
Fix support for Python 3.11 (fixes #491) (#505)
Co-authored-by: tibequadorian <tibequadorian@posteo.de>
2023-04-17 20:06:11 -04:00
Ilario Gelmetti 682a027d04
Remove executable permission from safeeyes.desktop (#512) 2023-04-17 20:02:26 -04:00
AHOHNMYC cae19b0f28
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2023-03-22 17:41:13 +01:00
Yi Yunseok 0874be58c2
Translated using Weblate (Korean)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ko/
2023-02-17 06:35:26 +01:00
Luna Jernberg d1a9f7d0b5
Translated using Weblate (Swedish)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sv/
2023-02-11 12:39:43 +01:00
Hosted Weblate 339ed40f4a
Merge branch 'origin/master' into Weblate. 2023-02-03 07:02:34 +01:00
Yi Yunseok 7bde5d0368
Translated using Weblate (Korean)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ko/
2023-02-03 07:02:32 +01:00
AdamPS 201e6d2982
Fix incorrectly skipped long breaks #443 (#444)
* Improve error message to include information from the exception

* #347 Take short or long breaks from tray

Correction: get_break() should not alter the break queue.

* Fix incorrectly skipped long breaks
2023-01-24 17:22:51 +00:00
AdamPS 9a76aa4211 #347 Take short or long breaks from tray
Correction: get_break() should not alter the break queue.
2023-01-24 16:49:30 +00:00
AdamPS 788e2b43af Improve error message to include information from the exception 2023-01-23 15:51:52 +00:00
Gobinath 9e64e65fce Add sub-menu to take any, short or long breaks 2023-01-23 15:28:57 +00:00
Hosted Weblate b90349ab10
Merge branch 'origin/master' into Weblate. 2023-01-07 12:49:30 +01:00
Porrumentzio a158587311
Translated using Weblate (Basque)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/eu/
2023-01-07 12:49:28 +01:00
Gobinath Loganathan 375bd9d737 Bump the version to 2.1.5 2023-01-05 19:11:06 -05:00
meztihn bcecc016dd DND: Fix window class matching for names with spaces 2023-01-05 19:02:54 -05:00
Dmitriy Q 32cfc401f3
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2022-12-21 06:47:11 +01:00
Hosted Weblate 9123562d5e
Merge branch 'origin/master' into Weblate. 2022-11-27 00:54:41 +01:00
Minh P 06d4aa5afe
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/vi/
2022-11-27 00:54:37 +01:00
Gobinath Loganathan 7f17dabbfe Bump version to 2.1.4 2022-11-20 17:22:47 -05:00
Anjan Momi d3594bdb8f
Do not fail if gettext.bindtextdomain not working (#485) 2022-10-13 11:53:26 -04:00
Anjan Momi dd16395471
Check if using wayland via WAYLAND_DISPLAY env variable (#484)
My distro does not install loginctl. I have implemented another easy
condition for wayland.

https://stackoverflow.com/questions/45536141/how-i-can-find-out-if-a-linux-system-uses-wayland-or-x11/45537237#45537237
2022-10-13 11:52:47 -04:00
Gontzal Manuel Pujana Onaindia 29a1e15192
Translated using Weblate (Basque)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/eu/
2022-09-29 00:17:19 +02:00
Dmitriy Q 6ac60ec17c
Translated using Weblate (Russian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2022-09-08 06:17:43 +02:00
calbasi 2f83647d74
Translated using Weblate (Catalan)
Currently translated at 60.3% (70 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ca/
2022-08-08 23:25:26 +02:00
Danial Behzadi 71df387773
Translated using Weblate (Persian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/fa/
2022-07-07 12:18:56 +02:00
AHOHNMYC 6d66941058
Translated using Weblate (Russian)
Currently translated at 99.1% (115 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ru/
2022-06-01 14:19:39 +02:00
Mohamed Omran 01f247328e
Translated using Weblate (Arabic)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ar/
2022-05-24 19:15:11 +02:00
Mohamed Omran c04a2d2009
Translated using Weblate (Arabic)
Currently translated at 83.6% (97 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/ar/
2022-05-23 18:19:42 +02:00
Hosted Weblate 43ed01d3e4
Merge branch 'origin/master' into Weblate. 2022-04-17 18:06:45 +02:00
menom cdcf5d7918
Translated using Weblate (Slovak)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/sk/
2022-04-17 18:06:44 +02:00
Karl-Philipp Richter 292ad62729
Use HTTPS where users potentially open the URL in a browser (#475) 2022-04-01 09:23:36 -04:00
Pavel Borecki ed69ddde36
Translated using Weblate (Czech)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/cs/
2022-03-06 21:59:25 +01:00
Danial Behzadi 4b318e4895
Translated using Weblate (Persian)
Currently translated at 100.0% (116 of 116 strings)

Translation: Safe Eyes/Translations
Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/fa/
2022-01-21 09:56:33 +01:00