Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed unused tests

    • -146
    • +0
    ./controller/facility-search-filter-controller-test.js
    • -250
    • +0
    ./controller/facility-sub-filters-controller-test.js
    • -39
    • +0
    ./controller/forgot-password-controller-test.js
    • -208
    • +0
    ./controller/multiple-facility-search-filter-controller-test.js
    • -66
    • +0
    ./controller/reset-password-controller-test.js
    • -25
    • +0
    ./services/navigate-back-service-test.js
  1. … 40 more files in changeset.
OLMIS-982: Move refui root from /public to /

  1. … 843 more files in changeset.
OLMIS-1033: NavigationService that generates from routes

Instead of hardcoding navigation items, a service and directive are

created to read ui-router configuration. THe navigation bar was updated

to follow Bootstrap's navigation styles

    • -38
    • +0
    ./controller/locale-controller-test.js
  1. … 24 more files in changeset.
Re-enabled PhantomJS tests

- Re-enabled LoginService tests

- Re-enabled LoginController test

- Changed module include from openlmis to openlmis-core

- Requisition tests now pass, because many are commented out

- Moved HeaderController test

- Re-enabled NavigationController tests

- Stubbed out $state in auth interceptor test

- Stubbed out $scope.$emit in LoginController

- Commented out locale controller test

    • -1
    • +1
    ./controller/facility-search-filter-controller-test.js
    • -1
    • +1
    ./controller/facility-sub-filters-controller-test.js
    • -1
    • +1
    ./controller/forgot-password-controller-test.js
    • -53
    • +0
    ./controller/header-controller-test.js
    • -5
    • +3
    ./controller/locale-controller-test.js
    • -1
    • +1
    ./controller/multiple-facility-search-filter-controller-test.js
    • -160
    • +0
    ./controller/navigation-controller-test.js
    • -3
    • +3
    ./controller/reset-password-controller-test.js
  1. … 26 more files in changeset.
Installing phantomjs through apt-get

    • -1
    • +1
    ./controller/locale-controller-test.js
  1. … 1 more file in changeset.
Made requisition tests run again, and commented out one test

  1. … 2 more files in changeset.
OLMIS-1040: Added access-token interceptor

Added a http interceptor that processes all HTTP requests, by adding

access_token from AuthorizationService as a URL parameter. To make this

work, AuthorizationService had to be so there is a LoginService because

of a circular dependency.

    • -3
    • +4
    ./controller/header-controller-test.js
    • -4
    • +6
    ./controller/locale-controller-test.js
  1. … 17 more files in changeset.
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

    • -7
    • +9
    ./controller/header-controller-test.js
    • -62
    • +62
    ./controller/navigation-controller-test.js
  1. … 17 more files in changeset.
OLMIS-1045: Reformatted controllers

    • -1
    • +1
    ./controller/header-controller-test.js
    • -1
    • +1
    ./controller/locale-controller-test.js
    • -1
    • +1
    ./controller/navigation-controller-test.js
  1. … 3 more files in changeset.
OLMIS-1040: Navigation-controller tests had problem with information loading

    • -22
    • +28
    ./controller/navigation-controller-test.js
OLMIS-1045: Changed tests to work in shared environment

    • -1
    • +1
    ./controller/facility-search-filter-controller-test.js
    • -3
    • +3
    ./controller/facility-sub-filters-controller-test.js
    • -1
    • +1
    ./controller/multiple-facility-search-filter-controller-test.js
  1. … 3 more files in changeset.
OLMIS-1045: Updated reset password routes and tests

    • -2
    • +10
    ./controller/reset-password-controller-test.js
  1. … 1 more file in changeset.
Changed auth request parameters to POST Body

Made the auth request parameters pass in the POST Body, because URL

parameters (ie password) would be visible as plain text in a server's

access log.

  1. … 1 more file in changeset.
Moved spec for login-controller

    • -118
    • +0
    ./controller/login-controller-test.js
  1. … 2 more files in changeset.
OLMIS-1040: Moved and encapsulated LoginController

Changed how LoginController is injected into OpenLMIS app because (1) I

couldn't figure it out (2) Leaving code on the global scope gets yucky

fast

  1. … 4 more files in changeset.
OLMIS-1011: Update indentation

  1. … 1 more file in changeset.
OLMIS-1011 FEOLMIS-212 Add spaces before and after '+' and remove unnecessary cleaning password

  1. … 1 more file in changeset.
OLMIS-1011 FEOLMIS-212 Change identation and use specified username and password in POST request

  1. … 3 more files in changeset.
OLMIS-1011: Log into UI using username and password

Place credentials (trusted-client: secret) into auth_server_client.json. Change login credentials to l: admin, p:password.

  1. … 4 more files in changeset.
OLMIS-925: User authenticates using Auth Service in Requisition-UI

Squashed commit of the following:

commit 6772d801c73567264ef2aa03a2c1bf63bb68c147

Author: Weronika Ciecierska <wciecierska@soldevelo.com>

Date: Tue Sep 6 10:01:45 2016 +0200

OLMIS-925: Fixed Jasmine tests after changes, fixed indentation in code

- Fixed login controller, navigation controller and header controller tests

- Fixed indentation in code

commit f9c1db156e3045079903122a7dd5182f593f1290

Author: Weronika Ciecierska <wciecierska@soldevelo.com>

Date: Mon Sep 5 15:00:02 2016 +0200

OLMIS-925: Added ability to logout and fixed logging in

- Changed requisitionServerURL to openlmisServerURL - it will hold info about location auth & requisition,

ex if openlmisServerURL = http://localhost then auth service is located under http://localhost/auth and requisition service under http://localhost/requisition.

- Made it possible to retrieve info about user from authentication service using reference data user id.

- Added posibility to logout.

- Fixed messages in logging in, added hardcoded user's rights so that navigation bar is visible after logging in.

- Changed homepage in nginx from login.html to index.html.

- Updated README.

commit 1ba2548cd29d1ae9bb67234f7cea5ac3bdd26d11

Author: Weronika Ciecierska <wciecierska@soldevelo.com>

Date: Fri Sep 2 15:55:05 2016 +0200

OLMIS-925: Added possibility to log in using UI

commit f763f42a0ec0be1e5c277827954936fed287206e

Author: Weronika Ciecierska <wciecierska@soldevelo.com>

Date: Fri Sep 2 13:28:49 2016 +0200login.html

OLMIS-925: Fixed path to mesages in locale-controller nad message-service

commit 1f33abc43ee0e1cdca31cae1bbda2c459378e6f6

Author: Weronika Ciecierska <wciecierska@soldevelo.com>

Date: Fri Sep 2 12:05:55 2016 +0200

OLMIS-925: Running requisition-UI with auth and requisition microservices

    • -17
    • +26
    ./controller/header-controller-test.js
    • -2
    • +2
    ./controller/locale-controller-test.js
    • -37
    • +43
    ./controller/login-controller-test.js
    • -28
    • +102
    ./controller/navigation-controller-test.js
  1. … 12 more files in changeset.
OLMIS-922: Added Transifex to build, migrated karma/jasmine unit testing

    • -0
    • +1
    ./controller/locale-controller-test.js
  1. … 15 more files in changeset.
OLMIS-922: Create Requisition-UI repository

    • -0
    • +146
    ./controller/facility-search-filter-controller-test.js
    • -0
    • +250
    ./controller/facility-sub-filters-controller-test.js
    • -0
    • +39
    ./controller/forgot-password-controller-test.js
    • -0
    • +41
    ./controller/header-controller-test.js
    • -0
    • +37
    ./controller/locale-controller-test.js
    • -0
    • +107
    ./controller/login-controller-test.js
    • -0
    • +208
    ./controller/multiple-facility-search-filter-controller-test.js
    • -0
    • +80
    ./controller/navigation-controller-test.js
    • -0
    • +58
    ./controller/reset-password-controller-test.js
    • -0
    • +48
    ./services/message-service-test.js
    • -0
    • +25
    ./services/navigate-back-service-test.js
    • -0
    • +560
    ./services/services-test.js
  1. … 498 more files in changeset.