Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(login) keep session living #444

Open
wants to merge 6 commits into
base: canary
Choose a base branch
from
Open

feature(login) keep session living #444

wants to merge 6 commits into from

Commits on Sep 10, 2014

  1. feat(user-management): use the User $resource to populate users for t…

    …he admin page
    
    Changes:
    - use User.query() in admin.controller instead of $http
    kingcody authored and remicastaing committed Sep 10, 2014
    Configuration menu
    Copy the full SHA
    68561c3 View commit details
    Browse the repository at this point in the history
  2. feat(uibootstrap-modal): add basic modal service and template when us…

    …ing uibootstrap
    
    Changes: (only if ui-bootstrap is selected)
    - add `client/components/modal` folder
    - modal folder contains service, markup template, and stylesheet
    - modal service is intended to be extended, comes with `Modal.confirm.delete()` method
    - admin and main page will both use `Modal.confirm.delete()`
    
    Todo:
    - review code for cleanliness and correctness
    - possibly extend the modal service to include a basic alert class?
    - write test for `Modal` service?
    kingcody authored and remicastaing committed Sep 10, 2014
    Configuration menu
    Copy the full SHA
    94b2cea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f020a29 View commit details
    Browse the repository at this point in the history
  4. fix(app-jshint): improve jshint usage

    Changes:
    - Update jshint task in `Gruntfile.js` to include `serverTest`
    - Add `server/.jshintrc-spec` that extends `server/.jshintrc` with spec globals
    - Use `"latedef": "nofunc"` instead of `"latedef": true` in `server/.jshintrc`
    - Add assertion for `jshint` task in generator tests for `defaultOptions`
    - Fix pre exsisting lint errors in `server` and `client`
    - Change `getEmail()` in `client/app/account/settings/settings.controller` to use `user` arg and not `$scope.user`
    
    Closes #463, #486
    kingcody authored and remicastaing committed Sep 10, 2014
    Configuration menu
    Copy the full SHA
    c0f2db8 View commit details
    Browse the repository at this point in the history
  5. Revert "feat(oauth): multiple strategies per account; changeable email"

    This reverts commit ef06272.
    
    Conflicts:
    	app/templates/client/app/account(auth)/settings/settings.controller(coffee).coffee
    	app/templates/client/app/account(auth)/settings/settings.controller(js).js
    	app/templates/client/app/admin(auth)/admin(html).html
    	app/templates/client/app/admin(auth)/admin(jade).jade
    	app/templates/client/app/admin(auth)/admin.controller(coffee).coffee
    	app/templates/client/app/admin(auth)/admin.controller(js).js
    	app/templates/server/api/user(auth)/user.controller.js
    	app/templates/server/api/user(auth)/user.model.js
    	app/templates/server/auth(auth)/facebook(facebookAuth)/index.js
    	app/templates/server/auth(auth)/facebook(facebookAuth)/passport.js
    	app/templates/server/auth(auth)/google(googleAuth)/index.js
    	app/templates/server/auth(auth)/google(googleAuth)/passport.js
    	app/templates/server/config/_local.env.js
    	app/templates/server/config/environment/index.js
    DaftMonk authored and remicastaing committed Sep 10, 2014
    Configuration menu
    Copy the full SHA
    36b8aba View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2014

  1. feature(login) keep session living

    Session token is valid for 30 days and will be stored in browser's local storage until user log out.
    
    - replace ngCookie by ngStorage
    - replace $cookie by $localStorage
    - add token duration parameter in config file
    - add role in signToken
    remicastaing committed Sep 13, 2014
    Configuration menu
    Copy the full SHA
    c57bcdf View commit details
    Browse the repository at this point in the history