Commit graph

80 commits

Author SHA1 Message Date
Ashley Wulber
0b0d2925ff chore: blur updates 2026-09-16 11:12:18 -06:00
Ian Douglas Scott
06a762caca locker: Rely on cosmic-bg for showing background
Requires https://github.com/pop-os/cosmic-comp/pull/2792 and
https://github.com/pop-os/cosmic-bg/pull/144.
2026-09-11 14:38:19 -06:00
Hojjat
601e16af0e chore: adapt to the changes in libcosmic 2026-09-11 21:49:05 +02:00
r0chd
14cc125fcd
fix: compile without the logind feature 2026-09-09 10:10:52 +02:00
demi
cde1a13140
fix: handle sequential PAM prompts in greeter and locker 2026-09-01 17:04:46 +02:00
Ralph S
ae627ab0d0
fix: ignore empty password 2026-08-17 13:45:03 -06:00
Hugo
f64e2d8fab
fix: detect and enable logind functionality at runtime
Downstream distributions have optional logind, but the logind feature
must be defined at compile time. If cosmic-greeter is compiled with
logind support it fails to run on a host that's not running logind.

Detect whether logind is present at runtime, enabling the use of the
same binaries regardless of whether logind is installed or not.
2026-07-29 17:51:37 +02:00
Ian Douglas Scott
d39915ae23 Use cosmic-keymap-unstable-v1 2026-07-28 16:17:56 -04:00
Ashley Wulber
05f09fe33c improv: use the new menu column widget 2026-07-09 12:10:46 -06:00
Ashley Wulber
0b7803077a feat: blur 2026-07-09 12:10:46 -06:00
Fred
953478f801
feat: use spinner widget from libcosmic for authentication 2026-06-24 19:12:46 +02:00
Vukašin Vojinović
9895bd4b43 chore: add rustfmt config 2026-04-29 00:20:17 +02:00
Vukašin Vojinović
a7ca33b6eb chore:: clippy 2026-04-29 00:20:17 +02:00
Ashley Wulber
619910c5cc chore: update libcosmic
fixes input clipping
2026-04-14 10:27:16 -06:00
Ashley Wulber
0272e189f4 fix: battery icon 2026-03-30 12:49:32 -06:00
Ashley Wulber
a51050128e fix: update iced 2026-03-30 12:49:32 -06:00
Ashley Wulber
89671a793f chore: updates after iced rebase 2026-03-30 12:49:32 -06:00
Kajus Naujokaitis
5dc1db27ed fix: improve error handling to prevent softlock
- handle greetd ipc auth_message error types as errors
- handle locker pam error_msg as errors
- fixes an issue where greeter would get stuck in 'Authenticating...'
  state due to error messages being treated as normal messages
2025-12-15 12:31:01 -07:00
Frederic Laing
f806087fc8 address feedback 2025-11-14 11:50:14 -05:00
Frederic Laing
97d69f37e9 implement a more consistent login mask with a stable layout and improved error messages 2025-11-14 11:50:14 -05:00
Jeremy Soller
31d0f66d3a Make offset of prompt from top of screen proportional 2025-10-30 18:43:39 -06:00
Vukašin Vojinović
7bab53c5b4 chore: clippy 2025-10-27 15:10:24 -06:00
Vukašin Vojinović
a7f8a62807 improv: don't resize column for caps lock and error text
This prevents the other column items from jumping around depending on if Caps Lock is toggled or if an error is shown. Now only the error text moves depending on if Caps Lock is toggled.
2025-10-27 15:10:24 -06:00
Michael Aaron Murphy
9ba6a0481c
perf: cache image handles 2025-09-17 18:25:57 +02:00
Ashley Wulber
79bf2cb4f8 chore: cleanup logs 2025-09-12 23:47:22 +02:00
Jeremy Soller
38e6b93d57
Do not inhibit suspend when lock screen already shown, fixes #230 2025-07-08 10:00:32 -06:00
Jeremy Soller
6ea0f9868a
Fix comment formatting 2025-07-08 09:50:05 -06:00
Ashley Wulber
b740ad246b refactor(locker): scrollable menu in locker 2025-06-27 08:43:04 -04:00
Jeremy Soller
b38bcd296a
Show if caps lock is active, fixes #115 2025-05-15 14:18:08 -06:00
Jeremy Soller
2fff220392 Move layout and prompt handling to common code 2025-05-12 14:48:32 -06:00
Jeremy Soller
8812240f50 Combine some logic between greeter and locker 2025-05-12 14:48:32 -06:00
Jeremy Soller
c9913834f2 Cleanup config handling 2025-05-12 14:48:32 -06:00
Jeremy Soller
75948f857a Load military time in locker, fixes #150 2025-05-12 14:48:32 -06:00
Jeremy Soller
04c3271f4a Unify user data handling between greeter and locker 2025-05-12 14:48:32 -06:00
Ashley Wulber
525c635124 fix: avoid Fill for the left element
this will allow the left element to expand if it needs more space, but half otherwise. Setting both left and right to Fill will make them both use half of the available space.
2025-05-02 18:08:05 +02:00
Ashley Wulber
37cff18672 refactor: use icu for datetime 2025-04-10 15:35:57 -06:00
Michael Aaron Murphy
0600931abf refactor: improve and fix subscriptions and async logic 2025-04-10 16:51:24 -04:00
Ashley Wulber
d6b94406e6 refactor: lock surface subsurface menu 2025-03-15 02:57:51 +00:00
Ashley Wulber
b84ee1827c update libcosmic 2025-03-15 02:57:51 +00:00
Ashley Wulber
4b0e73fca4 update libcosmic 2025-03-15 02:57:51 +00:00
Ashley Wulber
7918485651 update libcosmic
this uses a subsurface for the greeter menu and a text input that manages its own input string state
2025-03-15 02:57:51 +00:00
Michael Aaron Murphy
b93acffd87 fix: XDG_SESSION_ID may contain non-numerical characters 2025-01-24 13:03:19 +01:00
Jeremy Soller
08202f1572
Recover previous locked state 2024-11-07 09:37:16 -07:00
Lily Foster
37a96b4b30
Set full_name_opt to None when GECOS data is empty 2024-09-27 10:52:27 -04:00
Jeremy Soller
ff03667847
Merge pull request #124 from pop-os/pam
Add custom PAM configuration to start gnome-keyring
2024-09-06 10:50:59 -06:00
Jeremy Soller
ef1253aa23
Add custom PAM configuration to start gnome-keyring 2024-09-06 10:34:37 -06:00
Josh Megnauth
4050ea8bfe
Localize date strings
Mostly closes: #103

Analogous to my other patches that localize date strings (e.g.
pop-os/cosmic-files#277).

The "password:" prompt is not localized in this patch because PAM should
yield translated strings on its own. This needs further investigation.
2024-08-28 23:19:39 -04:00
Jason Rodney Hansen
75e456ed4b Use secure input so visibility of password can be toggled 2024-08-15 07:49:37 -06:00
Michael Aaron Murphy
479fb1064e improv(greeter): use subscription for handling greetd IPC socket 2024-07-31 13:41:31 +02:00
Jeremy Soller
f6ccf0146e
Add greeter keyboard and user selection (#55)
* Add greeter keyboard and user selection

Fixes #37
Fixes #38

* Support switching users and add tooltips to icon buttons

* Implement switching users

* Implement keyboard layout switching

* Ensure that user's xkb_config is used
2024-06-04 22:17:44 -06:00