2
0
forked from Wavyzz/dolibarr
Commit Graph

57 Commits

Author SHA1 Message Date
Regis Houssin
e725ef0eef Fix: find $upload_dir in first part of $dest_file 2012-09-07 10:54:56 +02:00
Laurent Destailleur
0dfc9e59fe New: Creation of meta file works for all elements. Disabled by default. 2012-09-07 10:30:02 +02:00
Regis Houssin
171f25d3b2 Fix: getDirList is ambiguous, this method can return dir list or files
list. Method is renamed to "getNodesList"
2012-09-07 08:47:10 +02:00
Regis Houssin
b6f090eeef Fix: add notrigger parameter 2012-09-07 08:09:07 +02:00
Regis Houssin
83fbaac70d New: add hook in dol_move_uploaded_file method and split function with
dol_check_uploaded_file method
2012-09-06 21:30:44 +02:00
Regis Houssin
c18375d7ee Fix: broken features
$reshook may contain returns stacked by other modules
$reshook is always empty with an array for can not lose returns stacked
with other modules
$hookmanager->resArray may contain array stacked by other modules
2012-09-05 14:30:12 +02:00
Laurent Destailleur
0e1dcb9408 Use a more standard behaviour: If hook return non zero, it is a "replace
code" hook. Otherwise, it is "insert code" hook.
2012-09-05 13:05:24 +02:00
Regis Houssin
86f3c8eb26 Fix: return an array 2012-09-05 12:38:39 +02:00
Regis Houssin
696c7eb454 Fix: use require instead include_once 2012-09-05 11:22:52 +02:00
Regis Houssin
6bd571b31a New: add hook 'getDirList' in dol_dir_list() method 2012-09-05 10:17:02 +02:00
Regis Houssin
0ad137e734 Fix: uniformize code 2012-09-02 22:00:14 +02: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
706d79986c Removed parenthesis from all require_once and replaced with single quotes 2012-08-22 23:11:24 +02:00
Regis Houssin
a856ad0afa Fix: strict mode sunshine 2012-08-19 09:05:50 +02:00
Regis Houssin
89cd23452f Fix: missing delete shipping and delivery files
(minimum for possibility to merge with 3.2)
2012-08-05 20:41:11 +02:00
Regis Houssin
66ba264ca3 Fix: strict mode and event message 2012-07-30 22:38:21 +02:00
Regis Houssin
28851b46c4 Fix: remove duplicate code 2012-07-29 16:44:19 +02:00
Regis Houssin
0aa6694c95 Fix: broken event message 2012-07-29 15:47:24 +02:00
Laurent Destailleur
d6a5b224fb Revert bad practice: setEvent use SESSION. Such usage is limited to HTML
page context and can be used inside any pages.
However usage of _SESSION must never be used inside a library (except
for function dedicated to HTML page context), and never inside
object classes (we must use $this->errors, $this->mesgs or
$this->warnings instead).
2012-07-29 14:15:29 +02:00
Regis Houssin
eee5653c54 Fix: try to use the new message system 2012-07-29 12:54:19 +02:00
Regis Houssin
77b9718473 Fix: strict mode street 2012-07-13 10:15:47 +02:00
Regis Houssin
28ccc43125 Fix: avoid another warning 2012-07-10 20:45:07 +02:00
Regis Houssin
cd7bf41ae0 Fix: php 5.4 strict mode warning 2012-07-09 10:08:56 +02:00
Regis Houssin
6f1651309e Fix: global converting lines delimiter 2012-07-02 19:30:37 +02:00
Laurent Destailleur
018cafe92c Fix: Add an unsecape function to decode javascript escape
encoding. This also fix ecm for cyrillic chars.
2012-06-24 19:32:19 +02:00
Laurent Destailleur
b7abad95d8 Doxygen 2012-06-10 13:22:28 +02:00
Regis Houssin
e6c6d6cf84 Fix: avoid warning 2012-06-08 18:17:03 +02:00
Laurent Destailleur
61ed269044 Fix: restore broken feature. File upload/delete was ko with linux and
windows.
Note also that strisplashes should never be used anywhere in the code,
because strislashes is nor a HTML escape, nor a javascrip escape, nor a
shell or PHP escape function. If stripslashes is used somewhere, this
means there is a bug somewhere else.

upload/delete using the standard feature (not fileupload) works
correctly with that on linux/windows.
2012-06-01 10:16:42 +02:00
Regis Houssin
e9994c683a Fix: clear file name send by php 2012-06-01 07:11:00 +02:00
Regis Houssin
85e3407559 Fix: Unescape a file submitted by upload. PHP escape char " (%22) and
char ' (%27) into $FILES
Before= Capture d\'écran.doc  After= Capture d'écran.doc
2012-05-30 13:58:20 +02:00
Laurent Destailleur
c2db3265ec Fix: Regression with quot management. Try a better fix. 2012-05-30 12:43:23 +02:00
Regis Houssin
b5246add8d Fix: big problem with files upload and more compatible with external
modules
2012-05-30 00:07:06 +02:00
simnandez
5713a93c27 [ task #297 ] Add a installer for external modules
Adaptation to changes in dol_uncompress function. More clear and
accurate messages.
2012-04-30 12:19:11 +02:00
Laurent Destailleur
7977897fd8 Fix: dol_uncompress function now works with all PHP and OS. Use PHP
native code. Only zip is supported. This is enough, modules must be zip
and only zip (tgz not more allowed).
2012-04-28 18:21:51 +02:00
Regis Houssin
8cf1da4ddb Fix: mac os compatibility 2012-04-26 15:02:29 +02:00
simnandez
25df346bd3 [ task #297 ] Add a installer for external modules 2012-04-25 16:52:35 +02:00
simnandez
5b7ff51ffc [ task #297 ] Add a installer for external modules. Init works 2012-04-25 12:41:00 +02:00
Regis Houssin
5d2da2c884 Fix: uniformize code 2012-03-22 08:33:44 +01:00
Laurent Destailleur
245edb8596 Fix: Maxi debug on sending document by email. Works now with odt too. 2012-03-16 00:34:41 +01:00
Laurent Destailleur
c4b845d60a Qual: Removed deprecated function name. 2012-02-19 18:34:22 +01:00
Laurent Destailleur
ca727ca18e Qual: Move security functions into security2.lib.php 2012-02-12 20:34:40 +01:00
Laurent Destailleur
186258410e New: Add option to clean orphelins files into repair page 2012-02-08 16:41:06 +01:00
Laurent Destailleur
5974cde154 New: Automtic list of documents in ECM module is ok for customers,
suppliers invoice, orders, customers orders, proposals and social
contributions.
2012-02-06 14:34:58 +01:00
Laurent Destailleur
2093b3f0be New: Allow to use ODT templates for prososal like it's done for invoices 2012-02-05 19:37:52 +01:00
Laurent Destailleur
ffac9689f4 Doxygen 2012-02-04 14:39:47 +01:00
Laurent Destailleur
7b157b689b Fix log 2012-02-01 16:01:37 +01:00
Regis Houssin
2a21668b43 Fix: add https and ssh 2012-01-21 18:24:21 +01:00
Laurent Destailleur
7fd27da616 Fix: Wrong count of nb of lines 2012-01-20 10:09:19 +01:00
Laurent Destailleur
680d4bac44 Fix: mime type 2011-12-31 02:30:20 +01:00
Laurent Destailleur
3687dc8be9 Fix: Mime detection 2011-12-17 01:16:33 +01:00