Regis Houssin
694530bfae
Fix: Gives the possibility to the module, to provide his own family info
...
and position of this family. (canceled $this->family)
2016-01-10 13:00:48 +01:00
Laurent Destailleur
ba3c8de785
Update doc comment to make things cleaner to avoid confusion between old
...
deprecated doActions of canvas and doActions of triggers.
2015-12-17 14:01:22 +01:00
Laurent Destailleur
f87ccc97e2
Miscellaneous fixes
2015-12-16 19:26:50 +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
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
6df4948a73
Fix text
2015-12-01 03:12:12 +01:00
Laurent Destailleur
88e76dcf64
Fix utf8 encoded twice
2015-11-28 14:40:23 +01:00
Laurent Destailleur
f5631cac45
NEW Introduce property module_position so a module can decide where it
...
appears into list of modules.
2015-11-17 00:58:12 +01:00
philippe grand
c712532bf6
[Qual] Uniformize code
2015-11-12 11:59:15 +01:00
Laurent Destailleur
59a79442b0
Enhance code for select field list feature.
...
Add gender and employee on user list.
2015-11-11 17:05:18 +01:00
Laurent Destailleur
f49fab8a7e
Rename some files in english and increase fields size.
2015-11-09 16:48:30 +01:00
Laurent Destailleur
e689e9ed76
Debug generator de code
2015-11-05 21:33:05 +01:00
Laurent Destailleur
e7ecad2912
Add function getNomUrl on skeleton class.
2015-11-05 21:11:45 +01:00
Laurent Destailleur
f914873094
Better code generator
2015-11-05 20:31:51 +01:00
Laurent Destailleur
d2fa580f5d
The code generator can generate a list.php page with all feature
...
immediatly working (sort, extrafields, hooks, select fields to show...)
2015-11-05 13:43:22 +01:00
Laurent Destailleur
832afa139a
Update skeleton to generate a list page and a card page.
2015-11-04 16:13:50 +01:00
Laurent Destailleur
b3491ef4e5
Merge remote-tracking branch 'origin/3.8' into develop
...
Conflicts:
ChangeLog
htdocs/comm/propal/class/propal.class.php
htdocs/compta/facture/admin/facture_cust_extrafields.php
htdocs/compta/facture/admin/facturedet_cust_extrafields.php
htdocs/compta/facture/class/facture.class.php
htdocs/contrat/card.php
2015-10-16 10:12:36 +02:00
Florian HENRY
6b8707516e
FIX : skeleton class must use db->order rather than ORDER BY into
...
fetchAll
2015-10-14 10:05:42 +02:00
Laurent Destailleur
f54a1ca367
CSS enhancement
2015-10-06 01:03:31 +02:00
Laurent Destailleur
62792c08eb
Merge pull request #3591 from GPCsolutions/inherited
...
[Qual] Cleanup of inherited class properties
2015-09-26 11:23:59 +02:00
Raphaël Doursenaud
67ddb6c94e
[Qual] Cleanup of inherited class properties
2015-09-24 20:12:55 +02:00
Raphaël Doursenaud
631ee83745
[Qual] Replaced deprecated print_fiche_titre()
2015-09-24 18:34:58 +02:00
Laurent Destailleur
c75f62ddb7
FIX icon into export profile may be not correctly output
2015-09-14 12:12:14 +02:00
Laurent Destailleur
a5c6582bc1
Fix duplicate translation/encoding on setEventMessage
...
Conflicts:
htdocs/ftp/index.php
2015-09-12 12:55:20 +02:00
Laurent Destailleur
eb4c46ca3d
Fix code generator
2015-09-10 12:13:29 +02:00
Laurent Destailleur
10aacb8811
Fix code generator
2015-09-08 20:08:47 +02:00
Laurent Destailleur
5529ef7a50
Better doc
2015-09-07 20:53:16 +02:00
Laurent Destailleur
9cd5e7cafa
Fix some errors into code generator.
2015-09-07 15:03:38 +02:00
Florian HENRY
e291ca2e23
FIX : Better FetchAll method
2015-07-29 11:52:23 +02:00
Florian HENRY
73192b78e9
FIX : better fetchAll method into skeleton_class.class.php
2015-07-29 11:50:31 +02:00
Florian HENRY
938be9bae0
FIX : fetchAll method in skeleton.class.php
2015-07-28 11:38:01 +02:00
Florian HENRY
ab3e1631f4
FIX : php_build_class_from_table comma ending on insert
2015-07-28 11:20:00 +02:00
Florian HENRY
bfcce0d36d
fix syntax
2015-07-13 14:34:51 +02:00
Florian HENRY
242a906e40
fix syntax
2015-07-13 14:33:25 +02:00
Florian HENRY
7ba831bf84
FIX : #3192
2015-07-13 14:24:37 +02:00
Laurent Destailleur
0b9ed9a25c
Fix PSR2. We must not have spaces after (
2015-07-10 09:37:05 +02:00
Marcos García de La Fuente
98344746cf
Added missing scopes of modMyModule
2015-07-07 13:08:17 +02:00
Laurent Destailleur
b766f99acc
Uniformize look.
...
Make code to manage link "Now" on calendar more generic.
2015-06-30 21:50:24 +02:00
Laurent Destailleur
5a8e763099
Uniformize code for hooks
...
Uniformize page name societe.php into list.php
2015-06-22 15:48:48 +02:00
Laurent Destailleur
8df56511be
NEW Enhance prototype, project list and proposal list with new hook to
...
have an external module able to add more fields.
2015-06-16 19:36:44 +02:00
Laurent Destailleur
02dbe16366
Mutualize code to show block to link an element to another one.
2015-06-06 15:57:59 +02:00
Laurent Destailleur
f42065146a
Start to clean html.form class.
2015-06-06 12:26:47 +02:00
Laurent Destailleur
77dafcbc3b
Merge pull request #2945 from GPCsolutions/skeleton
...
Qual: PHP5 OOP, commented and typehinted class template
2015-06-05 16:15:03 +02:00
Laurent Destailleur
5edef2f02f
NEW A module can add its entries into cron module.
2015-06-05 03:32:09 +02:00
Raphaël Doursenaud
aa9f0965c0
Qual: PHP5 OOP, commented and typehinted class template
2015-06-03 17:31:42 +02:00
jfefe
dbb9449ee7
Fix PHPCS
2015-05-06 00:55:42 +02:00
jfefe
fd077db1b7
NEW : script to build API class from existing class
2015-05-05 12:42:56 +02:00