Skip to content
  1. Feb 09, 2021
  2. May 05, 2020
  3. Jan 22, 2020
    • Ondrej Holy's avatar
      users: Show username hint immediately · 7f010f31
      Ondrej Holy authored
      Changes made by !359 caused that the username
      hint ("This will be used to name your home folder and can’t be changed.")
      is not shown immediately after opening the "Add User" dialog. This change
      was unwanted. Let's show the hint immediately after opening the dialog as
      it was before.
      7f010f31
  4. Jan 13, 2020
    • Ondrej Holy's avatar
      user-accounts: Prevent usage of uninitialized value · 7611e07e
      Ondrej Holy authored and Felipe Borges's avatar Felipe Borges committed
      gtk_widget_translate_coordinates() doesn't have to always set the
      dest_x argument. Let's initialize the argument before use to prevent
      usage of uninitialized value, which also prevents "Conditional jump
      or move depends on uninitialised value(s)" messages from valgrind.
      7611e07e
  5. Nov 12, 2019
    • Ondrej Holy's avatar
      user-accounts: Fix password dialog hangs · 65d3b71d
      Ondrej Holy authored
      On Fedora 31, the "Current Password: " prompt is printed by passwd,
      when I enter my current password wrongly. It is not clear to me why
      and I don't know how to debug the PAM stack, but it causes that the
      checkmark for the old password field is not reliable and what is worse
      it causes the dialog hangs when it is submitted. Let's add check for
      the "urrent" keyword to fix this issue.
      
      Fixes: #766
      65d3b71d
  6. Nov 11, 2019
    • Ondrej Holy's avatar
      user-accounts: Fix password dialog crashes · 29367abb
      Ondrej Holy authored and Robert Ancell's avatar Robert Ancell committed
      Currently, the password_entry_timeout() callback can be called even after
      the dialog disposal, which leads to segfaults. This is because the
      corresponding source ids can be cleared in some cases without removing
      the sources. Let's prevent direct calls of password_entry_timeout()
      without destroying the source ids in order to fix this issue.
      
      Fixes: #760
      29367abb
  7. Aug 26, 2019
    • Ondrej Holy's avatar
      user-accounts: Check username validity over usermod · 1f71ae60
      Ondrej Holy authored and Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto committed
      Username policies differ across the distributions. See the discussion on:
      !359
      
      It is not possible to hard-code some rules here without the need for
      downstream modifications. Let's check the validity of usernames dynamically
      over "usermod" to prevent this.
      
      Just be careful that this is based on undocumented usermod behavior, which
      may change in the future.
      1f71ae60
  8. Jun 07, 2019
  9. May 16, 2019
  10. Mar 13, 2019
  11. Mar 02, 2019
  12. Feb 08, 2019
  13. Jan 05, 2019
    • Ondrej Holy's avatar
      user-account: Use the same Categories as other panels · a800e975
      Ondrej Holy authored and Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto committed
      gnome-user-accounts-panel.desktop has some differences in "Categories" in
      comparison to other desktop files provided by gnome-control-center for no
      obvious reason.
      
      Add "GNOME" and "GTK" categories, which are used in all other desktop files.
      
      Remove "System" and use just "Settings" main category. This among others
      prevents the following output from desktop-file-validate:
      
      /usr/share/applications/gnome-user-accounts-panel.desktop: hint: value
      "System;Settings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;" for key
      "Categories" in group "Desktop Entry" contains more than one main
      category; application might appear more than once in the application menu
      
      All other desktop files uses just the "Settings" main category.
      
      But maybe this is totally useless patch, because it seems that GNOME Shell
      do not care about the most of categories and GNOME Classic do not show those
      desktop files in menus at all.
      a800e975
  14. Sep 10, 2018
  15. Aug 15, 2018
  16. Jul 12, 2018
  17. Jul 11, 2018
  18. May 12, 2018
  19. Apr 25, 2018
  20. Mar 26, 2018
  21. Mar 02, 2018
  22. Feb 02, 2018
    • Ondrej Holy's avatar
      user-accounts: Prevent crashes if current user is not in carousel · 4e43bd6c
      Ondrej Holy authored
      In a specific cases, current user doesn't have to be returned from
      accountsservice, or can be skipped by act_user_is_system_account check.
      System users should not be shown. This is expected for root account,
      but should not happen with regular user accounts. It needs to be fixed
      in accountsservice if you see this happening with regular user accounts.
      We have to be just sure that Users panel doesn't crash in such cases
      and show all non-system user accounts returned from accountsservice.
      Empty page is shown currently only if act_user_manager_list_users
      returns nothing, but it has to be also shown if only system accounts
      are returned. To fix this issue, do not try to show current user, but
      show first user account in carousel instead if there is any. First user
      account is current user in normal case.
      
      The patch also fixes problems that current user account is sometimes
      selected instead of currently selected user account. This is because
      of preselection of first item in um_carousel_add, which causes unwanted
      signal emissions...
      
      https://bugzilla.gnome.org/show_bug.cgi?id=773673
      4e43bd6c
  23. Sep 25, 2017
  24. May 03, 2017