Commit Graph

59 Commits

Author SHA1 Message Date
Erik Amaru Ortiz
06ce394212 setting SYS_SKIN on REST env 2014-01-22 12:00:30 -04:00
Erik Amaru Ortiz
138559b591 FIXES on Bootstrap and Path classes
1. On bootstrap class, was added static declaration for registerClass() method
2. On Patch class was removed at top the loadClass('system') call, because this make a redeclaration error, in PHP ver 5.3.2x
   and it was moved into function that use that, now it is just loaded conditionally.
2014-01-15 12:24:25 -04:00
Erik Amaru Ortiz
428da67762 Merge branch 'master' of github.com:colosa/processmaker
Conflicts:
	workflow/public_html/sysGeneric.php
2014-01-15 11:14:59 -04:00
erik
0a02365962 typo fix in bootstrap, vendors validation messages & validation that vendors/autoload.php exists 2014-01-13 13:56:13 -04:00
Julio Cesar Laura
5e8d72c40d BUG 13552 IE issue in the tool SOLVED
- Cuando la hora del cliente difiere mucho de la hora del servidor, provoca que IE no considere como valida la cookie de la sesion por lo tanto no se puede ingresar al Sistema

- Si bien este se puede arreglar cambiando la hora del servidor o bien de la del cliente, se ha agregado una variable de configuracion a ProcessMaker en el archivo env.ini la cual deshabilita que se setee un tiempo de vida a la cookie cuando se usa el browser IE, de esta manera ya no se presenta el issue, la variable se llama "ie_cookie_lifetime" y sus posibles valores son 1 y 0, por defecto esta en 1, cuando se coloque esta variable en 0 ya no se aplica a la cookie el lifetime

NOTA.- El control de tiempo de duracion de las sesiones deberia controlarse de otra forma y no como se esta haciendo actualmente que depende del tiempo de duracion de las cookies, este cambio mas complejo requiere un refactor de la parte de autentificacion y se lo hara en futuras versiones de PM
2013-12-19 10:03:35 -04:00
Erik Amaru Ortiz
2398200adf Merge branch 'master' of github.com:colosa/processmaker
Conflicts:
	workflow/engine/classes/class.plugin.php
	workflow/engine/classes/class.pluginRegistry.php
2013-12-03 18:23:12 -04:00
Erik Amaru Ortiz
b25efdd866 Adding Rest Api Service Support
Rest Service on plugins
-----------------------

1. enable service

add the following line in plugin __constructor main class
$this->enableRestService(true);

2. Create the sources directory structure by example:
if you plugin is named myPlugin

myPlugin
    |--src
        |--Services
             |--Api
                 |--MyPlugin
                      |--Test.php

Where Test.php is a Restler class
2013-12-03 17:10:18 -04:00
Erik Amaru Ortiz
260bcb7e89 FIX for api.ini parsig file, alias section was updated 2013-12-02 16:53:08 -04:00
Erik Amaru Ortiz
a4e1ed743e Updating PM Local OAuth authorization process 2013-11-26 17:26:45 -04:00
Erik Amaru Ortiz
1faafa8ee4 Updating API Rest Dispatching, adding alias support from a conf api.ini file 2013-11-26 17:17:36 -04:00
Roly Gutierrez
65bb06ff4e BUG-13506 SOLVED La sección ADMIN / Logs, opción Cron, se queda cargando y en consola de navegador se muestra el error 500 internal Server Error. 2013-11-22 17:05:10 -04:00
Erik Amaru Ortiz
8e61053435 some updates on PM API 2013-11-07 12:37:16 -04:00
Erik Amaru Ortiz
bb3eab86d1 Bootstrap update,
* Adding posibility to load any class from /workflow/engine/src/*.php
using namespaces as relative paths inside 'src' directory

* Registering /workflow/engine/src directory for autoloading

Bootstrap::registerDir('src', PATH_HOME . 'engine/src/');
2013-11-04 13:20:30 -04:00
Erik Amaru Ortiz
8ce4be68e4 moving business model sources 2013-11-04 13:11:58 -04:00
Erik Amaru Ortiz
6eee9194db More Updates for Oauth support 2013-10-10 17:03:56 -04:00
Erik Amaru Ortiz
507101f6dd First OAth2 Functional Implementation 2013-10-09 13:16:05 -04:00
Erik Amaru Ortiz
ba39a27904 More OAuth2 updates (not functional yet) 2013-09-26 15:01:15 -04:00
Erik Amaru Ortiz
49aba0106a Updating rest base endpoit support to -> /api/<version>/<workspace>/<resource.>/... 2013-09-19 16:11:58 -04:00
Erik Amaru Ortiz
29fe5cf83a updating rest dispatching method on bootstrap 2013-09-11 10:12:44 -04:00
Erik Amaru Ortiz
286c0856d4 updates form api service 2013-09-04 16:11:33 -04:00
Erik Amaru Ortiz
78666829c8 Merge branch 'master' into michael-angelo 2013-08-30 11:32:46 -04:00
Erik Amaru Ortiz
324e0f6320 last updating on api controller dispatching 2013-08-30 11:31:59 -04:00
Luis Fernando Saisa Lopez
1c257dd01c BUG 12749 "Incrementar el valor del memory_limit..." SOLVED
- Incrementar el valor del memory_limit que viene por defecto en el env.ini y en el php.ini
- Problema resuelto, se ha incrementado de valor del "memory_limit" de 128M a 256M.
* Available from version ProcessMaker-2.5.2-testing.1
2013-08-27 16:58:13 -04:00
@sinedrik
7ddabbad91 Fixes on exception catching for SysGeneric 2013-08-23 13:23:19 -04:00
@sinedrik
59373c8ccf more updates 2013-08-23 10:03:45 -04:00
Erik Amaru Ortiz
6516c1149c FIX on 404 stating handling on API dispatching service 2013-08-22 12:59:58 -04:00
Erik Amaru Ortiz
d63fb635d6 UPDATE, Update Restler implementation ver 3.0
- First Funcional Commit to implement Restler 3.0
- PM supports now urls requests like:
	GET /api/<workspace_name>/class_name/method?param1=value1
   example:
        GET /api/workflow/class_name/mothod?param1=value1

   There is an equivalent expresion for url above

	GET /<workspace_name>-api/class_name/mothod?param1=value1
   example:
	GET /workflow-api/class_name/mothod?param1=value1

 * and all route expressions that Restler supports
2013-08-22 11:10:04 -04:00
Erik Amaru Ortiz
c4ae45fc79 FIX, preventing WARNING - setting attribute on a uninitialized object 2013-08-15 10:02:53 -04:00
Erik Amaru Ortiz
a2b850f272 FIX: Litle fix to allow load any css file from plugins 2013-06-18 13:01:42 -04:00
Victor Saisa Lopez
34ec53f91c BUG 0000 "Safe upgrade for JavaScript files of the plugins" SOLVED
- Safe upgrade for JavaScript files of the plugins's translations
- Improved programming logic for this issue
- Problem solved, has been added the code necessary for the plugins's translations
* Available from version ProcessMaker-2.5.2-testing.1
2013-06-12 16:58:48 -04:00
Brayan Osmar Pereyra Suxo
1d6eda27eb Añadi correcciones para translations para plugins.. y arreglo en la clase G 2013-06-06 16:12:05 -04:00
Julio Cesar Laura
9c3dc38390 Changing skin values in some pages from "classic" to "neoclassic" 2013-05-14 18:19:47 -04:00
Victor Saisa Lopez
cfb4f1f639 BUG 0000 "Safe upgrade for JavaScript files" SOLVED
- Added validation, when translation file is "translation.enterprise.xxxxx.js"
* Available from version ProcessMaker-2.5
2013-05-02 12:51:36 -04:00
Erik Amaru Ortiz
d750b62c83 LITLE FIX: solving issue for php 5.4.x version that have E_STRICT standard enabled by default 2013-04-30 10:49:13 -04:00
Victor Saisa Lopez
8ef92c1a8b BUG 0000 "Safe upgrade for JavaScript files" SOLVED
- New feature
- Safe upgrade for JavaScript files
- Added new feature,
- This new feature is activated when you run one of the following commands:
    $ ./processmaker upgrade
    $ ./processmaker build-js
    $ ./processmaker browser-cache-files-upgrade
- The new feature creates an attribute in the file "processmaker/workflow/engine/config/env.ini"
    Example:
    browser_cache_files_uid = "xxxxxxxxxxyyyyyyyyyyzzzzzzzzzzaa"
- After running the command, the browser should automatically cache the new files
* Available from version ProcessMaker-2.5
2013-04-25 12:42:30 -04:00
Brayan Osmar Pereyra Suxo
2b6e915789 DOC SYSTEM I added function generateFileTranslationPlugin SOLVED
I added function generateFileTranslationPlugin
2013-03-15 16:14:55 -04:00
Brayan Osmar Pereyra Suxo
96e7a055c1 DOC SYSTEM I set variable TRANSLATION for plugins SOLVED
I set variable TRANSLATION for plugins
2013-03-14 15:22:39 -04:00
Brayan Osmar Pereyra Suxo
20e8ba24d4 DOC SYSTEM I added functions to load translations of plugins SOLVED
I added functions to load translations of plugins
2013-03-13 11:15:43 -04:00
Hector Cortez
6024e77131 BUG 0000 Adjustment for the standardization of code.
- Only modified standardization of code.
2013-03-04 09:30:00 -04:00
Victor Saisa Lopez
23a7051496 BUG 0000 "Added changes to solr" SOLVED
- Added changes to solr, according to:
    https://github.com/colosa/processmaker/pull/1045/files
- Solved problem with:
    php -f reindex_solr.php
* Available from version ProcessMaker-2.0.46
2013-01-25 17:13:52 -04:00
Marco Antonio Nina
ba8f1b4083 Create a dynaform through of pmtable IMPROVEMENT
- not was create the fields of dynaform.
- Was class AdditionalTablesPeer and option "Action".
2013-01-07 14:33:01 -04:00
Marco Antonio Nina
9a812e9a7f BUG 8626 Problema con backup IMPROVEMENT
- The function no exist in boostrap.
- was add the function.
2013-01-03 12:55:15 -04:00
Victor Saisa Lopez
a73fa693f1 BUG 10190 "Sale un comentario de fallado al realizar..." SOLVED
- To upgrade the system with:
    php -f processmaker upgrade
  No complete the upgrade, can't load all system classes
- Fixed, now be load all classes with Bootstrap class
* Available from version ProcessMaker-2.0.46
2012-12-14 16:42:57 -04:00
Marco Antonio Nina
a157292688 BUG 10083 skins not being remembered after logout IMPROVEMENT
- According to the specifications.
- Was add cookie for save skin of workspace.
2012-12-14 11:43:43 -04:00
Marco Antonio Nina
0d59dccdb6 BUG 10083 skins not being remembered after logout IMPROVEMENT
- According to the specifications.
- Was add cookie for save skin of workspace.
2012-12-13 16:33:02 -04:00
ralph
a27aca481a Add fix for skin feature process. 2012-12-13 13:55:02 -04:00
ralph
eb76b2f93d Applying missed change into streamJSTranslationFile function to set en.js part of js-calendar.:q 2012-12-03 12:48:05 -04:00
ralph
4d53c8af4f Performace adds:
- jpeg MIME content.
- changing echo instead print for js and css files.
2012-11-27 13:44:02 -04:00
ralph
1d9986711e Adding fix for incomplete Installation loading. 2012-11-26 17:17:10 -04:00
ralph
b162bba543 Removing innecessary function mylog 2012-11-23 12:10:40 -04:00