Commit Graph

63 Commits

Author SHA1 Message Date
Laurent Destailleur
1fd712d712 Fix help 2017-10-09 10:59:39 +02: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
167ec6917a Can add prefix into generated filename. This will save time for script
to build kit of files for book keeper.
2014-11-01 20:15:51 +01:00
Laurent Destailleur
212e9825a3 Qual: Function getmypid were renamed into dol_getmypid. 2014-07-31 17:35:58 +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
e2b63bb8dd Fix: Bad date ranges 2013-07-15 21:47:45 +02:00
Laurent Destailleur
e4d28c81a7 Fix: Bad string 2013-07-15 21:33:54 +02:00
Laurent Destailleur
3e3af877be Fix: File name not complete 2013-07-15 21:30:11 +02:00
Laurent Destailleur
28c28bd217 New: Add option excludethirdparties and onlythirdparties into merge pdf
scripts.
2013-07-15 20:56:43 +02:00
Laurent Destailleur
dd10ff8a11 eol 2013-07-15 18:51:56 +02:00
Laurent Destailleur
17f3d98fb3 New: Add option to exclude some thirdparties 2013-07-15 18:44:59 +02:00
Laurent Destailleur
3a9ffb19c3 fix: eol 2013-07-13 21:14:05 +02:00
Laurent Destailleur
bd53218245 More complete message 2013-07-13 20:25:55 +02:00
Laurent Destailleur
7481aa121e Qual: All script files must add a line into log when launched. 2013-07-13 19:20:01 +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
Raphaël Doursenaud
686f5add82 Normalized line endings to LF 2013-06-05 16:12:07 +02:00
Laurent Destailleur
e9df560b74 New: Show process id in all command line scripts 2013-05-22 12:23:42 +02:00
Laurent Destailleur
011f782f23 Qual: Better check of parameters 2013-05-15 18:07:34 +02:00
Laurent Destailleur
49735b8d39 New: Add option "filter=bank" onto script rebuild_merge_pdf.php to
merge PDF that has one payment on a specific bank account.
2013-05-15 17:52:56 +02:00
Laurent Destailleur
64ff559a80 Qual: Uniformize script headers 2013-05-15 11:24:18 +02:00
Laurent Destailleur
ff3282275d New: Working on script ot export bank receipts. Next step. 2013-05-12 23:43:19 +02:00
Laurent Destailleur
70b7cb1fa3 Fix: Restore suffix 2013-04-10 19:50:54 +02:00
Laurent Destailleur
418eeef8b4 Fix: Ton of bugs into renaming fields 2013-03-09 16:19:15 +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
Laurent Destailleur
07ba988cf8 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2013-01-14 11:45:16 +01:00
Laurent Destailleur
297c10d16b Qual: externalise code of merging PDFs into a library. 2013-01-14 11:39:30 +01:00
Marcos García
9d57ea7cd0 Fixed typo in console message 2013-01-10 16:24:07 +01:00
Laurent Destailleur
78421efcd3 Fix: rebuild_merge_pdf does not regenerate files already existing by
default.
2012-06-19 21:33:36 +02:00
Regis Houssin
93c32ba43f Fix: add quote with date 2012-05-14 20:05:39 +02:00
Laurent Destailleur
c4b845d60a Qual: Removed deprecated function name. 2012-02-19 18:34:22 +01:00
Laurent Destailleur
104a4532b9 Fix: miscellaneous not initialized vars 2012-02-07 18:48:50 +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
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
066b6146c0 Fix: replace siezof by count 2011-09-21 10:46:03 +00:00
Laurent Destailleur
2a6f5fb5ad Doxygen 2011-08-31 10:20:39 +00:00
Regis Houssin
03711cf6f2 Fix: remove obsolete tags 2011-08-27 19:15:14 +00:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
dcd3ab435d Qual: Removed no more used external libraries (fpdi_protection)
Qual: Centralize include of external libray fpdi
Qual: Now use fpdi with no changes
2011-08-11 12:13:59 +00:00
Laurent Destailleur
de1e127d48 Removed deprecated files FPDF. 2011-08-10 23:31:05 +00:00
Laurent Destailleur
e2c007305c Fix: Avoid errors into rpm packages 2011-07-31 22:21:57 +00:00
Laurent Destailleur
e0ba0f835f Qual: A lot of fixes to enhance package quality 2011-07-09 14:11:40 +00:00
Laurent Destailleur
3bd3436073 Remove codesniffer errors 2010-11-20 16:25:23 +00:00
Laurent Destailleur
c7c4a83f58 Work on compatibility between FPDF and TCPDF. Now language file main.lang can be used to defined which font to use with TCPDF (Always Helvetica with FPDF). 2010-11-13 02:58:29 +00:00
Laurent Destailleur
37f92ad5a1 New: Can exclude deposit, replacement or credit notes in script rebuild_merge_pdf 2010-09-19 14:06:44 +00:00
Regis Houssin
9664f0af5f Qual: big uniformize code 2010-09-09 14:06:15 +00:00
Laurent Destailleur
a7f6fdecca Work on replacement of FPDF with TCPDF 2010-09-01 14:32:13 +00:00
Laurent Destailleur
a2cca4c215 Work on FPDF replacement by TCPDF 2010-09-01 11:44:27 +00:00