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