openlmis-auth-ui

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added PhantomJS for unit testing

Added PhantomJS to Karma tests, and updated tests so they pass. Tests

for offline functionality were turned off. Loaded in HTML templates

using ngHtml, and added watch command for a better dev experience.

Chrome related files have been removed.

Added proxy server and changed to grunt-connect from grunt-serve

    • -0
    • +82
    /src/main/webapp/public/auth/auth-interceptor.spec.js
    • -0
    • +78
    /src/main/webapp/public/auth/authURL-factory.spec.js
    • -0
    • +137
    /src/main/webapp/public/auth/authorization-service.spec.js
    • -0
    • +112
    /src/main/webapp/public/auth/login-controller.spec.js
  1. … 4 more files in changeset.
OLMIS-1040: Made auth work with ui-router

Changed application structure so that auth fits in with ui-router driven

framework. This includes moving header/navigation into dashboard.

Made openlmis-auth module, so that all related code is self contained.

    • -37
    • +0
    /src/main/webapp/public/app.routes.js
    • -0
    • +32
    /src/main/webapp/public/auth/auth-interceptor-http.js
    • -0
    • +39
    /src/main/webapp/public/auth/auth-interceptor.js
    • -0
    • +47
    /src/main/webapp/public/auth/auth.module.js
    • -0
    • +64
    /src/main/webapp/public/auth/authURL-factory.js
    • -0
    • +244
    /src/main/webapp/public/auth/authorization-service.js
    • -0
    • +79
    /src/main/webapp/public/auth/login-controller.js
    • -0
    • +48
    /src/main/webapp/public/auth/login-form.html
    • -0
    • +10
    /src/main/webapp/public/dashboard/dashboard.module.js
    • -0
    • +21
    /src/main/webapp/public/dashboard/dashboard.routes.js
    • -0
    • +71
    /src/main/webapp/public/dashboard/header.controller.js
    • -0
    • +28
    /src/main/webapp/public/dashboard/header.html
  1. … 15 more files in changeset.
OLMIS-1043: Migrated base of the application to state-based routing

    • -0
    • +7
    /src/main/webapp/public/app.js
    • -0
    • +37
    /src/main/webapp/public/app.routes.js
    • -0
    • +70
    /src/main/webapp/public/header/header.controller.js
    • -0
    • +35
    /src/main/webapp/public/header/header.html
    • -0
    • +5
    /src/main/webapp/public/home.html
    • -0
    • +33
    /src/main/webapp/public/index.html
    • -20
    • +0
    /src/main/webapp/public/js/openlmis.js
    • -0
    • +77
    /src/main/webapp/public/navigation/navigation.controller.js
    • -0
    • +453
    /src/main/webapp/public/navigation/navigation.html
    • -35
    • +0
    /src/main/webapp/public/pages/header.html
    • -453
    • +0
    /src/main/webapp/public/pages/navigation.html
OLMIS-1046 Update Readme with running UI on olmis-blue

OLMIS-1046 Switch off Karma tests temporarily

OLMIS-1046 Remove dev-ui for now

OLMIS-1046 Provide path to auth during grunt build

OLMIS-1046 Made production image host UI

Fixed issue with incorrect authorization header being created

Merged "CMD" commands in Dockerfile

As Docker documentation states, there can be only one CMD instruction in a Dockerfile.

If you list more than one CMD, then only the last CMD will take effect.

Added --assume-yes option to the apt-get installing git in the build.sh file

forcing addition of bower to make build work

OLMIS-1029: Updated docker build script with bower

OLMIS-1045: Reformatted controllers

OLMIS-1040: Navigation-controller tests had problem with information loading

OLMIS-1040: Condensing authentication services

    • -158
    • +0
    /src/main/webapp/public/js/auth/auth-service.js
    • -0
    • +206
    /src/main/webapp/public/js/auth/authorization-service.js
    • -11
    • +0
    /src/main/webapp/public/js/shared/app.js
OLMIS-1045: Breaking auth to replace parts

    • -2
    • +4
    /src/main/webapp/public/js/auth/auth-service.js
OLMIS-1029: localizationService was made specifically for openlmis, so added as service, not library

OLMIS-1045: Changed tests to work in shared environment

OLMIS-1045: Added requistion-group and requisition-template modules to openlmis

    • -1
    • +1
    /src/main/webapp/public/js/openlmis.js
OLMIS-1029: Added build process for bower driven javascript

    • -0
    • +1675
    /vendor/base2.js
    • -0
    • +2
    /vendor/ng-grid-2.0.7.min.js
Merge branch 'OLMIS-1045' into OLMIS-1029

OLMIS-1029: Added wired-ep

Merge branch 'OLMIS-1040' into OLMIS-1045

    • -0
    • +156
    /src/main/webapp/public/js/auth/auth-service.js
OLMIS-1045: Updated reset password routes and tests

OLMIS-1045: Changed openlmis app definition

Made openlmis app definition to be top level, such that most directives

are tied to openlmis-core, and openlmis includes top level apps such as

rnr.

    • -0
    • +20
    /src/main/webapp/public/js/openlmis.js
    • -4
    • +1
    /src/main/webapp/public/js/shared/app.js
OLMIS-1045: Put index page into root of public

Fix for changing auth request parameters to POST Body

OLMIS-1029 Add bower Done so far: -remove libraries from repository -automatically download most of the libraries (excluding base2.js, and test libraries) using bower -copy downloaded files to build folder using grunt-bowercopy plugin

TODO:

-add rest libraries to bower.json file

-remove uncessesary meta files from copied folders

-minify not minified files

-test it

    • -21
    • +0
    /src/main/webapp/public/lib/angular-ui/LICENSE
    • -73
    • +0
    /src/main/webapp/public/lib/angular-ui/README.md
    • -1463
    • +0
    /src/main/webapp/public/lib/angular-ui/angular-ui.js
  1. … 198 more files in changeset.