Changes for version 0.252 - 2014-11-06
- Build.PL: require App::Dochazka 0.181 for new boilerplate code
- schedule_Config.pm: rename '/schedule/intervals/:sid' to '/schedule/sid/:sid'
- dbinit_Config.pm: add a trigger to make immutable/unupdatable the 'schedule' field of the 'shedules' table
- add a 'SQL_SCHEDULE_UPDATE' statement to support updates on the 'schedules' table
- replace calls to 'expurgate' method with 'TO_JSON'
- Dispatch/Schedule.pm: implement _intervals_get and _schedule_post dispatch targets and '_update_schedule' routine adapted from Employee.pm
- Model/Shedule.pm: override the boilerplate 'compare' method for this model because the 'disabled' field needs special handling; implement an 'update' method
- Resource.pm: fix a debug message
- t/107-schedule.t: add test case for 'update' method
- t/dispatch/intervals.t: add GET test case for '/schedule/sid/:sid' resource
Documentation
App::Dochazka::REST server startup script
Modules
Dochazka REST server
path dispatch
ACL module
path dispatch
path dispatch
path dispatch
path dispatch
Shared dispatch functions
LDAP module (for authentication)
activity data model
Employee data model
activity intervals data model
lock data model
privilege history functions
schedule history functions
object class for "scratch schedules"
schedule functions
functions shared by several modules within the data model
HTTP request/response cycle
Test helper functions
miscellaneous utilities
date/time-related utilities
database handle module (parent of data model classes)