Commit Graph

1338 Commits

Author SHA1 Message Date
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
Grand Philippe
e1baf806b9 change birth instead of naiss 2013-03-13 22:17:03 +01:00
Laurent Destailleur
3e5ee3b00a Fix: PHPUnit tests are back. 2013-03-09 18:55:57 +01:00
Laurent Destailleur
eff675793d Qual: Show skeletons to add phpunit for webservices 2013-03-01 23:51:36 +01:00
Grand Philippe
44dee53350 english language standardization 2013-02-25 18:21:12 +01:00
Grand Philippe
529b8ae38e english standardization 2013-02-23 10:43:16 +01:00
Laurent Destailleur
abb6daf2dc Merge remote-tracking branch 'origin/3.3' into develop
Conflicts:
	htdocs/core/boxes/box_activity.php
2013-01-19 16:29:16 +01:00
Laurent Destailleur
060edf21da New: Add more PHPUnit tests to prepare removal of adodb. 2013-01-18 15:54:40 +01:00
Laurent Destailleur
f1f7ff315f Fix: CRLF 2013-01-16 15:54:07 +01:00
Laurent Destailleur
d11cee399a Merge remote-tracking branch 'origin/3.3' into develop
Conflicts:
	COPYRIGHT
	htdocs/core/tpl/freeproductline_create.tpl.php
	htdocs/core/tpl/predefinedproductline_create.tpl.php
	htdocs/install/mysql/tables/llx_c_availability.sql
2013-01-16 15:45:17 +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
Regis Houssin
cf12815ca9 Fix: phpunit error 2013-01-14 09:39:35 +01:00
Marcos García
aff96e5050 Added test for functions fetch_login and resiliate 2013-01-12 14:14:36 +01:00
Marcos García
729a8017c3 Added test for Adherent class functions setUserId and setThirdPartyId 2013-01-11 17:13:37 +01:00
Marcos García
88fdfec0eb Improved AdherentTest and added testAdherentMakeSubstitution 2013-01-10 12:26:02 +01:00
Regis Houssin
b838895db9 Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
Regis Houssin
5740c7e694 Fix: change for a neutral email 2012-12-30 15:11:07 +01:00
Laurent Destailleur
ca6e9643ea Fix: Pb in json function for objects 2012-12-29 12:21:13 +01:00
Grand Philippe
8b5262cd82 fix 2012-12-10 11:28:39 +01:00
Grand Philippe
a91a96e72e merge 2012-12-10 10:02:13 +01:00
Laurent Destailleur
88ffda4bfb Qual: Enhance quality controls for 3.3 2012-12-10 02:00:21 +01:00
Laurent Destailleur
5d27fd61df Beautify instal pg.
Fix: Debian package
Restore PHPUnit test (A PHP Unit test that fails should not be removed
but fixed and be kept in error until fix is published. Otherwise,
PHPUnit are useless).

Conflicts:
	htdocs/install/fileconf.php
	htdocs/install/inc.php
2012-12-05 00:45:10 +01:00
Laurent Destailleur
bbeab3e098 A PHPUnit test was successfull must never be removed. Creating
such test is useless if we removed them when they report error. When an
error is reported, the PHPUnit error must be kept until the code is
fixed (regression) or until the test is fixed (if code has changed
in a not compatible way, should be rare). But test must not be
removed. The error must be reported until fixed.
2012-12-03 20:26:27 +01:00
Regis Houssin
b5d4a16f1b FIXME shiittttt 2012-12-03 11:24:30 +01:00
Regis Houssin
c0fba8262f FIXME pending correction of the "addline" method 2012-12-03 11:20:03 +01:00
Regis Houssin
0c142594be Fix: try invert test 2012-12-03 11:14:36 +01:00
Regis Houssin
0a72aeca88 Fix: avoid phpunit error if supplier price not exist 2012-12-03 11:06:39 +01:00
Laurent Destailleur
8f0b548714 Debug export filters. Seems to be enougth stable so it is now enabled by
default.
2012-11-20 15:56:44 +01:00
Laurent Destailleur
7c78e1c0f6 Doxygen and normalize code.
New: add more PHPUnit
2012-11-15 14:52:19 +01:00
Laurent Destailleur
7d5c4a3b38 Fix: Fix upgrade
New: Update dump file
Qual: Add label for PHPUnit tests
2012-11-11 14:34:55 +01:00
Laurent Destailleur
831fe6a29e Fix: More fix about the new localtax system 2012-11-06 23:45:16 +01:00
Laurent Destailleur
f37c559235 Fix: regression 2012-11-06 19:23:23 +01:00
Laurent Destailleur
058325b7f2 Revert "Fix: avoid phpunit error"
This reverts commit 05b359fbff.
2012-11-06 12:48:58 +01:00
Regis Houssin
05b359fbff Fix: avoid phpunit error 2012-11-04 10:09:03 +01:00
Laurent Destailleur
066bcbb469 Qual: Add dol_format_address PHPUnit tests 2012-10-31 01:45:48 +01:00
Regis Houssin
d4ec7581ac Fix: best practice if result >= 0
assertGreaterThanOrEqual(expected, result)
2012-10-28 13:44:52 +01:00
Regis Houssin
d6a3b76270 Fix: regression 2012-10-28 13:37:09 +01:00
Regis Houssin
6b06b37116 Fix: remove filtered export test for the moment 2012-10-28 13:23:46 +01:00
Regis Houssin
75587b3a15 Fix: wrong delete invoice test 2012-10-28 13:18:15 +01:00
Regis Houssin
c48b91c182 Fix: remove $sql request for test filter 2012-10-28 13:10:01 +01:00
Regis Houssin
2119179226 Fix: field "amount" is obsolete 2012-10-28 12:23:58 +01:00
Regis Houssin
094c062cbd Fix: regression and syntax error 2012-10-28 11:11:45 +01:00
Regis Houssin
fe223e2001 Fix: try the process isolation 2012-10-28 11:02:22 +01:00
Regis Houssin
31ff042e10 Fix: wrong syntax 2012-10-28 10:55:26 +01:00
Regis Houssin
bc2280e4ab Fix: avoid phpunit warning 2012-10-26 09:12:19 +02:00
Laurent Destailleur
043e5edc2c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-24 21:37:36 +02:00
Laurent Destailleur
7d83fdce5b Fix: Several fixes into date functions
Qual: Add PHPUnit tests
2012-09-24 21:37:19 +02:00
Laurent Destailleur
e6d91a3e50 The phpunit test is correct. What's wrong is
inside dolibarr code (Really dont know why it fails with 1900. It
looks like a year 2000 bug). Let's try with 1915 and 1916
2012-09-24 18:56:28 +02:00
Regis Houssin
c268a62cab Fix: try to disable 1900 test 2012-09-24 09:30:37 +02:00
Laurent Destailleur
9175d91bc0 Doxygen 2012-09-23 17:11:01 +02:00
Laurent Destailleur
7fac6b65f6 Fix: Fix for compatibility with previous version and for case "@=".
Qual: Add a lot of phpunit tests to validate all get_next_value()
cases.
2012-09-23 16:25:08 +02:00
Laurent Destailleur
d1cfe2ec54 Fix: Bug when metafile is on 2012-09-19 13:30:59 +02:00
Laurent Destailleur
1347ecf14e Qual: Removed warnings 2012-09-19 12:49:58 +02:00
Laurent Destailleur
ef00d592e7 Fix: Backward compatibility with spain. 2012-09-11 01:42:50 +02:00
Laurent Destailleur
e68f861923 New: Add more test and enhancement to make new calcul_price function
more reliable. We need to add more PHPUnit test case on this function
(testcase using localtax1 and localtax2).
2012-09-11 01:09:34 +02:00
Laurent Destailleur
0dfc9e59fe New: Creation of meta file works for all elements. Disabled by default. 2012-09-07 10:30:02 +02:00
Laurent Destailleur
055bb7a9b8 Fix: Restore correct includes.
All entry pages must start with a require main.inc.php, except command
line script that start with master.inc.php.
To avoid errors into jenkins, we must exclude file common.inc.php.
All files ending *.inc.php must be excluded from jenkins because such
files are not "start/entry pages". That's the difference with
standard files *.php.
*.php
2012-09-06 10:39:25 +02:00
Regis Houssin
8787a703a0 Fix: remove old tests 2012-09-06 08:06:48 +02:00
Regis Houssin
3e5e301725 Fix: remove deleted files from phpunit test 2012-09-05 07:48:17 +02:00
Laurent Destailleur
816e317dd2 Fix into categorie functions 2012-08-05 23:58:42 +02:00
Laurent Destailleur
895b491d84 Uniformize files 2012-08-05 14:06:09 +02:00
Laurent Destailleur
386a1dcb55 More phpunit tests 2012-08-05 13:07:17 +02:00
Marcos García
5a73c32f46 Migrated ClassName to __construct() function
Changed $DB to $db
lower-cased "Class"
2012-07-30 17:17:33 +02:00
Laurent Destailleur
a429a930d0 Fix: Uniformize code and PHPUnit tests 2012-07-29 20:07:03 +02:00
Laurent Destailleur
b40c0a5d86 Fix: Check conditions to run test 2012-07-29 19:40:20 +02:00
Regis Houssin
3bfd9182e0 Fix: uniformize code 2012-07-06 13:43:59 +02:00
Regis Houssin
6f1651309e Fix: global converting lines delimiter 2012-07-02 19:30:37 +02:00
Laurent Destailleur
018cafe92c Fix: Add an unsecape function to decode javascript escape
encoding. This also fix ecm for cyrillic chars.
2012-06-24 19:32:19 +02:00
Regis Houssin
d061025955 Fix: rename and include unit test 2012-06-20 22:19:03 +02:00
Laurent Destailleur
c273f9f698 Fix: escape double quotes into dol_html_escapetag
New: Passwords not reset into install page.
2012-06-17 23:27:17 +02:00
Laurent Destailleur
d20aa0f4a2 Qual: More phpunit tests 2012-06-15 00:15:59 +02:00
Laurent Destailleur
90fd8abddf Qual: More phpunit tests 2012-06-14 20:16:40 +02:00
Laurent Destailleur
a9d5109d3d Qual: More phpunit tests 2012-06-14 20:15:50 +02:00
Regis Houssin
af38a2fab7 Fix: bad parameters, use global 2012-06-10 10:29:43 +02:00
Laurent Destailleur
b0c1fa5b4f Fix: Pgsql 2012-05-15 01:52:46 +02:00
Laurent Destailleur
4a9baa590c Fix: Bad timezone function. Daylight was not used. 2012-05-14 16:46:48 +02:00
Laurent Destailleur
70f7cd8232 Fix: missing include 2012-05-14 14:06:27 +02:00
Laurent Destailleur
acef702c27 Fix: pgsql compatibility not complete.
New: Move convert sql functions as static.
New: Add phpunit tests for database drivers.
2012-05-13 14:30:11 +02:00
Laurent Destailleur
8abacfaf35 Fix: Bad phpunit test 2012-05-13 14:26:25 +02:00
Laurent Destailleur
5499c91712 New: Monaco is like France for default vat calculation
Qual: More phpunit tests
2012-04-29 11:42:30 +02:00
Laurent Destailleur
7977897fd8 Fix: dol_uncompress function now works with all PHP and OS. Use PHP
native code. Only zip is supported. This is enough, modules must be zip
and only zip (tgz not more allowed).
2012-04-28 18:21:51 +02:00
Regis Houssin
e6a89633ae Fix: disable core test for avoid this message: Click here to finish
Dolibarr install process
2012-04-16 09:32:23 +02:00
Regis Houssin
00bcbd45d1 Try to fix phpunit error 2012-04-16 09:22:39 +02:00
Regis Houssin
b0b3ce826f Fix: wrong file name 2012-04-16 09:04:07 +02:00
Laurent Destailleur
9a70541084 Fix: Missing migration field
Fix: Date must be quoted
2012-04-15 18:41:38 +02:00
Laurent Destailleur
753434a545 Qual: More phpunit tests 2012-04-15 17:56:13 +02:00
Laurent Destailleur
49113b4ab8 I forgot image file 2012-04-02 09:47:35 +02:00
Laurent Destailleur
46251db167 Qual: Use a shared function to define logo heigth.
Qual: Add more phpunit tests
Fix: This also solve overlapping logos.
2012-04-01 23:57:15 +02:00
Laurent Destailleur
d8c975da3d More fields into import of products 2012-03-30 00:54:41 +02:00
Regis Houssin
7da4d7f072 Fix: phpunit test dol_json_* 2012-03-26 08:21:40 +02:00
Regis Houssin
d7d5681b4b Fix: avoid phpunit warning 2012-03-26 08:18:03 +02:00
Laurent Destailleur
693d0441b3 Fix: json emulated function now support utf8 char. 2012-03-25 14:25:32 +02:00
Regis Houssin
5d2da2c884 Fix: uniformize code 2012-03-22 08:33:44 +01:00
Laurent Destailleur
b6b33877a7 Fix: Better fix 2012-03-21 13:57:47 +01:00
Laurent Destailleur
89c906dde6 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-03-21 12:51:09 +01:00
Laurent Destailleur
ab6c1a5160 Qual: Add new PHPUnit test and fix bugs the test show me 2012-03-21 12:33:51 +01:00
Regis Houssin
b1f1c203fd Fix: return the good result value 2012-03-21 12:00:29 +01:00
Regis Houssin
14996257a2 Fix: try another method 2012-03-21 11:44:04 +01:00
Regis Houssin
0c62709a9c Fix: save and restore value of $this->id 2012-03-21 11:33:50 +01:00
Regis Houssin
0432609502 Fix: unset $this->id for good check test 2012-03-21 11:24:30 +01:00
Regis Houssin
0f3f822e3d Fix: add test 2012-03-21 11:06:53 +01:00
Regis Houssin
7508974cbb Fix: print log before the test 2012-03-21 10:45:50 +01:00
Regis Houssin
6734549436 Fix: use good function with good parameters 2012-03-21 10:38:13 +01:00
Regis Houssin
5dbb246db0 Fix: the expected value is the first parameter 2012-03-21 10:28:31 +01:00
Regis Houssin
e62424294a Fix: test if equals for stop on failure 2012-03-21 10:19:52 +01:00
Regis Houssin
22c232f82d Fix: move phpunit in first and stop if failure 2012-03-21 08:33:36 +01:00
Laurent Destailleur
845fe95128 Return specific code for duplicate 2012-03-20 13:51:50 +01:00
Regis Houssin
da4a29462e Fix: php unit test error 2012-03-17 08:50:09 +01:00
Laurent Destailleur
3f001e3938 Qual: More PHPUnit tests 2012-03-13 01:24:21 +01:00
Laurent Destailleur
aea97075f1 Fix: Fix some bugs (phpunit is now ok with pgsql too) 2012-03-11 21:45:17 +01:00
Laurent Destailleur
64d5c85880 Qual: Add more phpunit 2012-03-10 14:04:26 +01:00
Regis Houssin
0e0f8a3864 Fix: unit test error 2012-03-09 07:18:05 +01:00
Laurent Destailleur
70ea13a0f2 Add more phpunit tests 2012-03-08 19:38:58 +01:00
Laurent Destailleur
57c94c6736 Fix: chrome detection 2012-02-29 20:51:44 +01:00
Laurent Destailleur
55904f7f37 New: Test on browser version during install step.
Mutualize code to detect browser version.
2012-02-29 19:41:12 +01:00
Laurent Destailleur
6550ba53f6 More phpunit test 2012-02-29 11:48:03 +01:00
Laurent Destailleur
1645ddbe47 Sec: Sanitize all input for ids. 2012-02-27 22:26:22 +01:00
Laurent Destailleur
e699711b36 Fix: Add a test to be sure PHPunit tests are run with correct language. 2012-02-20 01:36:01 +01:00
Laurent Destailleur
f54573be12 Qual: Add more php unit tests 2012-02-19 23:12:48 +01:00
Laurent Destailleur
8d6655061e Qual: Full description of lines for ODT generation share same
function.
2012-02-19 21:08:17 +01:00
Laurent Destailleur
75bb0eddd7 Fix: Bad br. 2012-02-19 20:31:59 +01:00
Laurent Destailleur
fc62b1c9c7 Removed all checkstyle errors into phpunit files 2012-02-18 01:07:52 +01:00
Laurent Destailleur
9b3bab5ff9 Doxygen 2012-02-17 16:02:35 +01:00
Regis Houssin
c4750a8f9a Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-17 09:58:13 +01:00
Regis Houssin
1ad98968dc Fix: add logs 2012-02-17 09:57:38 +01:00
Laurent Destailleur
881df18f0c Doxygen 2012-02-17 09:55:48 +01:00
Laurent Destailleur
6acf38b77c Qual: Add specific test for all prof id checks. 2012-02-17 09:43:26 +01:00
Regis Houssin
3abc0604cc Fix: add country code 2012-02-17 08:46:31 +01:00
Regis Houssin
2f1c0b76fc Fix: add specific logs 2012-02-17 08:33:00 +01:00
Laurent Destailleur
dd491a5197 Add more phpunit 2012-02-17 01:41:58 +01:00
Laurent Destailleur
1810189cda Doxygen 2012-02-15 13:41:05 +01:00
Laurent Destailleur
89b51eeeb2 Update test samples 2012-02-12 19:15:17 +01:00
Laurent Destailleur
447922c218 More phpunit tests 2012-02-12 18:30:50 +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
ffa767bb33 Qual: Add more PHPunit tests 2012-02-12 16:41:43 +01:00
Laurent Destailleur
4489eba5c6 Add samples for tests 2012-02-12 16:22:19 +01:00
Laurent Destailleur
842fb07d08 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-08 00:22:58 +01:00
Laurent Destailleur
104a4532b9 Fix: miscellaneous not initialized vars 2012-02-07 18:48:50 +01:00
Laurent Destailleur
55f6cdd495 Qual: Removed warnings 2012-02-07 10:25:58 +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
1574f4a795 Add more test to prepare option for rounding lines 2012-02-05 15:47:28 +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
Laurent Destailleur
b22dc4170c Fix: From must be escaped between " 2012-02-02 10:22:04 +01:00
Laurent Destailleur
ed4a0742c8 Add a test to be sure module is on 2012-01-31 00:51:52 +01:00
Laurent Destailleur
82db98ee1d [ task #176 ] Allow to use ODT templates. Works with Orders 2012-01-28 00:43:39 +01:00
Regis Houssin
114a1793a5 Fix: phpunit error 2012-01-24 07:05:06 +01:00
Regis Houssin
a51948c245 Fix: wrong name 2012-01-21 18:46:36 +01:00
Laurent Destailleur
70a67bc3f1 Qual: Move a not frequently used function out of functions.lib.php
Enhance PHPUnit tests
2012-01-21 14:10:22 +01:00
Laurent Destailleur
02b37d499c More PHPUnit 2012-01-20 19:39:58 +01:00
Regis Houssin
1714990769 Fix: bad file name 2012-01-20 16:28:16 +01:00
Laurent Destailleur
0340403c52 Add more phpunit tests 2012-01-20 10:08:16 +01:00
Laurent Destailleur
27568ad82f Try to uniformize this setup too. 2012-01-12 09:58:31 +01:00
Regis Houssin
d45a473d22 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	test/phpunit/PricesTest.php
2012-01-12 09:35:46 +01:00
Regis Houssin
d79c9dd17e Fix: add logs 2012-01-12 09:31:45 +01:00
Regis Houssin
84d1ef2a8f Fix: float to string 2012-01-12 09:10:49 +01:00
Regis Houssin
aa66a630e4 Fix: custom directories not in official repository but is used in
personnal phpunit test
2012-01-12 08:31:05 +01:00
Laurent Destailleur
a57295cc73 Qual: Add phpunit test before working on different rounding modes 2012-01-11 16:35:12 +01:00
Laurent Destailleur
c773e25c21 Add timeouts 2012-01-11 16:01:35 +01:00
Laurent Destailleur
4b1ac579f2 Try to unifromize config file. We will se if it's ok with jenkins. 2012-01-11 14:13:09 +01:00
Laurent Destailleur
6b8d4391ac Try to uniformize config files 2012-01-11 13:42:27 +01:00
Laurent Destailleur
db77b43f9c Add more phpunit tests 2012-01-11 13:07:02 +01:00
Regis Houssin
f3e5774469 Fix: uniform jenkins filename 2012-01-08 09:02:47 +01:00
Regis Houssin
f61ed34848 Fix: exclude all directory 2012-01-08 08:39:17 +01:00
Laurent Destailleur
ebf8a6eef4 artichow was used only for captcha generation so i replaced with
dolibarr code to allow to remove completely artichow (artichow project
is dead).
2012-01-07 23:31:25 +01:00
Laurent Destailleur
4c0d7378d3 Some change to prepare artichow removal 2012-01-07 21:32:35 +01:00
Laurent Destailleur
3f8d2cbef8 Qual: Remove checkstyle warnings 2012-01-04 21:23:50 +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
Regis Houssin
1e4141087e Fix: no status field in llx_socpeople 2012-01-02 10:02:17 +01:00
Regis Houssin
790f013ed2 Fix: debug phpunit 2012-01-02 09:25:32 +01:00
Regis Houssin
a02d07c969 Test to fix Jenkins phpunit error 2012-01-02 09:07:10 +01:00
Regis Houssin
a3a3db58e3 Fix: test phpunit error 2011-12-31 11:30:49 +01:00
Laurent Destailleur
e97078f6c1 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/contact/class/contact.class.php
	test/phpunit/ContactTest.php
	test/phpunit/SocieteTest.php
2011-12-30 14:22:17 +01:00
Laurent Destailleur
55156edd0d Enhance PHPUnits 2011-12-30 14:18:19 +01:00
Laurent Destailleur
4bf03a2d0e Enhance PHPUnits 2011-12-30 12:33:41 +01:00
Laurent Destailleur
c2348ef600 Uniformize field country_id, country_code, country 2011-12-29 18:07:41 +01:00
Laurent Destailleur
95a292f41b Fix: Update licence files 2011-12-17 21:58:44 +01:00
Laurent Destailleur
f48348cade More PHPUnit tests 2011-12-17 16:53:36 +01:00
Laurent Destailleur
1aa75b847b New: dol_trunc has an option to make "exact" truncation (without adding
... if truncation is done).
2011-12-17 16:44:48 +01:00
Laurent Destailleur
6dd126749f Qual: enhance PHPUnit tests 2011-12-12 17:10:09 +01:00
Grand Philippe
057e573aa6 fix: tree was changed for class ModelePdfExpedition 2011-12-08 11:17:11 +01:00
Laurent Destailleur
1f37dc906f Qual: Uniformize name of barcode into "barcode". 2011-12-07 11:59:41 +01:00
Laurent Destailleur
b52fc32853 Fix: fix not initialized variables 2011-12-05 19:41:38 +01:00
Laurent Destailleur
7f3c336b7b Clean invoice class and enhance phpunit tests 2011-12-03 15:12:18 +01:00
Laurent Destailleur
9f889b0439 Qual: Uniformize code for document generation of shipments.
Prepare usage of odt templates.
2011-11-30 12:28:01 +01:00
Laurent Destailleur
9d1a008768 Qual: Clean code for barcode 2011-11-27 22:55:49 +01:00
Laurent Destailleur
1086e1a212 Rename test 2011-11-23 15:08:03 +01:00
Regis Houssin
2138f2290b Fix: remove obsolete test 2011-11-23 08:23:10 +01:00
Laurent Destailleur
fd9619f4cd Fix: Property not loaded
Enhance phpunit
2011-10-29 18:48:19 +02:00
Regis Houssin
dea1210c2d Fix: edit in place datepicker more stable 2011-10-28 19:31:42 +02:00
Regis Houssin
980607d8aa Fix: exclude doxygen 2011-10-24 15:09:22 +02:00
Regis Houssin
3338649316 [task #217] Move core files in core directory 2011-10-24 14:11:49 +02:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
Regis Houssin
63d60a33fc [task #216] Move lib in core directory 2011-10-24 11:25:54 +02:00
Regis Houssin
c65238b773 [task #216] Move lib in core directory 2011-10-24 10:45:06 +02:00
Regis Houssin
30c5f4b214 Move all core class in htdocs/core/class 2011-10-24 09:29:17 +02:00
eldy
e3197230c5 More PHPUnit tests 2011-10-09 18:43:56 +02:00
eldy
6eea1f56c9 More comments. 2011-10-05 14:29:16 +02:00
eldy
f4a3e6a1a7 Enhance PHPUnit tests 2011-10-05 13:56:32 +02:00
eldy
b2d635dab7 Qual: More PHPUnit tests 2011-10-01 01:40:15 +02:00
eldy
f70b1894db Work on product webservice 2011-10-01 01:30:32 +02:00
Regis Houssin
5b975ca143 Fix: change phpunit parameter 2011-09-30 09:35:01 +02:00
Regis Houssin
38c682bb9f Fix: regression 2011-09-29 13:51:53 +02:00
Regis Houssin
542b109429 Fix: void phpunit warning 2011-09-29 11:55:10 +02:00
Regis Houssin
39951571ea Fix: void phpunit test 2011-09-29 11:20:30 +02:00
Regis Houssin
1aac0ffddb Fix: void phpunit test 2011-09-29 10:55:32 +02:00
Regis Houssin
a4fb114c99 Fix: void phpunit warning 2011-09-29 10:26:12 +02:00
Regis Houssin
9a31f97e56 Fix: void phpunit error 2011-09-29 08:21:42 +02:00
Regis Houssin
de675d583a Change jenkins phpunit parameters 2011-09-29 08:01:13 +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
eldy
a3e7ec7dc0 Qual: Mutualized common code. Move module admin pages into admin
directory.
2011-09-28 14:13:48 +02:00
Regis Houssin
4fdc63f8b5 Removed mantis module 2011-09-26 12:12:50 +02:00
Laurent Destailleur
5dcc27cd9a Enhance PHPUnit tests 2011-09-24 13:44:35 +00:00
Laurent Destailleur
ccb60652bc Enhance PHPUnit tests 2011-09-23 12:21:00 +00:00
Laurent Destailleur
a15d4e4b8a Sec: Fix security login mutualized function. 2011-09-23 11:46:16 +00:00
Laurent Destailleur
02491157d4 Enhance PHPUnit tests 2011-09-23 12:21:00 +00:00
Laurent Destailleur
e354b8d265 Sec: Fix security login mutualized function. 2011-09-23 11:46:16 +00:00
Laurent Destailleur
ca82052a4d Enhance PHPUnit tests 2011-09-23 12:21:00 +00:00
Laurent Destailleur
19dee68f4f Sec: Fix security login mutualized function. 2011-09-23 11:46:16 +00:00
Laurent Destailleur
baa3d51a58 Enhance PHPUnit tests 2011-09-23 12:21:00 +00:00
Laurent Destailleur
045ee2c833 Sec: Fix security login mutualized function. 2011-09-23 11:46:16 +00:00
Laurent Destailleur
8e0728d73f Enhance PHPUnit tests 2011-09-23 12:21:00 +00:00
Laurent Destailleur
caf6ed11d3 Sec: Fix security login mutualized function. 2011-09-23 11:46:16 +00:00
Laurent Destailleur
57ace4b174 Enhance PHPUnit tests 2011-09-23 12:21:00 +00:00
Laurent Destailleur
1712396d19 Sec: Fix security login mutualized function. 2011-09-23 11:46:16 +00:00
Laurent Destailleur
2a456b08d5 Enhance PHPUnit tests 2011-09-23 12:21:00 +00:00
Laurent Destailleur
540ccab025 Sec: Fix security login mutualized function. 2011-09-23 11:46:16 +00:00
Regis Houssin
1b554fee35 Fix: bad password 2011-09-22 13:13:45 +00:00
Regis Houssin
ebfc56e75f Fix: replace siezof by count
Fix: update exclude dir
2011-09-20 14:36:57 +00:00
Regis Houssin
61f2ddd273 Fix: try another parameters 2011-09-19 22:37:16 +00:00
Regis Houssin
e3bee242b9 Fix: path regression and adding parameters 2011-09-19 22:36:09 +00:00
Regis Houssin
bb59f1539a Fix: add phpunittest.xml for hudson 2011-09-19 22:29:44 +00:00
Regis Houssin
5dcb9b324d Fix: update directories 2011-09-19 18:02:04 +00:00
Laurent Destailleur
f17843fda5 Fix: phpunit file 2011-09-19 15:12:29 +00:00
Regis Houssin
2c1b3722f2 Fix: replace sizeof() by count() 2011-09-17 19:49:50 +00:00
Regis Houssin
c729a0aada Fix: best exclude 2011-09-17 13:44:36 +00:00
Regis Houssin
6de7f627c2 Fix: bad path 2011-09-17 09:25:55 +00:00
Regis Houssin
e2f9864f42 Add build files for Hudson server
Fix: avoid errors with PHPUnit/Autoload.php
2011-09-16 16:16:39 +00:00
Laurent Destailleur
f9104c50e7 Qual: Add more phpunit tests 2011-09-11 10:32:59 +00:00
Laurent Destailleur
8c966f76b9 Qual: More PHPUnit tests 2011-09-10 22:37:43 +00:00
Laurent Destailleur
e9df5c02e6 Qual: Add more phpunit tests 2011-09-10 12:28:00 +00:00
Laurent Destailleur
77dd2f2b3a Qual: More PHPUnit tests 2011-09-10 22:37:43 +00:00
Laurent Destailleur
86b22b535b Qual: Add more phpunit tests 2011-09-10 12:28:00 +00:00
Laurent Destailleur
14f2639f4e Qual: More PHPUnit tests 2011-09-10 22:37:43 +00:00
Laurent Destailleur
65c2d93a29 Fix: When creating invoice from other object, discount are created
automatically
2011-09-10 17:52:21 +00:00
Laurent Destailleur
5bd1a05ec7 Qual: More PHPUnit tests 2011-09-10 22:37:43 +00:00
Laurent Destailleur
d7c2b906cd Qual: Add more phpunit tests 2011-09-10 12:28:00 +00:00
Laurent Destailleur
d9a75b8c19 Fix DTD 2011-08-28 13:16:40 +00:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
c154c9bd0a Fix: Fix PHPUnit test 2011-08-20 21:21:07 +00:00
Laurent Destailleur
75652c1681 Qual: Removed magpier class and snoopy libraries (replaced with my own code) 2011-08-17 13:44:13 +00:00
Laurent Destailleur
45308d4546 Qual: Removed fckeditor lib 2011-08-15 00:15:18 +00:00
Laurent Destailleur
cb3ec74a29 Qual: Removed efc_xfss library. Not used. 2011-08-11 19:41:23 +00:00
Laurent Destailleur
76f1880583 Qual: Removed php_writexcel lib. Replaced with phpexcell.
Fix: Make script export-contaxts-xls-example.php working.
Qual: removed not used code.
2011-08-11 19:12:37 +00:00
Laurent Destailleur
20d0cd7693 Removed deprecated files Smarty. 2011-08-10 23:29:50 +00:00
Laurent Destailleur
d6fef846e3 Test with phpunit 2011-07-08 23:35:05 +00:00
Laurent Destailleur
6f1ab57d54 New: Add more PHPunit tests to detect regressions 2011-07-08 11:25:46 +00:00
Laurent Destailleur
2417bb790c New: Add more PHPunit tests to detect regressions 2011-07-08 11:18:00 +00:00
Laurent Destailleur
447f0f6fbe Enhance phpunit tests 2011-06-19 21:10:45 +00:00
Laurent Destailleur
87cc1cc578 Fix: Regression of return code 2011-06-19 21:00:40 +00:00
Laurent Destailleur
69667f07d0 Try to fix a lot of regression. Add also more phpunit test to avoid them in future. 2011-05-01 10:24:46 +00:00
Laurent Destailleur
0b82d5f4a3 Add more phpunit tests 2011-05-01 09:38:38 +00:00
Laurent Destailleur
0b8aca3f0d Add more phpunit tests 2011-05-01 09:28:46 +00:00
Laurent Destailleur
863de33d6a Add more phpunit tests 2011-03-29 09:12:18 +00:00
Regis Houssin
b8d7542e7a Fix: remove unused library 2011-03-23 18:39:22 +00:00
Laurent Destailleur
511ff9abbe Enhance phpunit tests 2011-02-13 18:56:08 +00:00
Laurent Destailleur
8092a127a9 Enhance phpunits 2011-02-13 17:49:41 +00:00
Laurent Destailleur
a2b235371e Change to make unit test easier 2011-02-13 10:25:13 +00:00
Laurent Destailleur
e935ae891d Moved domain module to external modules 2011-02-12 11:03:29 +00:00
Laurent Destailleur
7aa295b474 Fix: Use delete function instead of remove 2011-02-06 10:59:17 +00:00
Laurent Destailleur
bf5a486ea6 Fix: Removed modules 2011-01-16 23:32:39 +00:00
Laurent Destailleur
0a72e6e7f2 Fix: Removed warning no dtd found 2011-01-12 14:33:57 +00:00
Laurent Destailleur
4ad3754d59 Enhance phpunit tests 2010-12-13 11:27:41 +00:00
Laurent Destailleur
6ec6d5367e Qual: Add more phpunit tests 2010-11-22 09:29:29 +00:00
Laurent Destailleur
1880a1d59a Add more php units 2010-11-20 15:25:08 +00:00
Laurent Destailleur
b766ab6832 Qual: Removed completey scriptaculous and prototype 2010-11-07 13:07:21 +00:00
Laurent Destailleur
123d4fb970 Fix: PHPunit code coverage feature was borken 2010-11-04 20:37:45 +00:00
Laurent Destailleur
43ce5a638e Increase unit test code coverage (now 21%) 2010-10-26 19:47:19 +00:00
Laurent Destailleur
d023f7e7c9 Qual: More phpunit tests 2010-10-23 18:16:28 +00:00
Laurent Destailleur
bb1732f0cd Qual: More phpunit tests 2010-10-23 17:36:02 +00:00
Laurent Destailleur
c6e8b813f4 Qual: More phpunit tests 2010-10-23 17:03:08 +00:00
Laurent Destailleur
00cc81b688 Qual: More phpunit tests 2010-10-23 17:03:07 +00:00
Laurent Destailleur
6f26f35529 Add more phpunit tests 2010-10-13 19:01:22 +00:00
Laurent Destailleur
1e33e41a32 Add more phpunit tests 2010-10-13 15:33:51 +00:00
Laurent Destailleur
ec99db2fe3 Add more phpunit tests 2010-10-13 14:57:08 +00:00
Laurent Destailleur
ad831db80a Qual: Add PHPUnit test for ChargeSociales 2010-10-11 19:29:09 +00:00
Laurent Destailleur
fa526a9509 Qual: Add more PHPUnit tests 2010-10-03 18:53:40 +00:00
Laurent Destailleur
6e0b42afb1 Add selenium tests 2010-08-15 23:19:46 +00:00