Commit Graph

2652 Commits

Author SHA1 Message Date
Regis Houssin
e49df57667 Fix: compatibility with php 5.4 and E_STRICT mode 2012-04-14 15:04:46 +02:00
FHenry
adce88c4d1 correct bug #360 2012-04-12 11:02:11 +02:00
Laurent Destailleur
f4cd202a29 Use correct function 2012-04-11 13:29:45 +02:00
Regis Houssin
97f4a74ad0 Merge pull request #157 from FHenry/develop
Add __MAILTOEMAIL__ and configutation gobal varialbe of Check Read and
2012-04-10 23:23:42 -07:00
Regis Houssin
83135225c3 Merge pull request #159 from grandoc/develop
Develop
2012-04-10 23:18:07 -07:00
Grand Philippe
06761d9753 uniformise code 2012-04-10 15:41:27 +02:00
FHenry
2749117aba Add __MAILTOEMAIL__ and configutation gobal varialbe of Check Read and
unsubscribe in Admin part
2012-04-10 14:32:54 +02:00
Laurent Destailleur
caf2ad85ed Fix: bad link 2012-04-10 11:18:01 +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
8b15847742 New: Add link to dolistore into help message 2012-04-08 14:14:56 +02:00
Regis Houssin
13624eeb86 Fix: multicompany sharings compatibility 2012-04-07 09:20:03 +02:00
Grand Philippe
df132198df Prepair to display within a custom place 2012-04-05 14:49:51 +02:00
Grand Philippe
d3068e0ba5 Prepair to display within a custom place 2012-04-05 11:46:56 +02:00
Grand Philippe
922b4ae511 prepair to use within custom place 2012-04-04 17:48:47 +02:00
Regis Houssin
c57063878d New: add workflow module part for external modules 2012-04-04 09:29:05 +02:00
Regis Houssin
d7c8f4d5c3 Fix: compatibility with external modules 2012-04-03 17:09:05 +02:00
Regis Houssin
cde000e9ce Fix: sharing code 2012-04-03 17:24:31 +08:00
Laurent Destailleur
2dcd966046 Add link to promote dolicloud and dolibox into about page. 2012-03-31 16:24:34 +02:00
simnandez
f2e7afafd3 Fix: Sanitize data 2012-03-29 17:04:10 +01:00
simnandez
f14d294925 Fix: Sanitize data 2012-03-29 11:41:11 +01:00
simnandez
a0cae7709c Fix: Sanitize data 2012-03-29 09:54:48 +01:00
simnandez
2e7ce7647b Fix: Sanizite data 2012-03-29 08:38:38 +01:00
simnandez
956eb11172 Fix: Sanitize data 2012-03-28 16:49:36 +01:00
simnandez
3b8694432c Fix: Sanitize data 2012-03-28 09:57:02 +01:00
Laurent Destailleur
3e7136459f Fix: Reorder boxes 2012-03-28 02:57:49 +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
325d055fbb Try a checkstyle fix 2012-03-27 09:46:00 +02:00
Laurent Destailleur
52f4f72e6f Checkstyle 2012-03-26 22:39:43 +02:00
Grand Philippe
b3e55e179f first step to use fichinter within a custom place 2012-03-24 18:15:07 +01:00
Laurent Destailleur
8e745c88c5 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-03-24 15:21:09 +01:00
Regis Houssin
3c794967c3 Fix: multiple avoid warning with php strict mode 2012-03-23 17:18:33 +01:00
Laurent Destailleur
8317ee1ece Prepare code for 6 professional id. 2012-03-23 00:51:38 +01:00
Laurent Destailleur
6b2c141083 Uniformize page name. 2012-03-23 00:08:34 +01:00
Laurent Destailleur
0fd372e5da Trans: Update language files
New: Prepare code to allow any module to change/add content of
predefined mail and signature.
2012-03-22 23:52:02 +01:00
Regis Houssin
5d2da2c884 Fix: uniformize code 2012-03-22 08:33:44 +01:00
Laurent Destailleur
e0a89592bf Remove useless sentence with pgsql 2012-03-21 22:29:54 +01:00
Regis Houssin
aae57a9f98 Fix: remove deprecated method 2012-03-21 02:24:09 +01:00
Laurent Destailleur
3383d314c9 Doxygen 2012-03-19 17:18:11 +01:00
Laurent Destailleur
fb33dd6801 Qual: Move class file into class dir
Qual: Utility methods must be static.
2012-03-19 15:51:55 +01:00
Laurent Destailleur
5e3e5cc5f7 Fix: rss example was deprecated 2012-03-19 10:46:16 +01:00
Laurent Destailleur
d59848e18e New: Enhance box management 2012-03-17 21:32:10 +01:00
Laurent Destailleur
da94f76364 New: When a module with boxes is activated, box is also activated by
default for everybody, except for users that had personlized their box
view.
2012-03-17 14:29:48 +01:00
Laurent Destailleur
1d51ee3aab Perf: Reduce quantity of code for boxes. 2012-03-17 14:04:16 +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
d60bb77fea Save one click when using backup/restore. 2012-03-15 20:45:08 +01:00
Laurent Destailleur
62801532a7 Add a protection for duplicate modules 2012-03-15 16:01:56 +01:00
Laurent Destailleur
5edcc19820 Add a protection for duplicate modules 2012-03-15 15:47:01 +01:00
Laurent Destailleur
6050fc3c82 Doxygen 2012-03-13 00:40:22 +01:00
Laurent Destailleur
12b580a979 Update the about page. 2012-03-10 13:52:08 +01:00
Regis Houssin
6c8d9a0240 Fix: view currency symbol and remove DAO code 2012-03-08 14:39:40 +01:00
Regis Houssin
727a18fde5 Fix: use new default variable 2012-03-08 14:17:08 +01:00
Regis Houssin
620c258360 Fix: view unicode and currency symbol in dictionnary 2012-03-08 13:25:03 +01:00
Laurent Destailleur
b08848eb5b New: Add a page to explain how to make translations (only on not
complete translation languages)
2012-03-07 14:27:17 +01:00
Regis Houssin
ddedb68aeb Fix: php unit test warning 2012-03-05 07:59:00 +01:00
Laurent Destailleur
f241e338b3 Fix: Removed warning 2012-03-04 22:12:04 +01:00
Regis Houssin
9301def08d Fix: rename method 2012-03-02 15:03:14 +01:00
simnandez
3bc47ff4e9 Fix: Security 2012-03-02 14:53:49 +01:00
Regis Houssin
6aa7e90834 Fix: merge problem 2012-03-01 08:03:27 +01:00
Regis Houssin
f3cb926c3c Fix: use generic array for all parts 2012-03-01 13:58:33 +08:00
Laurent Destailleur
7c4e908639 models_modules isn't enough so we use same facture_invoice,
commande_invoice, propale_invoice. This means module descriptor file
should contains
module_parts('facture'=>1) if we want to add doc template for invoice
into module/core/modules/facture/doc
2012-03-01 02:06:08 +01:00
Laurent Destailleur
b9705ebff7 Fix: Init var 2012-03-01 00:47:36 +01:00
Regis Houssin
0b945f0716 Fix: use dol_buildpath 2012-03-01 04:10:50 +08:00
Laurent Destailleur
dd9e150743 Fix: Bad test 2012-02-29 20:58:05 +01:00
Laurent Destailleur
51fb1b2385 Fix: Code was sharing loop for custom dir and loop for subdir modules.
The loop to manage customdir must be managed by the dol_buildpath so
only loop on / + module dir must be done.
2012-02-29 20:07:17 +01:00
Regis Houssin
79c0369d66 Fix: possibility to use models of external modules 2012-03-01 01:24:00 +08:00
Regis Houssin
45ff7bddb3 New: Check if there is external models to do asked by plugins 2012-03-01 00:29:56 +08:00
Regis Houssin
cb39926768 New: add "amount" for price treatment and add entity possibility for
have custom dictionnary by entities
2012-02-29 23:10:27 +08:00
Laurent Destailleur
1645ddbe47 Sec: Sanitize all input for ids. 2012-02-27 22:26:22 +01:00
Regis Houssin
8e023bb384 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-24 16:32:29 +01:00
Regis Houssin
13f2fe84f9 Fix: missing object $db and missing variables declaration 2012-02-24 16:31:51 +01:00
Laurent Destailleur
cc6a2c8d84 Fix: Compatibility of new module setup with old setup 2012-02-24 11:06:05 +01:00
Regis Houssin
673fbc457d Fix: add debug mode and change with new module parts management 2012-02-23 20:42:25 +01:00
Laurent Destailleur
c5325e94cc Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/admin/syslog.php
2012-02-23 03:32:19 +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
Regis Houssin
e88d58442c Fix: problem with this code 2012-02-22 15:24:34 +01:00
Laurent Destailleur
65104cbb40 Try a fix to edit log level 2012-02-22 13:23:13 +01:00
Laurent Destailleur
d7cc1bdc88 Uniformize code 2012-02-19 19:14:17 +01:00
Laurent Destailleur
c4b845d60a Qual: Removed deprecated function name. 2012-02-19 18:34:22 +01:00
Laurent Destailleur
e903719c36 Qual: Uniformize code
Perf: Very small per enhancement
2012-02-19 17:12:17 +01:00
Laurent Destailleur
75312655f1 Qual: More robust error code management when a box is renamed. 2012-02-19 13:12:11 +01:00
Laurent Destailleur
61175c2543 Work on debian/rpm package 2012-02-18 14:55:41 +01:00
Laurent Destailleur
845cd98ef3 Qual: Clean old functions deprecated into 3.0 version
Clean no more used date function to prepare removing of adodb.
2012-02-18 12:54:23 +01:00
Laurent Destailleur
7afcee03b9 Work on debian package 2012-02-18 03:29:43 +01:00
Laurent Destailleur
56f7196aa2 Qual: Normalize function name 2012-02-15 13:55:00 +01:00
Regis Houssin
637dca38e7 Fix: wrong constant 2012-02-13 11:01:34 +01:00
Regis Houssin
64125334b9 Qual: ajax.lib is already load by default in main.inc 2012-02-13 10:08:40 +01:00
Laurent Destailleur
f093640829 Qual: Reduce code size 2012-02-13 10:02:28 +01:00
Regis Houssin
c80646671f Fix: add ajax constant on/off 2012-02-13 09:45:38 +01:00
Laurent Destailleur
ca727ca18e Qual: Move security functions into security2.lib.php 2012-02-12 20:34:40 +01:00
Laurent Destailleur
036e578e0f Move security function into security.lib.php
Split security.lib.php into 2 files: One always loaded, the other for
rare functions.
2012-02-12 17:41:28 +01:00
Laurent Destailleur
acef131833 New: Uniformize code to manage menus handler provided by external
modules
2012-02-12 15:17:54 +01:00
Laurent Destailleur
9d2afc5fea New: Increase speed when switching to auguria module. Add error management. 2012-02-10 17:09:13 +01:00
Laurent Destailleur
8bcdfc8897 New: Add an error message when transactions are not closed. 2012-02-10 16:37:41 +01: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
a2d3485b2a New: Autoselect no LOCK when export is for POSTGRESQL 2012-02-10 10:00:32 +01:00
Laurent Destailleur
f80a40657f Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-09 23:08:14 +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
e23d986587 Add login/user used for web server execution 2012-02-09 02:04:34 +01:00
Laurent Destailleur
09cfd5444c Look: Avoid duplicate br 2012-02-08 18:18:21 +01:00
Laurent Destailleur
7f081ae7ef Add warning into email setup 2012-02-08 14:20:51 +01:00
Laurent Destailleur
d4c1ad7a5e Fix tz output 2012-02-08 00:30:10 +01:00
Laurent Destailleur
66ccb8c679 First change to prepare usage of native PHP functions for date instead 2012-02-06 05:31:19 +01:00
Laurent Destailleur
7b527e085d Add more test to prepare option for rounding lines 2012-02-06 00:07:48 +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
866e8ac556 First change to prepare usage of native PHP functions for date instead
of adodb-time library.
2012-02-05 15:13:31 +01:00
Grand Philippe
0c5f6d1f62 fix : display specimen 2012-02-03 00:24:35 +08:00
Laurent Destailleur
19f8355231 Look: Minor fix 2012-02-01 22:17:11 +01:00
Laurent Destailleur
9ec5ca6c6e Fix: mail test form 2012-02-01 16:02:00 +01:00
Laurent Destailleur
b1e58dd454 Mutualize common code 2012-02-01 13:21:39 +01:00
Laurent Destailleur
0011b1dadd New: Trigger now have a priority to define sort execution order. 2012-01-31 20:32:26 +01:00
simnandez
15d1526393 [ task #176 ] Allow to use ODT templates. Works with Orders 2012-01-27 17:41:47 +01:00
Laurent Destailleur
0ab6cec007 New: emailing submodules can be stored into the module directory. 2012-01-26 23:05:59 +01:00
Laurent Destailleur
e07192d558 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-01-25 21:28:10 +01:00
Laurent Destailleur
6e612dd316 Fix: Use default pdf format if not defined 2012-01-25 21:27:31 +01:00
Laurent Destailleur
42ee2f529c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-01-24 09:20:06 +01:00
Laurent Destailleur
ad1ec032f3 Normalize code 2012-01-24 09:19:28 +01:00
Regis Houssin
190cc7b13c Fix: uniformize structure 2012-01-23 14:43:31 +01:00
Laurent Destailleur
f75329faef Fix: geoip works with debian geoip package 2012-01-15 02:39:43 +01:00
Laurent Destailleur
382c6554b4 New: Work on debian packaging to use default ckeditor package 2012-01-14 02:06:05 +01:00
Regis Houssin
8386e8a541 Fix: can debug rounding. to simulate the rounded total 2012-01-09 09:55:20 +01:00
Laurent Destailleur
b3f194930d Always show example for vat rate 0 even if not vat rates defined for
country.
2012-01-09 00:41:09 +01:00
Laurent Destailleur
28a0e00de1 Keep examples i used for debug purpose as comments 2012-01-09 00:02:42 +01:00
Regis Houssin
1d144b3b4a New: add test for vat rounded by line or on the total 2012-01-08 20:08:15 +01:00
Regis Houssin
f7c61369d4 Fix: test limits with vat rates of current country
Fix: uniform code
2012-01-08 10:53:05 +01:00
Laurent Destailleur
2d67802938 Doxygen 2012-01-08 00:52:07 +01:00
Laurent Destailleur
896cfe62ba Fix: conf file corrupted when using password with special char 2012-01-07 23:42:36 +01:00
Laurent Destailleur
90b7cd1aae [ task #176 ] Allow to use ODT templates for prososal like it's done for
invoices. Move pdf and odt to doc dir
2012-01-04 02:04:55 +01:00
Laurent Destailleur
9f2a65d636 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-01-02 20:03:17 +01:00
simnandez
e7c44447d0 [ task #176 ] Allow to use ODT templates for prososal like it's done for
invoices. Firsts works
2012-01-02 18:31:01 +01:00
simnandez
2a61569d9a [ task #176 ] Allow to use ODT templates for prososal like it's done for
invoices. Firsts works
2012-01-02 18:23:41 +01:00
Laurent Destailleur
c06561672a Hide clear password 2012-01-02 17:36:14 +01:00
Laurent Destailleur
fd7d2fe667 Test format to removed scope warnings 2011-12-30 14:27:18 +01:00
Laurent Destailleur
963df8f59d Qual: Uniformize code 2011-12-29 23:23:31 +01:00
Laurent Destailleur
7688e44b2a Uniformize field country_id, country_code, country 2011-12-29 18:34:56 +01:00
Laurent Destailleur
c2348ef600 Uniformize field country_id, country_code, country 2011-12-29 18:07:41 +01:00
Laurent Destailleur
8d5972c8f4 Add info in html page 2011-12-28 19:41:43 +01:00
Laurent Destailleur
8a83b273ef Uniformize code 2011-12-28 12:53:46 +01:00
Regis Houssin
3df2810f29 Fix: avoid warning for country with < 4 profid 2011-12-28 10:17:33 +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
Laurent Destailleur
decf7e682f Fix: [ bug #256 ] Delivery order SQL error 2011-12-21 16:38:56 +01:00