Merge lp://staging/~teemperor/pantheon-greeter/fix-login into lp://staging/~elementary-pantheon/pantheon-greeter/trunk

Proposed by Raphael Isemann
Status: Merged
Approved by: Raphael Isemann
Approved revision: 299
Merged at revision: 320
Proposed branch: lp://staging/~teemperor/pantheon-greeter/fix-login
Merge into: lp://staging/~elementary-pantheon/pantheon-greeter/trunk
Diff against target: 1814 lines (+959/-418)
10 files modified
src/Authenticator.vala (+318/-0)
src/Avatar.vala (+2/-2)
src/CredentialsArea.vala (+30/-95)
src/Indicators/Indicators.vala (+3/-3)
src/Indicators/KeyboardLayoutMenu.vala (+17/-12)
src/LoginBox.vala (+301/-110)
src/PantheonGreeter.vala (+78/-68)
src/PantheonUser.vala (+196/-114)
src/UserList.vala (+8/-8)
src/UserListActor.vala (+6/-6)
To merge this branch: bzr merge lp://staging/~teemperor/pantheon-greeter/fix-login
Reviewer Review Type Date Requested Status
Artem Anufrij (community) code style Approve
Danielle Foré ux Approve
Review via email: mp+237689@code.staging.launchpad.net

Commit message

Added test-mode. Uses the LIghtDM-Api now correctly. Prevents that user can change credentials during authentication.

Description of the change

* Implemented busy-animation while logging in.
* Testing-mode that doesn't fuck up the system (just start the greeter normally from a session).
* Comments to some cryptic areas.
* Refactored where necessary the code.
* We are now mostly LightDM-compatible inside the code and it should be easy to implement the other auth-methods such as 2-step-verification.
* Some minor alignment issues (userlist was not vertically centered and Name/Password was not on the same x).

To post a comment you must log in.
Revision history for this message
Raphael Isemann (teemperor) wrote :

The Tab-Behaviour is still broken, but i have no idea why.

Revision history for this message
Raphael Isemann (teemperor) wrote :

This means: Don't test for correctly working Tab. It was broken and it is still broken, but i'm out of ideas why it is broken, so it will take a while until this is fixed.

Revision history for this message
Cody Garver (codygarver) wrote :

I have no panel entries/panel at all

Revision history for this message
Raphael Isemann (teemperor) wrote :

Can you post the content of:
/var/log/lightdm/x-0-greeter.log
and
/var/log/lightdm/x-0-greeter.log.old
(you need su rights to read them).

Revision history for this message
Cody Garver (codygarver) wrote :

log: http://pastebin.com/3BntTN7Z

old log: http://pastebin.com/6L7eKwtH

On Thu, Oct 9, 2014 at 4:27 PM, Raphael Isemann <email address hidden>
wrote:

> Can you post the content of:
> /var/log/lightdm/x-0-greeter.log
> and
> /var/log/lightdm/x-0-greeter.log.old
> (you need su rights to read them).
> --
>
> https://code.launchpad.net/~teemperor/pantheon-greeter/fix-login/+merge/237689
> Your team elementary Pantheon team is requested to review the proposed
> merge of lp:~teemperor/pantheon-greeter/fix-login into lp:pantheon-greeter.
>

--
Cody Garver

294. By Raphael Isemann

More comments and better formatting for Authenticator.vala

295. By Raphael Isemann

More comments

296. By Raphael Isemann

Forgot to set awaiting_start_session

Revision history for this message
Raphael Isemann (teemperor) wrote :

Sorry, my bad, can you retry?

Revision history for this message
Cody Garver (codygarver) wrote :

Still nothing

Revision history for this message
Cody Garver (codygarver) wrote :

No indicators in my virtual machine either

Revision history for this message
Raphael Isemann (teemperor) wrote :

Wait, what's the exact problem now? The test mode (so if you just start
the binary from a session) has no indicators/panel as they change
otherwise the settings of the current session . So I disabled them there.
Can you verify that it is only in the test mode?
Am 20.10.2014 02:31 schrieb "Cody Garver" <email address hidden>:

> No indicators in my virtual machine either
> --
>
> https://code.launchpad.net/~teemperor/pantheon-greeter/fix-login/+merge/237689
> You are the owner of lp:~teemperor/pantheon-greeter/fix-login.
>

Revision history for this message
Cody Garver (codygarver) wrote :

I don't use test mode, I build using packaging and install .deb

On Mon, Oct 20, 2014 at 12:30 AM, Raphael Isemann <email address hidden>
wrote:

> Wait, what's the exact problem now? The test mode (so if you just start
> the binary from a session) has no indicators/panel as they change
> otherwise the settings of the current session . So I disabled them there.
> Can you verify that it is only in the test mode?
> Am 20.10.2014 02:31 schrieb "Cody Garver" <email address hidden>:
>
> > No indicators in my virtual machine either
> > --
> >
> >
> https://code.launchpad.net/~teemperor/pantheon-greeter/fix-login/+merge/237689
> > You are the owner of lp:~teemperor/pantheon-greeter/fix-login.
> >
>
> --
>
> https://code.launchpad.net/~teemperor/pantheon-greeter/fix-login/+merge/237689
> Your team elementary Pantheon team is requested to review the proposed
> merge of lp:~teemperor/pantheon-greeter/fix-login into lp:pantheon-greeter.
>

--
Cody Garver

297. By Raphael Isemann

Fixed that the indicators were missing

298. By Raphael Isemann

Fixed layout of the password-entry

Revision history for this message
Danielle Foré (danrabbit) wrote :

There are some minor style issues, but nothing crazy. We can sort them out before RC1. I'm good with the animations and that.

review: Approve (ux)
Revision history for this message
Artem Anufrij (artem-anufrij) wrote :

See line comments

review: Needs Fixing (code style)
299. By Raphael Isemann

Fixed code-style

Revision history for this message
Artem Anufrij (artem-anufrij) wrote :

Code style looks good.

review: Approve (code style)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches