User tests: Successful: Unsuccessful:
This will add the possibility to authenticate a user with his/her GitHub account using oAuth authentication.
In order to test the login feature in your local environment you will need to create an application key
and secret
for your (local) JTrackerApplication instance:
http://localhost
or a virtual host.config.json
and fill in the client_id
and client_secret
.Is provided by the session subsystem from the Symfony2 HttpFoundation Component
The User class has a method authorize() that is meant to be used by some ACL system for authorizing a given "action" for the logged in user.
Currently there is a config setting called "acl.admin_users" that holds a comma separated list of usernames with "admin permissions" - as a first step.
There is a "system component" that currently displays a config editor using simple text fields where you can fill in the values.
Saving is not provided yet. When hitting the save button the config is written to the screen where you might copy&paste it ;)
If you are on PHP < 5.4 there will be only a "compressed" version of the JSON string (a "pretty print" function could be written).
TBH - I only wrote this because it requires very little code and at some point we (or whoever uses a JSON based config file) might think about an UI for editing.
users
- A users listuser
- The currently logged in user (profile view)user/123
- The user with id 123
config
- Edit configuration.This is still very rough and only provides the very basic functionality. There are also some commits that doesn't really belong here (Travis and Jenkins toying) so if we cherry pick or even just copy the relevant files - that would be OK.
Thanks for your kind words @AmyStephen and @b2z
HTML
Honestly - I only have a nerdy answer (like those guys from BBT would say): "Because we can"
This can't be merged anymore (probably because of the CLI merge).
I'd leave the Jenkins stuff out of this (I don't know if we'll hook into it or not), but the Travis stuff is fine. Fix that up and I say we just merge it and work out any other issues later on.
Should be good now ;)
Wow! Great job! Just one question - HTML dir should be in uppercase?