Frédéric FRANCE
0c2a77cb53
Merge remote-tracking branch 'upstream/develop' into patch-2
2019-03-05 18:14:15 +01:00
Laurent Destailleur
756b9ca07f
Fix phpunit
2019-03-05 16:51:16 +01:00
Frédéric FRANCE
2f3c3aeb05
test
2019-03-04 21:24:48 +01:00
Frédéric FRANCE
16c73af0cb
remove test ticketlog
2019-03-04 20:16:18 +01:00
Laurent Destailleur
1d6028dfb0
FIX PHPUnit
2019-03-04 19:38:52 +01:00
Laurent Destailleur
a5711a51ab
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
Conflicts:
htdocs/core/lib/json.lib.php
test/phpunit/JsonLibTest.php
2019-03-02 18:30:17 +01:00
Frédéric FRANCE
40d34940f1
fix exclude from phpcs
2019-03-02 10:00:51 +01:00
Frédéric FRANCE
be8db31388
Merge remote-tracking branch 'upstream/develop' into Squiz.Scope.MethodScope.Missing
2019-03-01 19:24:27 +01:00
Laurent Destailleur
1cb3bad7f8
Rename file
2019-03-01 19:01:47 +01:00
Frédéric FRANCE
81f2f99db5
Merge remote-tracking branch 'upstream/develop' into Squiz.Scope.MethodScope.Missing
2019-02-26 21:16:01 +01:00
Laurent Destailleur
9e82c37963
WIP Start module BOM
2019-02-26 19:27:04 +01:00
Frédéric FRANCE
42a1387218
wip
2019-02-25 00:56:48 +01:00
klemens
beb2791dde
spelling fixes
2019-02-10 12:59:09 +01:00
Frédéric FRANCE
970392adb8
Merge remote-tracking branch 'upstream/develop' into psr2squizwhite
2019-02-03 22:41:57 +01:00
Frédéric FRANCE
80a12fcd1c
psr2 Squiz.WhiteSpace.ScopeClosingBrace.Indent
2019-02-03 14:29:45 +01:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma
2019-01-27 23:23:38 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing
2019-01-27 15:20:16 +01:00
Frédéric FRANCE
24b073771e
wip
2019-01-27 13:07:22 +01:00
Laurent Destailleur
0f61a99cc6
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
2019-01-21 05:51:35 +01:00
Laurent Destailleur
270033469f
Log
2019-01-21 03:50:05 +01:00
Laurent Destailleur
3ddfcbe3bb
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
.travis.yml
dev/setup/codesniffer/ruleset.xml
2019-01-20 20:36:45 +01:00
Laurent Destailleur
9ffd859830
Fix phpunit
2019-01-20 18:14:51 +01:00
Laurent Destailleur
654b025915
Fix bad name
2019-01-20 15:27:20 +01:00
Laurent Destailleur
2e3f247544
Fix name of module
2019-01-20 15:02:32 +01:00
Laurent Destailleur
6156d04195
Fix init of module list
2019-01-20 14:41:35 +01:00
Laurent Destailleur
ec0c6985e7
Try to fix error when module not enabled
2019-01-20 13:57:00 +01:00
Laurent Destailleur
51b03e358e
Fix phpunit
2019-01-20 13:45:29 +01:00
Laurent Destailleur
e6f47717b5
Fix phpunit
2018-12-22 19:48:14 +01:00
Laurent Destailleur
415fbc19af
Fix param
2018-12-22 18:12:29 +01:00
Laurent Destailleur
8a70cf9ede
NEW Add parameter replaceambiguouschars on getRandomPassword function
2018-12-21 09:56:54 +01:00
Alexandre SPANGARO
60f56fcf8d
Merge branch 'develop' into 10.0_members
2018-12-14 11:39:02 +01:00
Maxime Kohlhaas
2e496ea83a
QUAL rename facnumber by ref
2018-12-02 17:33:44 +01:00
Laurent Destailleur
5e9abe6aad
Fix getLanguageCodeFromCountryCode
2018-11-21 16:28:36 +01:00
Alexandre SPANGARO
52efbfaba8
Update travis test
2018-11-20 06:53:49 +01:00
Regis Houssin
569d59d251
FIX change my deprecated email
2018-10-27 14:43:12 +02:00
Frédéric FRANCE
86d854f3f4
Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose
2018-10-24 23:04:26 +02:00
Frédéric FRANCE
f9a3dec26d
Update FactureTest.php
2018-10-20 23:07:08 +02:00
Laurent Destailleur
2c1e8d6535
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/accountancy/bookkeeping/balance.php
htdocs/expedition/class/expeditionbatch.class.php
htdocs/public/payment/newpayment.php
htdocs/stripe/config.php
2018-10-16 18:47:11 +02:00
Laurent Destailleur
88ff7241f5
FIX Quick hack to solve pb of bad definition of public holidays
2018-10-11 13:12:36 +02:00
Laurent Destailleur
111d589474
NEW Can mix offset before and after with rules for due date of invoices
2018-10-04 16:06:26 +02:00
Laurent Destailleur
51e4ba11d3
Move phpunit
2018-09-28 18:09:50 +02:00
Laurent Destailleur
73458f649f
Fix phpcs
2018-09-28 18:09:07 +02:00
Laurent Destailleur
603db250f0
Clean takepos
2018-09-28 13:36:46 +02:00
Laurent Destailleur
0073d63464
Fix phpcs
2018-09-21 09:42:33 +02:00
Laurent Destailleur
5bd538fb2c
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/core/modules/modStripe.class.php
htdocs/filefunc.inc.php
htdocs/projet/element.php
2018-09-20 23:43:34 +02:00
Laurent Destailleur
37dcb33661
phpunit for Loan
2018-09-20 23:41:04 +02:00
Laurent Destailleur
c55ebecff7
Include PHP unit of Loan class into Travis
2018-09-20 19:06:12 +02:00
Maxime Kohlhaas
75104999d3
NEW PHPUnitTest on Loan class #3163
2018-09-20 15:04:00 +02:00
Laurent Destailleur
76cdbc8bf1
Merge branch 'develop' into testsqlAndScript
2018-09-15 17:01:23 +02:00
Frédéric FRANCE
b05c175a78
Merge remote-tracking branch 'upstream/develop' into testsqlAndScript
2018-09-02 19:00:43 +02:00
Frédéric FRANCE
e13a8ec572
Merge remote-tracking branch 'upstream/develop' into camelCaps2
2018-09-02 18:19:45 +02:00
Laurent Destailleur
3d3edb19d8
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
.travis.yml
htdocs/langs/en_US/commercial.lang
2018-09-02 15:48:26 +02:00
Laurent Destailleur
76d6affb27
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
...
Conflicts:
.travis.yml
2018-09-02 15:46:09 +02:00
Laurent Destailleur
ebba0b9e67
phpunit 6.1 compatibility
2018-09-02 15:24:29 +02:00
Laurent Destailleur
a7dfc88b59
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into 7.0
...
Conflicts:
test/phpunit/CoreTest.php
2018-09-02 15:21:21 +02:00
Laurent Destailleur
bd3647a9d7
Prepare phpunit 6.1 compatibility
2018-09-02 14:23:52 +02:00
Laurent Destailleur
02bedc49d3
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into 5.0
...
Conflicts:
test/phpunit/PricesTest.php
test/phpunit/RestAPIUserTest.php
test/phpunit/WebservicesInvoicesTest.php
2018-09-02 14:15:17 +02:00
Laurent Destailleur
a69c3caf2c
Prepare compatibility with phpunit 6.1
2018-09-02 14:10:06 +02:00
Laurent Destailleur
53caac13a9
Test phpunit
2018-09-02 13:57:51 +02:00
Frédéric FRANCE
3e723af018
start changing phpcs:ignore
2018-09-01 23:46:13 +02:00
Frédéric FRANCE
ab9bf78ecf
replace test_sql_and_script_inject
2018-09-01 17:42:16 +02:00
Frédéric FRANCE
10200374ef
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-09-01 14:06:23 +02:00
Frédéric FRANCE
57fb3dc2f4
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-09-01 13:52:51 +02:00
Laurent Destailleur
5604f3b0c3
Merge pull request #9376 from frederic34/functionCommentMissing
...
function Comment Missing
2018-09-01 12:59:32 +02:00
Frédéric FRANCE
02b74afe5f
function Comment Missing
2018-08-31 22:41:51 +02:00
Frédéric FRANCE
b015d05f07
function Comment Missing
2018-08-31 22:25:11 +02:00
Frédéric FRANCE
b513cf57d0
function Comment Missing
2018-08-31 21:44:54 +02:00
Frédéric FRANCE
6aee680a4f
PSR2 ClassDeclaration
2018-08-29 22:06:05 +02:00
Frédéric FRANCE
b03f4004ea
PSR2 FunctionClosingBrace
2018-08-29 21:25:22 +02:00
Frédéric FRANCE
fe4260a014
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-08-28 09:34:53 +02:00
Frédéric FRANCE
6b6daf178f
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-08-21 20:57:58 +02:00
Frédéric FRANCE
aba69b94b2
Merge remote-tracking branch 'upstream/develop' into trimtrailing
2018-08-21 14:03:02 +02:00
Frédéric FRANCE
39462742e2
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-08-16 08:17:55 +02:00
Laurent Destailleur
b515511ad6
Merge branch 'develop' into FunctionDeclaration
2018-08-16 00:52:55 +02:00
Laurent Destailleur
5c712a6cd3
Merge branch 'develop' into trimtrailing
2018-08-16 00:47:09 +02:00
Frédéric FRANCE
54a078149a
function declaration
2018-08-15 17:34:35 +02:00
Frédéric FRANCE
7bb781eea8
function declaration
2018-08-15 14:28:34 +02:00
Frédéric FRANCE
5146ab9177
trim
2018-08-14 15:34:44 +02:00
Frédéric FRANCE
a0a6afc224
return comment
2018-08-14 12:23:10 +02:00
Frédéric FRANCE
850ac34020
mark non camelCaps function
2018-08-13 17:26:32 +02:00
Frédéric FRANCE
1b27cca91c
Merge remote-tracking branch 'upstream/develop' into trimtrailing
2018-08-13 08:53:07 +02:00
Laurent Destailleur
6a8ed56c3d
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
2018-08-13 01:23:43 +02:00
Laurent Destailleur
31c42c9a32
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
...
Conflicts:
htdocs/societe/canvas/actions_card_common.class.php
2018-08-13 01:23:03 +02:00
Laurent Destailleur
7cd24c389d
Fix firstname/lastname
2018-08-13 01:21:23 +02:00
Frédéric FRANCE
b90d125fda
trim trailing
2018-07-26 20:19:52 +02:00
Frédéric FRANCE
6cb0fb10d6
trim trailing
2018-07-26 19:05:34 +02:00
Frédéric FRANCE
a0a5d33641
test include
2018-07-26 17:30:53 +02:00
Laurent Destailleur
91b7ee5fc2
NEW Add function isValidMXRecord
2018-07-04 11:07:28 +02:00
Laurent Destailleur
fec9a96ad1
Fix travis
2018-07-02 09:34:34 +02:00
Laurent Destailleur
7e7d419e2d
Test travis
2018-07-02 08:43:08 +02:00
Laurent Destailleur
93184c5f66
Fix travis
2018-07-01 23:57:54 +02:00
Frédéric FRANCE
ee72823c82
Update ActionCommTest.php
2018-06-10 10:32:28 +02:00
Frédéric FRANCE
dd759dc92f
Update AllTests.php
2018-06-10 10:16:22 +02:00
Laurent Destailleur
202d37bc24
Add PHPunit tests for action comm
2018-06-07 13:07:15 +02:00
Laurent Destailleur
28e24de1e9
Fix Ticketsup name
2018-06-06 12:06:16 +02:00
Laurent Destailleur
87d073b5cd
Fix conflict with external ticketsup module
2018-06-04 21:49:29 +02:00
Frédéric FRANCE
e2a557aadd
limit length of lines to 500 chars
2018-05-27 15:04:12 +02:00
Raphaël Doursenaud
be78c37985
Fix typo
2018-05-23 11:37:12 +02:00
Laurent Destailleur
3c4c48c331
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
2018-05-21 23:43:58 +02:00
Laurent Destailleur
7fce02e72e
Fix phpunit test name
2018-05-21 23:43:26 +02:00
Laurent Destailleur
de84f0e687
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/facture/class/facture.class.php
htdocs/core/actions_massactions.inc.php
htdocs/filefunc.inc.php
2018-05-21 23:35:09 +02:00
Laurent Destailleur
79bbeb05ae
Add missing phpunit tests
2018-05-18 11:17:33 +02:00
Laurent Destailleur
80bce6b62d
Add phpunit for accountingaccount
2018-05-18 09:25:59 +02:00
Laurent Destailleur
59e5545aa7
Fix phpunit
2018-04-27 09:18:25 +02:00
Laurent Destailleur
e9a2894727
Fix PSR2
2018-04-22 20:59:29 +02:00
Laurent Destailleur
b049cf194d
Fix PSR2
2018-04-22 20:17:27 +02:00
Laurent Destailleur
0f16ccbc4a
Enhance dol_encode/dol_decode function
2018-04-19 12:03:42 +02:00
Laurent Destailleur
2959dc4a3a
Fix regression
2018-04-15 18:20:04 +02:00
Laurent Destailleur
7811796491
Fix test
2018-04-13 15:43:26 +02:00
Laurent Destailleur
ea2fd67e0d
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/bank/card.php
htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php
htdocs/core/modules/supplier_order/pdf/pdf_muscadet.modules.php
htdocs/core/tpl/admin_extrafields_view.tpl.php
htdocs/langs/de_DE/admin.lang
2018-04-12 13:31:14 +02:00
Laurent Destailleur
8aa41c09c0
Fix phpunit
2018-04-11 19:31:28 +02:00
Laurent Destailleur
956fc2376d
FIX #8483
2018-04-06 12:27:55 +02:00
Laurent Destailleur
5d6d019fe7
Fix phpunit
2018-04-06 00:21:40 +02:00
Laurent Destailleur
48ff89c63b
Fix regression
2018-04-05 19:52:54 +02:00
Laurent Destailleur
b210360220
More test
2018-04-05 12:59:01 +02:00
Laurent Destailleur
04ca623ced
More tests
2018-03-25 13:12:14 +02:00
Laurent Destailleur
01f25b00b0
Test
2018-03-12 23:43:47 +01:00
Laurent Destailleur
612d36a2f8
Fix phpunit
2018-03-12 19:32:57 +01:00
Laurent Destailleur
bf36d671ba
Fix ticket deletion
2018-03-12 19:30:21 +01:00
Laurent Destailleur
1603837933
Report error in phpunit
2018-03-12 15:03:03 +01:00
Laurent Destailleur
a190732135
Add ticketsup in module to init
2018-03-12 15:01:59 +01:00
Laurent Destailleur
735156f4b8
Try to fix phpunit error
2018-03-12 13:22:09 +01:00
Laurent Destailleur
97c93e35fc
Add phpunit for ticket
2018-03-12 12:57:39 +01:00
Laurent Destailleur
b5ca4ca391
PHPunit
2018-03-11 23:19:43 +01:00
jfefe
79acb79ae0
Begin integration of module « Ticketsup »
...
Related to #4948
2018-03-11 09:44:58 +01:00
BENKE Charlene
0d50cab97e
primary key without space
2018-03-10 23:05:24 +01:00
Laurent Destailleur
3ad95e46c0
Fix phpunit
2018-03-08 22:40:42 +01:00
Laurent Destailleur
7ba55ea12e
Fix phpunit
2018-02-14 22:17:53 +01:00
Laurent Destailleur
dcd579242f
Fix <br /> (xml) into <br> (html)
2018-01-17 13:26:57 +01:00
Laurent Destailleur
e1f0483b23
Fix grabber of url when url is on second level dir. More phpunits
2017-12-10 17:59:19 +01:00
Laurent Destailleur
ccd4f74f51
Fix PHPunit
2017-12-05 19:24:26 +01:00
Laurent Destailleur
0a73daba01
Security: on target=_blank, we must have rel="noopener"
2017-12-02 03:04:52 +01:00
Laurent Destailleur
ce32da6217
Fix debugs APIs
2017-12-01 15:39:18 +01:00
Laurent Destailleur
0b470bef80
Add phpunit for make_substitutions
2017-11-26 10:24:33 +01:00
Laurent Destailleur
2caeafc03b
NEW Compatibility with PHP 7.2
2017-11-17 18:32:37 +01:00
Laurent Destailleur
0b349bef60
Test php 7.2
2017-11-17 17:15:23 +01:00
Laurent Destailleur
e7121cda81
Disable some test with php 7.2
2017-11-17 17:11:35 +01:00
Laurent Destailleur
0be11e5e45
Fix phpunit
2017-11-17 16:06:55 +01:00
Laurent Destailleur
ea42fe28d2
Test ok on travis
2017-11-06 20:39:24 +01:00
Laurent Destailleur
d90e3e88c2
NEW Add method executeCLI and a phpunit
2017-11-06 20:24:12 +01:00
Laurent Destailleur
91950ccbc7
Fix regression in getRandomPassword
2017-11-05 03:03:17 +01:00
Laurent Destailleur
d47ab77123
Check module is on
2017-10-24 10:02:33 +02:00
Laurent Destailleur
53d2f29cdd
Fix regression
2017-10-23 10:27:50 +02:00
Laurent Destailleur
097d5fd623
Fix phpunit
2017-10-22 13:12:06 +02:00
Laurent Destailleur
4247038d01
Add phpunit test
2017-10-22 13:06:27 +02:00
Laurent Destailleur
cb4d863e83
Fix phpunit
2017-10-22 04:34:28 +02:00
Laurent Destailleur
8e4cb2ea79
Update doc/test
2017-10-18 12:09:11 +02:00
Laurent Destailleur
436ec93084
FIX is_erasable report bad value when thirdparty was not loaded
2017-10-04 03:22:41 +02:00
Laurent Destailleur
f380747e20
More accurate error code
2017-10-04 01:11:19 +02:00
Laurent Destailleur
8794e54eba
Try to fix phpunit
2017-10-03 22:52:57 +02:00
Laurent Destailleur
fa6c3eff80
More PHPunit on invoice deletion
2017-09-30 12:53:24 +02:00
Regis Houssin
92ff974c5b
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop_ldap
2017-09-25 06:47:34 +02:00
Laurent Destailleur
7a6180858e
Fix phpunit
2017-09-24 21:12:50 +02:00
Regis Houssin
1f88e624c2
Fix: add ldap import/export script
2017-09-17 10:42:00 +02:00
Laurent Destailleur
5e34b121dd
Add more robust php unit to detect not escaped sql. Fix not escaped sql
2017-09-15 15:41:07 +02:00
Laurent Destailleur
9523bf5fbd
Remove useless code
2017-09-14 10:23:17 +02:00
Laurent Destailleur
205989b64b
Fix phpunit
2017-09-14 09:16:57 +02:00
Laurent Destailleur
b3b00f63e4
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
2017-09-13 22:30:43 +02:00
Laurent Destailleur
4b8862c1ec
Remove useless import
2017-09-13 21:54:16 +02:00
Laurent Destailleur
fed3165b53
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into 6.0
...
Conflicts:
htdocs/core/lib/price.lib.php
2017-09-13 21:53:03 +02:00
Laurent Destailleur
6d40f797d2
Fix regression
2017-09-13 21:50:14 +02:00
Laurent Destailleur
eadfbfe2bd
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/facture/class/facture.class.php
htdocs/core/lib/functions2.lib.php
2017-09-13 20:57:53 +02:00
Laurent Destailleur
f2cd96b9c0
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into 6.0
...
Conflicts:
ChangeLog
htdocs/adherents/class/adherent.class.php
htdocs/core/lib/price.lib.php
htdocs/filefunc.inc.php
htdocs/fourn/class/fournisseur.facture.class.php
htdocs/supplier_proposal/list.php
2017-09-13 20:55:22 +02:00
Laurent Destailleur
dc38ec5051
Fix regression
2017-09-13 20:48:24 +02:00
Laurent Destailleur
a9e44a2cf5
NEW Enhance the anti XSS filter
2017-09-07 13:54:49 +02:00
Laurent Destailleur
e25a428118
Fix compatibility with Internet Explorer
2017-08-23 12:32:28 +02:00
Laurent Destailleur
5b1f5b0f20
Fix translation done twice into field title of array
2017-08-02 13:31:53 +02:00
Laurent Destailleur
bdfb0b7561
FIX pgsql compatibility. Add PHPUnit to avoid using dates without quotes
2017-07-26 21:22:53 +02:00
Laurent Destailleur
25b107defb
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into 6.0
...
Conflicts:
htdocs/contrat/list.php
htdocs/fichinter/list.php
2017-07-23 19:09:00 +02:00
Laurent Destailleur
44023606c6
Fix pb in dolGetFirstLineOfText. Add PHPunit
2017-07-22 12:47:35 +02:00
Laurent Destailleur
23fbef3dae
Fix the delete dir functions does not return real nb of deleted files.
2017-07-13 00:26:05 +02:00
Laurent Destailleur
a92effa622
Fix clean test
2017-07-09 21:16:09 +02:00
Laurent Destailleur
a562e5a919
Maxi debug of accountancy ledger page.
2017-07-08 20:52:53 +02:00
Laurent Destailleur
252d8da8fc
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/categories/class/categorie.class.php
htdocs/core/class/commondocgenerator.class.php
htdocs/core/lib/functions.lib.php
htdocs/core/modules/DolibarrModules.class.php
htdocs/filefunc.inc.php
htdocs/societe/class/societe.class.php
htdocs/supplier_proposal/class/supplier_proposal.class.php
2017-07-07 15:11:53 +02:00
Laurent Destailleur
b308cfef1d
Fix dol_trunc
2017-06-30 18:30:01 +02:00
Laurent Destailleur
1fafa4017d
Fix test on currency name
2017-06-27 12:33:29 +02:00
Laurent Destailleur
32ff09123d
Add more info on phpunit
2017-06-27 12:19:48 +02:00
Laurent Destailleur
2f4749a7a2
Revert "Add php unit"
...
This reverts commit cb93770d6b .
2017-06-27 12:02:22 +02:00
Laurent Destailleur
cb93770d6b
Add php unit
2017-06-26 13:29:43 +02:00
Laurent Destailleur
2be848025f
Fix parameter withcode of currency_name function. Add PHPUnit tests
2017-06-26 10:09:22 +02:00
Laurent Destailleur
f1701469e0
NEW data files are now also parsed by phpunit for sql syntax
2017-06-20 13:28:34 +02:00
Laurent Destailleur
095155a58b
Enhance sql quality. Refused double quotes into sql content.
2017-06-20 10:06:17 +02:00
Laurent Destailleur
eef5df583e
Fix php 7.2
2017-06-20 00:50:30 +02:00
Laurent Destailleur
8064659398
Fix phpunit
2017-06-19 20:49:57 +02:00
Laurent Destailleur
819656bd89
Fix security: Check _SERVER["QUERY_STRING"] is escaped.
2017-06-18 21:27:49 +02:00
Laurent Destailleur
86a6a83647
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/admin/tools/index.php
htdocs/bookmarks/bookmarks.lib.php
htdocs/compta/facture.php
htdocs/core/tpl/passwordforgotten.tpl.php
htdocs/fourn/ajax/getSupplierPrices.php
htdocs/main.inc.php
htdocs/product/stats/card.php
htdocs/public/paypal/paymentko.php
2017-06-18 21:13:48 +02:00
Laurent Destailleur
605dbd61f2
Fix phpunit
2017-06-10 00:21:04 +02:00
Laurent Destailleur
7f18dfee0d
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
dev/skeletons/build_class_from_table.php
dev/skeletons/skeleton_card.php
htdocs/compta/facture/class/facture.class.php
htdocs/core/lib/functions.lib.php
htdocs/filefunc.inc.php
htdocs/projet/card.php
2017-06-03 01:55:05 +02:00
Laurent Destailleur
9b4c929d79
NEW Add phpunit to check the engine is defined into sql create files.
2017-06-01 16:09:09 +02:00
Laurent Destailleur
f4cdb6b254
Fix month on 2 chars. Some setup return on 1 char only. More phpunit
...
assert.
2017-06-01 15:33:23 +02:00
Laurent Destailleur
145cb628cd
FIX dol_string_nohtmltag make 2 passes to clean html into html
...
attributes.
2017-05-31 11:11:25 +02:00
Laurent Destailleur
c26e072694
Code comment
2017-05-29 13:29:27 +02:00
Laurent Destailleur
dd5976066a
Fix travis
2017-05-22 02:04:43 +02:00
Laurent Destailleur
a3eef35ce6
Fix travis error
2017-05-22 01:19:16 +02:00
Laurent Destailleur
ef9cf6ef52
Add test on phpunit
2017-05-21 23:54:37 +02:00
Laurent Destailleur
246fa9748b
Debug travis error
2017-05-21 23:06:45 +02:00
Laurent Destailleur
6052d2d8ed
Try to output log after error
2017-05-21 21:37:33 +02:00
Laurent Destailleur
e85f31f456
Fix phpunit
2017-05-21 21:33:24 +02:00
Laurent Destailleur
4a085a8cc0
Fix phpunit
2017-05-21 21:21:44 +02:00
Laurent Destailleur
3e381aa5a2
Fix phpunit
2017-05-21 21:04:20 +02:00
Laurent Destailleur
ff35229be5
Fix phpunit
2017-05-21 20:46:11 +02:00
Laurent Destailleur
6e31de731b
Fix phpunit
2017-05-21 20:24:56 +02:00
Laurent Destailleur
52b5a8ece7
More powerfull dol_move function.
2017-05-21 14:06:43 +02:00
Laurent Destailleur
7e25cc0475
FIX Phpunit on file submit with REST API
2017-05-20 17:09:15 +02:00
Laurent Destailleur
80cbc28385
NEW Add REST API to push a file.
2017-05-20 15:52:36 +02:00
Laurent Destailleur
864dc0d989
Remove var_dump
2017-05-20 11:59:32 +02:00
Laurent Destailleur
1fe17a6918
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2017-05-20 11:34:21 +02:00
Laurent Destailleur
9355f28d6c
Merge branch 'develop' into api_files
2017-05-20 11:33:46 +02:00
Laurent Destailleur
601f3ea75e
Fix dol_check_secure_access_document in write mode, add phpunit tests
2017-05-20 11:31:03 +02:00
Laurent Destailleur
06b37d0e82
Work on dol_check_secure_access_document to support write question
2017-05-19 20:17:33 +02:00
Laurent Destailleur
88fc7dbc3e
Fix remove warning
2017-05-18 19:24:44 +02:00
Laurent Destailleur
5729bdb2c9
Fix phpunit
2017-05-13 19:51:31 +02:00
Laurent Destailleur
f8403d5020
Fix phpunit test
2017-05-12 20:01:45 +02:00
Laurent Destailleur
fa290c34fa
Fix against SQL injection. Add phpunit to detect missing escapement.
2017-05-12 16:55:11 +02:00
Laurent Destailleur
88e7d54915
Add phpunit to detect SQL not escaped string.
2017-05-12 15:45:00 +02:00
Laurent Destailleur
c4722e3694
FIX XSS
2017-05-10 11:48:45 +02:00
Laurent Destailleur
5c33c1773f
FIX XSS
2017-05-10 11:47:34 +02:00
Laurent Destailleur
8c07f514c8
Add php unit tests on expense reports
2017-04-14 16:51:30 +02:00
Laurent Destailleur
aef3592698
Fix travis
2017-04-14 13:56:26 +02:00
Juanjo Menent
e4ed626912
Fix: Travis error
2017-04-09 12:50:09 +02:00
Laurent Destailleur
65be3107c3
Fix phpunit
2017-04-01 00:51:16 +02:00
Laurent Destailleur
cb0eb26faa
Fix phpunit
2017-03-23 20:37:04 +01:00
Laurent Destailleur
d2b766f9f4
Fix PHP 7.1
2017-01-16 10:17:25 +01:00
Laurent Destailleur
ac80d4057d
Fix several running time errors
2017-01-16 09:30:28 +01:00
Laurent Destailleur
24cad7cfdf
Fix return code REST similar for all api with POST
2016-12-23 14:57:00 +01:00
Laurent Destailleur
c750ba8b99
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/filefunc.inc.php
htdocs/install/mysql/data/llx_c_payment_term.sql
htdocs/langs/en_US/bills.lang
htdocs/langs/en_US/mails.lang
2016-12-16 13:56:55 +01:00
Laurent Destailleur
d32fd7aa11
FIX javascript xss injection and a translation
2016-12-15 11:55:33 +01:00
jfefe
b8284447fd
API can receive documents
2016-12-12 15:20:44 +01:00
Maxime Kohlhaas
add55e8764
new phpunit test for pu calculation from pu_devise
2016-12-11 15:23:55 +01:00
Maxime Kohlhaas
43b402f608
fix phpunit test with new multicurrency return value pu_ht_devise
2016-12-11 15:11:11 +01:00
Laurent Destailleur
4768017662
Debug of module accountancy
2016-11-16 19:23:32 +01:00
Laurent Destailleur
a658b7cc3d
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/comm/card.php
2016-10-31 21:31:57 +01:00
Laurent Destailleur
3882fa0c3d
Fix dol_buildpath with parameter 3. Add phpunit tests
2016-10-31 10:37:58 +01:00
Laurent Destailleur
b284bdd953
NEW #5896 More complete data on event sent by email (name in title,
...
emails list in details)
2016-10-24 02:02:30 +02:00
Laurent Destailleur
c3f5962058
Normalize code
2016-09-28 18:14:44 +02:00
Laurent Destailleur
4ec7bcd23e
Rename api class to solve conflict
2016-09-22 11:36:16 +02:00
Laurent Destailleur
fac28f9589
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/commande/card.php
htdocs/compta/facture.php
htdocs/compta/sociales/charges.php
htdocs/core/boxes/modules_boxes.php
htdocs/core/class/commonobject.class.php
htdocs/fourn/class/fournisseur.commande.class.php
htdocs/fourn/commande/card.php
htdocs/fourn/facture/card.php
2016-08-28 02:40:20 +02:00
Laurent Destailleur
0d992b2b99
Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0
...
Conflicts:
htdocs/cron/class/cronjob.class.php
htdocs/install/pgsql/functions/functions.sql
2016-08-28 02:17:04 +02:00
Laurent Destailleur
bc8e203019
Merge branch '3.8' of git@github.com:Dolibarr/dolibarr.git into 3.9
2016-08-28 01:58:43 +02:00
Laurent Destailleur
5d7414dcc3
Solve php regression failing travis
2016-08-28 01:58:11 +02:00
Raphaël Doursenaud
d2dd9bdce7
New: Installation process functional test
2016-08-13 01:32:07 +02:00
Laurent Destailleur
a353093ae7
NEW Phone formatting for Canada. Add dol_print_phone into phpunit tests
2016-08-01 20:18:31 +02:00
Laurent Destailleur
8b3136cb96
Merge remote-tracking branch 'origin/4.0' into develop
...
Conflicts:
htdocs/compta/facture/list.php
htdocs/langs/en_US/admin.lang
htdocs/langs/fr_FR/companies.lang
2016-07-27 19:04:55 +02:00
Laurent Destailleur
ee0c77a305
Merge branch 'refactor-rest-api' of
...
https://github.com/EuskalMoneta/dolibarr into
EuskalMoneta-refactor-rest-api
Conflicts:
htdocs/api/admin/explorer.php
2016-07-27 14:06:14 +02:00
Laurent Destailleur
b615b52f47
FIX html detection fails if only u tag is present
2016-07-26 16:11:38 +02:00
Laurent Destailleur
27e0859051
Fix travis error
2016-07-26 13:52:43 +02:00
Raphaël Doursenaud
2c000c20da
Prevent PHP notice on unitialized variables.
...
These variables are expected to be uninitialized when the forced install
process is not used.
2016-07-23 02:01:49 +02:00
Laurent Destailleur
e2a03d18dd
Merge remote-tracking branch 'origin/4.0' into develop
2016-07-16 19:58:36 +02:00
Laurent Destailleur
d0380adc39
Merge remote-tracking branch 'origin/3.9' into 4.0
...
Conflicts:
htdocs/filefunc.inc.php
htdocs/includes/jquery/plugins/datatables/media/js/jquery.js
htdocs/product/list.php
2016-07-16 19:54:57 +02:00
Laurent Destailleur
931531232c
FIX duplicate jquery.js files
2016-07-16 19:38:18 +02:00
Laurent Destailleur
9a32fb2ac7
Fix phpcs
2016-07-15 14:17:18 +02:00
Laurent Destailleur
9512bf1ac7
Add phpunit tests for option USE_STRICT_CSV_RULES
2016-07-15 12:30:24 +02:00
Laurent Destailleur
abb808231f
Merge pull request #5377 from EuskalMoneta/fix-failure-in-WebservicesInvoicesTest
...
Improve the code in WebservicesInvoicesTest.
2016-07-14 23:16:10 +02:00
Laurent Destailleur
d23a8a56ea
Fix must use the constant, not hard coded value.
2016-06-25 21:40:45 +02:00
Laurent Destailleur
945fcc7586
FIX Better support of GROUP_CONCAT for postgresql
2016-06-25 14:38:10 +02:00
Laurent Destailleur
1c1d8887b1
Complete phpunit
2016-06-25 02:45:11 +02:00
Xebax
ea3094cad1
Improve the code in WebservicesInvoicesTest.
...
The third party needed for the tests is created in setUpBeforeClass()
and not in the constructor to avoid creating several objects (the
constructor is called for each test).
2016-06-23 17:20:22 +02:00
Xebax
4a0d554986
Revert "REST API: fix deleting a product/service."
...
This reverts commit d7c8a466b1 .
2016-06-21 22:54:38 +02:00
Laurent Destailleur
73fb7b2615
Fix phpunit regression. phpunit test on ws invoice is cleaner.
2016-06-21 01:07:44 +02:00
Xebax
388839296e
REST API: update the URLs in RestAPIUserTest.php.
2016-06-20 17:56:33 +02:00
Xebax
d7c8a466b1
REST API: fix deleting a product/service.
...
Add a User parameter to the Product::delete() method to explicitly set
the user that performs the action instead of using a global variable.
In the calls to Product::delete() with a fetched object, remove the
deprecated parameter $id.
2016-06-20 17:56:33 +02:00
Laurent Destailleur
b1bd6b5d6e
Fix regression
2016-05-18 18:23:38 +02:00
Laurent Destailleur
236ecf01b6
Help debug travis
2016-05-18 10:57:03 +02:00
Laurent Destailleur
4e46a01d51
Fix regression introduced with option SUPPLIERORDER_WITH_NOPRICEDEFINED
2016-05-17 22:59:46 +02:00
Laurent Destailleur
a36b780c53
Fix phpunit
2016-05-17 20:30:04 +02:00
Laurent Destailleur
d1d1b824b4
Better coding of #5181 . I removed need of external lib.
2016-05-13 20:20:48 +02:00
Laurent Destailleur
e9c1723f8d
Fix phpunit tests
2016-03-12 11:39:21 +01:00
Laurent Destailleur
71a12824c9
Merge branch 'new_numbering_module_supplier_payment' of
...
https://github.com/atm-ph/dolibarr into
atm-ph-new_numbering_module_supplier_payment
Conflicts:
htdocs/accountancy/admin/productaccount.php
htdocs/install/mysql/migration/3.9.0-4.0.0.sql
2016-02-15 00:31:33 +01:00
phf
1b552a0b3b
Merge branch 'develop' of github.com:Dolibarr/dolibarr into new_multicurrency_module
...
Conflicts:
htdocs/core/class/link.class.php
htdocs/install/mysql/migration/3.9.0-4.0.0.sql
2016-02-03 18:30:59 +01:00
Laurent Destailleur
6fcf2fb35a
Better log
2016-02-02 17:27:34 +01:00
Laurent Destailleur
547ffd7fcc
Add missing phpunit tests
2016-02-02 17:26:14 +01:00
Laurent Destailleur
43d165f985
Merge remote-tracking branch 'origin/3.8' into 3.9
2016-02-02 13:02:10 +01:00
Laurent Destailleur
015f24e80a
Fix php unit to work both with old and new setup
2016-02-02 13:01:19 +01:00
Laurent Destailleur
a67f52e491
Fix php unit to work both with old and new setup
2016-02-02 13:00:30 +01:00
Laurent Destailleur
e9256913b1
Fix set INVOICE_CAN_ALWAYS_BE_REMOVED to have phpunit test ok
2016-01-31 21:32:15 +01:00
Laurent Destailleur
2d0c823ffe
Fix bad transaction level due to code of situation invoices
...
Conflicts:
htdocs/compta/facture/class/facture.class.php
2016-01-31 20:45:06 +01:00
Laurent Destailleur
7b15ac1179
Fix bad transaction level due to code of situation invoices
...
Conflicts:
htdocs/compta/facture/class/facture.class.php
2016-01-31 20:44:09 +01:00
Laurent Destailleur
6002adb04c
Fix bad transaction level due to code of situation invoices
2016-01-31 20:38:11 +01:00
phf
4baff7898d
FIX insert FactureLigne
...
FIX phpunit PriceTest with new values returned for multicurrency module
NEW add test in PriceTest
FIX FactureTest properties not defined
2016-01-26 22:18:31 +01:00
Laurent Destailleur
bd91f327b8
Merge remote-tracking branch 'origin/3.8' into develop
...
Conflicts:
.travis.yml
htdocs/filefunc.inc.php
2015-12-19 01:38:22 +01:00
Laurent Destailleur
298396a57e
Merge remote-tracking branch 'origin/3.7' into 3.8
...
Conflicts:
test/phpunit/AllTests.php
2015-12-19 01:27:19 +01:00
Laurent Destailleur
a136e90749
Fix travis
2015-12-19 01:06:11 +01:00
Laurent Destailleur
f5fa557ef7
Fix perm
2015-12-19 00:36:00 +01:00
Laurent Destailleur
41cdb65521
Test to solve travis error
2015-12-18 21:44:18 +01:00
Laurent Destailleur
05ea9afa02
Fix to manage de_CH thousand separator
2015-12-18 20:53:04 +01:00
Raphaël Doursenaud
bbe7498de6
Better Travis CI
...
NEW:
Cleaned up routines for better readability of both declaration and results.
PHP versions now really covered.
The old code forced install of PHP and didn't use Travis provided versions.
This resulted in the process not being executed with the declared PHP version.
Dropped MySQL in favor of MariaDB.
This is now the FLOSS community standard.
This should help avoid problems with buggy MySQL releases.
Fast finish enabled to show results faster.
Optimized tools installation with composer.
The right version of the tool is installed for the PHP version under test.
New PHP linter to check for syntax errors.
Parallelized for better speed.
Apache + PHP FPM for testing webservices.
The previous mod_php configuration was not supported on Travis.
New global DEBUG environment variable to show verbose output with configuration files content.
IRC notification on #dolibarr@freenode for community awareness.
FIXES:
Bug in scripts preventing execution with environmentalized PHP.
Wrong detection of MAIN_URL_ROOT under specific circumstances.
$_SERVER["DOCUMENT_ROOT"] empty and $_SERVER["SCRIPT_NAME"] populated.
Relative ignore directive in coding style ruleset to avoid bypassing test.
Unit test errors without an exit status.
This prevented the CI from properly detecting and reporting the error.
TODOS:
PostgreSQL support.
This one is tricky since we only have a MySQL dump and the syntax is not directly compatible.
SQLite support.
Disabled in core at the moment.
Nginx + PHP FPM support.
Test webservices on the second most popular webserver.
Run dev/* checks.
We have a nice collection of scripts we could leverage.
Check Javascript.
Check CSS.
Check SQL.
2015-12-13 21:34:36 +01:00
Laurent Destailleur
3b595f0247
Merge remote-tracking branch 'origin/3.8' into develop
...
Conflicts:
htdocs/accountancy/bookkeeping/list.php
htdocs/accountancy/customer/list.php
htdocs/accountancy/journal/bankjournal.php
htdocs/core/lib/date.lib.php
htdocs/core/lib/report.lib.php
htdocs/langs/en_US/accountancy.lang
2015-12-13 16:23:33 +01:00
Laurent Destailleur
4b741c6b9c
Fix permissions
2015-12-13 16:16:30 +01:00
Laurent Destailleur
a462cd232d
Merge remote-tracking branch 'origin/3.7' into 3.8
2015-12-13 16:09:09 +01:00
Laurent Destailleur
4a88c9ea9f
Merge remote-tracking branch 'origin/3.6' into 3.7
...
Conflicts:
htdocs/product/class/product.class.php
2015-12-13 15:53:57 +01:00
Raphaël Doursenaud
c0862762a5
Fix #3930 Removed executable bit
...
These files doesn't contain executable code and may pose a security
threat.
2015-12-09 13:28:36 +01:00
Laurent Destailleur
5d5cfd498a
Add holiday date functions into PHPUnit
2015-11-28 19:54:16 +01:00
Laurent Destailleur
7f75a3da9d
NEW On list of thirdparties, user can select fields to show.
...
Make phpunit test working again localy.
Add missing columns into llx_expedition.
2015-10-15 03:29:35 +02:00
Laurent Destailleur
e22b0b9a57
More complete PHPunit test
2015-10-14 22:36:32 +02:00
Raphaël Doursenaud
b785db86a8
Fix unittests regression
...
Introduced by incomplete renaming
of modSyncSupplierWebServices to modWebServicesClient
in 4b103ba8ce
2015-10-09 19:02:44 +02:00
Juanjo Menent
86a201edcf
Merge pull request #3595 from GPCsolutions/note
...
[Qual] Do not test deprecated update_note_public()
2015-09-26 08:46:51 +02:00
Raphaël Doursenaud
bd7d487c79
[Qual] Do not test deprecated update_note_public()
2015-09-24 20:52:43 +02:00
Raphaël Doursenaud
9f2545b95d
[Qual] Replaced deprecated dol_clone by native clone
2015-09-24 17:24:40 +02:00
Laurent Destailleur
25e729cf4d
Revert "Fix #3322 Use title for alt if no alt is provided"
...
This reverts commit 2cf9d9f583 .
2015-08-12 23:18:07 +02:00
Juanjo Menent
761c50a885
Merge remote-tracking branch 'origin/3.7' into 3.8
2015-08-06 18:22:29 +02:00
Raphaël Doursenaud
2cf9d9f583
Fix #3322 Use title for alt if no alt is provided
...
alt has priority over title, so it should be filled if title is filled.
Use the title value to fill alt.
Unit test updated accordingly.
2015-08-03 10:30:10 +02:00
Arnaud Aujon
ed657d2bdf
hopefully fix travis errors
2015-06-01 20:39:51 +02:00
Arnaud Aujon
9bd32d7bf6
Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix
2015-06-01 20:10:51 +02:00
Arnaud Aujon
3099e2acc4
fix travis issues again
2015-06-01 14:15:09 +02:00
Arnaud Aujon
0c66c9745e
fix travis error
2015-06-01 13:04:33 +02:00
Laurent Destailleur
65c7ab7a93
Fix: Introduce error by default when function is used as a true delete
...
function.
2015-05-29 17:11:42 +02:00
Arnaud Aujon
3003b41a88
add test for invoices API
2015-05-28 16:57:28 +02:00
Arnaud Aujon
05a7ab158b
add deleteThirdParty api call + add tests
2015-05-28 16:56:45 +02:00
Arnaud Aujon
336b8c49b3
update test
2015-05-27 15:42:46 +02:00
Arnaud Aujon
6d5555948e
Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix
...
Conflicts:
test/phpunit/WebservicesInvoicesTest.php
2015-05-21 13:11:41 +02:00
Arnaud Aujon
2db885a2b3
first attempt to add test
2015-05-11 13:51:57 +02:00
jfefe
0d14cb8709
Modify thirdparty delete() method to pass user object as an argument.
2015-05-03 18:44:42 +02:00
Laurent Destailleur
a0c27620b2
Fix to match spanish new vat value
2015-04-26 18:28:08 +02:00
Laurent Destailleur
1abcd5f4fe
Fix test for vat calculation
2015-04-26 16:58:00 +02:00
Laurent Destailleur
4235d74aac
Fix tests for ES
2015-04-26 16:45:24 +02:00
Juanjo Menent
3d08280026
Fix test for es. testGetDefaultLocalTax
2015-04-23 10:35:08 +02:00
Juanjo Menent
e2635f66f5
Fix test for es
2015-04-22 22:10:50 +02:00
Laurent Destailleur
6b15cafb4e
Add protection to request some module to be on for AllTests
2015-04-22 21:38:34 +02:00
Laurent Destailleur
208ac31bf8
Fix test for es
2015-04-22 17:39:09 +02:00
Juanjo Menent
ad31f0110a
Improve PHPUnit Prices test for Spanish localtax1 and localtax2
2015-04-21 22:01:53 +02:00
Laurent Destailleur
f06255e9d2
Complete the mailmap file.
2015-04-21 16:57:45 +02:00
Laurent Destailleur
22921ad26b
Fix phpunit
2015-04-19 04:43:28 +02:00
Laurent Destailleur
72845b21c7
Add log
2015-04-19 04:01:31 +02:00
Laurent Destailleur
6db76830fd
Fix load module by test
2015-04-19 03:36:27 +02:00
Laurent Destailleur
e508b28d74
Fix doliforge bug 1707
2015-04-15 18:53:39 +02:00
Laurent Destailleur
bf254baa02
Fix doliforge bug 1707
2015-04-15 18:50:41 +02:00
Laurent Destailleur
ae103e34b8
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
build/debian/changelog
htdocs/compta/facture.php
htdocs/core/lib/price.lib.php
htdocs/install/mysql/migration/3.6.0-3.7.0.sql
htdocs/opensurvey/public/studs.php
htdocs/projet/element.php
2015-04-13 13:08:46 +02:00
Laurent Destailleur
6889162d7a
Fix: management of vat type 2, 4 and 6 is now ok.
...
Works for canada and ivory cost.
2015-04-11 22:51:53 +02:00
Laurent Destailleur
747c780f67
Enhance phpunit tests
2015-04-04 02:44:42 +02:00
Laurent Destailleur
9f5ba746a1
Update phpunit tests
2015-04-04 00:51:00 +02:00
Laurent Destailleur
8e9c1c4747
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/commande/card.php
htdocs/commande/class/commande.class.php
htdocs/commande/list.php
htdocs/core/class/notify.class.php
htdocs/core/login/functions_dolibarr.php
htdocs/exports/export.php
htdocs/langs/en_US/admin.lang
2015-04-01 16:33:39 +02:00
Laurent Destailleur
42c2c81e28
Fix detection of html was wrong with img
2015-03-26 12:05:52 +01:00
Laurent Destailleur
a55af4387b
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
.travis.yml
htdocs/core/class/notify.class.php
htdocs/product/stock/class/mouvementstock.class.php
test/phpunit/AllTests.php
test/phpunit/MouvementStockTest.php
2015-03-22 12:10:39 +01:00
Laurent Destailleur
c9b569ad1a
Fix calculation of PMP of product.
...
Also add phpunit test to avoid this in future.
2015-03-21 15:31:11 +01:00
Laurent Destailleur
4f9aef6150
Fix calculation of PMP of product.
...
Also add phpunit test to avoid this in future.
2015-03-21 15:29:23 +01:00
Laurent Destailleur
435be30047
Clean code
2015-03-17 00:35:17 +01:00
Laurent Destailleur
5335a6affa
NEW: Add close date and user for projects.
2015-03-04 16:28:29 +01:00
Marcos García de La Fuente
8dffe2a910
Corrected FunctionsLibTest:testGetBrowserInfo
2015-02-28 19:33:19 +01:00
Marcos García de La Fuente
60e2524fc2
Merge remote-tracking branch 'upstream/develop' into better-practice
...
Conflicts:
htdocs/core/lib/functions.lib.php
test/phpunit/FunctionsLibTest.php
2015-02-28 14:39:14 +01:00
Marcos García de La Fuente
ceec3e926e
Typo
2015-02-25 16:47:34 +01:00
Marcos García de La Fuente
f598963d6b
Fixed regression
2015-02-25 16:41:51 +01:00
Laurent Destailleur
6d3834b3b9
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/compta/prelevement/class/bonprelevement.class.php
htdocs/index.php
htdocs/projet/class/project.class.php
test/phpunit/BankAccountTest.php
2015-02-23 14:59:24 +01:00
Marcos García de La Fuente
abda67adc2
Improved testGetBrowserInfo
2015-02-23 10:45:22 +01:00
Marcos García de La Fuente
71b98ee82b
Safari can appear in iPad, iPod, iPhone and future Apple products, it is not fair to attach it to one of them.
2015-02-23 10:42:10 +01:00
Marcos García de La Fuente
102d2d9d36
Added IE11 test to testGetBrowserInfo
2015-02-23 10:39:02 +01:00
Marcos García de La Fuente
ce916f3bcb
Better practice in getBrowserInfo
2015-02-22 12:35:51 +01:00
Laurent Destailleur
938936b8f2
Merge remote-tracking branch 'origin/3.6' into 3.7
...
Conflicts:
htdocs/core/lib/agenda.lib.php
htdocs/core/lib/functions.lib.php
2015-02-20 22:51:47 +01:00
Laurent Destailleur
bd6b465ee1
Add phpunit for ie11 and ie10
2015-02-20 20:16:15 +01:00
Laurent Destailleur
9e078b32d2
Fixes the way the RUM number is generated. Start phpunit test.
2015-02-20 18:35:52 +01:00
Laurent Destailleur
2a9ba93712
Update test of module inits
2015-02-14 12:32:22 +01:00
Laurent Destailleur
01541e4152
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/comm/action/card.php
htdocs/core/datepicker.php
2015-02-03 12:17:45 +01:00
Laurent Destailleur
20121c2fbe
Fix pb into date management.
...
Added phpunit to avoid this in future.
2015-02-03 11:25:51 +01:00
Laurent Destailleur
4fdc287717
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/accountancy/customer/card.php
htdocs/accountancy/journal/sellsjournal.php
htdocs/admin/menus.php
htdocs/fourn/commande/card.php
htdocs/install/check.php
2015-01-30 15:53:06 +01:00
Laurent Destailleur
3ebaaa38d2
Fixed: Management of option SERVICE_ARE_ECOMMERCE_200238EC
2015-01-25 16:04:37 +01:00
Laurent Destailleur
fdaa930507
Solve phpunit.
...
Fix database field format
2015-01-19 01:58:48 +01:00
Laurent Destailleur
f96fdc7d0a
Regression solved
2015-01-18 21:04:39 +01:00
Laurent Destailleur
c54355b63a
Merge remote-tracking branch 'origin/3.7' into develop
2015-01-16 10:44:41 +01:00
Laurent Destailleur
d16ce7eb96
Fix: Bad var
2015-01-15 02:42:41 +01:00
Laurent Destailleur
a886136e67
More comment and add a unit test to check that {t} tag is correctly
...
supported.
2015-01-13 22:13:15 +01:00
Laurent Destailleur
fc78d632d3
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/compta/facture.php
htdocs/contrat/class/contrat.class.php
htdocs/core/lib/company.lib.php
htdocs/core/lib/functions.lib.php
htdocs/main.inc.php
2015-01-09 23:09:10 +01:00
frederic34
73fda2cb86
WIP PSR2
2015-01-08 18:36:03 +01:00
Laurent Destailleur
c0b5b9f00b
Fixed: Removed deprecated function
2015-01-04 19:26:51 +01:00
Laurent Destailleur
e395fd8096
Fix CRLF
2014-11-30 15:24:39 +01:00
Laurent Destailleur
491aef72e0
More phpunit tests
2014-11-28 00:56:21 +01:00
Laurent Destailleur
f7552c83d2
Fix: Must ignore such fields
2014-10-30 17:50:34 +01:00
Laurent Destailleur
13590a876b
Fix: A little clean of dol_hash usage.
2014-10-18 16:08:15 +02:00
Laurent Destailleur
f498921715
Merge branch 'droposcommerce' of github.com:GPCsolutions/dolibarr into
...
GPCsolutions-droposcommerce
Conflicts:
htdocs/install/mysql/migration/3.6.0-3.7.0.sql
htdocs/langs/vi_VN/admin.lang
htdocs/langs/vi_VN/shop.lang
2014-10-13 00:50:51 +02:00
Laurent Destailleur
591b40e674
Some fix with export definition. Works now with pgql too.
2014-10-12 01:59:21 +02:00
Laurent Destailleur
a804fe62b4
Fix: translation for vi_VN
2014-10-11 15:46:37 +02:00
Laurent Destailleur
97eec37f1c
Uniformize code: property "nom" for thirdparty is aliased into "name"
...
everywhere.
2014-10-04 17:20:17 +02:00
Raphaël Doursenaud
f01e76f686
Removed unmaintaned OScommerce module
2014-09-29 15:22:48 +02:00
Regis Houssin
f1f4fc18e9
Fix: use "doc" instead "pdf" dir and uniformize code
2014-09-29 11:08:50 +02:00
Laurent Destailleur
14ab409ca9
Merge remote-tracking branch 'origin/3.6' into develop
...
Conflicts:
htdocs/admin/stock.php
htdocs/admin/system/index.php
htdocs/comm/fiche.php
htdocs/core/lib/admin.lib.php
htdocs/core/lib/holiday.lib.php
htdocs/core/lib/pdf.lib.php
htdocs/core/login/functions_forceuser.php
htdocs/core/login/functions_http.php
htdocs/core/menus/standard/auguria.lib.php
htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
htdocs/filefunc.inc.php
htdocs/holiday/define_holiday.php
htdocs/opensurvey/fonctions.php
htdocs/societe/canvas/actions_card_common.class.php
test/phpunit/CompanyBankAccountTest.php
test/phpunit/ExportTest.php
test/phpunit/FactureTest.php
test/phpunit/FunctionsLibTest.php
test/phpunit/PropalTest.php
test/phpunit/SocieteTest.php
test/phpunit/WebservicesInvoicesTest.php
test/phpunit/WebservicesThirdpartyTest.php
2014-09-28 02:14:32 +02:00
Laurent Destailleur
5fdd798e91
Fix: phpcheckstyle from phpcs 1.5.5 (closing tags and & char on
...
parameter).
2014-09-27 17:13:15 +02:00
Laurent Destailleur
e8b7c9c6bd
Fix: doxygen
2014-09-27 16:00:11 +02:00
Laurent Destailleur
dad82fa1fa
Fix: bad phpunit test case
2014-09-24 01:36:12 +02:00
Laurent Destailleur
dc96e10215
Merge branch 'oop-pdf' of github.com:marcosgdf/dolibarr into
...
marcosgdf-oop-pdf
Conflicts:
htdocs/projet/class/project.class.php
2014-09-23 00:02:19 +02:00
Laurent Destailleur
d0da5ef047
Merge pull request #1910 from FHenry/develop
...
Better accountancy auto find accountancy code feature (work with several
2014-09-22 23:48:32 +02:00
Laurent Destailleur
cec7464410
Fix: case into phpunit test case
2014-09-21 20:13:38 +02:00
Marcos García de La Fuente
ca9e33e809
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into oop-pdf
2014-09-21 18:00:56 +02:00
Florian HENRY
3602155c5e
Fix FicheInterTest Call
2014-09-20 10:28:59 +02:00
Laurent Destailleur
b252680346
Add phpunit for interventions
2014-09-20 01:10:55 +02:00
Laurent Destailleur
ad8b92541d
Fix: sql request with pgsql
...
Fix: bug reported by scrutinizer
Doxygen
Start to work on multi user assigned to an event.
2014-09-20 00:57:29 +02:00
Marcos García de La Fuente
9ae7486555
Removed deprecated usage of supplier_order_pdf_create and supplier_invoice_pdf_create
2014-09-16 21:42:07 +02:00
Marcos García de La Fuente
3561c8e6f3
Removed deprecated usage of propale_pdf_create
2014-09-16 20:57:17 +02:00
Marcos García de La Fuente
9dbf054026
Removed deprecated usage of project_pdf_create
2014-09-16 20:53:43 +02:00
Marcos García de La Fuente
4b3191b64e
Removed deprecated usage of facture_pdf_create
2014-09-16 20:49:05 +02:00
Marcos García de La Fuente
610dc8cd0c
Removed deprecated usage of expedition_pdf_create
2014-09-16 20:38:28 +02:00
Marcos García de La Fuente
c195c6fd10
Removed deprecated usage of commande_pdf_create
2014-09-16 20:35:31 +02:00
Laurent Destailleur
342e26f679
Merge
2014-09-07 12:22:04 +02:00
Laurent Destailleur
6d9cc15856
Fix: Function unaccent was not enough complete.
2014-09-06 14:40:43 +02:00
Laurent Destailleur
e3f96802fb
Fix: sql bad use.
...
Qual: Incrase sql syntax test by phpunit to migration scripts.
Qual: Removed old migration script before 3.0.0
2014-08-14 00:09:09 +02:00
Laurent Destailleur
35d2e4f84c
Merge remote-tracking branch 'origin/3.6' into develop
2014-08-06 10:30:58 +02:00
Laurent Destailleur
230b1d4bb8
Merge remote-tracking branch 'origin/3.5' into 3.6
...
Conflicts:
test/phpunit/SqlTest.php
2014-08-06 10:28:37 +02:00
Laurent Destailleur
a430534768
Merge remote-tracking branch 'origin/3.4' into 3.5
2014-08-06 10:22:34 +02:00
Laurent Destailleur
96a4aa2d26
Fix: phpunit
2014-08-01 01:31:52 +02:00
Laurent Destailleur
8e5cbb1f6c
Merge branch 'patch-2' of github.com:marcosgdf/dolibarr into
...
marcosgdf-patch-2
Conflicts:
test/phpunit/Functions2LibTest.php
2014-07-31 17:21:46 +02:00
Marcos García de La Fuente
972d3c69b6
Removed duplicated requires.
...
Json.lib.php is included with functions.lib.php
2014-07-30 15:42:58 +02:00
Marcos García de La Fuente
42c7fc1c8d
Revert "Testing dol_json_encode is not interesting now as it uses a core function"
2014-07-30 15:19:31 +02:00
Laurent Destailleur
36c4d272e7
Fix: phpunit test
2014-07-30 08:45:10 +02:00
Marcos García de La Fuente
5baf48fc15
Revert "Removed empty test"
...
This reverts commit cf1a2c44a3 .
2014-07-26 19:12:11 +02:00
Laurent Destailleur
3b9cfea8c9
Better function is_ip
2014-07-26 14:16:09 +02:00
Laurent Destailleur
8f6023ab5f
Fix: phpunit test
2014-07-26 14:07:37 +02:00
Marcos García de La Fuente
76725c61ed
Created test for dol_nl2br
2014-07-22 04:10:42 +02:00
Laurent Destailleur
dec7fe42af
Merge remote-tracking branch 'origin/3.6' into develop
...
Conflicts:
htdocs/core/class/html.form.class.php
htdocs/fourn/commande/fiche.php
2014-07-20 15:37:50 +02:00
Laurent Destailleur
cfc337a79a
Qual: Enable php checkstyle rule Zend.Files.ClosingTag
...
Fix: Solve a lot of checkstyle errors.
2014-07-20 15:27:38 +02:00
Laurent Destailleur
4f173d095c
Qual: Add php unit for function is_ip
2014-07-20 13:32:06 +02:00
Marcos García de La Fuente
a6275181ec
Corrected testIsValidUrl
2014-07-20 10:20:05 +02:00
Marcos García de La Fuente
cf1a2c44a3
Removed empty test
2014-07-20 08:33:56 +02:00
Laurent Destailleur
7a8f244ae9
Fix: Translation
2014-07-19 16:03:55 +02:00
Marcos García de La Fuente
3e160fb209
Testing dol_json_encode is not interesting now as it uses a core function
2014-07-18 12:05:03 +02:00
Marcos García de La Fuente
a3ceb2a970
Added a test for isValidUrl function
2014-07-18 12:01:19 +02:00
Marcos García de La Fuente
0c4a3b23af
Corrected test
2014-07-18 03:52:30 +02:00
Laurent Destailleur
a137b31a47
Fix: ON DELETE CASCADE is forbidden.
...
Conflicts:
htdocs/install/mysql/migration/3.6.0-3.7.0.sql
test/phpunit/SqlTest.php
2014-07-08 21:50:29 +02:00
Laurent Destailleur
9b6b5feb4f
Fix: ON DELETE CASCADE is forbidden.
2014-07-08 21:38:20 +02:00
Laurent Destailleur
932206a152
Fix: phpunit
2014-07-08 21:04:17 +02:00
Laurent Destailleur
c1431bdf93
Fix: Typo
2014-05-31 14:22:19 +02:00
Laurent Destailleur
ccca46f380
Merge remote-tracking branch 'origin/3.5' into develop
...
Conflicts:
htdocs/comm/propal.php
htdocs/comm/propal/list.php
htdocs/commande/fiche.php
htdocs/compta/facture.php
htdocs/core/lib/functions.lib.php
htdocs/expedition/note.php
htdocs/fourn/commande/liste.php
htdocs/fourn/facture/fiche.php
htdocs/main.inc.php
htdocs/projet/tasks/index.php
htdocs/theme/eldy/style.css.php
2014-05-29 19:20:48 +02:00
Raphaël Doursenaud
c48c3a9d91
Qual: remove PHP closing tag (again)
...
These were reintroduced by careless merge
2014-05-26 13:51:25 +02:00
Laurent Destailleur
872e764c94
Fix: html detection was not working with hx tags.
2014-05-24 14:57:41 +02:00
Laurent Destailleur
e09cc127fd
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2014-05-19 15:10:46 +02:00
Laurent Destailleur
01e3e13865
Merge remote-tracking branch 'origin/3.5' into develop
...
Conflicts:
test/phpunit/DateLibTzFranceTest.php
test/phpunit/ModulesTest.php
2014-05-18 11:59:51 +02:00
Laurent Destailleur
0e13ded641
Merge remote-tracking branch 'origin/3.4' into 3.5
...
Conflicts:
test/phpunit/CoreTest.php
test/phpunit/Functions2Test.php
test/phpunit/FunctionsTest.php
2014-05-18 11:57:18 +02:00
Laurent Destailleur
eec5d6d313
Fix: Error management of mass email feature
2014-05-17 19:02:47 +02:00
Laurent Destailleur
69eaefc459
Fix: The way we tested if a ref/id already exists was wrong. Introduce a
...
common static method for this. Removed verifNumRef method.
Fix: Add missing logs
2014-05-13 10:12:45 +02:00
Laurent Destailleur
2bac66fd52
Merge remote-tracking branch 'origin/3.5' into develop
2014-05-10 19:53:06 +02:00
Laurent Destailleur
1b25fdc323
Fix: Param at wrong place.
...
Fix: Add warning if phpunit are runned with external module on.
2014-05-08 18:09:39 +02:00
Laurent Destailleur
70cccc907a
Fix: Check env before test to be sure module ecotax is not enabled
...
(this change result).
2014-05-08 15:30:31 +02:00
Laurent Destailleur
7bfbc4cbf3
Merge remote-tracking branch 'origin/3.5' into develop
...
Conflicts:
htdocs/core/modules/modExpedition.class.php
htdocs/projet/class/project.class.php
2014-05-07 19:30:19 +02:00
Laurent Destailleur
1bc3558307
Fix: Better html detection
2014-05-07 19:06:15 +02:00
Laurent Destailleur
9f795331f5
Merge remote-tracking branch 'origin/3.5' into develop
...
Conflicts:
ChangeLog
build/debian/changelog
build/doxygen/dolibarr-doxygen.doxyfile
build/exe/doliwamp/doliwamp.iss
build/perl/virtualmin/dolibarr.pl
build/rpm/dolibarr_fedora.spec
build/rpm/dolibarr_generic.spec
build/rpm/dolibarr_mandriva.spec
build/rpm/dolibarr_opensuse.spec
htdocs/compta/paiement_charge.php
htdocs/compta/sociales/charges.php
htdocs/core/db/mysql.class.php
htdocs/filefunc.inc.php
htdocs/societe/class/societe.class.php
2014-05-06 23:58:17 +02:00
Laurent Destailleur
63100c9c06
Properties "civilite_id" were renamed into "civility_id".
2014-05-05 00:23:09 +02:00
Laurent Destailleur
c2c0a9b4bb
Merge pull request #1568 from GPCsolutions/closingtagremoval
...
Qual: Remove the closing PHP tag
2014-05-04 18:08:37 +02:00
Laurent Destailleur
b990d1e891
Fix: testcase to get thirdparty from web service.
2014-05-04 17:33:57 +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
02112fc969
Fix: Bad name of phpunit file
2014-05-03 02:25:55 +02:00
Laurent Destailleur
659891ac5b
Fix: doxygen
2014-05-03 02:24:32 +02:00
Laurent Destailleur
f5b0651809
New: Add webservcie to delete a product.
...
Qual: More webservices in phpunit.
2014-05-02 16:47:54 +02:00
Laurent Destailleur
7216b2a843
Fix phpunit to be compatible with new version of phpunit
2014-05-02 00:08:27 +02:00
Laurent Destailleur
876a35d1a1
Fix phpunit to be compatible with new version of phpunit
2014-05-02 00:08:19 +02:00
Laurent Destailleur
19fb5e5085
Try to fix phpunit error with new version.
2014-05-01 19:57:53 +02:00
Laurent Destailleur
d97c45a9b8
Add version of phpunit into travis script.
...
Fix: strict mode.
2014-05-01 19:17:45 +02:00
Laurent Destailleur
8b1dae29f7
Try to test without AutoLoad that make travis fails.
2014-05-01 16:38:41 +02:00
Laurent Destailleur
df6e580dfb
Qual: Add phpunit for dolexplodeintoarray function
2014-04-16 15:16:33 +02:00
Laurent Destailleur
2035e6e648
Fix: The " " is not more allowed as value for SeparatorThousand. We must
...
use "Space". This solve a lot of problem into translation process.
2014-04-07 13:08:04 +02:00
Laurent Destailleur
24dbfbba60
Qual: Still working on cleaning code for timezone management.
2014-03-21 18:05:08 +01:00
Laurent Destailleur
73682baff0
Fix: Use correct vat rate into text cases.
...
Qual: Next step cleaning date functions.
Qual: Complete phpunit test case for dol_mktime to check dayling saving
time is correctly managed.
2014-03-21 16:22:41 +01:00
Laurent Destailleur
b2f6498236
Merge remote-tracking branch 'origin/3.5' into develop
2014-03-21 15:03:37 +01:00
Laurent Destailleur
7fb004903e
Qual: Start to clean old code.
2014-03-21 15:02:27 +01:00
Laurent Destailleur
a884673637
Fix: A better to fix to manage automatic creation of code for import.
2014-03-21 13:29:13 +01:00
Laurent Destailleur
e7e5a93906
Qual: More PHPUnit tests
2014-03-17 15:01:47 +01:00
Maxime Kohlhaas
fe767606da
New PHPUnit test on project + clean initAsSpecimen
2014-03-16 13:55:32 +01:00
Maxime Kohlhaas
233a8fa917
Add new PHPUnit test on Entrepot
2014-03-16 11:38:39 +01:00
Laurent Destailleur
bdb2b7a547
Merge remote-tracking branch 'origin/3.5' into develop
...
Conflicts:
htdocs/projet/index.php
test/phpunit/FunctionsTest.php
2014-03-13 09:20:05 +01:00
Laurent Destailleur
7684e9e4f7
Fix: Add PHPUnit test to check main.lang files does not contains rubish
...
values for keys SeparatorXXX
Fix: Add PHPUnit test to check main.lang files does not contains rubish
values for keys FormatDateShortJaxaXXX
2014-03-11 23:39:26 +01:00
Laurent Destailleur
fa098adc78
Fix: infinite loop in function num_public_holiday
2014-03-05 21:29:33 +01:00
Laurent Destailleur
774017672f
Fix: Number of day calculation. Add PHPUnit case.
2014-03-05 20:52:27 +01:00
Laurent Destailleur
998ecc3c15
Optimize code.
2014-03-01 15:59:09 +01:00
Laurent Destailleur
a0e0d17725
Qual: More PHP unit to test dol_escapejs function.
...
Qual: More PHP unit to test FormAdmin class.
2014-02-17 15:40:04 +01:00
Laurent Destailleur
860ca15cfc
Merge remote-tracking branch 'origin/3.5' into develop
...
Conflicts:
htdocs/core/class/extrafields.class.php
2014-02-17 15:27:30 +01:00
Laurent Destailleur
e1efd88155
Merge remote-tracking branch 'origin/3.4' into 3.5
2014-02-17 15:22:02 +01:00
Laurent Destailleur
8839ae38d3
Fix: [ bug #1241 ] error in request in select_paper file
...
/core/class/html.formadmin.class.php
2014-02-17 15:21:19 +01:00
Laurent Destailleur
0a372a1c7d
Merge remote-tracking branch 'origin/3.5' into develop
2014-01-21 13:26:05 +01:00
Laurent Destailleur
5b6b8f1d5b
Fix: Support for reset everymonth (@99 into numbering mask) was ko when
...
changing year.
2014-01-20 11:20:38 +01:00
Laurent Destailleur
7809e0baa9
Fix: dol_htmlentitiesbr behaviour was different if input was html
...
or not. Add phpunit test to avoid that in future.
2014-01-10 01:25:28 +01:00
Laurent Destailleur
0876e2cf3f
Qual: Add phpunit test for paypal module
2014-01-07 17:48:01 +01:00
Laurent Destailleur
b37aec2027
Fix: bad include
2013-12-16 14:43:16 +01:00
Laurent Destailleur
c1ee59eef9
Qual: Add phpunit tests for margin lib
2013-12-16 14:10:52 +01:00
Laurent Destailleur
dc1ccbfae8
Fix: [ bug #1177 ] Error on create domiciliation
2013-12-14 15:40:43 +01:00
Laurent Destailleur
c92d0fe966
Fix: phpunit
2013-11-19 23:06:25 +01:00
Laurent Destailleur
afa5bdb837
Fix: phpunit error
2013-11-18 00:12:13 +01:00
Laurent Destailleur
56867b6fd9
Fix: Removed duplicate tests
2013-11-17 23:45:17 +01:00
Peter Fontaine
3d7d8c7d5d
add tests
...
add default_rib column in mysqldump
2013-11-14 10:48:36 +01:00
Laurent Destailleur
6e37e75755
More complete test case
2013-10-23 17:44:54 +02:00
Laurent Destailleur
cb510f7c46
Fix: Travis
2013-10-18 18:51:53 +02:00
Laurent Destailleur
c9012b498f
Fix: Code comment and phpunit test
2013-10-18 17:34:12 +02:00
Laurent Destailleur
33b4c9fad7
Fix: Bug into xcal decode
2013-10-18 10:38:59 +02:00
Laurent Destailleur
de97cd1812
Fix: json
2013-10-11 18:33:21 +02:00
Laurent Destailleur
692ca4473d
Qual: uniformize code: property ->tel on objects is now ->phone
...
everywhere
2013-09-25 20:04:30 +02:00
Laurent Destailleur
3d62303d59
Merge remote-tracking branch 'origin/3.4' into develop
...
Conflicts:
ChangeLog
build/debian/get-orig-source.sh
build/debian/watch
htdocs/fourn/ajax/getSupplierPrices.php
2013-09-19 01:02:53 +02:00
Laurent Destailleur
04752dbfbe
Doxygen: More comments
2013-09-18 17:59:57 +02:00
Laurent Destailleur
5cbccd5fc0
Merge branch '3.4' of https://github.com/Dolibarr/dolibarr.git into 3.4
2013-09-16 13:44:37 +02:00
Laurent Destailleur
a1e7333613
Fix: bug preventing creation of predefined invoice.
...
Also added phpunit test to detect it if it occurs again.
2013-09-16 13:42:42 +02:00
Laurent Destailleur
30d2af26f8
Fix: phpunit test
2013-09-11 14:26:25 +02:00
Laurent Destailleur
0bb18cb05c
New: Can use tag {mm} before {yy} even when there is a reset into
...
numbering masks.
Qual: Enhance phpunit tests to include this case.
2013-09-11 14:18:56 +02:00
Laurent Destailleur
1b526b7aa5
Merge remote-tracking branch 'origin/3.4' into develop
...
Conflicts:
.travis.yml
htdocs/fourn/facture/index.php
2013-09-09 20:00:12 +02:00
Laurent Destailleur
7670ed5ae0
Merge remote-tracking branch 'origin/3.3' into 3.4
...
Conflicts:
test/phpunit/PdfDocTest.php
2013-09-09 19:55:07 +02:00
Laurent Destailleur
574c4373b4
Fix: bug with php 5.4
2013-09-09 19:53:35 +02:00
Laurent Destailleur
e932bef031
Fix: Bug with php 5.4
2013-09-09 17:50:42 +02:00
Laurent Destailleur
8b904e9f5c
Better phpunit test for web services
2013-09-09 11:46:45 +02:00
Laurent Destailleur
53cfb04995
Fix: do not compare on date that may differ if cpu too slow
2013-09-09 03:48:58 +02:00
Laurent Destailleur
e2b8ad2035
Fix: not defined value
2013-09-09 03:43:59 +02:00
Laurent Destailleur
94b6defd8c
Update doc
2013-09-09 03:23:56 +02:00
Laurent Destailleur
ebfa63adf5
Fix: phpunit
2013-09-09 02:58:09 +02:00
Laurent Destailleur
8114702a8e
Fix: phpunit for 3.5
2013-09-09 02:52:44 +02:00
Laurent Destailleur
fc96ff31af
Fix: phpunit
2013-09-09 02:46:48 +02:00
Laurent Destailleur
1be6139e21
Remove useless dir
2013-09-09 02:15:56 +02:00
Laurent Destailleur
42722fe7a2
More log into phpunit
2013-09-09 00:47:43 +02:00
Laurent Destailleur
dad617c506
PHPUnit tests
2013-09-08 23:38:55 +02:00
Laurent Destailleur
2750b1a298
Fix: Tons of regression after renaming note field into note_private.
...
Qual: Add phpunit test to test all exports descriptors.
2013-08-06 13:22:00 +02:00
Laurent Destailleur
fbd3f6e67f
Fix: Maxi debug of scripts
2013-07-31 12:33:18 +02:00
Laurent Destailleur
bf9b255c92
Merge remote-tracking branch 'origin/3.3' into 3.4
...
Conflicts:
build/rpm/dolibarr_fedora.spec
build/rpm/dolibarr_opensuse.spec
2013-07-24 15:25:00 +02:00
Laurent Destailleur
f169984c7c
Better test
2013-07-13 20:22:17 +02:00
Laurent Destailleur
158a2b8ca8
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into
...
develop
Conflicts:
htdocs/.gitignore
2013-07-11 11:52:32 +02:00
Laurent Destailleur
8d1b86db49
Qual: Add method addline
2013-07-10 15:58:07 +02:00
Laurent Destailleur
fee1682671
Add missing modules
2013-07-09 15:24:50 +02:00
Laurent Destailleur
7c163f7be3
Fix: Running fixdosfile onto all project
2013-07-07 13:17:48 +02:00
Laurent Destailleur
2bc650bf61
Qual: Remove tons of codesniffer errors and warnings.
2013-07-07 13:14:32 +02:00
Laurent Destailleur
7b5e0678db
New: Make some changes to allow usage of alternative
...
$dolibarr_main_url_root variables.
Can now use several alternative path. Fix several bugs with all code.
2013-07-07 03:26:51 +02:00
Laurent Destailleur
eef039e02f
New: [ task #286 ] Enhance rounding function of prices to allow round of
...
sum instead of sum of rounding
2013-07-04 00:11:40 +02:00
Laurent Destailleur
cb68924f34
Merge remote-tracking branch 'origin/3.4' into develop
...
Conflicts:
scripts/invoices/email_unpaid_invoices_to_customers.php
scripts/invoices/email_unpaid_invoices_to_representatives.php
2013-07-02 01:10:06 +02:00
Laurent Destailleur
d09e8a522d
Fix: PHPunit match previous fix of civility label empty
2013-07-02 01:05:10 +02:00
Laurent Destailleur
c92aa1f6aa
New: dol_strintotime accept format YYYY-MM-DD HH:MM:SS
...
Fix: create member was missing field import_key
New: Uniformize code
2013-06-27 17:45:58 +02:00
Laurent Destailleur
11ffe3b7b9
Merge pull request #1032 from marcosgdf/develop
...
CR Fix
2013-06-09 07:57:37 -07:00
Laurent Destailleur
9bb539843f
Merge branch '3.4' of git@github.com:Dolibarr/dolibarr.git into 3.4
2013-06-09 16:14:19 +02:00
Laurent Destailleur
a5f401f913
Fix: phpunit file
2013-06-09 16:13:59 +02:00
Laurent Destailleur
1eb2fc9fbd
Fix: phpunit file
2013-06-09 16:13:24 +02:00
Marcos García
0abcea745e
CR Fix
...
Git required me to commit these changes
2013-06-09 15:47:03 +02:00
Laurent Destailleur
89ee79f5cf
New: Implement same rule for return value of all command line scripts (0
...
when success, <>0 if error).
2013-06-09 14:40:33 +02:00
Marcos García
532c56002d
Entities problem with error message in predefined invoice creation
2013-06-08 19:07:13 +02:00
Marcos García
5069177f46
CR fix
2013-06-08 19:02:00 +02:00
Laurent Destailleur
693f4f3b8b
Fix: Pb of offset in numbering. Add also phpunit test to detect and test
...
fix.
Conflicts:
test/phpunit/NumberingModulesTest.php
2013-06-06 21:25:10 +02:00
Laurent Destailleur
31fe378f3b
Fix: Pb of offset in numbering. Add also phpunit test to detect and test
...
fix.
2013-06-06 21:18:50 +02:00
Raphaël Doursenaud
686f5add82
Normalized line endings to LF
2013-06-05 16:12:07 +02:00
Laurent Destailleur
eac4aa7e28
New: Module mailman can subscribe/unsubscribe to ML according to
...
categories of member.
2013-06-05 15:44:42 +02:00
Laurent Destailleur
67758c963b
Fix: PHPUnit tests
2013-06-04 22:52:58 +02:00
Laurent Destailleur
fc0d5abd14
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
ChangeLog
htdocs/compta/prelevement/bons.php
htdocs/compta/prelevement/fiche-stat.php
htdocs/contact/class/contact.class.php
htdocs/contrat/class/contrat.class.php
htdocs/core/menus/standard/eldy.lib.php
htdocs/core/modules/modSociete.class.php
htdocs/projet/fiche.php
test/phpunit/FilesLibTest.php
2013-05-03 00:15:02 +02:00
Laurent Destailleur
0a71c84bf4
Fix: Remove separator files.
2013-04-30 23:08:07 +02:00
Laurent Destailleur
c84427bd22
Fix: delete of files with [ and glob.
...
Conflicts:
test/phpunit/FilesLibTest.php
2013-04-30 22:52:56 +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
7dce8d2306
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
build/debian/changelog
build/doxygen/dolibarr-doxygen.doxyfile
build/exe/doliwamp/doliwamp.iss
build/launchpad/README
build/makepack-dolibarr.pl
build/perl/virtualmin/dolibarr.pl
build/rpm/dolibarr_fedora.spec
build/rpm/dolibarr_generic.spec
build/rpm/dolibarr_mandriva.spec
build/rpm/dolibarr_opensuse.spec
htdocs/core/modules/syslog/mod_syslog_file.php
htdocs/filefunc.inc.php
htdocs/product/class/product.class.php
2013-04-23 14:04:56 +02:00
Laurent Destailleur
ff3b2933a8
Fix: Removed bad test
2013-04-23 10:42:10 +02:00
Laurent Destailleur
c282ff91d6
Fix: pgsql compatibility
2013-04-20 23:43:02 +02:00
Laurent Destailleur
ff2adc40a4
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
ChangeLog
htdocs/admin/dict.php
htdocs/comm/prospect/fiche.php
2013-04-17 23:15:57 +02:00
Laurent Destailleur
3a474a22ca
Qual: Include is_erasable() into test
...
Conflicts:
test/phpunit/NumberingModulesTest.php
2013-04-16 15:56:08 +02:00
Laurent Destailleur
a5deb8e9d7
Fix: bug into is_erasable function.
...
Conflicts:
test/phpunit/NumberingModulesTest.php
2013-04-16 15:54:36 +02:00
Laurent Destailleur
5b110ebae9
Qual: Include is_erasable() into test
2013-04-16 15:49:00 +02:00
Laurent Destailleur
4fe49b6736
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2013-04-16 15:01:07 +02:00
Laurent Destailleur
248de05196
Fix: bug into is_erasable function.
2013-04-16 15:00:41 +02:00
Laurent Destailleur
a11c771993
Qual: More PHPUnit tests
2013-04-16 13:34:37 +02:00
Laurent Destailleur
de2ddc02e4
Qual: Another clean of menu management system. Removed all files
...
pre.inc.php
2013-04-15 13:11:29 +02:00
Laurent Destailleur
67052933ca
Fix: PHPUnit
2013-04-14 23:42:24 +02:00
Laurent Destailleur
ba93a4bfe2
Fix: Codesniffer
2013-04-10 12:20:45 +02:00
Laurent Destailleur
b496436fe3
Qual: Reduce number of methods. Mutualize update_note code.
2013-04-10 10:58:38 +02:00
fhenry
275bf67bb7
[ task #811 ] Uniformanize note field
2013-04-09 17:18:07 +02:00
Laurent Destailleur
b3f9fbb3bc
Update case after mutualizing code.
2013-04-07 18:07:16 +02:00
Laurent Destailleur
5c3e6de073
Qual: Mutualize code. Only one function to build address format.
2013-04-07 17:39:08 +02:00
Laurent Destailleur
df08d838d7
More robust phpunit tests
2013-04-01 14:49:33 +02:00
Laurent Destailleur
89365786a8
New: enhance tool fixdosfiles.sh
...
Convert DOS files to unix
2013-03-30 14:27:13 +01:00