App-MFILE-WWW

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  communicate with the REST server; editEmpProfile is still WIP; menu system
  still needs work (ACL profile, incorporate minimenu into form) 

0.039  2014-08-24 20:47 CEST
- get rid of lots of code made obsolete by the recent redesign

0.040  2014-08-24 22:38 CEST
- Build.PL: eliminate Mason dependency
- MANIFEST: eliminate comp/, data/; add lib/App/Dochazka/WWW/HTML.pm
- WWW.pm: eliminate exports, Mason
- HTML.pm: new module replaces Mason templates
- Resource.pm: convert from Mason to HTML.pm
- status: works without Mason

0.041  2014-08-25 08:51 CEST
- WWW.pm: write POD; cleanup; eliminate 'verbose' parameter to init routine;
  move 'init_session' to Resource.pm as it is used there only
- Resource.pm: eliminate dependency on WWW.pm 

0.042  2014-08-25 10:22 CEST
- started working on JavaScript code
- rename 01init.js to 01initlib.js
- Resource.pm: log body of all incoming requests
- 01initlib.js: refactor MFILE.lib.AJAX so it takes an object instead of
  three variables; bring in contents of 02loginDialog.js; display a polite
  message when user logs out

0.043  2014-08-25 12:39 CEST
- js/: rearrange code

0.044  2014-08-25 16:11 CEST
- implement dynamic generation of "simple forms"
- simple forms consist of a title, a set of read-only span elements, 
  a set of read/write input elements, and a minimenu
- each form entry/element has an ACL profile
- individual menuItems also have ACL profile
- miniMenu logic autodetects presence of additional input elements above
  'sel' and enables user to use TAB and SHIFT-TAB to navigate the entire
  form
- ready to implement empProfileEditSave

0.045  2014-08-25 20:26 CEST
- implementing empProfileEditSave (WIP)

0.046  2014-08-25 22:13 CEST
- js/: start refactoring to take advantage of prototypes and methods

0.047  2014-08-26 13:40 CEST
- js/: complete refactor of "targets" object model underway; "targets"
  are simple menus, mini menus, simple forms, and direct actions;
  all targets "inherit" from the MFILE.target prototype; now being 
  much more careful about the order in which I define objects so I
  don't refer to objects that don't yet exist; hopefully this change
  will streamline the code and facilitate addition of additional targets
- HTML.pm: get names of JavaScript code files from site configuration
  parameter, instead of having them hardcoded
- status: login, logout, and simple menus are working again; rest is broken

0.048  2014-08-26 14:49 CEST
- MANIFEST: update JavaScript source files
- 002lib.js: expand MFILE.lib.AJAX to take success and failure callbacks
- js/: change all MFILE.lib.AJAX calls to send success and failure callbacsk
- 011simpleMenu2.js: use anonymous function call to loop over all simple
  menus
- status: ready to re-implement simple forms

0.049  2014-08-26 15:52 CEST
- WIP refactoring JavaScript code for the new 'target' prototype
  and to use object references wherever possible

0.050  2014-08-27 16:18 CEST
- ironing out bugs in the JavaScript code

0.051  2014-08-27 21:22 CEST
- finally finish migration to new object model (simple forms implementation)
- implement empProfileUpdate (formerly empProfileEditSave)
- split off 'priv' and 'schedule' properties from MFILE.currentEmployee into
  MFILE.currentEmployeePriv and MFILE.currentEmployeeSchedule, respectively,
  so the MFILE.currentEmployee object's properties match those of the employee
  object in the REST server's data model
- remove 'priv' from empProfile and empProfileEdit, as it is not a property
  of the employee data model object and it's presence here might confuse users   

0.052  2014-08-27 22:31 CEST
- add 'new employee' simple form
- 013simpleForm2.js: fix some minor issues in makeSimpleFormSource function

0.053  2014-08-28 10:03 CEST
- 006simpleForm1.js: add 'dispEmployee' target; add preamble text to 'empProfileEdit' target; 
  Nick is a required field, so it gets a star
- 011simpleMenu2.js: clear '#result' before displaying the menu
- 013simpleForm2.js: text of Back menu entry is now configurable; add 'dispEmployee' target;
  makeSimpleFormSource display preamble; menu selection defaults to 'X' (back) when there
  are no other menu entries
- 110empProfile.js: add 'dispEmployee' target; newEmployee target now calls 'dispEmployee'
  upon successful insert

0.054  2014-08-28 16:16 CEST
- WWW/Resource.pm: trying to tame JSON encoding/decoding
- js/: start working on employee search/browse
- status: implemented new 'Search employee' menu item, simple form for
  getting search key, AJAX call to REST server, "browse" results in cases
  when 0 or 1 employees found

0.055  2014-08-28 22:29 CEST
- js/: first shot at employee search functionality for administrators: simple 
  form gathers a nick search key (e.g. 'ro%') which matches 'n' records,
  which can then be displayed/browsed using a clumsy set of forms -- it is 
  enough to see that:
  (a) it can be done using the simple forms, but
  (b) realistically, a new widget will be needed

0.056  2014-08-29 08:53 CEST
- js/: add 'changePassword' target
- status: changePassword works, but REST server does not allow passerbies and
  inactives to change their passwords -- need to look at that

0.057  2014-08-29 13:42 CEST
- Resource.pm: 'rest_req' now returns entire HTTP::Response object instead
  of just its 'code' property: adapt our code to handle that; AJAX calls 
  return HTTP response code _and_ message



( run in 0.770 second using v1.01-cache-2.11-cpan-39bf76dae61 )