2
0
forked from Wavyzz/dolibarr
Commit Graph

41 Commits

Author SHA1 Message Date
Laurent Destailleur
4f5e8e2480 Fix: missing context before calling trigger.
Clean demo file with list of triggers.
2015-07-19 15:24:54 +02:00
Laurent Destailleur
5086450f35 Fix: Forging email content must use dol_concatdesc. 2014-11-02 12:32:38 +01:00
Laurent Destailleur
2800faffa8 Fix: File names must be in lowercase.
Fix: Missing includes.
2014-10-11 18:27:30 +02:00
Laurent Destailleur
f7f0059767 Missing hook to add button on intervention
Prepare to move location into resource
Can select which king of contact show into contact tab.
2014-09-22 20:16:58 +02:00
Laurent Destailleur
cfc337a79a Qual: Enable php checkstyle rule Zend.Files.ClosingTag
Fix: Solve a lot of checkstyle errors.
2014-07-20 15:27:38 +02:00
Marcos García de La Fuente
7e29889eab Fixed little bug 2014-07-18 03:13:15 +02:00
Marcos García de La Fuente
c8338f45c4 Refactored Dolibarr triggers:
Created a DolibarrTriggers abstract class.
Moved common variables out of construct class
Improved run_trigger method signature
2014-07-18 02:59:46 +02:00
Laurent Destailleur
f918ae7e4f Decrease log level for disabled trigger 2014-05-13 10:36:01 +02:00
Raphaël Doursenaud
f8f502d013 Removed closing php tag
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
Laurent Destailleur
3e3c541e4c Fix: Do not report trigger errors twice.
Fix: Error when creating event was not reported.
2014-02-14 12:54:04 +01:00
Laurent Destailleur
c3c6588426 Better detection of corrupted module files. 2013-12-10 16:25:27 +01:00
Laurent Destailleur
8fb0986303 New: Add path file of trigger into admin trigger list page 2013-12-10 15:49:57 +01:00
Raphaël Doursenaud
c845124b92 Object type is lowercase 2013-11-07 21:47:13 +01:00
Laurent Destailleur
c4bc10b8eb Qual: Clean code by moving synchro with mailman into mailman trigger
New: A trigger can return an array of error strings instead of one error
string.
2013-08-21 12:39:20 +02:00
Laurent Destailleur
8d206fdfb0 Prepare move to other licence. For the moment all answers for licence
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
Regis Houssin
b838895db9 Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
Marcos García
9b3c89ac47 Removed parenthesis from all include and include_once and replaced with single quotes 2012-08-23 02:40:41 +02:00
Marcos García
5a73c32f46 Migrated ClassName to __construct() function
Changed $DB to $db
lower-cased "Class"
2012-07-30 17:17:33 +02:00
Laurent Destailleur
ff06360071 Fix: Overwritting code is not role of a template but of a module.
Code is now working as a module change. Also it is faster (no need to
make a failed include when module is not installed) and support
alternative directory.
2012-04-28 17:01:25 +02:00
Laurent Destailleur
3383d314c9 Doxygen 2012-03-19 17:18:11 +01:00
Laurent Destailleur
2647cb72ac New: Now all features can be provided by a module with all files inside
the directory of module.
2012-02-22 16:18:03 +01:00
Laurent Destailleur
e4cf111ac2 Fix: Do not include an output class (form) inside a core system class. 2012-02-22 14:43:13 +01:00
Laurent Destailleur
e903719c36 Qual: Uniformize code
Perf: Very small per enhancement
2012-02-19 17:12:17 +01:00
Laurent Destailleur
0011b1dadd New: Trigger now have a priority to define sort execution order. 2012-01-31 20:32:26 +01:00
Laurent Destailleur
aa8e7b1c0c Uniformize field country_id, country_code, country 2012-01-27 16:10:44 +01:00
Laurent Destailleur
5ff8c2b8fa Fix: Error management 2012-01-11 01:52:00 +01:00
Regis Houssin
f0c327c070 Fix: uniform code
replace all $html by $form with exceptions "$htmlname, $htmltooltip"
2011-11-08 17:22:31 +08:00
Laurent Destailleur
2996ee7639 New: Add trigger ACTION_DELETE and ACTION_MODIFY
Fix: LOG_ERROR must be LOG_ERR
2011-11-01 13:22:39 +01:00
Regis Houssin
3338649316 [task #217] Move core files in core directory 2011-10-24 14:11:49 +02:00
Laurent Destailleur
b75d19c264 Qual: Uniformize constructors 2011-09-11 18:35:38 +00:00
Regis Houssin
2ecc03104c Fix: remove obsolete tags (in progress) 2011-08-27 15:14:31 +00:00
Laurent Destailleur
0adbca4625 Qual: Mutualize a lot of duplicate functions into functions.lib.php 2011-08-17 15:56:22 +00:00
Laurent Destailleur
be771c9d44 Fix: Avoid errors into rpm packages 2011-07-31 23:45:11 +00:00
Laurent Destailleur
0b7e2fddbb Fix: Removed warning 2011-07-28 10:36:43 +00:00
Regis Houssin
2d14879e85 Fix: use $this->db instead $db 2011-06-27 10:41:31 +00:00
Laurent Destailleur
c4bb69b7bf Fix: Triggers path should be relative to allow usage of alternate search. 2010-12-20 10:45:00 +00:00
Laurent Destailleur
b5e5dc3849 Fix: Fix regression by adding "custom" feature making web server hang in infinite loop. 2010-12-15 18:15:08 +00:00
Laurent Destailleur
3fb07a3922 Doxygen 2010-11-22 09:18:53 +00:00
Laurent Destailleur
af7cfec808 New: Can now send supplier order by mail 2010-05-12 13:14:26 +00:00
Regis Houssin
32374f6242 Fix: move class to class directory 2010-04-28 12:39:09 +00:00
Philippe Grand
b6bc9223df according to new tree directory 2010-04-28 10:33:16 +00:00