Commit graph

389 commits

Author SHA1 Message Date
bfe657faa0 Merge remote-tracking branch 'upstream/master' into local/yoda-main
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/greeter.rs
#	src/locker.rs
2026-08-19 22:01:39 +02:00
Michael Aaron Murphy
e9ab9e74a5 feat: enable JPEG-XL and AVIF image support 2026-08-18 18:58:39 +02:00
Michael Murphy
7e7b0261c3
i18n: translation update from Hosted Weblate (#506) 2026-08-18 14:03:26 +02:00
Hosted Weblate
aee6352fdc
i18n: translation updates from weblate
Co-authored-by: CodeBeats <nicholai67@hotmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Martin Meizoso <martinmeizoso@gmail.com>
Co-authored-by: Michael Millet <mikevlet@protonmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Steen Rabol <steen@rabol.dev>
Co-authored-by: Walter William Beckerleg Bruckman <spayk.99@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/da/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/gl/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/oc/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/pt_BR/
Translation: Pop OS/COSMIC Greeter
2026-08-18 09:08:33 +00:00
chris-010
088f26cbb8 fix: ignore empty responses on the login screen
Message::Auth is constructed in exactly one place, the .on_submit of the
password input, and it forwards whatever the field holds to greetd. An
empty field therefore sends PostAuthMessageResponse with response
Some(""), PAM rejects it, and greetd tears the session down; the greeter
then reconnects with a fresh CreateSession. Every stray Enter costs that
round trip, and while it runs the user is looking at the authenticating
spinner.

Non-interactive auth messages (AuthMessageType::Info) are acknowledged
separately with response None and never reach Message::Auth, so an empty
Some can only come from the user submitting an empty field.

This is the login-screen counterpart of the lock-screen fix in #509. The
two do not overlap; that one guards Message::Submit in locker.rs.

Drafted with AI assistance (Claude Code); the change was reviewed, built
and tested by me as described.

Signed-off-by: chris-010 <10660568+chris-010@users.noreply.github.com>
2026-08-18 04:21:19 +02:00
Ralph S
ae627ab0d0
fix: ignore empty password 2026-08-17 13:45:03 -06:00
bf630a4b57 fix(daemon): resolve outputs.ron from the user's passwd home
The greeter daemon runs as root without HOME set, so
xdg::BaseDirectories resolved the state dir against root's
environment and never found the user's cosmic-comp output layout.
The greeter therefore came up with the default monitor arrangement
instead of the saved one.

Resolve the home directory from the passwd entry of the user being
described, read ~/.local/state/cosmic-comp/outputs.ron directly, and
fall back to an empty list when the file is absent.

Also revert the two version fields that the 1.3.0 bulk bump rewrote by
mistake: greetd_ipc has no 1.3.0 release, and the crate version is kept
at 0.1.0 to stay consistent with Cargo.lock so --locked builds work.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 16:29:20 +02: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
Michael Murphy
15476e3861
i18n: translation update from Hosted Weblate (#479)
i18n: translation updates from weblate






Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/de/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/en_GB/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/fa/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/sat/
Translation: Pop OS/COSMIC Greeter

Co-authored-by: Andi Chandler <andi@gowling.com>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Prasanta-Hembram <Prasantahembram720@gmail.com>
Co-authored-by: Saeed <s.zare.org.82@gmail.com>
2026-07-28 16:40:34 +02:00
Hosted Weblate
766a77a2a7
i18n: translation updates from weblate
Co-authored-by: Andi Chandler <andi@gowling.com>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Prasanta-Hembram <Prasantahembram720@gmail.com>
Co-authored-by: Saeed <s.zare.org.82@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/de/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/en_GB/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/fa/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/sat/
Translation: Pop OS/COSMIC Greeter
2026-07-28 08:01:59 +00:00
e5cbc819e8 chore: bump version to 1.3.0 2026-07-22 15:57:00 +02:00
Ashley Wulber
2290aae5e2 chore: update libcosmic 2026-07-09 17:51:17 -06:00
Ashley Wulber
95067445be improv: better handling of popover dialog after dropdown 2026-07-09 12:10:46 -06:00
Ashley Wulber
05f09fe33c improv: use the new menu column widget 2026-07-09 12:10:46 -06:00
Ashley Wulber
6a19629f15 fix: update libcosmic 2026-07-09 12:10:46 -06:00
Ashley Wulber
119d98fe7c chore: update deps 2026-07-09 12:10:46 -06:00
Ashley Wulber
0b7803077a feat: blur 2026-07-09 12:10:46 -06:00
0f51e9d29f chore: sync lockfile with rebased local dep versions
Leyoda 2026 – GPLv3
2026-07-04 11:30:33 +02:00
0df32b8143 fix: adapt to cosmic-theme background(transparent) accessor
Leyoda 2026 – GPLv3
2026-07-03 18:21:18 +02:00
5fcd257eae Refresh Cargo lockfile after upstream rebase 2026-07-03 18:21:18 +02:00
69c1151099 chore: resolve local graphics dependencies 2026-07-03 18:21:18 +02:00
d2379253de chore: use local glyphon lockfile 2026-07-03 18:21:18 +02:00
6ca9abf3d7 chore: refresh lockfile for libcosmic-yoda rebase
Bump cosmic-freedesktop-icons SHA (and other transitive deps) to satisfy
APIs introduced by upstream commits absorbed in libcosmic-yoda squash
rebase on 2026-05-25.

Leyoda 2026 – GPLv3
2026-07-03 18:21:18 +02:00
8ae7eae129 chore: use local cosmic-text checkout 2026-07-03 18:21:18 +02:00
9bb40d6ac7 yoda: use local dbus settings bindings 2026-07-03 18:21:18 +02:00
1fa52f6f27 yoda: use local COSMIC stack 2026-07-03 18:21:18 +02:00
Fred
953478f801
feat: use spinner widget from libcosmic for authentication 2026-06-24 19:12:46 +02:00
Daniel Fox Franke
b877ea6573
fix(justfile): bash syntax error if SOURCE_GIT_HASH was set 2026-06-24 17:03:08 +02:00
Michael Murphy
a57265f480
i18n: translation update from Hosted Weblate (#462)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Greeter](https://hosted.weblate.org/projects/pop-os/cosmic-greeter/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-greeter/horizontal-auto.svg)
2026-06-23 17:12:31 +02:00
Hosted Weblate
4b2b044582
i18n: translation updates from weblate
Co-authored-by: CYAXXX <85353920+CYAXXX@users.noreply.github.com>
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/kmr/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ru/
Translation: Pop OS/COSMIC Greeter
2026-06-23 09:01:23 +02:00
Jeremy Soller
7a0c083f01
Autofill SOURCE_DATE_EPOCH and SOURCE_GIT_HASH during vendoring (#464)
- [X] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [X] I understand these changes in full and will be able to respond to
review comments.
- [X] My change is accurately described in the commit message.
- [X] My contribution is tested and working as described.
- [X] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.

This is a small fix to autofill correct defaults for SOURCE_DATE_EPOCH
and SOURCE_GIT_HASH when running `just vendor`. See
https://github.com/pop-os/cosmic-epoch/issues/3571 for further context.
2026-06-09 07:59:08 -06:00
Daniel Fox Franke
4d72264b89 Autofill SOURCE_DATE_EPOCH and SOURCE_GIT_HASH during vendoring 2026-06-01 15:12:07 -04:00
Jeremy Soller
178d5222ee
i18n: translation update from Hosted Weblate (#458)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Greeter](https://hosted.weblate.org/projects/pop-os/cosmic-greeter/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-greeter/horizontal-auto.svg)
2026-05-26 08:32:42 -06:00
Hosted Weblate
2a2ba9f68f
i18n: translation updates from weblate
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Isaac Subirana <isaacsubiranac@gmail.com>
Co-authored-by: Nara Díaz Viñolas <nara.diaz.vinolas@gmail.com>
Co-authored-by: therealmate <hellogaming91@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ca/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/hu/
Translation: Pop OS/COSMIC Greeter
2026-05-25 13:12:33 +02:00
Michael Murphy
1047333fbb
i18n: translation update from Hosted Weblate (#449)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Greeter](https://hosted.weblate.org/projects/pop-os/cosmic-greeter/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-greeter/horizontal-auto.svg)
2026-05-12 17:07:22 +02:00
Hosted Weblate
df0a1a4284
i18n: translation updates from weblate
Co-authored-by: BoneNI <bounkirdni@gmail.com>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Марко М. Костић <marko.m.kostic@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/sr/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/uk/
Translation: Pop OS/COSMIC Greeter
2026-05-11 12:24:07 +02:00
Jeremy Soller
6798cca10c
chore: update libcosmic (#454)
- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
contains a fix for iced described in
https://github.com/pop-os/cosmic-comp/issues/2096 &
https://github.com/pop-os/libcosmic/issues/1253
2026-05-10 07:11:49 -06:00
Ashley Wulber
c9307585a5 chore: update deps 2026-05-07 12:51:01 -04:00
Michael Murphy
2cbfba0c0b
i18n: translation update from Hosted Weblate 2026-04-29 00:21:14 +02:00
Vukašin Vojinović
9895bd4b43 chore: add rustfmt config 2026-04-29 00:20:17 +02:00
Vukašin Vojinović
b021887c6c chore: update dependencies 2026-04-29 00:20:17 +02:00
Vukašin Vojinović
a7ca33b6eb chore:: clippy 2026-04-29 00:20:17 +02:00
Vukašin Vojinović
ec1b80534a refactor: replace chrono with jiff 2026-04-29 00:20:17 +02:00
Hosted Weblate
600d5b5e0b
i18n: translation updates from weblate
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jim Spentzos <jimspentzos2000@gmail.com>
Co-authored-by: Nara Díaz Viñolas <nara.diaz.vinolas@gmail.com>
Co-authored-by: Марко М. Костић <marko.m.kostic@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ca/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/el/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/sr/
Translation: Pop OS/COSMIC Greeter
2026-04-28 20:09:50 +00:00
Ashley Wulber
619910c5cc chore: update libcosmic
fixes input clipping
2026-04-14 10:27:16 -06:00
Jeremy Soller
9a043e8b72
Merge pull request #427 from weblate/weblate-pop-os-cosmic-greeter
i18n: translation update from Hosted Weblate
2026-04-14 09:52:13 -06:00
Hosted Weblate
f9eca6116b
i18n: translation updates from weblate
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Amadɣas <massiin@proton.me>
Co-authored-by: Asier Saratsua Garmendia <asier.sarasua@gmail.com>
Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Co-authored-by: Dmitry Yarygin <dmitryy7@gmail.com>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Geeson Wan <wang14240@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Co-authored-by: Joonas Tuomi <joonastapanituomi@gmail.com>
Co-authored-by: Julien Brouillard <julienbrouillard1@gmail.com>
Co-authored-by: Jun Hwi Ku <siguning@gmail.com>
Co-authored-by: Urocissa Caerulea.Tw <urocissa.tw@proton.me>
Co-authored-by: Vilius Paliokas <viliuspaliokas@gmail.com>
Co-authored-by: defaultUser822 <defaultuser822@users.noreply.hosted.weblate.org>
Co-authored-by: jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>
Co-authored-by: oddib <60390653+oddib@users.noreply.github.com>
Co-authored-by: taijuin Lee <taijuin@gmail.com>
Co-authored-by: 麋麓 BigELK176 <BigELK176@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ar/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/de/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/fi/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/fr/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ga/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/kab/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/lt/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/pt/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ru/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/zh_Hant/
Translation: Pop OS/COSMIC Greeter
2026-04-12 18:49:46 +02:00
Ashley Wulber
d1a69fe1e8 fix: advanced-shaping 2026-04-06 16:13:17 -04:00
User
c3e2182c38 Fix selected user index during greeter init 2026-04-02 17:12:09 -04:00