Cédric Salvador
28bfb10dbd
UI
2013-11-06 10:19:16 +01:00
Cédric Salvador
3529f5238b
display links
2013-11-06 10:17:18 +01:00
Cédric Salvador
e8e3752626
link creation in dol_add_file_process
2013-11-06 10:17:17 +01:00
Laurent Destailleur
70342c09b8
Fix: Better management of using ajax for upload form (to solve problem
...
when enabling ajax jquery multifile upload in some cases).
New: Add option to use a specific mask for uploaded filename
2013-10-29 17:52:13 +01:00
Laurent Destailleur
38e4b0f9ac
Merge remote-tracking branch 'origin/3.4' into develop
...
Conflicts:
build/debian/watch
2013-09-05 23:57:30 +02:00
Laurent Destailleur
e40d644085
Fix: Remove warning
2013-09-04 16:49:20 +02:00
Laurent Destailleur
cc83ad0b0e
Merge remote-tracking branch 'origin/3.4' into develop
2013-07-24 14:15:35 +02:00
Laurent Destailleur
2f2f2b66c4
Fix: creation of thumbs not working
2013-07-24 11:26:09 +02:00
Laurent Destailleur
154cd1fcf9
Fix: Sort on ref for supplier invoice into ged
2013-07-14 01:10:18 +02:00
Laurent Destailleur
1e6171ad0e
Fix: Sort on ref for supplier invoice into ged
2013-07-14 00:40:22 +02:00
Laurent Destailleur
ad8904a4fb
Can add a picto onto line of files list.
2013-07-12 15:10:32 +02:00
Laurent Destailleur
9b235f6879
Fix: Remove space at end of binary files
2013-06-26 02:05:18 +02:00
Laurent Destailleur
af4651f1a2
Merge remote-tracking branch 'origin/3.4' into develop
...
Conflicts:
build/perl/virtualmin/dolibarr.pl
htdocs/core/lib/files.lib.php
htdocs/langs/en_US/projects.lang
htdocs/langs/fr_FR/projects.lang
htdocs/public/paybox/paymentko.php
htdocs/public/paybox/paymentok.php
htdocs/public/paypal/paymentko.php
htdocs/public/paypal/paymentok.php
htdocs/webservices/server_other.php
2013-06-25 23:22:00 +02:00
jfefe
54bf3fd516
Add parameter to force user in dol_check_access_document function
...
This required by webservice where global $user is not available
2013-06-25 15:09:51 +02:00
Regis Houssin
05bd035488
Fix: convert line delimiters
2013-06-24 17:34:22 +02:00
Regis Houssin
c9a71439b2
Fix: EOF
2013-06-05 16:24:32 +02:00
Laurent Destailleur
393ad1447a
Qual: Uniformize permission code between viewimage.php and document.php
2013-05-16 15:46:54 +02:00
fhenry
16e06736e6
Fix bug [ bug #882 ] [3.4.0] Can't open WithdrawalReceipt / fichier de
...
prélèvement
2013-05-07 16:50:27 +02:00
Laurent Destailleur
786bf9d035
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2013-04-30 22:39:17 +02:00
Laurent Destailleur
761b2d05d4
Fix: delete of files with [ and glob.
2013-04-30 17:24:11 +02:00
Laurent Destailleur
023b6f2e8b
Fix: Use entity
2013-04-25 10:22:08 +02:00
Laurent Destailleur
86ea79c860
Fix: dol_check_secure_access_document is also used by viewimage. This
...
also solve bug of not found supplier doc and solve some security holes.
2013-04-25 10:06:54 +02:00
jfefe
b5e66cc492
Mutualize code for security check when accessing a document by document.php and bywebservice
2013-04-22 15:00:29 +02:00
Laurent Destailleur
e5a945ba5b
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
ChangeLog
htdocs/admin/propal.php
htdocs/compta/journal/purchasesjournal.php
htdocs/compta/journal/sellsjournal.php
htdocs/core/class/conf.class.php
htdocs/core/class/hookmanager.class.php
htdocs/core/lib/files.lib.php
htdocs/core/modules/mailings/contacts2.modules.php
htdocs/langs/ca_ES/admin.lang
htdocs/langs/en_US/admin.lang
htdocs/langs/es_ES/admin.lang
htdocs/langs/fr_FR/admin.lang
htdocs/public/demo/index.php
2013-04-14 01:46:33 +02:00
Laurent Destailleur
c9b3193c44
Fix: Hooks with version 3.4 must match specification defined here:
...
http://wiki.dolibarr.org/index.php/Hooks_system
So i try a better fix that implement correctly this. To have the
moveFileUpload trigger keeping dolibarr code, it must return 0.
2013-04-12 13:18:24 +02:00
Regis Houssin
9596134e47
Fix: use new method
2013-04-12 10:28:19 +02:00
Regis Houssin
0b2b888584
Fix: use new method
2013-04-12 10:26:52 +02:00
Regis Houssin
85e09a953f
Fix: missing return with hook
2013-04-12 10:04:10 +02:00
Regis Houssin
3892a52852
Fix: missing return with hook
2013-04-12 10:00:20 +02:00
Laurent Destailleur
3c23a717fd
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
htdocs/comm/propal.php
htdocs/core/lib/files.lib.php
2013-03-30 14:10:15 +01:00
Laurent Destailleur
e0baa0fe46
Generalize fix: file with a specific mask not found, again
...
Conflicts:
htdocs/comm/propal.php
htdocs/commande/fiche.php
htdocs/compta/facture.php
htdocs/expedition/fiche.php
htdocs/fichinter/fiche.php
2013-03-30 14:04:09 +01:00
Regis Houssin
e75c609a0a
Fix: wrong var name
2013-03-26 18:33:44 +01:00
Regis Houssin
b5d13dc6e6
Fix: missing parameter
2013-03-26 18:33:23 +01:00
Regis Houssin
e9a8457d7e
Fix: broken features due to the removal of the trigger FILE_UPLOAD !
2013-03-26 18:33:14 +01:00
Regis Houssin
a701cbd77c
Fix: wrong var name
2013-03-26 17:47:37 +01:00
Regis Houssin
4fe94b800b
Fix: missing parameter
2013-03-26 17:43:48 +01:00
Regis Houssin
dff74667c2
Fix: broken features due to the removal of the trigger FILE_UPLOAD !
2013-03-26 17:29:40 +01:00
Grand Philippe
86de772b31
english language standardization
2013-02-24 17:08:52 +01:00
Grand Philippe
844433d0a2
english standardization
2013-02-22 17:11:53 +01:00
jfefe
1941efa45a
Merge branch 'develop' of git://github.com/Dolibarr/dolibarr.git into webservices
2013-02-20 11:15:15 +01:00
jfefe
e2d03a9dba
Add possibility to disable hook on list of recent file
2013-02-14 13:15:23 +01:00
Maxime Kohlhaas
51800a0dd5
Security : add phtml extension to be dealed as php extension
2013-01-30 16:52:33 +01:00
Laurent Destailleur
56e11e52fa
New: hookmanager class is used frequently and is a factory object, so we
...
can move it during init of environment and use it globally.
2013-01-25 19:12:54 +01: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
Laurent Destailleur
091e469050
Fix: [ bug #622 ] attaching wrong file when sending the invoice via
...
e-mail
2013-01-07 00:40:18 +01:00
Regis Houssin
b838895db9
Fix: change for a neutral email
2012-12-30 15:13:49 +01:00
Laurent Destailleur
7d60c33c1a
Fix: typo
2012-12-29 12:16:45 +01:00
Laurent Destailleur
c107697dc1
Fix: Var not always initialized
2012-12-12 18:14:21 +01:00
Laurent Destailleur
59a33db53d
Fix: Add warning to ask refresh.
2012-10-03 20:10:29 +02:00
Regis Houssin
d58c106f66
Fix: convert line delimiters !!!
2012-09-19 17:53:09 +02:00
Laurent Destailleur
0e76bd7ac6
Fix: Blank page when renaming a product ref
2012-09-19 14:11:01 +02:00
Laurent Destailleur
d1cfe2ec54
Fix: Bug when metafile is on
2012-09-19 13:30:59 +02:00
Regis Houssin
58ae3b9372
Fix: possibility to disable hook
2012-09-17 19:36:43 +02:00
Regis Houssin
5770245805
Fix: rename the hook
2012-09-12 19:37:37 +02:00
Regis Houssin
664ceb7f2c
Fix: This is a 'superglobal', there is no need to do 'global $variable;'
...
to access it within functions or methods.
2012-09-12 14:55:39 +02:00
Regis Houssin
a2f1107bfc
Fix: add GET in hook parameters
2012-09-12 14:49:36 +02:00
Regis Houssin
7358223c8f
Fix: convert line delimiters
2012-09-12 12:41:44 +02:00
Regis Houssin
b75efdcf10
Fix: regression, replace triggers by hooks
2012-09-12 12:27:11 +02:00
Laurent Destailleur
8fd384373a
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2012-09-12 10:57:09 +02:00
Regis Houssin
71d5191ff7
Fix: duplicate parameters
2012-09-12 10:46:35 +02:00
Laurent Destailleur
54be534506
Add comment and renamed file to be sure new function is not called
...
directly. Not sure it's a good idea to have dolDeleteFile separated
since it must be called only by dol_delete_file.
2012-09-11 20:06:37 +02:00
Regis Houssin
b39c9c514a
Fix: split into 2 functions
2012-09-11 18:52:23 +02:00
Regis Houssin
f95d611f12
New: add hooks in dol_delete_file and list_of_documents methods
2012-09-11 17:08:10 +02:00
Regis Houssin
ee1cf819f7
Fix: mass convert line delimiters
2012-09-07 17:23:16 +02:00
Regis Houssin
b6dc20fb90
Fix: send $varfiles instead _FILES
2012-09-07 10:58:29 +02:00
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