spl_autoload_register(array(Bootstrap, 'autoloadClass'));
to
spl_autoload_register(array('Bootstrap', 'autoloadClass'));
cause make appear NOTICE message.
- Now when a workspace was configured for rest service both classes on workspace and core will be
exposed merging all classes with precedence of workspace classes
On Dispatcher:
- Now it is handling Cross Domain AJAX request, it is accepting requests with method OPTIONS
- Now the behaviour of rest server is modified by confuguration
- The dispatcher can be load configuraion from a processmaker core dir. for all workspaces
and for a determinated workspace
On Cli Command:
- Now it can generate api crud for processmaker root dir and a determinated workspace
- More improvements to handle correctly build request for a plugin or a workspace or core of pmos
What is Functional
- Restler thirdparty library added
- Restler integration with gulliver added
- Rest requests are dispatched by sysGeneric
- Restler autodiscover for classes that implements Restler iAuthenticate interface added
What Missing
- ProcessMaker Api implemented yet
- some rest api class are in workflow/engine/services/rest/*.php
- this is a important improvement, now we can have two configurations levels
1. Global Configuration Level (workflow/engine/config/env.ini)
2. Workspace Configuration Level (.../shared/sites/some_workflow/env.ini)
- improvement to read env's ini files once and store on session,
- if any file has been changed (verify by checksum files) that session value is updated
(removind debug print_r)
- this is a important improvement, now we can have two configurations levels
1. Global Configuration Level (workflow/engine/config/env.ini)
2. Workspace Configuration Level (.../shared/sites/some_workflow/env.ini)
- improvement to read env's ini files once and store on session,
- if any file has been changed (verify by checksum files) that session value is updated
- for some php versions date.timezone is not configurated by default, that why th problem
- on cli.php date.timezone is being configurated now, if env.ini exists, its configuration in read
Adding WebConfig file to allow IIS to rewrite rules for ProcessMaker
and modify the PATH_SEP in sysgeneric
new file: workflow/public_html/Web.config
modified: workflow/public_html/sysGeneric.php
Since the upgrade command was not using env.ini, some warnings were
raised because of missing timezone information. Moving this code to
paths.php makes sure env.ini will be used even for upgrades.