Commit graph

106 commits

Author SHA1 Message Date
FAlexei
3b6cabf4ed i18n: Add Russian translation 2024-06-03 08:07:37 -06:00
Josh Megnauth
bba692eecb Fix login deadlocks
Logins seem to spuriously fail with both correct or incorrect passwords.
The failure is not related to the password. `cosmic-greeter` hangs but
the GUI still works. The password text area disappears as well.

I traced this issue down to the socket. It seems like accessing the
socket deadlocks with one thread waiting for the socket to become
readable while another waits for it to become writable.

Switching to `greet-ipc`'s `TokioCodec` and adding a lock to the socket
seems to have fixed this issue. I successfully logged in and inputted
incorrect passwords consecutively without experiencing a deadlock.
2024-06-03 08:02:56 -06:00
Matthew Fallah (マシュー・ファラー)
e2a4ccc8bd Add italian translation 2024-06-03 08:00:34 -06:00
Matthew Fallah (マシュー・ファラー)
4b97d25ed7 Add Euro Spanish translation 2024-06-03 08:00:34 -06:00
Matthew Fallah (マシュー・ファラー)
5163a36d25 Add Japanese translation 2024-06-03 08:00:34 -06:00
VandaLHJ
cc546f4293 Create cosmic_greeter.ftl PL translation
There isn't any, it might be good idea to add one.
2024-05-26 11:12:40 -06:00
Lily Foster
4613fbb184
fix: dbus_error usage with zbus 4 2024-05-20 17:01:32 +02:00
Jeremy Soller
d8c81ce3fb
Fix warnings 2024-05-17 09:17:02 -06:00
Jeremy Soller
ea5004088e
Merge branch 'master' of https://github.com/pop-os/cosmic-greeter 2024-05-17 09:12:06 -06:00
Jeremy Soller
d11501c43d
Update dependencies 2024-05-17 09:11:50 -06:00
Michael Aaron Murphy
e2e5e4ea18 fix: ensure greetd is configured before cosmic-greeter 2024-05-17 09:07:01 -06:00
Oliver Petznick
d637688699 Add German localization file 2024-05-15 13:50:41 -06:00
knm100
6358bc179a Update cosmic_greeter.ftl 2024-05-15 11:58:36 -06:00
knm100
bda88d3551 Update cosmic_greeter.ftl 2024-05-15 11:58:36 -06:00
knm100
478bdfb40a Rename .keep to cosmic_greeter.ftl 2024-05-15 11:58:36 -06:00
knm100
8df9d69666 Create .keep 2024-05-15 11:58:36 -06:00
N-Hoffmann
e8faaebeb0 i18n(fr): Add French translation 2024-05-08 08:39:15 -06:00
Jeremy Soller
bfe8d8506b
Power off and restart dialogs 2024-05-07 10:08:03 -06:00
Jeremy Soller
93d4818823
Add localization 2024-05-07 10:07:48 -06:00
Jeremy Soller
ef69fe83bf
Add mock target for testing greeter 2024-05-07 09:03:44 -06:00
Jeremy Soller
adb691704e
Turn into a library 2024-05-07 09:03:32 -06:00
Jeremy Soller
b1e62389a7
Use wants for cosmic-greeter dependency on cosmic-greeter-daemon 2024-05-07 09:02:19 -06:00
Ryan Brue
aa18965a03 fix(daemon): require daemon in greeter, give daemon type dbus
This PR will fix race conditions in which the cosmic-greeter service starts before the cosmic-greeter-daemon can acquire a bus name. However, it should be noted that now that greeter requires the daemon, it won't start *unless* the daemon is able to start.
2024-05-06 19:22:39 -06:00
Ryan Brue
9933926d44 fix: enable cosmic-greeter-daemon when cosmic-greeter is enabled
This change ensures that the cosmic-greeter-daemon is enabled along with the cosmic-greeter service, ensuring that both are utilized in end user setups. This will reduce the likelihood that someone reports a bug due to the greeter daemon not running.
2024-04-29 14:32:10 -06:00
Ryan Brue
cf1c7579f8 chore: bump dependencies 2024-04-29 14:31:53 -06:00
Jeremy Soller
9d4fe5bb0b Lock on suspend with inhibit 2024-04-08 09:43:13 -06:00
Jeremy Soller
eb3ba78e57 Implement lock on demand 2024-04-08 09:43:13 -06:00
Jeremy Soller
349c009321 Support unlock from logind dbus 2024-04-08 09:43:13 -06:00
Jeremy Soller
e9b5524992 Add subscription for logind lock/unlock 2024-04-08 09:43:13 -06:00
Jeremy Soller
df5564e55a
Update libcosmic, fixing race conditions 2024-04-05 09:45:20 -06:00
Lily Foster
1bded07bfd Update libcosmic 2024-04-05 08:57:41 -06:00
Krzysztof Zduniak
f8da96e43e Fix power_off in logind.rs 2024-04-05 08:56:59 -06:00
Aaron Honeycutt
d133e600da Update control
add git to d/control
2024-03-22 20:42:59 -06:00
Jeremy Soller
b8530a9001
Do not use dbus-run-session, fixes #22 and #23 2024-03-22 08:13:14 -06:00
Jeremy Soller
1b13865ea0
use dbus-run-session and set XDG_CURRENT_DESKTOP 2024-03-19 21:11:21 -06:00
Jeremy Soller
df9f2092e8
Merge pull request #15 from lilyinstarlight/feature/xdg-data-dirs-sessions
Search all XDG_DATA_DIRS and XDG_DATA_HOME for sessions
2024-02-24 21:02:16 -07:00
Lily Foster
cb8762180e
Search all XDG_DATA_DIRS and XDG_DATA_HOME for sessions 2024-02-23 18:55:05 -05:00
Jeremy Soller
0d7624b76d Improved greetd error handling 2024-02-22 20:51:10 -07:00
Jeremy Soller
99439e4a56 Fix description in debian template 2024-02-22 18:58:20 -07:00
Jeremy Soller
af0a5fd456 Properly integrate sysusers and tmpfiles into debian packaging 2024-02-20 17:32:36 -07:00
Jeremy Soller
8fb7b9b294
Merge pull request #13 from ryanabx/features/sysusers
Add cosmic greeter sysuser and tmpfile configurations for systemd-sysusers and systemd-tmpfiles
2024-02-18 13:21:12 -07:00
Ryan Brue
e3ded5da9a Add sysusers/tmpfiles config installation to just 2024-02-17 00:55:12 -06:00
Ryan Brue
d0650a6b3e Add sysuser and tmpfile configs 2024-02-17 00:45:00 -06:00
Jeremy Soller
0320635bd5 Log greeter with systemd-cat 2024-02-07 08:49:08 -07:00
Jeremy Soller
6747366724
Load theme from proxy 2024-02-06 15:48:57 -07:00
Jeremy Soller
586b4027aa
Ensure that cosmic-greeter-daemon is started after install 2024-02-06 15:08:47 -07:00
Jeremy Soller
fd049483c3
Add daemon to proxy user backgrounds 2024-02-06 15:03:07 -07:00
Jeremy Soller
3e2743a2e6
Use layer shell for greeter 2024-02-06 10:58:34 -07:00
Jeremy Soller
c3e530434d
Set XDG_SESSION_TYPE 2024-02-06 10:32:56 -07:00
Jeremy Soller
24ed38e3f8
Wrap x sessions in startx 2024-02-06 10:26:53 -07:00