Commit Graph

124 Commits

Author SHA1 Message Date
Gustavo Cruz
6b0bf98b65 Fixing additional file permissions before final commit 2012-11-30 10:47:17 -04:00
Gustavo Cruz
05d6a3181b Fixed the variable picker in the wysiwyg editor now correctly shows the process variables, and also the maborak.js has been rebuild in order to add the tinymce library 2012-11-29 12:46:24 -04:00
Gustavo Cruz
f55ff5bdae Automatic merge with the upstream master branch 2012-11-29 12:18:58 -04:00
Brayan Osmar Pereyra Suxo
b54dcce906 Performance to cron 2012-11-27 15:46:44 -04:00
ralph
3d12c70be4 Adding js library to set classes instance abbr and adding maborak.loader.js 2012-11-26 17:42:27 -04:00
user
70c3778425 adding the patches to the tinyMCE editor in order to solve the maborak/leinmud conflicts 2012-11-14 09:39:24 -04:00
Fernando Ontiveros
0408a9bf0a SPEEDY removing some unused js files 2012-11-09 14:51:49 -04:00
Fernando Ontiveros
e10f18a077 SPEEDY GONZALES minify maborak.js and maborak.loader.js 2012-11-09 12:23:55 -04:00
Fernando Ontiveros
8fb7d5609c SPEEDY GONZALES minify maborak and maborak.js 2012-11-09 11:55:46 -04:00
Fernando Ontiveros
ec6413a2ce SPEEDY use Rake and closure-compile to generate maborak.js 2012-11-09 09:15:56 -04:00
Victor Saisa Lopez
995be39eb9 BUG 4940 "Add option to set a time limit on 'self serve'..." SOLVED
- New feature
- Add option to set a time limit on "Self service" routing
- Added new feature in properties task
- This new feature is activated by the execution of cron.php:
      cron.php [+wWORKSPACE] unassigned-case
* Available from version 2.0.45
2012-10-22 13:55:35 -04:00
Ralph Asendeteufrer
011b9f7445 BUG 9814 Proposal pivot skin: UNDER CONSTRUCTION
PROBLEM  There is not a page to show up if PM is under updating.
SOLUTION Add a page to be displayed only if PM is updating.
2012-10-16 10:17:25 -04:00
Julio Cesar Laura
e4722622a5 Bug 8626 Backup issues SOLVED
PROBLEM the backup is too bigger to be handle in some os configurations systema files
SOLUTION A new class will help to compress into several files instead one.
to use the new feature the admin would use and extra option as follow:
processmaker workspace-backup -s {}
to restore may use :
processmaker workspace-restore -m
In both case there are to new arguments -s and -m, these are for use the new feature only, if they are not added the old way is still available.
2012-10-15 14:36:26 -04:00
Marco Antonio Nina
3899bbfd25 BUG 9720 Proceso de actualizacióe ProcessMaker es lento IMPROVEMENT
- ProcessMaker update process is slow for query.
- Was optimized queries and was modified the  rebuild "Table content".
2012-10-08 15:05:01 -04:00
Marco Antonio Nina
52086504f1 BUG 9720 Proceso de actualizacióe ProcessMaker es lento IMPROVEMENT
- ProcessMaker update process is slow for query.
- Was optimized queries and was modified the  rebuild "Table content".
2012-10-05 16:58:26 -04:00
Marco Antonio Nina
2494915e24 BUG 9720 Proceso de actualizacióe ProcessMaker es lento SOLVED
- ProcessMaker update process is slow for query.
- Was optimized queries and was modified the  rebuild "Table content".
2012-09-26 14:37:43 -04:00
Marco Antonio Nina
9cfa140807 BUG 9720 Proceso de actualizacióe ProcessMaker es lento SOLVED
- ProcessMaker update process is slow for query.
- Was optimized queries and was modified the  rebuild "Table content".
2012-09-26 11:24:49 -04:00
Marco Antonio Nina
a8cc4a00f9 BUG 9720 Proceso de actualizacióe ProcessMaker es lento SOLVED
- ProcessMaker update process is slow for query.
- Was optimized queries and was modified the  rebuild "Table content".
2012-09-26 10:15:20 -04:00
Victor Saisa Lopez
3b797f7788 BUG 9709 "Add a new option in ADMIN -> Logs for the cron" SOLVED
- New feature
- Add a new option in ADMIN -> Logs for the cron
- Added new feature
* Available from version 2.0.44
2012-09-24 11:51:45 -04:00
Julio Cesar Laura
23b3cac2b4 Change the order of the execution of the actions to prevent that a problem in the plugin blocks the other actions 2012-09-21 10:45:13 -04:00
julceslauhub
e343170e4e Merge pull request #553 from herbertsg/BUG-9689
BUG-9689 Improve Solr performance
2012-09-12 14:56:48 -07:00
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
Victor Saisa Lopez
331cb04a2c BUG 9630 "cron.php script can have several instances running..." SOLVED
- cron.php script can have several instances running at the same time
- Problem solved, added validation in cron.php script to avoid run
  several times
- Variable time added to control execution of cron
* Available from version 2.0.44
2012-09-03 11:32:52 -04:00
Victor Saisa Lopez
a8cd9cf1cb Merge remote branch 'upstream/master' into BUG-9630 2012-08-30 18:08:12 -04:00
Erik Amaru Ortiz
de62be5506 Restful Feature, improvements on rest-gen cli command and Disptacher
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
2012-08-30 16:26:19 -04:00
Victor Saisa Lopez
dfb10bc7aa BUG 9630 "cron.php script can have several instances running..." SOLVED
- cron.php script can have several instances running at the same time
- Problem solved, added validation in cron.php script to avoid run
  several times
* Available from version 2.0.44
2012-08-30 15:05:39 -04:00
fernando
84b51bf05e fixing small issues with rest 2012-08-29 16:29:02 -04:00
Erik Amaru Ortiz
22172de0f0 Restful Feature, some paths improvements & command help 2012-08-27 11:05:21 -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
612819cb75 FEATURE, PM Rest Api: Adding rest api crud generator 2012-08-20 18:33:25 -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
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
Herbert Saal Gutierrez
a608e82697 Merge remote branch 'upstream/master' into BUG-9482 2012-08-03 19:02:59 -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
Julio Cesar Laura
b1c730bef5 BUG 9368 Cron script not reading timezone configuration
- The system configuration was not loaded in the cron
- Load the system configuration to the begin of the cron
2012-07-20 13:33:28 -04:00
Victor Saisa Lopez
167bab6b6e BUG 9319 "Problema con el Case Label" SOLVED
- By changing the "Case Label", this is not updated in the APP_CACHE_VIEW table
- Solved problem to changing the "Case Label", now is updated in the APP_CACHE_VIEW table
- Improvement in file, compliance with the standard PSR2

Note:
- When you change the "Case Title" of a task, affecting every case,
  if it is the current task of the case (otherwise it would not affect
  the APP_CACHE_VIEW table)
- If a task is saved empty the "Case Title" the APP_TITLE take the value
  #APP_NUMBER (all cases are in the task, this in APP_CACHE_VIEW table)
2012-07-03 18:20:20 -04:00
Herbert Saal Gutierrez
dac87f1d8c BUG 9180 Error unserializing APP_DATA with null value
Error
-----
Error unserializing APP_DATA with null value

Solution
--------
Verify if the APP_DATA contains serialized NULL before trying to unserialize
The APP_DATA with NULL serialized = "N;" is generated with the function PMFNewCaseImpersonate
2012-06-26 10:49:07 -04:00
Brayan Osmar Pereyra Suxo
786d298130 BUG 5737 Add logs to new case with CaseScheduler SOLVED
I add logs to CaseScheduler
I add logs to executeEvents
2012-06-25 12:37:06 -04:00
Alvaro Campos
907f47163d BUG 5737 The cron.php script should write something ... solved
- The cron.php script should write something in the shared/log/cron.log file when a new case started or an event is executed
2012-06-21 18:29:13 -04:00
Herbert Saal Gutierrez
01d65b3ff1 BUG 9180 Correct coding convention
Correct coding convention and replace json_encode to G::json_encode and
json_decode to G::json_decode
2012-05-30 17:47:28 -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
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
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
Erik Amaru Ortiz
0eced3887f BUG 8978 "Upgrade de la version 2.0.39 a la version 2.0.40 no ..." UPDATED
- moved the load class cli.php after to set error_repoting...
2012-04-16 11:45:00 -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
Julio Cesar Laura
152ab8be7b Now is possible upgrade the data in the tables, DASHLET is the first 2011-11-08 17:37:47 -04:00
Erik Amaru Ortiz
be0c90af87 BUG 000 momentarily reverted to rc5 fro pmTables (fix) 2011-09-05 12:47:25 -04:00
Alexandre Rosenfeld
172bd87580 BUG 6962 Fix database-upgrade command when errors occur 2011-06-29 10:49:03 -04:00