Commit Graph

611 Commits

Author SHA1 Message Date
Herbert Saal Gutierrez
1b2747987e Merge remote branch 'upstream/master' into BUG-9180 2012-05-29 17:13:54 -04:00
Herbert Saal Gutierrez
5cf35c71d9 BUG 9180 Correct Solr update and counters implementation
The following changes were made:
- fix update Solr index process
- implement casesenuLoader using Solr server to display counters
- fix cron missing reference to system class
- add function and classes documentation
2012-05-29 17:07:53 -04:00
Alvaro Campos
468bd54d13 BUG 9214 Los campos que son creados en modo vista no estan en modo vista solved
- was removed the default value of mode "edit" to create a dynaform, now is empty this option mode=""
2012-05-29 16:39:15 -04:00
Herbert Saal Gutierrez
2070917313 BUG 0000 Correct format date without hour for php 5.2 support
Correct format date without hour for php 5.2 support
2012-05-16 15:45:32 -04:00
Herbert Saal Gutierrez
fc2f25d2ba BUG 0000 Replace date_create_from_format function for Php 5.2 support
Replace date_create_from_format function with temporal solution for
Php 5.2 support
2012-05-16 15:45:32 -04:00
Herbert Saal Gutierrez
920d4908bf BUG 0000 Support for php 5.2 in Solr implementation
Add support for php 5.2 in Solr implementation:
- Exception function has two parameters
- use of function call_user_func
2012-05-16 15:45:32 -04:00
Marco Antonio Nina
6a8c61effd BUG 8903 Status of paused cases does not change SOLVED
- It was verified that the table was not updated application status.
-Was modified and functions pauseCase unpauseCase tate to change the application in the table.
2012-05-15 19:08:58 -04:00
Herbert Saal Gutierrez
87cfb471a9 BUG 0000 'Reverting overwritted changes on system & cases class' 2012-05-15 18:17:01 -04:00
Herbert Saal Gutierrez
7e07db9348 BUG 0000 Change Solr configuration environment variables
Now the Solr configuration variables are read from the env.ini file that
is stored in the shared//sites/SYS_SYS/ folder.

The system class is used to get the environment variables using the
solrenv function.
2012-05-15 17:41:12 -04:00
Victor Saisa Lopez
d4fcb868cd BUG 8951 "In version 2.0.39, case status never changes to 'COMPLETED'" SOLVED
- In the APPLICATION.APP_STATUS field in the database, the status never changes from "TO_DO" to "COMPLETED" when finishing the case
- The problem was caused by the solution to bug 8169, see http://bugs.processmaker.com/view.php?id=8169
- Solved problem, now APPLICATION.APP_STATUS field, changes to "COMPLETED" when finishing the case
2012-05-15 17:32:30 -04:00
Erik Amaru Ortiz
e66ceb6e0a BUG 0000 "improvements on System::getSystemConfiguration() function"
- 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
2012-05-15 17:01:21 -04:00
Erik Amaru Ortiz
1a8545df8a BUG 0000 herbert> SOLR implementation in PMOS2
Solr support in PMOS2 includes:
Functionality:
- Implementation of Home views (Inbox, Draft, Participated, Unassigned). The views return fast results.
- Include read, unread, all,  and process filter in inbox View.
- Include process filter in draft view.
- Include started by me, completed by me, all, process, and status filter in participated view.
- Include process filter in unassigned view.
- Improved search functionality (search in user defined variables): Use the following syntax to search in process (user defined) variables. {variable_name}:{search_word} ex1:"causal:20*" where causal is the variable defined by the user.
  + Use of wildcards in search: Use * as wildcard at the begin or end of word
  + Multiple conditions in search: Separate multiple conditions by space ex2:"Materiales causal:20*" means that we are searching for the word Materiales and the causal that begin with 20.
  + Search in dates (interval ): Format=> {variable_date}:[yyyy-mm-dd TO yyyy-mm-dd]
    Local date not UTC date required
    ex: FechaRegistro:[2011-04-15 TO 2011-04-30] //registros con fecha entre el 2011-04-15 y el 2011-04-30.
  + we can use the wildcard *:
    ex: FechaRegistro:[* TO 2011-04-30] //registros con fecha menor o igual a 2011-04-30.
    FechaRegistro:[2011-04-15 TO *] //registros con fecha mayor o igual a 2011-04-15.
  + Search of exact phrases. format: {variable}:"frase a buscar"
    ex: Cliente:"Jesus Marin"

- Application update function.
	+ The function is called every time a change is detected in the application's data including the related delegations.
- Use of cache to improve performance

Not included:
- Order of task, sent by, and due date columns.

Pending:
- Advanced search view using faceted lists.
2012-05-15 10:56:48 -04:00
Marco Antonio Nina
fc9690c526 BUG 9094 PMFGenerateOutputDocument() doesn't work for Output Document... SOLVED
- By using the function PMFGenerateOutputDocument was not versioned documents.
- According to the analysis was appropriate to change the $ for SUID for $ outputID as only used for the query to find if the document existed.
2012-05-14 16:20:45 -04:00
Marco Antonio Nina
409f88cf3f BUG 8898 Conteo de nú de archivos subidos no es el correcto... SOLVED
- Se creo un nuevo template para esta opcion donde calcula el numero sin contar con el file "..".
2012-05-11 15:52:50 -04:00
Victor Saisa Lopez
bcec188036 BUG 9145 "Text instruction in Trigger Wizard for PMFSendMessage()..." SOLVED
- Text instruction in Trigger Wizard for PMFSendMessage() function is wrong, asks for semicolon instead of coma to separate emails
- Replaced the word "semicolon" with the word "comma"
2012-05-11 12:34:06 -04:00
Victor Saisa Lopez
c4af5f8d23 BUG 9040 "The Task column doesn't update whith the last changes on..." SOLVED
- The APP_CACHE_VIEW table does not contain the changes made in the CONTENT table when you rename processes/tasks
- The name change in processes/tasks is now reflected in the APP_CACHE_VIEW table
- Note.- The APP_CACHE_VIEW table contains values ..for only one language
2012-05-10 11:06:44 -04:00
Julio Cesar Laura
c62f18b054 BUG 9035 En process permissions no esta mostrando los grupos que existen en...
- En algun momento se cambio la funcion "getAllGroup" de la clase "processMap" y ahora retorna otra estructura.
- Se adapto el code del formulario de creacion de permisos para que funcione con la nueva estructura de la respuesta de la funcion
2012-05-10 10:13:07 -04:00
Victor Saisa Lopez
d30b5a0f2b BUG 8840 "Next Step and Previous Link are missing when HTML is enable" SOLVED
- Previous and Next step link not found when HTML is enable
- Uncommented lines in the method "get_htmlcode" where this "__DYNAFORM_OPTIONS" this for add the links, when it generate the html file in the HTML tab
- In existing dynaforms with the enabletemplate=1 does not affect the change will only affect the new dynaforms as you have enabletemplate=1 generate the html file with the corresponding links
2012-05-09 12:57:22 -04:00
Victor Saisa Lopez
f9b7c0ecac BUG 8962 "The Events not being executed on 'cron.php'" SOLVED
- Problem in "Resending emails"
- Not being properly authenticating with the mail server
- Solved the problem with authentication with the mail server
- The problem with the file "processmaker/workflow/engine/bin/plugins/ldapadvancedbck.php" could not replicate, because this file does not belong to any plugin of the enterprise-plugin, it is noted that the cron.php runs all the files that are on "processmaker/workflow/engine/bin/plugins" and uses the class "...ClassCron" for each file, executing the corresponding method
2012-05-04 12:01:42 -04:00
Hector Cortez
8a3936c46b BUG 9098 Migrate Import Process to ExtJS SOLVED
- Migrate Import Process in Desiggner to ExtJS (from master branch).
- Import Process ExtJS migrated from the master branch.
2012-05-02 18:17:17 -04:00
Marco Antonio Nina
80045f99df BUG 9043 Variable for Case Notes content needed SOLVED
- Se crearon varias funciones para este caso.
- La funcion getCaseNotes en la class.case.php con los parametros applicationID, type que es la forma que quiere que se devuelvan los datos, puede ser array, objetc, string por defecto esta en array, y userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- Se modifico la funcion getNotesList para poder traer las notas por un determinado usuario y por defecto recupera las notas de todos los usuarios.
- en class.pmFunctions.php se creo la funcion PMFGetCaseNotes con los parametros applicationID, type que es la forma que quiere que se devuelvan los datos, puede ser array, objetc, string por defecto esta en array, y userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- En class.wsBase.php la funcion getCaseNotes con los parametros applicationID, userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios, esta funcion nos devuelve un array con los fieds en minuscula.
- En soap2.php getCaseNotes donde se tienen los siguiente parametros: sessionId, se necesita iniciar una session para poder utilizarlo, applicationID, userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- Se adiciono la funcion para utilizarlo en SoapServer.
- En wsResponse se creo un nuevo template para la respuesta del webservice wsGetCaseNotesResponse con los campos status_code, message, notes, timestamp.
- En pmos2.wsdl se agregaron los datos necesarios para la salida correcta del webservice.
2012-05-02 09:56:30 -04:00
Hugo Loza
6d7a14a5f0 BUG 9090 ZImbra Trigger Issues
Now all Triggers uses in correct way Server param and Upload trigger does not use any more http_request instead use curl.
2012-04-27 16:39:51 -04:00
Victor Saisa Lopez
b1c122d7a5 BUG 9056 "Con el nuevo skin de PM no se pueden crear nuevos..." SOLVED
- En la version processmaker-2.0.40-testing.3 no se puede crear nuevos workspaces
- El problema ya esta resuelto, para mas informacion ver el siguiente commit http://git.colosa.net/?p=processmaker.git;a=commitdiff;h=9763b67fa7d26f14ac5afb7a851604539d96122f
- Se realizo cambios para el correcto funcionamiento del checkbox "Drop database if exists"
2012-04-26 18:10:37 -04:00
Victor Saisa Lopez
55ac075100 BUG 8879 "Need help with reference to the colors of the tasks on..." SOLVED
- The colors in the trackerLogin processMap are different to the processMap of a normal user
- The colors in the trackerLogin processMap are equal to the processMap of a normal user
2012-04-25 19:05:56 -04:00
Victor Saisa Lopez
4b8d867af3 BUG 8984 "PMFNewCaseImpersonate(), WSNewCaseImpersonate() and..." SOLVED
- The PMFNewCaseImpersonate(), WSNewCaseImpersonate() and newCaseImpersonate() web service, do not return the UID and number of the new case like PMFNewCase(), WSNewCase() and newCase()
- It improved the code of the PMFNewCaseImpersonate method, for to returns the UID of case, as PMFNewCase
- It improved the code of the WSNewCaseImpersonate method, for to returns the UID of case, as WSNewCase
- Corrections made in the methods "Simple Trigger Web Services", including the files involved
2012-04-25 17:19:54 -04:00
Marco Antonio Nina
2cce94b031 BUG 8764 Al exportar procesos con nombres largos, no se visualiza to... SOLVED
- Al revisar la forma de exportacion se vio que para poder guardar un archivo el maximo del path mas el nombre del archivo  no deberia de sobrepasar los 256 caracteres.
- Se realizo la validacion para truncar el nombre del archivo cuando se llegue al limite, para ambos archivos .pm y .xpdl.
2012-04-25 09:33:46 -04:00
Marco Antonio Nina
7badf95c7a BUG 9014 Variable SYS_CASE_PRIORITY no funciona apropiadamente SOLVED
- La variable SYS_CASE_PRIORITY se estaba hardcoded en prioridad 3 - Normal.
- Se pusieron validaciones para que se pudiera utilizar la prioridad de acuerdo con la variable.
- La variable SYS_CASE_PRIORITY ahora se setea manualmente ya no se crea de manera automatica.
2012-04-24 10:57:31 -04:00
Victor Saisa Lopez
9df68b5307 BUG 8973 "Replace all instances of json_encode() and json_decode()..." SOLVED
- Problems with functions json_encode and json_decode in PHP 5.2
- Replace json_encode and json_decode with G::json_encode and G::json_decode
2012-04-23 12:34:16 -04:00
Hector Cortez
b623e8577b BUG 8671 PM. 2.0 -Testing.13: Error de traducción
- Al asignar un nuevo usuario a una tarea, la ventana posee labels en ingles.
- Adjustments several in the hardcoded in ExtJS labels.
2012-04-23 10:27:09 -04:00
Victor Saisa Lopez
e92bde8b9e BUG 8985 "Update comments for the PMFDerivateCase field to include..." SOLVED
- The Trigger Wizard doesn't include the fourth parameter $sUserLogged for the PMFDerivateCase() function
- Added in the trigger wizard the fourth parameter $sUserLogged for the PMFDerivateCase() function
2012-04-20 11:06:27 -04:00
Victor Saisa Lopez
c3fff44cd1 BUG 7225 "Existe un problema al adicionar una tarea" SOLVED
- Al adicionar una tarea en un proceso en un determinado idioma no toma en cuenta la numeracion correspondiente
- En el idioma ingles e adicionan dos tareas en un proceso, luego se cambia al idioma españal adicionar una tarea esta se agrega con la etiqueta "Tarea 2", lo correcto era "Tarea 3"

- Se cambio el algoritmo de generacion de la etiqueta para una tarea, el algoritmo toma en cuenta la numeracion de las tareas no importando el idioma, tambien el algoritmo toma en cuenta el formato de la etiqueta de una tarea (G::LoadTranslation('ID_TASK') . ' ' . $iTaskNumber), se debe tener en cuenta que el idioma por defecto es el ingles (en) el cual tiene mayor prioridad que los otros idiomas. Tomar en cuenta los siguientes casos:

  * Se crea un nuevo proceso
    Idioma ingles se adicionan dos tareas -> "Task 1", "Task 2" (2 tareas)
    se cambia a españy se adiciona una tarea, se tienen -> "Task 1", "Task 2", "Tarea 3"

  * Se crea un nuevo proceso
    Idioma ingles se tienen las siguientes tareas -> "Task 4", "Task 5", "Task 6" (3 tareas)
    se cambia a españy se adiciona una tarea, se tienen -> "Task 4", "Task 5", "Task 6", "Tarea 7"

  * Se crea un nuevo proceso
    Idioma ingles se tienen las siguientes tareas -> "Task One", "Task Two", "Task 4" (3 tareas)
    se cambia a españy se adiciona una tarea, se tienen -> "Task One", "Task Two", "Task 4", "Tarea 5"

  * Se crea un nuevo proceso
    Idioma ingles se tienen las siguientes tareas -> "Task One", "Task 2", "Task Two", "Task Three" (4 tareas)
    se cambia a españy se adiciona una tarea, se tienen -> "Task One", "Task 2", "Task Two", "Task Three", "Tarea 5"
2012-04-19 10:28:02 -04:00
Victor Saisa Lopez
3f9c2fb7a0 BUG 8925 "PM 2.0.39 testing 3 Al eliminar el plugin enterprise desde..." SOLVED
- Al eliminar el plugin enterprise en un workspace, no se elimina del registro de plugins en los demas workspaces, quedando registros de los plugins en el "plugin.singleton" en cada workspace
- Al eliminar un plugin en un workspace se eliminan tambien los registros en los demas workspaces, se ha implementado la accion "uninstall" para los plugins, ahora al eliminar un plugin se llama a su metodo "uninstall" si esta definido
2012-04-18 11:35:02 -04:00
Alvaro Campos
b666ccbbf9 BUG 8530 Text changes solved
- has been modify texts required !
2012-04-16 11:59:07 -04:00
Julio Cesar Laura
3a498613d1 BUG 8969 Mejorar el versionamiento en Dashboards
- La version de los dashlets siempre estaba mostrando 1.0, el cual es el valor por defecto
- Ahora cada clase (dashlet) puede tener una version diferente que se ira modificando dependiendo de los cambios futuros q existan
2012-04-16 10:48:25 -04:00
Julio Cesar Laura
9297940b8b BUG 8968 Desaparecen todos los dashlets cuando es borrado un grupo de usuari...
- Cuando un usuario/grupo/departamento era borrado y tenia dashlets asignados da un error al generar el listado y no muestra ningun resultado
- Se agregro una validacion para que no de el error y el registro "muerto" es eliminado
2012-04-13 18:43:52 -04:00
Julio Cesar Laura
02741317b2 BUG 8966 Mensaje "fatal error" en un custom drill down cuando se deshabilita...
- Faltaba agregar una validacion en el formulario de edicion en caso de que la clase del dashlet haya sido desactivada o borrada
- Ahora se redirecciona de nuevo al listado y se muestra un mensaje de error que indica que el objeto no existe y que posiblemente
el plugin relacionado haya sido desactivado
2012-04-13 16:13:19 -04:00
Erik Amaru Ortiz
412967ce18 BUG 8978 "Upgrade de la version 2.0.39 a la version 2.0.40 no ..." SOLVED
- 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
2012-04-12 18:47:00 -04:00
Fernando Ontiveros
84dbad7617 BUG 0000 adding memcache to processList
fixing telefonica slow issues
2012-04-12 17:35:23 -04:00
Victor Saisa Lopez
848f1e1abc BUG 8938 "PM 2.0.39 testing 3 Al instalar la version enterprise 1.4..." SOLVED
- When install the plug-in enterprise-1.4 and upgrade to version enterprise-2.0 generate one "Fatal error"
- Added methods in the core of processmaker
- Added code in the plug-in enterprise-2.0 to uninstall the previous version automatically
2012-04-12 12:17:46 -04:00
Marco Antonio Nina
ae20dfb712 BUG 8932 Untranslatable strings Information process Information... SOLVED
- It was found that had several labels that are hardcoded.
- Changed hardcoded labels reusing some existing labels and some things were created some labels.
- labels created: ID_INIT_DATE(Init Date), ID_OVERWRITE(Overwrite),ID_BROWSE(Browse),ID_UPLOADING_TRANSLATION_FILE(Uploading the translation file...),
ID_EVALUATION_RESULT ([Success] Evaluation result)
- Labels reused: ID_TITLE, ID_DESCRIPTION, ID_DUE_DATE, ID_FINISH_DATE, ID_SEND, ID_UPLOADED_DOCUMENTS, ID_GENERATED_DOCUMENTS, ID_FILE, ID_FIRST_NAME,
ID_LAST_NAME,ID_ACTIVE,ID_INACTIVE, ID_MSJ_REPORSTO
- image for Starting a case ...
it is labeled translation.ID_TITLE_START_CASE which works only if you change the language to es-ES
-
2012-04-12 09:12:17 -04:00
Erik Amaru Ortiz
bc79391223 BUG 8875 "Feature: New ExtJS based Login & Main ProcessMaker inte..." SOLVED
- windows on php ver. > 5.3.8 compatibility added
2012-04-11 11:18:40 -04:00
Erik Amaru Ortiz
32eace4cee BUG 0000 Some Fixes like unversioning index.html, cleaning up of sysGeneric 2012-04-09 18:50:32 -04:00
Victor Saisa Lopez
dbaa10be2d BUG 8765 "Problema al descargar documentos del Processmaker cuando..." SOLVED
- When the plugin is enabled Knowledgetree displays an error when you download the file
- Was added the necessary code to download the file when the plugin Knowledgetree is enabled
- Also added code in the plugin Knowledgetree, for this change to work properly
2012-04-05 17:11:50 -04:00
Marco Antonio Nina
9a1c3d0b39 BUG 8939 There's a warning when assign an user to some task SOLVED
- Showed a modification in the function getAllGroup which changes the whole structure due to commit 917a1ac704.
- Changed foreach structure to explore the new listing.
2012-04-05 17:00:14 -04:00
Erik Amaru Ortiz
561832bb06 BUG 8875 "Feature: New ExtJS based Login & Main ProcessMaker inter..." 3rd
- fixed compatibilities to user default redirection after login
-  user experience simplified compatibilities with uxmodern interface
2012-04-05 12:54:12 -04:00
Alvaro Campos
917a1ac704 BUG 8792 Paginación de tamaño 20 en los grupos de usuarios no funciona SOLVED
- no funcionaba correctamente la paginacion en el listado de grupos.
- se soluciono añadiendo a la consulta el limite y el inicio del listado.
2012-04-05 09:17:12 -04:00
Erik Amaru Ortiz
55616696b7 BUG 8875 "Feature: New ExtJS based Login & Main ProcessMaker inter..." DONE
- a complete refactoring on skingEngine bootstrapper, now this is a class
- the mvc templatting engine was updated to work perfectly with templates that is using extjs engine
- a new "unmodern" was added to contains the new pmos modern main interface
2012-04-04 18:02:32 -04:00
Alvaro Campos
03b6a3ba11 BUG 8803 warnings y notice al asignar grupos cuando no existen grupos SOLVED
- warnings y notice al asignar usuarios a una tarea cuando no existen grupos creados
- se valido la respuesta de grupos vacios.
2012-04-04 12:41:49 -04:00
Marco Antonio Nina
70cbd8c9de BUG 8764 When exporting processes with long names, not display all el SOLVED
- When the title is too long the window is offset by the scroll bar to see a wrong way and also the title.
- Molding was conducted in the processmap title and also the link generated in the process_export to trim the name according to the box you have.
2012-04-02 16:14:50 -04:00
Julio Cesar Laura
1ccc82e440 BUG 8745 When defining Subprocess properties, grid, listbox, file and ...
- These fields are ommited when the list is generated
- An optional parameter was added, which if it is on "1" includes multiple selection fieds: such as listbox, checkgroup and grid
- File field can't be included becuase it's necessary to define first how files will be copied if we decide to include it later
2012-04-02 15:34:34 -04:00