Commit Graph

411 Commits

Author SHA1 Message Date
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
jfefe
a732b4d69b Missing value in PHPDoc tag for specify url method (in skeleton file) 2015-05-04 02:29:24 +02:00
jfefe
0003a14470 Update skeleton API class 2015-05-04 00:35:09 +02:00
jfefe
5fa5b51d2b Add API class skeleton for developers. 2015-05-03 20:15:06 +02:00
Laurent Destailleur
56a14da5d4 FIXME that are not bug are replaced with TODO
Add control on batch movement (lot/serial is mandatory, and control
eatby and sellby are same for each lot/serial)
2015-04-12 04:01:28 +02:00
Florian HENRY
5617fb14b2 fix skeletton 2015-03-23 09:52:05 +01:00
Laurent Destailleur
aa5ffa0bf2 phpcs 2015-03-22 14:23:49 +01:00
Florian HENRY
058042d09d NEW : update skeleton and class builder 2015-03-18 17:52:17 +01:00
Laurent Destailleur
e667c3e916 Fix error management 2015-03-03 13:29:16 +01:00
Laurent Destailleur
23562a01ab Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/expedition/class/expedition.class.php
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
	htdocs/langs/en_US/stocks.lang
2015-02-16 20:59:04 +01:00
Laurent Destailleur
3cf4b80baa Fix missing test of action when using canvas 2015-02-16 02:02:11 +01:00
Laurent Destailleur
bd4b401281 New: Introduce "_deprecated" keyword into module version when module has
been superseed by another one.
2015-02-14 15:10:06 +01:00
Laurent Destailleur
2a3bb96c34 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/class/html.form.class.php
	htdocs/core/lib/ecm.lib.php
2014-12-22 03:14:22 +01:00
Laurent Destailleur
8996953077 Fix: error reported by scrutinizer 2014-12-20 15:42:03 +01:00
aspangaro
c4c69e191b Replace <center> tags 2014-11-25 20:13:43 +01:00
Laurent Destailleur
445f696d28 Fix: Pb of object with wrong type. 2014-11-15 18:24:38 +01:00
Juanjo Menent
d9b27fc280 Qual: Skeleton class updated by using table_element instead "mytable"
and __METHOD__ for syslog
2014-11-11 21:43:56 +01:00
Laurent Destailleur
ec95aacd52 Uniformize code for error reporting after a hook. 2014-09-28 03:41:32 +02:00
Raphaël Doursenaud
b9954f5b2b PHP 5.6 compatibility
$HTTP_RAW_POST_DATA is now DEPRECATED
Replaced all usages by the recommended file_get_contents("php://input")
2014-09-16 21:21:34 +02:00
Laurent Destailleur
be3f458754 Fix: Pb with pgsql 2014-09-03 11:30:13 +02:00
Laurent Destailleur
b6ff6527bc Enhance skeleton 2014-08-17 18:37:33 +02:00
Laurent Destailleur
2eb01cfbf9 Squelette plus complet. 2014-08-15 21:18:56 +02:00
Laurent Destailleur
c79fc516d3 Maj squelette 2014-08-14 17:27:28 +02:00
Laurent Destailleur
5a0c66b9ad Qual: Use getNomUrl for project into list of timesheet. 2014-08-14 13:29:24 +02:00
Laurent Destailleur
454cb1cbf8 Enhance skeleton
Add code_iso3 into array
2014-08-13 19:19:36 +02:00
frederic34
6645b8a454 Cannot redeclare getmypid() 2014-07-31 10:21:47 +02:00
Laurent Destailleur
8ed0798939 Use id of module + delta 2014-07-06 20:53:38 +02:00
Laurent Destailleur
be4fe3d0d0 Merge branch 'syslog' of github.com:marcosgdf/dolibarr into
marcosgdf-syslog

Conflicts:
	htdocs/contrat/class/contrat.class.php
	htdocs/fichinter/class/fichinter.class.php
	htdocs/projet/class/project.class.php
	htdocs/projet/class/task.class.php
2014-07-04 13:43:50 +02:00
KreizIT
1e5c35093b Review trigger for user module 2014-07-03 14:01:01 +02:00
Marcos García de La Fuente
56abf1cd72 Removed duplicated SQL error logging 2014-06-13 02:28:30 +02:00
Marcos García de La Fuente
9fbd7806f0 More substitutions 2014-06-12 11:31:53 +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
8985d60c5b Update doc 2014-05-08 20:15:44 +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
8405ec4816 Syntax error 2014-04-05 14:10:18 +02:00
Laurent Destailleur
473b0f73be New: build_class_from_table can work with a distant database server. 2014-02-26 10:42:45 +01:00
Laurent Destailleur
46e9b5d550 Merge branch 'develop' of https://github.com/grandoc/dolibarr into
grandoc-develop

Conflicts:
	htdocs/langs/ar_SA/admin.lang
	htdocs/langs/el_GR/admin.lang
	htdocs/langs/es_ES/admin.lang
	htdocs/langs/nl_NL/admin.lang
	htdocs/langs/tr_TR/admin.lang
2014-02-10 01:30:48 +01:00
Marcos García de La Fuente
5f3d2aea51 Opensurvey polls tab cards can now be extended from external modules 2014-01-02 16:32:48 +01:00
Marcos García de La Fuente
098e6f4560 Added new tab types in modMyModule.class.php 2013-12-25 03:17:16 +01:00
Laurent Destailleur
710c9517f4 Cleaner example 2013-08-28 16:39:23 +02:00
Laurent Destailleur
c943ef8edb Fix: doxygen 2013-07-18 23:39:29 +02:00
Laurent Destailleur
a8547b5375 New: Add property hidden into module descriptor to allow to hide a
module according to some dynamic conditions.
2013-06-24 18:31:56 +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
Laurent Destailleur
c1dd2f20cd Qual: Clean code. 2013-06-03 15:18:36 +02:00
Laurent Destailleur
e9df560b74 New: Show process id in all command line scripts 2013-05-22 12:23:42 +02:00
Marcos García
d2257b9fb0 Typo in skeleton module class 2013-05-10 17:53:12 +02:00
Laurent Destailleur
854b9df96d Qual: Clean code of box management 2013-04-23 16:18:26 +02:00
Laurent Destailleur
ecb19e2225 Fix: Removed warning 2013-04-22 00:28:12 +02:00
Laurent Destailleur
fb048ccfda Update skeleton 2013-04-03 10:20:08 +02:00
Laurent Destailleur
89365786a8 New: enhance tool fixdosfiles.sh
Convert DOS files to unix
2013-03-30 14:27:13 +01:00
Laurent Destailleur
f3f65c01df Update define key examples 2013-03-24 19:01:30 +01:00
Laurent Destailleur
f4fe3de1c1 Qual: Update skeleton of script 2013-03-12 16:34:20 +01:00
Laurent Destailleur
5eb728ae43 Fix: Usage of order into export broken when filters are used 2013-03-11 14:09:54 +01:00
Laurent Destailleur
38184b7c72 More complete example 2013-03-10 13:23:18 +01:00
Laurent Destailleur
418eeef8b4 Fix: Ton of bugs into renaming fields 2013-03-09 16:19:15 +01:00
Laurent Destailleur
2aa548560b doc: Update exemples 2013-01-25 16:52:23 +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
0b045a2d96 Merge remote-tracking branch 'origin/3.3' into develop
Conflicts:
	htdocs/core/boxes/box_activity.php
	htdocs/filefunc.inc.php
2013-01-16 14:11:19 +01:00
Laurent Destailleur
de739c58a1 Fix generator of page 2013-01-16 12:57:09 +01:00
Marcos García
9d57ea7cd0 Fixed typo in console message 2013-01-10 16:24:07 +01:00
Regis Houssin
b838895db9 Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
Laurent Destailleur
2a49c201b1 Merge pull request #512 from jfefe/webservices
Generate Create method in script to build webservice from class
2012-12-04 16:12:23 -08:00
jfefe
3c6c954cfc Generate Create method in script to build webservice from class 2012-12-05 01:08:42 +01:00
Laurent Destailleur
4136c27516 RESTORE CODE WITH ID D2adaf7. The Merge daacf79 as lost more than 50
commits !
2012-12-01 15:45:05 +01:00
Regis Houssin
3823e5d374 New: add possibility to add or force default directories 2012-09-05 17:37:58 +02:00
Laurent Destailleur
a5a3121771 Update doc 2012-08-26 17:23:26 +02:00
Regis Houssin
3cdb2ba8e1 Merge pull request #337 from marcosgdf/coding-style
Improved coding style
2012-08-22 22:43:03 -07:00
Marcos García
9b3c89ac47 Removed parenthesis from all include and include_once and replaced with single quotes 2012-08-23 02:40:41 +02:00
Philippe Grand
0cc8ee9b8d translation enhancement 2012-08-20 16:18:42 +02:00
Philippe Grand
dcba31a4db translation enhancement 2012-08-20 15:51:16 +02:00
Laurent Destailleur
0d346ac1c1 New: A module can add several css and several js.
New: Removed lightbox as it is not compatible with GPL.
2012-08-08 20:43:23 +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
Regis Houssin
8e953a6858 Fix: external modules workflow compatibility 2012-07-24 20:18:37 +02:00
Regis Houssin
68f04de488 Fix: uniformize external lang files call 2012-07-23 09:45:16 +02:00
Laurent Destailleur
0de24cf6f1 Enhance generators 2012-06-27 01:27:22 +02:00
Regis Houssin
18c081a7ac New: add external theme with a module 2012-04-30 16:51:45 +02:00
Laurent Destailleur
ff06360071 Fix: Overwritting code is not role of a template but of a module.
Code is now working as a module change. Also it is faster (no need to
make a failed include when module is not installed) and support
alternative directory.
2012-04-28 17:01:25 +02:00
Regis Houssin
c57063878d New: add workflow module part for external modules 2012-04-04 09:29:05 +02:00
Laurent Destailleur
b098838b6f Fix: Bad error management when enabling/disabling modules 2012-03-21 13:50:59 +01:00
Laurent Destailleur
0b71aceb90 New: Each user can remove/add its own boxes. 2012-03-19 14:06:21 +01:00
Regis Houssin
b1de2aced2 Fix: correct end of page 2012-03-14 15:08:40 +01:00
Regis Houssin
45ff7bddb3 New: Check if there is external models to do asked by plugins 2012-03-01 00:29:56 +08:00
Laurent Destailleur
8c09d4dcbb No more need to rename constructor method 2012-02-26 13:32:39 +01:00
Laurent Destailleur
cc6a2c8d84 Fix: Compatibility of new module setup with old setup 2012-02-24 11:06:05 +01:00
Regis Houssin
ee80305e6c Fix: full path is defined by default 2012-02-23 20:03:07 +01:00
Regis Houssin
e257d7d6d4 New: possibility to defined hooks in array format with parts module
system
2012-02-23 17:34:17 +01:00
Regis Houssin
2dabf0e185 Fix: possibility to defined a specific path 2012-02-23 16:20:15 +01:00
Regis Houssin
ab9c22f5f3 New: add generic module parts 2012-02-23 15:57:36 +01:00
Laurent Destailleur
4631c97733 Fix: example 2012-02-20 19:57:16 +01:00
Laurent Destailleur
b93c03a9c9 Qual: Doxygen
Perf: Reduc size of form.class.php
2012-02-20 10:09:28 +01:00
Laurent Destailleur
56f7196aa2 Qual: Normalize function name 2012-02-15 13:55:00 +01:00
Laurent Destailleur
0b7cbb50ac Update template fo class. delete actions must be done in opposite order
of create actions.
2012-02-15 13:11:54 +01:00
Laurent Destailleur
c93488e078 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-02-04 00:51:47 +01:00
Laurent Destailleur
7a4a846256 Update doc 2012-02-04 00:50:49 +01:00
Laurent Destailleur
2730376040 Doxygen 2012-01-25 21:57:35 +01:00
Laurent Destailleur
c3d9be25be Minor fix 2012-01-18 00:15:10 +01:00
Laurent Destailleur
40196b4ed3 Update doc 2012-01-16 19:31:37 +01:00
Laurent Destailleur
1226e88408 Doxygen 2012-01-15 15:06:02 +01:00
Laurent Destailleur
ed38c6c27a New: An external module can now add a menu entry on left menu. 2012-01-04 19:31:46 +01:00
Laurent Destailleur
92c27b1732 New: Can add a left menu (first level) into an existing top menu. 2011-12-31 01:33:12 +01:00
Laurent Destailleur
4ea77e6d55 Prepare code to allow left menu add by modules 2011-12-30 23:07:27 +01:00
Laurent Destailleur
3c611d284a Qual: Removed deprecated code/comments 2011-12-17 18:35:12 +01:00
Laurent Destailleur
484d0c82bf Uniformize code 2011-12-17 13:51:31 +01:00
Regis Houssin
98c60c1412 Fix: preventing XSS injections and uniform code 2011-11-27 18:44:27 +01:00
Laurent Destailleur
4d52faeaaf Doxygen 2011-11-02 14:15:56 +01:00
Regis Houssin
dea1210c2d Fix: edit in place datepicker more stable 2011-10-28 19:31:42 +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
Laurent Destailleur
9f035d3b91 New: Add web service to get user
Add generator of webservice
2011-10-18 15:55:06 +02:00
Laurent Destailleur
979d6b8a73 Update comments 2011-10-18 13:40:55 +02:00
Laurent Destailleur
0bc80e9bec Qual: Doxygen
Qual: Uniformize some code
2011-10-14 18:51:20 +02:00
Laurent Destailleur
b2c2adf307 Qual: Removed errors 2011-09-20 16:20:22 +00:00
Laurent Destailleur
f4ed96a67d Update skeletons 2011-09-02 18:26:42 +00:00
Laurent Destailleur
8b772eef30 Doxygen 2011-08-31 10:41:06 +00:00
Laurent Destailleur
14c5efdfa4 Doxygen 2011-08-31 10:27:17 +00:00
Laurent Destailleur
b16060e0cd Qual: Optimize PHP Code sniffer rules 2011-08-28 17:40:51 +00:00
Laurent Destailleur
3686bb6464 Qual: Optimize PHP Code sniffer rules 2011-08-28 17:40:51 +00:00