Commit Graph

150 Commits

Author SHA1 Message Date
Laurent Destailleur
a08fa814ec Better filter to exclude mysqldump warning 2016-02-22 13:32:01 +01:00
Laurent Destailleur
6181ab4149 FIX Avoid to return an error due to mysql warning 2016-02-22 09:32:42 +01:00
Laurent Destailleur
928336c835 NEW Clean and enhance code for cron engine 2016-01-31 15:14:50 +01:00
Raphaël Doursenaud
daa3ce3591 [Qual] Mysqli: set charset with recommended method 2016-01-13 11:55:59 +01:00
Laurent Destailleur
db7a98f0ef Fix: When a payment mode was disabled, it was not visible on old
records.
Fix: init of $limit not correctly set according to 3.9 rules on most
pages.
2015-12-21 13:56:59 +01:00
philippe grand
3767ab437e [Qual] Uniformize code 2015-10-23 12:58:30 +02:00
Raphaël Doursenaud
631ee83745 [Qual] Replaced deprecated print_fiche_titre() 2015-09-24 18:34:58 +02:00
Laurent Destailleur
6d03ba228d Fix consistency of backup result message 2015-05-18 20:33:02 +02:00
jfefe
c905f88498 Change generic and setup image title 2015-04-18 23:13:48 +02:00
Laurent Destailleur
e6c9e07de4 NEW Backup and restore tool is easier to use 2015-04-03 17:17:02 +02:00
Marcos García de La Fuente
e21681a369 PHPDoc and misc fixes for Admin 2015-02-10 10:52:48 +01:00
Laurent Destailleur
96215ccea5 Fix bad operator for and 2015-02-03 13:05:28 +01:00
Marcos García de La Fuente
86100758ff Miscellaneous corrections 2014-12-28 20:13:15 +01:00
Laurent Destailleur
12ae552486 Fix: Option to make pg_dump/restore 2014-09-17 17:38:07 +02:00
Laurent Destailleur
852b78f79f Removed 2 other call to getStaticMember (pb with php 5.5).Fix PHPCS for
constants into database driver classes.
2014-08-01 00:53:29 +02:00
Laurent Destailleur
9fff30416a Qual: Remove usage of getStaticMember function dir constants. 2014-07-31 20:12:21 +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
ed49f88446 Fix: deleting files into backup system tools.
Fix: Dump using php not not include lock on tables that are deleted.
2014-03-31 00:19:31 +02:00
Laurent Destailleur
60d4033e59 Fix: Option drop tables was broken 2013-11-01 17:19:25 +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
8ff506b120 Sec: Sanitize all params page, sortfield and sortorder 2012-10-13 14:47:46 +02:00
Laurent Destailleur
0cf89eac08 Doxygen 2012-09-08 02:17:08 +02:00
Laurent Destailleur
bda132b07f Fix: [ bug #254 ] Database backup not working with complex passwords 2012-08-26 00:33:37 +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
Stephen L
427da6ed5e Add optional options for mysqlnobin export method.
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-16 16:02:08 +02:00
Stephen L
44bed57faf Fix: mysqlnobin export method now works better (avoid duplicates values errors when a number is in fact a string and foreign keys checks are always disabled when restoring)
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-15 18:35:37 +02:00
Regis Houssin
a64723ea74 Fix: replace with new event message system 2012-07-29 16:11:52 +02:00
Regis Houssin
0aa6694c95 Fix: broken event message 2012-07-29 15:47:24 +02:00
Regis Houssin
98f7186d03 Fix: best practice 2012-04-10 08:46:23 +02:00
Laurent Destailleur
37ce5d9fca Revert code because it does not fix security hole completely. Also it
does work on origin but at a transition level.
Sanitizing for command line data must not appears inside a function used
for http data. I prefer fixing this at the source and also using a rule
that clean all attacks completely instead of a rule that clean "most
problem but not all".
2012-04-10 01:25:52 +02:00
Laurent Destailleur
1571134f7d Revert "Fix: security"
This reverts commit 380a8109e8.
2012-04-10 01:04:18 +02:00
Laurent Destailleur
4cb6ec76ee Revert "Fix: sql injection"
This reverts commit 8c3158cf28.
2012-04-10 01:03:54 +02:00
Regis Houssin
8c3158cf28 Fix: sql injection 2012-04-09 22:51:13 +02:00
Regis Houssin
380a8109e8 Fix: security 2012-04-09 22:32:20 +02:00
Laurent Destailleur
0c225372d6 Fix: Sanitize data 2 2012-03-27 18:36:32 +02:00
Laurent Destailleur
28cf1345e0 Fix: Sanitize data 2012-03-27 18:33:34 +02:00
Laurent Destailleur
2a543d5894 Fix: Default value for mysqldump was changed by mysql. 2012-02-10 11:50:41 +01:00
Laurent Destailleur
48d0fd00e9 Fix: Can delete and downlaod backup files 2012-02-10 11:09:34 +01:00
Laurent Destailleur
8336befb25 New: Can sort files into backup tool.
New: Default output charset are utf8 into backup tool.
2012-02-10 10:53:11 +01:00
Laurent Destailleur
f87b3be5d2 New: Add option to not set LOCK commands around INSERT into database
mysql dump.
2012-02-09 23:07:58 +01:00
Laurent Destailleur
8a83b273ef Uniformize code 2011-12-28 12:53:46 +01:00
Laurent Destailleur
d8856bac5f Fix: Work with PHP < 5.3 2011-12-28 01:28:16 +01:00
Laurent Destailleur
418acdee57 Fix: [ bug #254 ] Database backup not working with complex passwords 2011-12-21 19:56:56 +01:00
Laurent Destailleur
fce53afce4 Work on POO optimize 2011-12-21 19:34:16 +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
Juanjo Menent
5c9ba8a548 [task 189] Move Error* key from other.lang into errors.lang files 2011-10-29 23:52:05 +02:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
Regis Houssin
63d60a33fc [task #216] Move lib in core directory 2011-10-24 11:25:54 +02:00
Laurent Destailleur
00189f17dc Fix: Enhance successfull dump detection 2011-10-20 00:04:57 +02:00
Laurent Destailleur
920336b895 Fix: Add foreign keys directives 2011-10-15 20:45:16 +02:00
Laurent Destailleur
d23fc2b8e5 Oops. Forget to publish this. Commit again. 2011-10-14 16:02:18 +02:00
eldy
fd4ad1c540 Qual: Use a factory to create databse instance. This allow to use
different driver so different databases in same page or scripts. This
fix also duplicate class with same names.
2011-09-28 16:26:49 +02:00
Laurent Destailleur
3cdc7abf40 Fix: Solve phpcodesniffer errors and warning 2011-09-14 21:50:18 +00:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
f4606c2253 Fix: Avoid errors into rpm packages 2011-08-03 00:45:22 +00:00
Laurent Destailleur
de9abf2eae Translation for postgres 2011-06-15 07:44:02 +00:00
Laurent Destailleur
e9f4879245 Qual: Prepare move of function dol_delete_file into file.lib.php 2011-03-09 15:34:57 +00:00
Laurent Destailleur
19d66d672d Fix: Better error management in export 2011-03-07 00:57:24 +00:00
Laurent Destailleur
07d36fac4b Fix: Increase timeout 2011-03-05 01:53:20 +00:00
Laurent Destailleur
c0e02fe65e Fix: Pb in postgresql export 2011-01-10 01:19:59 +00:00
Laurent Destailleur
72756193bb Qual: Code is now simpler using jQuery. Removed rubbish javascript. 2010-09-06 09:51:00 +00:00
Laurent Destailleur
727309d2d4 Chang not used code 2010-08-21 20:16:52 +00:00
Philippe Grand
4deb00ef2e according to new tree directory 2010-05-03 08:43:33 +00:00
Laurent Destailleur
bdf4bbaa1f Works on ODT import 2010-03-27 00:33:28 +00:00
Regis Houssin
68c1571d13 Qual: First change to remove pre.inc.php 2010-03-01 09:20:41 +00:00
Laurent Destailleur
ece84e975d Fix: Error on close 2010-02-08 14:20:09 +00:00
Laurent Destailleur
b11ac5d223 Some changes to support all antiviruses 2010-01-07 00:06:21 +00:00
Laurent Destailleur
9bc20c5dbd Fix: Backup must not be inside a "temp" directory or it is lost after a "no data loss" purge. 2009-11-25 20:16:26 +00:00
Laurent Destailleur
8fedb1327b Fix: Option of mysql dump was using postgressql choices. 2009-11-25 19:05:04 +00:00
Laurent Destailleur
1c618d7100 Fix: Remove warning 2009-11-25 13:29:28 +00:00
Laurent Destailleur
3445244487 Fix: Errors in postgreSQL support 2009-10-26 03:10:12 +00:00
Regis Houssin
e420c6cc7c Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-22 11:13:31 +00:00
Regis Houssin
9ab461819e Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-20 15:57:45 +00:00
Laurent Destailleur
96b5362c8d New: Can define first day of week 2009-09-29 17:14:52 +00:00
Laurent Destailleur
e93964a718 Look: Uniformize look 2009-07-26 11:19:11 +00:00
Regis Houssin
2f2a2d9746 Fix: not used DOL_DATA_ROOT 2009-05-06 13:55:50 +00:00
Regis Houssin
b86684805c New: early development of multi-company module 2009-04-27 20:37:50 +00:00
Laurent Destailleur
01cca94928 Fix: Bad links 2009-04-20 16:05:09 +00:00
Laurent Destailleur
bf7722d3ed Doc 2009-03-09 12:38:22 +00:00
Laurent Destailleur
0823322ba1 Qual: All call to dolibarr_ functions are made on dol_ functions. 2009-02-20 22:53:15 +00:00
Laurent Destailleur
049948f89e New: Can show full password on restore option 2008-12-10 13:56:01 +00:00
Laurent Destailleur
6a259176a4 Add option to set mask on new files 2008-10-21 21:27:20 +00:00
Laurent Destailleur
8f932b470b Fix: Error management for failed dump was not working 2008-08-03 19:43:02 +00:00
Laurent Destailleur
87acdd10c7 Fix: Error management for failed dump was not working 2008-08-03 11:37:40 +00:00
Laurent Destailleur
327c74d35d Fix: Link was to short 2008-08-03 11:34:47 +00:00
Laurent Destailleur
4a439e1c69 Security: Backup and restore works even with root empty password 2008-04-17 10:56:49 +00:00
Laurent Destailleur
48b0bcf284 Perf: Function admin are moved from function to admin.lib.php
Perf: Constant is not stored in database if values is empty.
2008-02-01 00:09:23 +00:00
Laurent Destailleur
e457261eac Trad: Traduction export 2008-01-27 22:03:07 +00:00
Laurent Destailleur
eeb8bfafcb Qual: Dplacement show_document dans html.formfile.class.php 2008-01-20 13:53:02 +00:00
Laurent Destailleur
7a2bf7a5ef Fix: Gestion erreur 2007-11-09 02:43:44 +00:00
Laurent Destailleur
049438e6f2 Secu: Removed password from log file 2007-09-22 02:37:33 +00:00
Laurent Destailleur
05a3e447f4 Fix: La sauvegarde dump au format compress gz et bz2 ne fonctionnait pas. 2007-09-22 02:25:32 +00:00
Laurent Destailleur
5d0f1dfe5c Ajout fonction restauration (bas uniquement sur doc pour expliquer comment utiliser mysql pour une restauration) 2007-08-08 13:12:20 +00:00
Laurent Destailleur
a706dd1d68 Fix: Les parametres complementaires une traduction doivent etre pass via transnoentities quand inclus dans un trans 2006-12-22 20:19:22 +00:00
Laurent Destailleur
dc46fdeafc Amlioration gestion erreur 2006-11-30 07:24:16 +00:00
Laurent Destailleur
59ec5e72d3 Amlioration gestion erreur 2006-11-30 07:17:37 +00:00
Laurent Destailleur
1d5b45e5e1 New: Ajout page admin pour purger les fichiers de documents
New: Quelques amliorations mineures sur expditions
Trad: Un peu plus de traduction sur expditions
2006-11-11 00:46:15 +00:00
Laurent Destailleur
aa4cb1b272 Amlioration gestion erreur sauvegarde 2006-08-24 18:51:59 +00:00
Laurent Destailleur
532fff5eef New: Ajout outil de dump par mysqldump 2006-08-20 19:15:47 +00:00