lemonldap-ng/lemonldap-ng-manager
Xavier Guimard 537d5d2394 Move end-to-end test to root
New target also created in Makefile: `e2e_test`
NB: to launch it, install protractor. For example:

    npn install -g protractor && \
    webdriver-manager update
2015-12-07 20:56:39 +00:00
..
eg Replace Plack::Handler::Apache2 by mod_fastcgi 2015-12-02 22:28:05 +00:00
lib/Lemonldap/NG Fix tests on session backend and on cookie name (#820) 2015-10-26 18:23:25 +00:00
scripts Replace temporary hook to set {{portal}} and {{domain}} scope variables 2015-07-22 19:41:37 +00:00
site Work on UI for notifications explorer (#LEMONDLAP-820) 2015-11-03 10:01:25 +00:00
t make tidy 2015-10-22 08:40:12 +00:00
.bowerrc Set bower path 2015-07-09 17:01:30 +00:00
bower.json Update js dependency versions 2015-07-09 17:02:27 +00:00
Changes Update Changes and report trunk copyright changes into 1.2 2013-01-31 06:23:14 +00:00
KINEMATIC.md Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
Makefile.PL Replace version 2.00 by 2.0.0 2015-04-15 14:18:38 +00:00
MANIFEST Work on UI for OpenID Connect (#820) 2015-10-23 15:39:29 +00:00
META.yml Replace version 2.00 by 2.0.0 2015-04-15 14:18:38 +00:00
README Update copyrights 2015-06-18 11:00:24 +00:00
README.md Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
REST-API.md Import and adapt https://github.com/guimard/angular-lemonldap-ng-manager.git 2015-05-14 06:44:38 +00:00
TODO.md Update todo list 2015-12-02 22:28:06 +00:00

angular-lemonldap-ng-manager

This is just a POC to build an angular based manager for Lemonldap::NG.

See LemonLDAP::NG website.

Install

git clone https://github.com/guimard/angular-lemonldap-ng-manager.git
cd angular-lemonldap-ng-manager
npm install

Start servers

npm run perlserver
npm start

MVC

  • The view is managed by :
    • index.html for HTML building
    • some other html files for forms ?
    • struct.json who gives the tree position for each configuration element and requests to do
    • translate.json (which will be delivered by a CGI to choose current language)
  • The controller is splitted in 2 pieces :
    • client side in js/manager.js, based on ANgularJS, it provides the link between the DOM and the CGI. It manages:
      • downloads of JSON datas
      • translations
      • form display depending on data types
    • server side, based on PSGI, it provides the link between network and configuration. It will be able to respond to 3 types of rest queries:
      • key values
      • hash keys for this type of nodes
      • hash content
  • The model (datas) is:
    • the current configuration
    • the modified datas (client side only or both to be able to notify changes to other administrators ?)