Laurent Destailleur
1af74b4c42
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
dev/skeletons/skeleton_list.php
htdocs/admin/perms.php
htdocs/core/class/commonobject.class.php
htdocs/core/class/hookmanager.class.php
htdocs/core/lib/files.lib.php
htdocs/product/class/product.class.php
htdocs/product/class/service.class.php
htdocs/product/index.php
htdocs/product/list.php
htdocs/public/members/new.php
htdocs/theme/eldy/style.css.php
htdocs/theme/md/style.css.php
2017-06-09 12:50:56 +02:00
Laurent Destailleur
929946ad47
Fix several problem with hook printFieldListWhere
2017-06-09 10:12:01 +02:00
Laurent Destailleur
a1144e1f66
Fix missing init of hookmanager
2017-06-08 11:18:41 +02:00
Laurent Destailleur
2510ec7015
Fix php error
2017-06-06 10:29:34 +02:00
Laurent Destailleur
22efbabfa6
NEW Add hook doUpgrade2
2017-06-06 01:34:25 +02:00
Laurent Destailleur
e1b19b831a
NEW An external module can hook and add mass actions
2017-06-02 23:57:37 +02:00
Laurent Destailleur
66420d0e80
Restore lost file and better generation of modules
2017-06-02 23:02:48 +02:00
BENKE Charlie
18799c3a7f
Changes Done
...
question
need to change $actionclassinstance->results in $actionclassinstance->resactionss ???
2017-05-29 11:00:08 +02:00
BENKE Charlie
e4f7f2a0b2
$resaction need in 5.0.x too
2017-05-26 12:39:49 +02:00
Laurent Destailleur
e8767122b0
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/societe/list.php
2017-04-03 11:05:19 +02:00
Laurent Destailleur
6a69f9349b
Fix too much logs in list
2017-04-03 10:43:04 +02:00
Laurent Destailleur
74e8fb9c19
NEW Can set number of dump to keep with job "local database backup"
2017-02-27 02:04:25 +01:00
BENKE Charlie
3f236b1ebf
FIX : $resaction not used in all case
...
Please integrate on next 5.0
2017-02-03 12:14:29 +01:00
Laurent Destailleur
5362d10c0d
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/class/hookmanager.class.php
2017-01-21 21:56:24 +01:00
Laurent Destailleur
b8a80f9311
Fix code comment and missing showLinkToObjectBlock hook declaration as
...
an addreplace hook.
2017-01-21 17:30:35 +01:00
Laurent Destailleur
5c233a41b3
NEW Add hook "formatNotificationMessage"
2017-01-09 23:55:53 +01:00
Laurent Destailleur
4bcc7dc8a0
CLOSE #4368 #4369 Add hook completeTabsHead for rewrite heads tabs menu
2016-11-12 14:36:52 +01:00
Laurent Destailleur
b85bb8c0f8
Merge remote-tracking branch 'origin/3.9' into 4.0
...
Conflicts:
htdocs/core/modules/facture/doc/pdf_crabe.modules.php
2016-07-29 16:24:02 +02:00
Marcos García de La Fuente
3029fd0fe1
FIX #5540 getFormMail is not registered as addReplace hook
2016-07-25 13:18:41 +02:00
Laurent Destailleur
fdfe4d9ac5
Fix missing getFormMail as "addreplace" hook
2016-07-15 14:21:07 +02:00
Laurent Destailleur
f756f3db0e
Fix hook context 'all'
2016-07-07 01:23:20 +02:00
Laurent Destailleur
c360189d94
Code comment
2016-07-06 11:14:17 +02:00
Laurent Destailleur
461f62c200
Use the new global search form
2016-05-05 13:29:42 +02:00
Scrutinizer Auto-Fixer
051ccf30a1
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-04-09 17:32:05 +00:00
Laurent Destailleur
4b4de22a54
NEW Add hook pdf_build_address
...
NEW Add option MAIN_PUBLIC_NOTE_IN_ADDRESS
2016-02-25 20:54:37 +01:00
Laurent Destailleur
2a345b6fc0
Merge remote-tracking branch 'origin/3.8' into develop
...
Conflicts:
htdocs/admin/company.php
htdocs/admin/menus/edit.php
htdocs/core/class/hookmanager.class.php
htdocs/core/class/html.form.class.php
htdocs/core/lib/pdf.lib.php
2015-11-21 12:48:41 +01:00
Marcos García de La Fuente
8e9e2911ae
FIX #3996 Dictionnary hooks are not working in 3.8
2015-11-16 13:18:25 +01:00
philippe grand
04238da75d
Typo
2015-11-05 14:16:13 +01:00
Alexis Algoud
e3a42a78f2
FIX all PDF hook must be in addreplace type, not return value to work as expected
2015-11-03 15:14:42 +01:00
Sergio Sanchis Climent
990fbf3ef4
hooks correctly implemented , printObjectLine, printObjectSubLine
...
In hook can change correctly label and ref (for my module need if is posible)
2015-10-26 14:00:43 +01:00
Laurent Destailleur
9f21ea58a3
A lot hooks used into PDF generation were not correctly implemented. We
...
had to fix this. The result si that
the following hook were set as hook of type "replace". This means if
your module implement such hooks, it must
return 0 to execute standard code or 1 to replace standard code (value
to output should be set into resPrints instead).
2015-10-22 17:51:05 +02:00
Raphaël Doursenaud
0d897a1307
NEW: log hooks loading
...
This will help debugging bad hooks behavior.
2015-07-20 18:30:49 +02:00
Laurent Destailleur
57a267a30f
NEW Add hooks to allow an external module to complete list of events
...
into calendar views.
2015-06-30 17:09:52 +02:00
Raphaël Doursenaud
d6e48670e7
Allow replacing the address block
...
Since ba2c0a2651 changed the default hook mode
from addreplace to output, this is needed to still be allowed to replace
the displayed address from a hook
2015-06-25 11:13:23 +02:00
Laurent Destailleur
65c7ab7a93
Fix: Introduce error by default when function is used as a true delete
...
function.
2015-05-29 17:11:42 +02:00
Laurent Destailleur
a93ba86ce0
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/commande/card.php
htdocs/compta/facture.php
htdocs/compta/facture/class/facture.class.php
htdocs/core/class/commonobject.class.php
htdocs/core/modules/expedition/modules_expedition.php
htdocs/core/modules/modContrat.class.php
htdocs/expedition/class/expedition.class.php
2015-05-07 13:35:09 +02:00
Laurent Destailleur
cc5968fbd5
A more complete error message
2015-05-07 10:45:35 +02:00
Laurent Destailleur
ae103e34b8
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
build/debian/changelog
htdocs/compta/facture.php
htdocs/core/lib/price.lib.php
htdocs/install/mysql/migration/3.6.0-3.7.0.sql
htdocs/opensurvey/public/studs.php
htdocs/projet/element.php
2015-04-13 13:08:46 +02:00
Laurent Destailleur
1272b03e5e
Merge remote-tracking branch 'origin/3.6' into 3.7
...
Conflicts:
build/debian/changelog
htdocs/commande/fiche.php
htdocs/compta/facture.php
htdocs/core/menus/standard/eldy.lib.php
htdocs/fourn/facture/fiche.php
htdocs/product/stock/mouvement.php
htdocs/projet/element.php
htdocs/societe/rib.php
htdocs/theme/bureau2crea/img/statut4.png
2015-04-12 12:03:59 +02:00
Laurent Destailleur
fd8d09c8c0
Fix avoid warning
2015-03-29 17:53:05 +02:00
Laurent Destailleur
ba2c0a2651
Clean code of hooks.
...
Extrafield index on fk_object must be unique.
2015-03-13 20:27:54 +01:00
philippe grand
96e6c66365
better translation and typo
2015-01-01 11:24:00 +01:00
Laurent Destailleur
ef5035b349
Merge remote-tracking branch 'origin/3.6' into 3.7
...
Conflicts:
htdocs/core/class/commonobject.class.php
htdocs/product/liste.php
2014-12-18 11:42:55 +01:00
Laurent Destailleur
2c01a46774
Merge remote-tracking branch 'origin/3.5' into 3.6
...
Conflicts:
htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php
htdocs/paypal/lib/paypal.lib.php
2014-12-18 10:13:25 +01:00
Christophe Battarel
a1bba472a0
FIX: hook insertExtraFields must return a returnvalue (0,1,-1)
2014-12-12 11:57:20 +01:00
Laurent Destailleur
a2d23fd699
Fix: Error management of hook was duplicating errors.
2014-10-18 00:33:30 +02:00
Laurent Destailleur
bb852592e6
Fix: Restore broken feature. One hook = One call of function per module.
2014-10-05 04:49:46 +02:00
Laurent Destailleur
e7a9447d94
Add hook formatEvent and fix bug into per user view.
2014-10-03 15:58:08 +02:00
Regis Houssin
3d82f0965e
Fix: Try to filter by context, use the test with $currentcontext in
...
method for avoid to run twice (I have not found any other solution!)
2014-09-29 15:20:54 +02:00
Regis Houssin
c5a7dfbabb
Fix: Add current context for avoid method execution in bad context, you
...
can add this test in your method : eg if($currentcontext != 'formfile')
return;
2014-09-29 14:40:02 +02:00