Commit Graph

259 Commits

Author SHA1 Message Date
Laurent Destailleur
3611161b67 Fix custom code should not appears on services 2016-06-30 19:35:11 +02:00
Laurent Destailleur
bc38bc63ca Fix minor bug in direct printing with google cloud print 2016-06-26 21:18:44 +02:00
Laurent Destailleur
9ebf7a1e35 Try to fix the group_concat function for pgsql. 2016-06-25 02:21:54 +02:00
Laurent Destailleur
7fbbf7e8f0 Fix translation missing 2016-06-22 20:09:20 +02:00
Laurent Destailleur
b01eed697e Fix sort on thirdparty on bank transaction list 2016-06-20 11:30:43 +02:00
Laurent Destailleur
d0a15d32b2 Clean language files 2016-06-18 19:48:58 +02:00
Laurent Destailleur
f817b562ad Clean language files 2016-06-18 17:17:45 +02:00
Laurent Destailleur
94b7e176a6 Clean language files 2016-06-18 16:46:21 +02:00
Laurent Destailleur
de76f2a9aa Clean language files 2016-06-18 15:50:37 +02:00
Laurent Destailleur
d192438eae Enhance tool to clean language files 2016-06-18 12:50:15 +02:00
Laurent Destailleur
4382f2a437 Clean language files 2016-06-18 11:06:11 +02:00
Laurent Destailleur
dc9c5ed5ef Enhance transifex sync 2015-12-18 18:25:09 +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
7f3531a04c Enhance script to track duplicate translation string and use it to
remove around 50 duplicates.
2015-12-06 13:34:57 +01:00
Laurent Destailleur
d59f62cd75 Sync transifex 2015-09-30 01:25:35 +02:00
Laurent Destailleur
22bac55d32 Push partial lang 2015-07-03 16:23:56 +02:00
Laurent Destailleur
5db5a8a1fa No need of option all. Reference is now transifex. 2015-07-03 13:48:54 +02:00
Laurent Destailleur
01aad8516d Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/adherents/list.php
	htdocs/compta/dons/card.php
	htdocs/compta/dons/class/don.class.php
	htdocs/contact/list.php
	htdocs/contrat/list.php
	htdocs/core/class/html.form.class.php
	htdocs/core/lib/security.lib.php
	htdocs/main.inc.php
	htdocs/product/stock/massstockmove.php
	htdocs/public/test/test_arrays.php
	htdocs/public/test/test_forms.php
	htdocs/societe/societe.php
2015-05-31 03:30:38 +02:00
Laurent Destailleur
3cfe4dc86e Sync language files 2015-05-31 03:07:17 +02:00
Laurent Destailleur
60863d5d9d Enhance tool to report duplicate and not used language keys. 2015-05-15 02:28:42 +02:00
Laurent Destailleur
111b54d82c Fix phpcs 2015-04-19 03:02:49 +02:00
Tommaso Basilici
38cfbe4897 issue #2584 - added a counter 2015-04-18 22:37:23 +02:00
Tommaso Basilici
7cec7879e4 issue #2584 - output on a table + search for unused strings 2015-04-18 22:18:46 +02:00
Tommaso Basilici
82a269f233 issue #2584 - also finds duplicates on same file 2015-04-18 15:26:18 +02:00
Tommaso Basilici
25eeff4f19 first commit to fix issue #2584 - checks for duplicate lang strings across all en_US lang files 2015-04-18 15:12:06 +02:00
Laurent Destailleur
c62687d198 Comment 2015-04-02 12:55:00 +02:00
Laurent Destailleur
849b94b087 Fix cd not required 2015-04-02 12:49:11 +02:00
Laurent Destailleur
6d7b340cee Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/commande/class/commande.class.php
	htdocs/core/class/dolgraph.class.php
	htdocs/langs/en_AU/main.lang
	htdocs/langs/fr_FR/admin.lang
	htdocs/langs/fr_FR/main.lang
	htdocs/langs/fr_FR/other.lang
2015-03-16 18:30:30 +01:00
Laurent Destailleur
0ef2369399 Enhance tools to make transifex sync 2015-03-14 02:37:18 +01:00
Laurent Destailleur
687e3d250b Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	dev/fixdosfiles.sh
	htdocs/core/tpl/objectline_edit.tpl.php
2015-03-13 17:46:31 +01:00
Laurent Destailleur
927925f4fd Can also sync alternatives languages from transifex now. 2015-03-13 17:42:50 +01:00
Laurent Destailleur
e5b401c8f2 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/langs/es_ES/agenda.lang
	htdocs/langs/fr_FR/admin.lang
	htdocs/langs/fr_FR/bills.lang
	htdocs/langs/fr_FR/errors.lang
	htdocs/langs/fr_FR/projects.lang
	htdocs/langs/fr_FR/stocks.lang
	htdocs/langs/fr_FR/suppliers.lang
2015-02-15 19:51:49 +01:00
Laurent Destailleur
46b1e213b9 Sync from transifex 2015-02-13 21:26:43 +01:00
frederic34
73fda2cb86 WIP PSR2 2015-01-08 18:36:03 +01:00
Laurent Destailleur
cf641194a1 Fix: CRLF 2014-12-09 00:02:43 +01:00
Laurent Destailleur
931c1fc671 Sync from transifex 2014-11-30 16:20:58 +01: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
349d6177d1 Clean more secondary languages
Add information of file and line number when a duplicate translation key
is found.
2014-05-22 14:35:53 +02:00
Laurent Destailleur
e9ab84074e Clean: Add script to clean secondary language files
Clean language files for de_AT (only delta compared to de_DE).
2014-05-22 14:33:42 +02:00
Laurent Destailleur
4e00d4467c Clean: Add script to clean secondary language files
Clean language files for de_AT (only delta compared to de_DE).
2014-05-22 12:41:43 +02:00
Laurent Destailleur
4f52f22735 Fix: Run script from correct dir 2014-05-18 12:06:09 +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
dc6a09f746 Doc 2014-04-07 00:00:30 +02:00
Laurent Destailleur
6a916a4ce9 Add sq_AL (albanian) language 2014-04-06 23:29:07 +02:00
Laurent Destailleur
f6f6022b7a Add eu_ES language. 2014-02-08 03:44:53 +01:00
Laurent Destailleur
e22e4fc4d7 Sync from transifex 2014-02-05 23:10:44 +01:00
Laurent Destailleur
f44a45feb2 Fix: Missing some languages into the transifex sync script.
Trans: Sync language files from transifex.
2013-12-31 12:03:37 +01:00
Laurent Destailleur
c3af8b6b29 Sync from transifex 2013-11-27 14:59:02 +01:00
Raphaël Doursenaud
83f99b5ba6 Use LF instead of CRLF 2013-11-19 14:36:55 +01:00
Laurent Destailleur
c5230ea2ff Fix: option --skip on by default 2013-11-15 23:39:44 +01:00
Laurent Destailleur
94716c5314 Removed not used key 2013-10-23 14:05:26 +02:00
Laurent Destailleur
0cb9ef37c0 Add option into usage 2013-10-23 11:22:56 +02:00
Laurent Destailleur
7f762fdbf8 Fix: doc 2013-09-03 00:06:42 +02:00
Laurent Destailleur
447d0063af Merge remote-tracking branch 'origin/3.4' into develop
Conflicts:
	htdocs/langs/ca_ES/withdrawals.lang
	htdocs/langs/es_ES/withdrawals.lang
	htdocs/langs/fr_FR/withdrawals.lang
	htdocs/langs/ja_JP/compta.lang
	htdocs/langs/ja_JP/contracts.lang
	htdocs/langs/sl_SI/withdrawals.lang
	htdocs/langs/zh_CN/admin.lang
	htdocs/langs/zh_CN/agenda.lang
	htdocs/langs/zh_CN/bills.lang
	htdocs/langs/zh_CN/boxes.lang
	htdocs/langs/zh_CN/commercial.lang
	htdocs/langs/zh_CN/companies.lang
	htdocs/langs/zh_CN/compta.lang
	htdocs/langs/zh_CN/contracts.lang
	htdocs/langs/zh_CN/errors.lang
	htdocs/langs/zh_CN/exports.lang
	htdocs/langs/zh_CN/install.lang
	htdocs/langs/zh_CN/interventions.lang
	htdocs/langs/zh_CN/mails.lang
	htdocs/langs/zh_CN/main.lang
	htdocs/langs/zh_CN/members.lang
	htdocs/langs/zh_CN/orders.lang
	htdocs/langs/zh_CN/other.lang
	htdocs/langs/zh_CN/products.lang
	htdocs/langs/zh_CN/propal.lang
	htdocs/langs/zh_CN/stocks.lang
	htdocs/langs/zh_CN/suppliers.lang
	htdocs/langs/zh_CN/users.lang
	htdocs/langs/zh_TW/admin.lang
	htdocs/langs/zh_TW/agenda.lang
	htdocs/langs/zh_TW/banks.lang
	htdocs/langs/zh_TW/boxes.lang
	htdocs/langs/zh_TW/companies.lang
	htdocs/langs/zh_TW/compta.lang
	htdocs/langs/zh_TW/contracts.lang
	htdocs/langs/zh_TW/errors.lang
	htdocs/langs/zh_TW/exports.lang
	htdocs/langs/zh_TW/install.lang
	htdocs/langs/zh_TW/interventions.lang
	htdocs/langs/zh_TW/mails.lang
	htdocs/langs/zh_TW/members.lang
	htdocs/langs/zh_TW/orders.lang
	htdocs/langs/zh_TW/propal.lang
	htdocs/langs/zh_TW/suppliers.lang
2013-08-03 16:24:52 +02:00
Laurent Destailleur
68e13b09e9 Enhance tx tool. 2013-07-31 14:11:58 +02:00
Laurent Destailleur
c5a7540b37 Update script to update source ref. 2013-07-02 00:21:03 +02:00
Laurent Destailleur
dee7ac2823 Add missing lang files 2013-05-27 12:02:31 +02:00
Laurent Destailleur
ce45291c00 Add tx scripts 2013-05-27 10:32:47 +02: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
5bd14b20d5 Trans: Add bg_BG language and fix monor strings
Fix: Removed warning into autotranslator tool.
2012-09-08 18:57:52 +02:00
Laurent Destailleur
a0138493fc Fix: error if no api key 2012-03-10 15:15:21 +01:00
Laurent Destailleur
5492751a2f New: autotranslator works with new google v2 translate 2012-02-29 17:11:29 +01:00
Laurent Destailleur
195142862c Qual: Checkstyle 2012-02-15 13:58:37 +01:00
Laurent Destailleur
4e13863513 Work on Google API v2 2012-01-23 02:35:17 +01:00
Laurent Destailleur
9ea69cffb8 Prepare to use Google Api v2 2012-01-14 13:27:32 +01:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
eldy
6207b9262b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	dev/translation/langAutoParser.class.php
	htdocs/langs/tr_TR/agenda.lang
	htdocs/langs/tr_TR/boxes.lang
	htdocs/langs/tr_TR/install.lang
	htdocs/langs/tr_TR/other.lang
2011-10-10 15:10:14 +02:00
eldy
8a9417ed59 Enhance translator 2011-10-10 14:22:09 +02:00
eldy
236c71f0f4 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/langs/nl_NL/admin.lang
	htdocs/langs/nl_NL/donations.lang
	htdocs/langs/nl_NL/errors.lang
	htdocs/langs/nl_NL/install.lang
	htdocs/langs/nl_NL/members.lang
	htdocs/langs/nl_NL/paypal.lang
	htdocs/langs/nl_NL/projects.lang
	htdocs/langs/nl_NL/sendings.lang
	htdocs/langs/nl_NL/sms.lang
	htdocs/langs/nl_NL/users.lang
2011-10-10 13:21:52 +02:00
eldy
fca1e76e35 Fix: Restore %S after translation 2011-10-10 12:26:47 +02:00
eldy
9580d3edc2 Add timeout 2011-10-10 12:22:03 +02:00
Regis Houssin
066b6146c0 Fix: replace siezof by count 2011-09-21 10:46:03 +00:00
Regis Houssin
b6a2f13673 Fix: avoid jenkins warning
Fix: SpaceAfterOpenBracket, SpaceAfterCloseBracket, SpaceBeforeCloseBracket, SpaceBeforeOpenBracket
2011-09-20 09:40:27 +00:00
Laurent Destailleur
69892eccf8 Qual: Optimize PHP Code sniffer rules 2011-08-28 17:40:51 +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
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
2bd29e26df Fix: missing function 2011-06-26 18:52:49 +00:00
Laurent Destailleur
4ae755efbc Error management 2010-10-05 21:31:15 +00:00
Laurent Destailleur
1e40cec3bf Error management 2010-10-05 18:08:00 +00:00
Laurent Destailleur
4588963e36 New: Add target language in translation files 2010-09-01 13:01:50 +00:00
Laurent Destailleur
0f6ac8fcd6 Fix bug in translator tool 2010-08-27 06:42:02 +00:00
Laurent Destailleur
3f1275e190 Fix: doxygen 2010-07-21 23:45:08 +00:00
Laurent Destailleur
ba84057aa6 Serious enhancement in autotranlator tool. 2010-07-17 09:43:38 +00:00
Laurent Destailleur
2535c8bc45 Serious enhancement in autotranlator tool. 2010-07-17 09:40:12 +00:00
Laurent Destailleur
b7df0faac4 Enhance autotranslator to update lang files before a release. 2010-07-16 17:26:29 +00:00
Laurent Destailleur
a70595d969 Fix: Do not output a translation if api return error. 2010-07-09 23:13:27 +00:00
Laurent Destailleur
e854b357ec Enhancement 2010-06-29 23:59:12 +00:00
Laurent Destailleur
4b3d8bb246 Do not write key if translation error. 2010-06-28 00:36:54 +00:00
Laurent Destailleur
d7d969f88a Add error message 2010-06-27 23:37:14 +00:00
Laurent Destailleur
9f722f671e Fix: Code simpler and works even if script file has no path when called by php interpreter 2010-03-16 18:46:28 +00:00
Regis Houssin
e420c6cc7c Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-22 11:13:31 +00:00
Laurent Destailleur
f3a1978b9a Fix: Use preg functions 2009-10-22 01:04:23 +00:00
Regis Houssin
0cc93c1015 Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-20 14:22:24 +00:00
Regis Houssin
01291c4a7c Fix: function "split" is deprecated since php 5.3.0 2009-10-20 13:14:44 +00:00
Laurent Destailleur
e11f56a10b Update doc 2009-10-20 12:51:50 +00:00
Laurent Destailleur
1312b0d8fd Try explode instead of split 2009-10-19 20:17:19 +00:00
Laurent Destailleur
cb3f178dbc Add samples for code example 2009-09-10 21:46:10 +00:00
Laurent Destailleur
8f4b840075 Typo 2009-09-02 23:51:16 +00:00
Laurent Destailleur
08f9f047d6 Enhance translation tool 2009-08-13 18:42:53 +00:00
Laurent Destailleur
7ca35c1ca0 Enhance translation tool 2009-08-13 18:15:10 +00:00
Laurent Destailleur
f0d1f8a614 Update doc 2009-03-03 23:27:08 +00:00
Laurent Destailleur
824ac76b77 Update de_DE in UTF8 2009-01-19 23:32:18 +00:00
Laurent Destailleur
e06ac1e20b Added new languages 2009-01-19 21:43:47 +00:00
Laurent Destailleur
d561a2f88d New: Add an autotranslator tool that use google to build/update language files for a new language. 2009-01-18 23:11:02 +00:00
Laurent Destailleur
1561054490 New: Add an autotranslator tool that use google to build/update language files for a new language. 2009-01-18 22:39:18 +00:00
Laurent Destailleur
0088b02146 New: Add an autotranslator tool that use google to build/update language files for a new language. 2009-01-18 22:39:00 +00:00
Laurent Destailleur
1476fac25c New: Add an autotranslator tool that use google to build/update language files for a new language. 2009-01-18 18:38:47 +00:00