Commit Graph

140 Commits

Author SHA1 Message Date
Laurent Destailleur
5a8e763099 Uniformize code for hooks
Uniformize page name societe.php into list.php
2015-06-22 15:48:48 +02:00
Raphaël Doursenaud
3f9270ea78 Qual: added deprecation hinting
Added deprecation hinting for class properties
Added syslog warning events for deprecated functions, methods and/or their parameters
Added hinting for some constants
2015-06-01 11:00:11 +02:00
Raphaël Doursenaud
5d2f081152 [Qual] Fixed HTML select form selected attribute
Dolibarr uses HTML 4.01 or HTML5 doctypes.
The select form selected attribute should not have a value.
2015-05-07 14:21:14 +02:00
Scrutinizer Auto-Fixer
4da737424e Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-04-06 10:25:30 +00:00
Laurent Destailleur
97eec37f1c Uniformize code: property "nom" for thirdparty is aliased into "name"
everywhere.
2014-10-04 17:20:17 +02:00
Laurent Destailleur
14ab409ca9 Merge remote-tracking branch 'origin/3.6' into develop
Conflicts:
	htdocs/admin/stock.php
	htdocs/admin/system/index.php
	htdocs/comm/fiche.php
	htdocs/core/lib/admin.lib.php
	htdocs/core/lib/holiday.lib.php
	htdocs/core/lib/pdf.lib.php
	htdocs/core/login/functions_forceuser.php
	htdocs/core/login/functions_http.php
	htdocs/core/menus/standard/auguria.lib.php
	htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
	htdocs/filefunc.inc.php
	htdocs/holiday/define_holiday.php
	htdocs/opensurvey/fonctions.php
	htdocs/societe/canvas/actions_card_common.class.php
	test/phpunit/CompanyBankAccountTest.php
	test/phpunit/ExportTest.php
	test/phpunit/FactureTest.php
	test/phpunit/FunctionsLibTest.php
	test/phpunit/PropalTest.php
	test/phpunit/SocieteTest.php
	test/phpunit/WebservicesInvoicesTest.php
	test/phpunit/WebservicesThirdpartyTest.php
2014-09-28 02:14:32 +02:00
Laurent Destailleur
5fdd798e91 Fix: phpcheckstyle from phpcs 1.5.5 (closing tags and & char on
parameter).
2014-09-27 17:13:15 +02:00
Laurent Destailleur
e8b7c9c6bd Fix: doxygen 2014-09-27 16:00:11 +02:00
aspangaro
0b20369dd7 Qual: Renamed all files & links "fiche.php" into "card.php" 2014-09-18 21:18:25 +02:00
Laurent Destailleur
cfc337a79a Qual: Enable php checkstyle rule Zend.Files.ClosingTag
Fix: Solve a lot of checkstyle errors.
2014-07-20 15:27:38 +02:00
Laurent Destailleur
63100c9c06 Properties "civilite_id" were renamed into "civility_id". 2014-05-05 00:23:09 +02:00
Laurent Destailleur
c02fbcf293 Clean code. 2014-05-03 02:57:46 +02:00
Grand Philippe
1855ba556a fix misspelled words 2014-02-05 17:53:30 +01:00
Laurent Destailleur
2d7181553b Fix: translation 2013-11-05 15:29:58 +01:00
Laurent Destailleur
470ccba80a Qual: Fix two awful code with hardcoded values. This remove also 2 TODO. 2013-09-26 15:41:04 +02:00
Laurent Destailleur
065c87d81c Qual: uniformize code: property ->tel on objects is now ->phone
everywhere
2013-09-25 19:58:22 +02:00
Laurent Destailleur
dd0612099c Qual: Uniformize fields departement_id into state_id 2013-09-20 14:35:58 +02:00
Laurent Destailleur
305c1d63a7 Qual: Uniformize code. No useless redirect. use GETPOST. 2013-09-06 13:25:45 +02:00
Raphaël Doursenaud
cd684460ff Removed silly code 2013-09-05 17:30:17 +02:00
Laurent Destailleur
4876aee493 Fix: Fix bad fix of SOCIETE_CODEFOURNISSEUR_ADDON 2013-04-11 20:32:09 +02:00
Laurent Destailleur
418eeef8b4 Fix: Ton of bugs into renaming fields 2013-03-09 16:19:15 +01:00
Grand Philippe
b081589129 english language standardization 2013-02-25 09:52:24 +01:00
Grand Philippe
6decab1847 english language standardization 2013-02-25 09:17:38 +01:00
eldy
2ecb113d30 Fix: categories are set onto category tab 2013-02-22 00:11:34 +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
6d036699bb Qual: Uniformize usage of array module_parts. 2013-01-07 13:28:14 +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
Regis Houssin
e19f8c54f1 Fix: strict mode hurricane 2012-09-15 10:01:35 +02:00
Regis Houssin
8a5fe809f4 Fix: remove deprecated function and avoid warnings 2012-09-02 22:31:25 +02:00
Marcos García
4209898d20 Lower-cased Header function 2012-08-31 05:58:38 +02: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
Marcos García
706d79986c Removed parenthesis from all require_once and replaced with single quotes 2012-08-22 23:11:24 +02:00
Regis Houssin
fbb275ee25 Fix: remove bad fixe 2012-08-15 09:15:26 +02:00
Regis Houssin
48efabc8a4 Fix: remove deprecated function and avoid warnings 2012-08-15 09:06:36 +02:00
Laurent Destailleur
fb4d62c34a Fix: Some fix into the canvas for companies. 2012-05-30 11:21:42 +02:00
Regis Houssin
89be120764 Fix: missing actiontype of canvas 2012-03-23 22:46:15 +08:00
Laurent Destailleur
4f23be1b50 Qual: Removed checkstyle errors and dead code 2012-03-13 01:43:13 +01:00
Laurent Destailleur
badc6d0f45 Fix: Fix tons of bugs after change for new way to declare modules
features
2012-03-01 00:03:16 +01:00
Laurent Destailleur
f3a966a313 Fix: Missing name 2012-01-29 23:24:47 +01:00
Laurent Destailleur
5d5af4cd78 Doxygen 2012-01-22 21:36:07 +01:00
Regis Houssin
85b78babae Fix: add default values for country 2012-01-01 19:16:07 +08:00
Laurent Destailleur
51479c7894 Enhance PHPUnits 2011-12-30 12:39:44 +01:00
Laurent Destailleur
c2348ef600 Uniformize field country_id, country_code, country 2011-12-29 18:07:41 +01:00
Laurent Destailleur
2daa5a516f Qual: Clean properties 2011-12-28 17:13:19 +01:00
Laurent Destailleur
1f37dc906f Qual: Uniformize name of barcode into "barcode". 2011-12-07 11:59:41 +01:00
Laurent Destailleur
b52fc32853 Fix: fix not initialized variables 2011-12-05 19:41:38 +01:00
Regis Houssin
3338649316 [task #217] Move core files in core directory 2011-10-24 14:11:49 +02:00
Regis Houssin
c65238b773 [task #216] Move lib in core directory 2011-10-24 10:45:06 +02:00
Regis Houssin
8988d346d0 Fix: Cannot instantiate abstract class 2011-09-29 10:08:26 +02:00
eldy
51c94f7c7e Now canvas are cleaner, we can move local method to canvas
example as protected or private.
2011-09-28 21:39:44 +02:00
eldy
db250f892d Removed TODO 2011-09-28 21:24:39 +02:00
eldy
60b3640bfc Make canvas for products working again. 2011-09-28 21:07:49 +02:00
Regis Houssin
96ed2fe994 Fix: broken canvas 2011-09-24 15:57:52 +00:00
Laurent Destailleur
3fca369e29 Qual: Uniformize code. Removed dead code. 2011-09-20 22:12:59 +00:00
Laurent Destailleur
bc25ed0834 Qual: Removed PHPCodesniffer error. 2011-09-16 17:57:09 +00:00
Laurent Destailleur
26d7bb3a66 Qual: Move function that should be local to class as private 2011-09-13 12:28:09 +00:00
Laurent Destailleur
17c32809e8 Qual: Removed TODO and some useless code 2011-09-13 12:00:37 +00:00
Laurent Destailleur
411b3415eb Doxygen 2011-09-12 17:08:02 +00:00
Laurent Destailleur
425a65395f Doxygen 2011-09-10 18:54:08 +00:00
Laurent Destailleur
65c2d93a29 Fix: When creating invoice from other object, discount are created
automatically
2011-09-10 17:52:21 +00:00
Laurent Destailleur
56d80ba264 Doxygen 2011-09-10 18:54:08 +00:00
Laurent Destailleur
679be9a559 Qual: Mark parent class that should not be instantiated as "abstract". 2011-08-28 14:58:29 +00:00
Regis Houssin
27300fe898 Fix: remove obsolete tags (in progress) 2011-08-27 16:15:06 +00:00
Laurent Destailleur
cc94dd87d1 Try to rename some fields with english name 2011-08-18 22:25:46 +00:00
Laurent Destailleur
37ead2f97e Fix: Avoid errors into rpm packages 2011-07-31 23:19:04 +00:00
Laurent Destailleur
b550807090 Fix: Removed a conception error reported by eclipse validators. 2011-07-08 13:07:44 +00:00
Regis Houssin
c2650500c5 Fix: regression, canvas is broken and societe.class and contact.class are incompatible with callHook function 2011-06-30 13:25:32 +00:00
Laurent Destailleur
1ed46f0ca4 Fix: Using = on result of a function is a syntax error 2011-06-05 22:49:11 +00:00
Philippe Grand
889f2b38b8 uniformize code and other stuff 2011-06-05 14:05:44 +00:00
Laurent Destailleur
31ff9bb739 Qual: All text for html output is inside display_canvas() 2011-05-31 22:31:38 +00:00
Laurent Destailleur
8d66d2da7e New: Can use canvas for create only with no need to have one for edit. 2011-05-29 17:34:07 +00:00
Regis Houssin
f382a68dd7 Test: not reload page with dialog confirm
Fix: form tag is not used in view mode
Fix: debug error
2011-05-14 11:34:15 +00:00
Laurent Destailleur
d72f417868 Qual: Fix architecture problem with canvas 2011-04-06 16:21:43 +00:00
Laurent Destailleur
e05f0caf60 Qual: Make module system more simple.
Change to prepare adding left menu entries by modules
2011-04-06 14:26:43 +00:00
Regis Houssin
5b44e2c1f8 Fix: uniformize code 2011-03-29 20:40:54 +00:00
Regis Houssin
77d06b7a7c New: Show name of sales representatives if number is lower than 3 2011-02-09 11:08:06 +00:00
Regis Houssin
c70fe8007b Works on contact canvas in relation to the thirdparty canvas module 2010-11-05 10:48:20 +00:00
Regis Houssin
dc3fd00557 Fix: bad error management 2010-11-04 16:04:12 +00:00
Regis Houssin
0df44a7787 Fix: hide supplier fields if supplier module is disabled 2010-11-04 10:58:40 +00:00
Regis Houssin
ac85f14cb6 Works on contact canvas in relation to the thirdparty canvas module 2010-11-03 17:27:44 +00:00
Regis Houssin
ab53d438ce Works on contact canvas in relation to the thirdparty canvas module 2010-11-03 11:39:40 +00:00
Laurent Destailleur
dfbd72a76a Fix: W3C 2010-11-01 16:00:38 +00:00
Regis Houssin
ab8e470251 Fix: move ajaxziptown in core 2010-10-13 13:54:30 +00:00
Laurent Destailleur
6809dfa460 Remove deprecated code of old autoziptown 2010-10-13 13:17:44 +00:00
Regis Houssin
b2ca932ee2 Works on canvas integration in third party module 2010-09-07 12:51:30 +00:00
Regis Houssin
451ee7960b Works on canvas integration in third party module 2010-09-07 12:44:15 +00:00
Laurent Destailleur
e1bc58080c Qual: Rename method loadControl into doActions to have a more common name used by MVC frameworks. 2010-09-07 10:05:00 +00:00
Laurent Destailleur
831e684cfe Qual: Use a more common name of class. 2010-09-07 09:51:17 +00:00