Commit Graph

199 Commits

Author SHA1 Message Date
Frédéric FRANCE
7bb781eea8
function declaration 2018-08-15 14:28:34 +02:00
Laurent Destailleur
decb93efa6 Fix NOIPCHECK 2018-04-24 10:17:57 +02:00
Laurent Destailleur
cef9782179 Clean defined constant at begin of pages 2018-04-21 12:00:55 +02:00
Laurent Destailleur
6efa1560b9 Fix wrapper to image barcode 2018-03-25 19:49:00 +02:00
Laurent Destailleur
1a4aa89489 NEW Can share any file from the "Document" tab. 2018-02-13 13:55:36 +01:00
Laurent Destailleur
d26b2a694d FIX Security fixes (filter onload js, less verbose error message in
download and viewimage, show info to encourage dolibarr_main_prod=1)
2017-09-06 11:39:30 +02:00
Laurent Destailleur
68e333879f Fix var not sanitized 2017-05-16 13:27:32 +02:00
Laurent Destailleur
b8b91db007 Use function top_httphead to include headers in pages. 2017-05-09 21:46:57 +02:00
Laurent Destailleur
979bcd3a9b NEW Can add a background image on login page 2017-03-31 11:40:31 +02:00
Laurent Destailleur
e4617ec76c Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0
Conflicts:
	htdocs/core/filemanagerdol/connectors/php/config.php
	htdocs/viewimage.php
2016-11-11 15:03:05 +01:00
Regis Houssin
8b16eeb554 Fix: no login are required for fckeditor (external emailing) 2016-11-04 10:06:53 +01:00
Laurent Destailleur
9992704398 Fix: viewimage must not check login for resources medias 2016-07-03 20:50:28 +02:00
Laurent Destailleur
f59f3032c6 NEW: Rename path for generic medias files into '/medias' instead of
fckeditor. Add location of medias into title of media browser of
ckeditor.
Work on website module
2016-05-01 16:34:50 +02:00
Laurent Destailleur
0b6bd0bc14 More robust error management on barcode module. 2016-02-08 15:49:38 +01:00
Laurent Destailleur
2259cf2340 Merge remote-tracking branch 'origin/3.8' into develop 2016-01-08 14:49:00 +01:00
Regis Houssin
3ae5da1cd6 Fix: disable main.inc.php hooks 2016-01-06 16:18:52 +01:00
Laurent Destailleur
0d799402d0 Work on image for "no photo" with better resolution 2015-10-08 23:50:17 +02:00
Raphaël Doursenaud
4aee11e54b Make default avatar images public to allow Gravatar proxying
Fix #2985
2015-06-08 17:23:02 +02:00
Laurent Destailleur
a2afea7ba9 Work on barcode number generation.
Normalize code for barcode module.
2014-01-30 18:21:04 +01:00
Laurent Destailleur
9b235f6879 Fix: Remove space at end of binary files 2013-06-26 02:05:18 +02:00
Laurent Destailleur
1d8b9949d6 Merge remote-tracking branch 'origin/3.4' into develop
Conflicts:
	htdocs/compta/bank/annuel.php
	htdocs/compta/bank/categ.php
	htdocs/compta/bank/releve.php
	htdocs/core/class/hookmanager.class.php
	htdocs/core/class/html.formfile.class.php
	htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
	htdocs/core/tpl/contacts.tpl.php
	htdocs/cron/list.php
	htdocs/main.inc.php
	htdocs/public/paybox/paymentko.php
	htdocs/public/paybox/paymentok.php
	htdocs/public/paypal/paymentko.php
	htdocs/public/paypal/paymentok.php
	htdocs/theme/bureau2crea/style.css.php
	htdocs/theme/eldy/style.css.php
	htdocs/user/class/user.class.php
	htdocs/viewimage.php
2013-06-24 20:02:02 +02:00
Regis Houssin
05bd035488 Fix: convert line delimiters 2013-06-24 17:34:22 +02:00
Raphaël Doursenaud
686f5add82 Normalized line endings to LF 2013-06-05 16:12:07 +02:00
Laurent Destailleur
393ad1447a Qual: Uniformize permission code between viewimage.php and document.php 2013-05-16 15:46:54 +02:00
Laurent Destailleur
670d01e14e Fix: Remove space char at end of document and viewimage. 2013-04-28 18:46:34 +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
Laurent Destailleur
a4073dddd4 Doxygen llxHeader and llxFooter. 2013-04-15 15:43:25 +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
37c4898720 Removed "./" in require statements
It does not make any sense to do that
2012-08-23 01:43:44 +02:00
Marcos García
f3674317ec Removed parenthesis from all require and replaced with single quotes 2012-08-22 23:24:21 +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
Laurent Destailleur
c2db3265ec Fix: Regression with quot management. Try a better fix. 2012-05-30 12:43:23 +02:00
Laurent Destailleur
ebf77e8c92 A better fix to remove files from document list 2012-05-30 04:11:00 +02:00
Laurent Destailleur
763e2a96a4 Revert "Revert "Fix: Return empty image instead of error when file not found.""
This reverts commit b99d3a70ae.
2012-05-30 00:05:42 +02:00
Laurent Destailleur
b99d3a70ae Revert "Fix: Return empty image instead of error when file not found."
This reverts commit b266a19300.
2012-05-30 00:05:08 +02:00
Laurent Destailleur
b266a19300 Fix: Return empty image instead of error when file not found. 2012-05-29 23:59:43 +02:00
Laurent Destailleur
c207080527 Error management 2012-05-24 00:26:39 +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
Regis Houssin
921c8607d7 Fix: multicompany sharings and uniformize code 2012-04-07 10:19:33 +02:00
Regis Houssin
13624eeb86 Fix: multicompany sharings compatibility 2012-04-07 09:20:03 +02:00
Regis Houssin
98f7a189d1 Fix: add backward compatibility 2012-04-06 23:26:04 +02:00
Regis Houssin
94788e2ccb Fix: compatibility with multicompany sharings
use new $conf->product->dir_output[$object->entity] instead
$conf->product->dir_output
2012-04-06 22:41:33 +02:00
Regis Houssin
5d2da2c884 Fix: uniformize code 2012-03-22 08:33:44 +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
851abe00a9 New: Can attach files on social contributions 2012-01-11 20:31:40 +01:00
Laurent Destailleur
bb9dd1be10 Fix: db connexion not closed 2011-11-01 15:06:03 +01:00
Regis Houssin
3338649316 [task #217] Move core files in core directory 2011-10-24 14:11:49 +02:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
Laurent Destailleur
8398c093c7 Fix: Removed warnings 2011-09-21 13:16:13 +00:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
37ead2f97e Fix: Avoid errors into rpm packages 2011-07-31 23:19:04 +00:00
Laurent Destailleur
1f07114736 Fix: Showing companylogo 2011-07-28 13:56:17 +00:00
Laurent Destailleur
47ca3f9d14 Qual: Removed errors and warnings reported by codesniffer 2011-07-09 00:15:16 +00:00
Laurent Destailleur
25824db09c New: viewimage can deal video files 2011-07-06 16:56:01 +00:00
Regis Houssin
2090a922a5 Test2: commit to cvs for sync in git 2011-06-28 14:20:22 +00:00
Laurent Destailleur
3a18e9299c New: More statistics on member module. 2011-06-21 12:39:09 +00:00
Laurent Destailleur
a82262a7e0 Qual: Uniformize code 2011-06-15 11:35:33 +00:00
Laurent Destailleur
7f852d293c Fix: Avoid wrap with chrome.
Fix: Disable lightbox. Does not works with showphoto.
2011-06-12 22:13:05 +00:00
Laurent Destailleur
7d5f0c3723 New: Can add logo on third parties.
Qual: Uniformize code to show photos/logos.
2011-06-11 14:14:27 +00:00
Laurent Destailleur
1a365a69c8 Wrapper for images support a parameter cache=1 to increase speed for some pages. 2011-04-10 20:42:18 +00:00
Regis Houssin
b3ab387825 Fix: problem with image in emailing
Fix: use the same image path of fckeditor default path
2011-03-23 17:22:11 +00:00
Laurent Destailleur
5caf3d9b09 Restore work lost by savannah backup 2010-12-01 21:28:08 +00:00
Laurent Destailleur
10c65eddb7 Work on scanner module 2010-11-13 21:27:38 +00:00
Laurent Destailleur
74cb81b8d3 Work on PHPSane module 2010-11-11 16:32:17 +00:00
Laurent Destailleur
f8674ae32f Prepare code to have photo_resize used by other modules 2010-11-07 12:33:32 +00:00
Laurent Destailleur
f20a0e895c New: External modules can use generic wrapper 2010-11-07 12:14:46 +00:00
Laurent Destailleur
bf4b4c501e New: Work on PHPSane module 2010-11-06 17:06:43 +00:00
Laurent Destailleur
d2d63bcb81 Fix: Fix a lot of broken features when renaming produit to product 2010-06-02 08:34:44 +00:00
Regis Houssin
163fba3872 Fix: bad path
Fix: view only image files
2010-04-15 13:44:07 +00:00
Regis Houssin
b1f01a6330 Fix: syntax 2010-04-05 08:43:53 +00:00
Laurent Destailleur
2dd4f080f0 New: Add statistics page for trips and expenses module 2010-04-05 01:01:28 +00:00
Regis Houssin
d938cea797 Fix: bad path if product module is disabled 2010-03-31 14:43:45 +00:00
Laurent Destailleur
99e6134e82 Qual: Clean a lot of code to prepare remove of pre.inc.php 2010-02-28 14:16:46 +00:00
Laurent Destailleur
d5c786d805 Fix: Photo for users and members were saved with .jpg even if .png 2010-02-13 22:20:32 +00:00
Laurent Destailleur
bf37aee95b Fix: Upload photo for members 2009-12-30 12:09:24 +00:00
Laurent Destailleur
3f97012399 Fix: File functions works with filename with special chars 2009-12-15 11:30:49 +00:00
Regis Houssin
960afb50ed Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-24 06:10:00 +00:00
Laurent Destailleur
f68be991ff Fix: Data in memory must always be encoded in utf8. PHP files functions need ISO, so we convert data just before and after using them. 2009-10-04 17:18:09 +00:00
Regis Houssin
d1c17b6262 Fix: no token renewal in viewimage 2009-08-13 08:16:51 +00:00
Laurent Destailleur
8906d988ed Add patch from meos to add photos on categories.
Fix: Solve pb in categories navigation
2009-07-22 17:02:49 +00:00
Laurent Destailleur
58c1a8aafa W3C 2009-07-19 16:34:13 +00:00
Laurent Destailleur
0cc71ca978 Fix: bug #26929 : les fichiers contenant le signe + dans le nom ne peuvent tre tlchargs
Ne:w Use new confirm popup to delete file confirmation
2009-07-16 00:43:59 +00:00
Regis Houssin
f96ea81ac5 Fix: replace with simple directory 2009-07-05 08:31:08 +00:00
Laurent Destailleur
d4b0cfdfb7 Fix: Files related to running company must not be saved into same directory dedicated to module third party. 2009-07-02 00:16:50 +00:00
Laurent Destailleur
8732364f01 Qual: Now module services and products are two completely separated modules. 2009-06-08 18:14:37 +00:00
Regis Houssin
91624baceb Add: a color picker
Add: define a background color/image in mailing
2009-05-19 13:27:44 +00:00
Regis Houssin
852e8703f6 Fix: Replace with simple directories 2009-05-08 11:22:15 +00:00
Laurent Destailleur
326cd8b227 All data from conf file are stored into conf->file->xxx
Multicompany should be ok to logon with no breaking sessions when disabled
2009-05-08 01:23:33 +00:00
Laurent Destailleur
89beb6313c Qual: Remove not used pages 2009-05-05 16:17:05 +00:00
Laurent Destailleur
754041115f Qual: Reduce quantity of code. Make code simpler 2009-05-04 11:40:00 +00:00
Laurent Destailleur
fc1949bfdc The output of a barcode does not need to build file on disk. This is done on the fly (to increase response time of screen). 2009-05-04 09:58:56 +00:00
Regis Houssin
2d2687a642 Fix: bug affichage code barre 2009-05-03 17:28:14 +00:00
Regis Houssin
c71c2f39fb Add: can defined submodule name (ex: $conf->module->submodule->dir_output)
Add: can change the module name if different (ex: $conf->newmodulename->dir_output)
2009-04-30 00:36:08 +00:00
Laurent Destailleur
04915533f2 Fix: Must not use DOL_DATA_ROOT directly 2009-04-29 18:44:37 +00:00
Regis Houssin
e423d4193c New: parametre de config des repertoires dans les proprietes de la classe du module
avec un rpertoire parent en fonction de l'entit
2009-04-28 21:49:08 +00:00
Regis Houssin
119604703a New: parametre de config des repertoires dans les proprietes de la classe du module
avec un rpertoire parent en fonction de l'entit
2009-04-28 21:18:28 +00:00
Regis Houssin
13e9ff24a7 New: parametre de config des repertoires dans les proprietes de la classe du module
avec un rpertoire parent en fonction de l'entit
2009-04-28 20:35:01 +00:00