Commit Graph

604 Commits

Author SHA1 Message Date
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
julceslauhub
485d14d03e Merge pull request #13 from brayanpereyra/BUG-8819
BUG 8819 Remove the config to load the list  SOLVED
2012-05-29 13:57:43 -07:00
Brayan Osmar Pereyra Suxo
0a2ecfc7f0 BUG 8819 Remove the config to load the list SOLVED
DESCRIPTION the bug hide columns SUMMARY and CASES NOTES.. this happened because load config the BD.
I removed part code to this config.
2012-05-29 12:36:38 -04:00
Victor Saisa Lopez
40915f74a8 BUG 8845 "Se aconseja adjuntar el boton de export en el submenu..." SOLVED
- The xmlFrm object of the XmlForm class has no value in the attribute "home"
- Was assigned the corresponding value in the attribute "home"
2012-05-28 12:29:04 -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
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
Victor Saisa Lopez
b636c91a28 BUG 0000 "The activation of a tab in ADMIN does not work with URL" SOLVED
- The activation of a tab in ADMIN does not work with URL (setup/main?s=PMENTERPRISE or setup/main_init?s=PMENTERPRISE)
- Solved the problem, now looks for the variable "s" in the menu to set the active tab
2012-05-15 09:09:13 -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
Erik Amaru Ortiz
86ede96961 BUG 0000 "Processes are doubling and tripling on dropdown ..." SOLVED
- On query aren't filtering by disticts pro_uid's
- adding distinct by pro_uid works fine

NOTE.- Why someone reason somebody comment a initial distinc on query, but it wasn't working fine.
2012-05-09 18:17:57 -04:00
Marco Antonio Nina
e70305d0dd BUG 9030 when you claim a case on the unassigned list the "Steps" and... SOLVED
- In the file where it addresses the url does not take intoaccount a shipping option.
- They change the addressing mode to load the menus above, plus you take two conditions, in order to load all the menus at the top that when you have a parent, not having a parent will have to address but without the menus higher for compatibility with the Outlook plugin.
2012-05-09 15:52:24 -04:00
Victor Saisa Lopez
017e33d81c BUG 0000 "Elimination of the option export xpdl" SOLVED
- It eliminated the option export xpdl
- It was improved the export process option in the list of processes
2012-05-07 13:01:40 -04:00
Erik Amaru Ortiz
4a025e4382 BUG 8856 "Migrate the Clear cache Interface from master branch" UPDATE 1
- problem found on G::rm_dir()
- fixed problem & WIN compatibility fixed too
2012-05-06 18:51:34 -04:00
Victor Saisa Lopez
ba3821a693 BUG 8845 "Se aconseja adjuntar el boton de export en el submenu..." SOLVED
- Nuevo requerimiento, agregar la opcion "Export" en el listado de procesos
- Se agrego la opcion "Export" (exportar un proceso) en la barra de herramientas y menu contextual
2012-05-03 09:41:34 -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
Julio Cesar Laura
20a116f616 BUG 8095 Plugin de Outlook despues de abrir un ouput me deja la pantalla en...
- Por alguna razon en la version de browser que usan algunas de las distribuciones de Outlook, al abrir una pagina q hace un stream como la que descarga el documento, el broser va ala pagina antes  derecibir respuesta, espor eso q muestra en blanco, y el comportamiento normal en los otros browsers es q se mantieene mostrando la ultima pagina hasta q recibe respuesta del servidor.

- Ahora se abre el documento en una nueva ventana, se probo en IE, Firefox y Chrome
2012-04-27 17:40:05 -04:00
Victor Saisa Lopez
128e71acda BUG 9056 "Con el nuevo skin de PM no se pueden crear nuevos..." SOLVED
- Corregir, esta redireccionando a el skin green
- Se resolvio el problema de redireccionamiento, ahora se redirecciona al skin actual
2012-04-26 18:36:12 -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
Victor Saisa Lopez
863956a815 BUG 9023 "Knowledgetree and ProcessMaker show error to upload some..." SOLVED
- Problem running case with field file with property value "Input" in the Dynaform, generates the following error: "This row doesn't exist!"
- Added the missing code in this section when the KnowledgeTree plugin is enabled.
2012-04-23 19:08:09 -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
374bb0d051 BUG 9006 "The changes made by process supervisors to fields in..." SOLVED
- The changes made by process supervisors to fields in DynaForms are not recorded in the Change Log

- Changes made by process supervisors to fields in DynaForms, may be viewed by a user if this is defined in "process permissions". with this the user will see the "Change Log" of a case.
- Additionally the following error was corrected:
  > Fatal error: Call to undefined method Ajax::dynaformViewFromHistory() in processmaker/workflow/engine/methods/cases/ajaxListener.php on line 42

  > The error was corrected by adding code to complete the "Change Log" in the option "View"
2012-04-23 10:16:01 -04:00
Julio Cesar Laura
e92cbb64ff BUG 8745 When defining Subprocess properties, grid, listbox, file and ... SOLVED
- Faltaba mandar un parametro
- Ahora se manda el valor faltante
2012-04-20 18:01:15 -04:00
Marco Antonio Nina
e685d4d13f BUG 9015 Cases List Order SOLVED
- In the user list to sort by any field is not ordered only the current page and so all the listing grid.
- RemoteSort attribute was added to activate the update by ajax and all you can sort the list in addition to increasing the query in ajax options which have listed.
2012-04-19 19:06:11 -04:00
Marco Antonio Nina
a6934ac535 BUG 9047 No muestra nada al ingresar a Authentication Sources, en ... SOLVED
- Se observo que habia un error en la parte de Autentication donde se ponia dos tipos de render.
- Se borro y adecuo los render.
2012-04-19 15:53:19 -04:00
Marco Antonio Nina
ce7043bf52 BUG 0000 Ajustar el texto en Chrome en Authentication Sources... SOLVED
- Cambio de pagedTable.
2012-04-19 11:58:03 -04:00
Marco Antonio Nina
17e85c775a BUG 8821 Ajustar el texto en Chrome en Authentication Sources... SOLVED
- Al importar usuarios la tabla del pagedTable sobresale a los margenes establecidos.
- Se modificaron los margenes para que se desconfigure en los 3 navegadores Firefox, Chrome, Ie.
2012-04-19 11:41:18 -04:00
Julio Cesar Laura
6b83af23fe BUG 8953 Menu para importar plugins desaparece cuando se importa un archivo...
- Al mostrar el mensaje de error se estaba usando simplemente un formulario normal
- Se cambio el comportamiento cuando existen errores al importar un plugin, se esta redireccionando de nuevo al listado de plugins disponibles y se muestra un mensaje en ExtJS con el error
2012-04-19 09:37:10 -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
Julio Cesar Laura
a663188f84 BUG 000 Se borro una llave innecesaria en el ultimo cambio realizado 2012-04-17 12:14:34 -04:00
Julio Cesar Laura
8811f605ae BUG 000 Validacion para prevenir un error JS cuando el objeto parent no existe
- Cuando el contenido de un iframe (como los listados) es abierto en una ventana nueva y se accede
a los casos da un error JS porque se trata de acceder a un metodo del parent, que en este caso no existe

- Se agrego una validacion para prevenir este error
2012-04-17 12:10:57 -04:00
Alvaro Campos
d12c29d277 BUG 8919 La opción "user experience" se puede aplicar al usuario Admin SOLVED
- en la pestaña de grupos, si admitia asignar "Simplified" en "User Experience" a grupos que tienen algun usuario administrador
- se añadio un case que filtre esos usuarios.
2012-04-16 10:20:20 -04:00
Fernando Ontiveros
84dbad7617 BUG 0000 adding memcache to processList
fixing telefonica slow issues
2012-04-12 17:35:23 -04:00
Marco Antonio Nina
543b98f2fe BUG 8833 En IE9 y CHROME ambos idiomas, la lista de pasos de duplica... SOLVED
- Al revisar el panel se advirtio que en el archivo cases_ToReviseOutputDocView.php se ejecutava un js creando el panel.
- Se verifico que al borrar el js no afecte a otros procesos que puedan estar llamando a este file.
2012-04-12 11:45:45 -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
Marco Antonio Nina
22643ff2f2 BUG 8917 No error message displayed if a case executes an external... SOLVER
- In the case step was not performed for external verification step, the case if a plugin existed or not.
- Added a verification whether or not there is a plugin for an external step, plus add a label in os environment.
2012-04-10 12:27:13 -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
Marco Antonio Nina
1c3634ce75 BUG 8835 In all browsers to choose an output only. Doc or. Pdf Displa... SOLVED
- It was verified that no distinction was being the type of file that was downloaded.
- Added code to identify the Tido powerful file so just download and display the correct download link.
2012-04-05 15:59:49 -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
Victor Saisa Lopez
0b7c5060c4 BUG 8879 "Need help with reference to the colors of the tasks..." SOLVED
- Feature, colors panel in processMap for the "tracker"
- Added colors panel in processMap for the "tracker"
2012-04-04 11:55:37 -04:00
Victor Saisa Lopez
cec40efb8a BUG 8775 Add validation to prevent deletion of tasks... SOLVED
- Problem, a task is deleted if you have or not cases
- Added validation, that prevents a task is deleted if you have cases
2012-04-03 18:49:15 -04:00
Hector Cortez
ffc2a27135 BUG 8863 Migrate the User Profile interface from master branch version SOLVED.
- Migrate the User Profile interface from master branch version
- User Profile ExtJS migrated from the master branch.
2012-04-02 19:18:17 -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
Erik Amaru Ortiz
bd2aef2e66 BUG 8875 "ExtJS based Login & Main ProcessMaker interface" (1st commit) 2012-03-29 16:42:09 -04:00
Hector Cortez
53689d53c1 BUG 8829 PM 2.0 testing 16 Forgot Password genera un Fatal Error SOLVED.
- En la version de PM 2.0 testing 16 cuando se habilita la opcion de forgot password y este despliega un mensaje de fatal error.
- Correción en el mensaje de respuesta de error.
2012-03-28 15:54:07 -04:00
Hector Cortez
9cd2aa97a0 BUG 8856 Migrate the Clear cache Interface from master branch SOLVED.
- Migrate the Clear cache Interface from master branch.
- Clear cache Interface ExtJS migrated from the master branch.
2012-03-28 09:41:50 -04:00