Commit Graph

764 Commits

Author SHA1 Message Date
Herbert Saal Gutierrez
dce762b112 BUG-9689 Improve Solr performance
Improve Solr performance, reducing SQL queries getting delegation data.
now only one request to the database is required to get all the reindex
information.

Add support of search using date fields in advanced search.
the field:DEL_LAST_UPDATE_DATE is used for this purpose.

Add debug information that must be enabled in the APPSolr class.
2012-09-12 09:32:53 -04:00
Erik Amaru Ortiz
9b74ddca00 PluginRegistry class fix, Adding missing unregister method 'unregisterRestService()' on disablePlugin() 2012-08-28 12:08:55 -04:00
Erik Amaru Ortiz
6e5c72d00d Restful Feature,
- made some improvements to read & generate config file
- now the rest-gen bin can be generate rest api for a plugin from a <plugin-name>/config/rest-config.ini
conf file.
- plugins should have a directory services/rest containing all rest classes, like PM structure at CORE_PATH.
2012-08-27 10:48:32 -04:00
Erik Amaru Ortiz
ce21ee6454 PM Rest Feature: added plugins support & more improvements
from a plugin a rest class can be registered now:

on setup method add the following:
---
$this->registerRestService('Sample', [optional string: $path]);
--

and create the folder   PATH_PLUGIN . /your_plugin/classes/rest

next add a class with the flowing characteristics:

<?php

class Plugin_Services_Rest_Sample
{
    public function get()
    {
        return 'hello world';
    }
}

A class prefixed with Plugin_Services_Rest_
and add the corresponding methods for a Restler api
(http://luracast.com/products/restler/)

Finally on process maker will be exposed as:

via GET: http://127.0.0.1/rest/workflow/sample
2012-08-23 13:01:19 -04:00
Erik Amaru Ortiz
06be321690 Coding standard fix, & removing g::pr() on class 2012-08-22 12:00:36 -04:00
Julio Cesar Laura
2e2de1fce2 BUG 9648 Duplicate identifier in english po SOLVED
- The msgid don't validate correctly the empty string
- Add validation to prevent msgid values duplicated
2012-08-21 16:06:22 -04:00
julceslauhub
14705928a8 Merge pull request #491 from marcoAntonioNina/BUG-9553
BUG 9553 Event setup duration unit of measure is not displayed SOLVED
2012-08-21 08:44:06 -07:00
Marco Antonio Nina
efcd361449 BUG 9553 Event setup duration unit of measure is not displayed SOLVED
- According to the specifications.
- Was add the opcion Days/hours for creating events.
2012-08-21 10:18:36 -04:00
Marco Antonio Nina
3635ca0076 BUG 9553 Event setup duration unit of measure is not displayed SOLVED
- According to the specifications.
- Was add the opcion Days/hours for creating events.
2012-08-21 09:56:15 -04:00
Julio Cesar Laura
9c72fbddeb BUG 9609 Change log y View en Dynaforms no muestra valores ingresados en formularios ... SOLVED
- Al momento de recuperar los permisos de los dynaforms, se estaba filtrando 2 veces por el UID de la tarea, esto e sinnecesario porque la funcion que recupera los permisos ya valida por la tarea
- Habian otros issues menores (como el titulo del formulario en los tabs de preview)
- Se quito la dobre validacion por tarea y se corrigieron los issues menores
2012-08-21 09:53:15 -04:00
Victor Saisa Lopez
92e24c3e78 BUG 9597 "cron.php sending old emails need to be configured" SOLVED
- cron.php it forwards all the emails without importing if they are
  or not very old
- Problem solved, is taken into account the parameter "+d" as the
  starting date for the forwarding of mail, if not define this
  parameter will be forwarded emails from 7 days ago, forward
2012-08-20 12:33:18 -04:00
Marco Antonio Nina
24d1879db0 BUG 9555 Event log inside Process Designer SOLVED
- According to the specifications.
- Was removed the option completed y Pending of Processmap - Events
- Was add the Tab Logs en Admin.
- Was add the the list of events.
- Was changed the list Case Scheduler a logs.
2012-08-17 18:55:03 -04:00
Marco Antonio Nina
5dc4e6bb28 Merge remote branch 'upstream/master' into BUG-8038 2012-08-16 17:56:32 -04:00
Marco Antonio Nina
66a3f4a446 BUG 8038 Case Scheduler add a way to schedule tasks more often than... SOLVED
- According to the specifications.
- Was added the option "Every" that run the task each X hours.
2012-08-16 17:55:46 -04:00
Julio Cesar Laura
1a8994ef72 BUG 3889 Change the default option for "Next Step Link" under DynaForm "Properties" SOLVED
- Changed the default "nextstepsave" value for new dynaforms, now the default value is "prompt"
2012-08-16 12:27:59 -04:00
Julio Cesar Laura
3947d5418e BUG 7338 User profile Replaced by doesn't work when PM derivate a case
- In the class "derivation" doesn't exist the validation for the "Replaced By" field
- Added the business logic to set the replaced by user when a case is derivated
2012-08-16 11:44:17 -04:00
Julio Cesar Laura
cb086e06c3 BUG 9624 When you go to the UNASSIGN option, screen is blank SOLVED
- When format a date with null value thows a javascript error
- Add validation for null values
- Fix some issues with the format of names (current user, previous user)
2012-08-15 19:04:55 -04:00
Julio Cesar Laura
5be45bfc7a BUG 9554 Event setup has a different way to pick Variables ... SOLVED
- The Events->Action call other control "picker" because don't need the key cast description and the System variables
- Changed the appereance and behaviour of the control "picker" in the Event->Action panel
2012-08-14 10:58:44 -04:00
Julio Cesar Laura
2f726e6a17 Fix bug with the email sent in the events 2012-08-10 19:33:47 -04:00
Victor Saisa Lopez
95f7ca9c29 BUG 9526 "Processes cannot be deleted when the memcache is..." SOLVED
- When memcache is enabled not refresh correctly the list of
  process (to importing a process, to update the name of an process)
- Added method to delete key of the memcache to the import a
  process or update name of a process
2012-08-10 12:07:45 -04:00
julceslauhub
fef24f4524 Merge pull request #457 from victorsl/BUG-9495
BUG 9495 "La edicion del User modifica el Rol" SOLVED
2012-08-09 14:19:28 -07:00
Victor Saisa Lopez
95f8019f9d BUG 9495 "La edicion del User modifica el Rol" SOLVED
- Reverted the changes made in "Users.php"
- Solved wrong display of information "Country, State or Region, Location"
  in "View_Edit_Profile" this in IE, all this in "usersAjax.php"
2012-08-09 17:09:47 -04:00
julceslauhub
18d0b4339b Merge pull request #455 from marcoAntonioNina/BUG-9551
BUG 9551 Case description on task properties is no... SOLVED
2012-08-09 14:09:23 -07:00
Marco Antonio Nina
62c46feaea BUG 9551 Case description on task properties is no... SOLVED
- Not show the case description.
- Case description can be seen in the Summary.
2012-08-09 17:06:24 -04:00
Marco Antonio Nina
7e4e3eeb0c BUG 9542 Cuando se corre un caso el resend de Message... SOLVED
- No validated input Attachment.
- We verify the data type.
2012-08-09 15:46:00 -04:00
julceslauhub
e03a977c36 Merge pull request #449 from brayanpereyra/BUG-9510
Doesn't work in skin uxs
2012-08-08 14:45:45 -07:00
Brayan Osmar Pereyra Suxo
1edfcd68cd BUG 9510 Bug has code errors SOLVED
I add code correcty
2012-08-08 12:46:26 -04:00
Victor Saisa Lopez
80963a2fcf BUG 9495 "La edicion del User modifica el Rol" SOLVED
- When modifying a user's data "ADMIN>Users" or "View/Edit Profile"
  shows the incorrect data in the dropdowns
- Problem solved, display incorrect information in Dropdowns is because
  the response time of AJAX requests, this was solved by improving the
  order of AJAX requests
- Changed the label "Saving process" (ID_SAVING_PROCESS) for
  "Saving ..." (ID_SAVING)
- Solved wrong display of information "Country, State or Region, Location"
  in "View_Edit_Profile" this in IE
2012-08-08 12:26:59 -04:00
Brayan Osmar Pereyra Suxo
f973c6ac29 Merge remote branch 'upstream/master' into BUG-9510 2012-08-08 11:15:00 -04:00
Victor Saisa Lopez
4a4b352d9f BUG 9526 "Processes cannot be deleted when the memcache is..." SOLVED
- When memcache is enabled not refresh correctly the list of
  process (to create/delete an process)
- Added method to delete key of the memcache to the create/delete
  an process
2012-08-07 11:29:18 -04:00
Herbert Saal Gutierrez
a608e82697 Merge remote branch 'upstream/master' into BUG-9482 2012-08-03 19:02:59 -04:00
Brayan Osmar Pereyra Suxo
79ffba21c3 BUG 9510 Doesn't work format RTL SOLVED
- I add format fot RTL
2012-08-03 18:57:48 -04:00
Herbert Saal Gutierrez
b40a4d593e BUG-9482 Solr reindex error
Add catch exceptions to continue the index beside errors.
The found errors are logged.
Correct bug in unassigned users and groups.
Add functionality to reindex script:
- Add skip functionality to skip records to index
- Add definition of trunk size used to send docs to index server
- Add optimization utility to optimize index
2012-08-03 18:54:16 -04:00
julceslauhub
02e8ac5fdf Merge pull request #430 from victorsl/BUG-9509
BUG 9509 "On ProcessMaker 2.0.42 the WYSISWG editor doesn't..." SOLVED
2012-08-03 15:40:06 -07:00
Hector Cortez
4dfa80ce75 BUG 9443 In Centos 5.4 Is not possible to do the restore a backup file SOLVED
- In Centos 5.4 is not possible to restore a backup file of ProcessMaker. we are using the next command.
- Adjustment in the restore backup, in the erased the hidden files.
2012-08-03 18:01:01 -04:00
Victor Saisa Lopez
e84c194487 BUG 9509 "On ProcessMaker 2.0.42 the WYSISWG editor doesn't..." SOLVED
- OutputDocument the WYSISWG editor doesn't generate the content
  of a GRID correctly
- Solved problem, now generated correctly the source of the OutputDocument,
  was also corrected the problem with the tag <table>
2012-08-03 16:31:21 -04:00
Brayan Osmar Pereyra Suxo
f147ba79a9 BUG 9523 Edit Process Doesn't have validate in title SOLVED
- I add validate for porcess's title
2012-08-02 11:01:42 -04:00
julceslauhub
d0bdd54b5f Merge pull request #406 from victorsl/BUG-9479
BUG 9479 "The email send contains special characters \n\r" SOLVED
2012-07-30 14:03:43 -07:00
Victor Saisa Lopez
e9f5e92eed BUG 9479 "The email send contains special characters \n\r" SOLVED
- The email send contains special characters "\n\r"
- This bug could not be replicated, there was improvement in the
  delivery of mails (for configurations with SMTP (PHPMailer) and Mail (PHP))
2012-07-27 17:16:13 -04:00
Hector Cortez
f63c68345c BUG 9486 User Name Display Format in all locations SOLVED.
- I hope "User Name Display Format" settings are reflected in all places. But, at present not reflected only in part.
- Fixbug display name format en fiderents locations.
2012-07-27 16:39:36 -04:00
Brayan Osmar Pereyra Suxo
963f379ff1 BUG 9422 Event doen't run for cases automatically scheduled SOLVED
- I add execute event in automatically scheduled
2012-07-27 12:30:48 -04:00
Brayan Osmar Pereyra Suxo
f75561c331 BUG 9069 Add variable to path in alfresco SOLVED
- I add param in method uploadDoc, the param has the path in alfresco
2012-07-26 16:07:49 -04:00
Brayan Osmar Pereyra Suxo
c7f0c85842 BUG 9069 Add variable to path in alfresco SOLVED
- I add param in method uploadDoc, the param has the path in alfresco
2012-07-26 15:31:49 -04:00
julceslauhub
5bfe9b2fda Merge pull request #396 from julceslauhub/master
BUG 9477 Problem notifying the next user
2012-07-25 15:56:21 -07:00
Julio Cesar Laura
f6d90d7ac6 BUG 9477 Problem notifying the next user
We've detected 2 problems:

1.- The new algorithm to detect if the password is encrypted don't support passwords with a ":" character

2.- When recover the email configuration the system don't decrypt correctly the password of a previous version (without encryption, backwards compatibility)
2012-07-25 18:47:13 -04:00
julceslauhub
a006a05a47 Merge pull request #395 from victorsl/BUG-4119
BUG 4119 "Need web service for updating user accounts" SOLVED
2012-07-25 15:46:26 -07:00
Victor Saisa Lopez
3ffa50d602 BUG 4119 "Need web service for updating user accounts" SOLVED
- New feature
- Web Services for updating user accounts
- Added functions "PMFCreateUser, PMFUpdateUser, WSCreateUser, WSUpdateUser" in "class.pmFunctions.php"
- Added function "updateUser" in "class.wsBase.php"
- Added functionality for applications using Web Services
2012-07-25 18:27:48 -04:00
Hector Cortez
f353ae77c2 BUG 8529 Change "exists" to "exist" in many phrases SOLVED
- Remember these grammar rules
- Changed grammar rules as suggested.
2012-07-25 16:51:16 -04:00
Julio Cesar Laura
b4390b0c1a BUG 9414 PMFSendVariables doesn't work
- The function don't use the context execution values
- Merge the case variables with the execution context values if exists
2012-07-23 20:50:41 -04:00
julceslauhub
18c07ec4e5 Merge pull request #382 from brayanpereyra/BUG-9103
BUG 9103 Don't work event range of tasks SOLVED
2012-07-23 16:10:57 -07:00