Commit Graph

620 Commits

Author SHA1 Message Date
Christophe Battarel
af849a5ab0 fix contact address autofill 2013-02-12 10:33:10 +01:00
Laurent Destailleur
56e11e52fa New: hookmanager class is used frequently and is a factory object, so we
can move it during init of environment and use it globally.
2013-01-25 19:12:54 +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
Regis Houssin
b838895db9 Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
fhenry
2d2aaad1b0 Manage Extrafields deletion for contact 2012-12-16 23:18:20 +01:00
Laurent Destailleur
080276a504 Fix: bad escape function. email missing 2012-12-11 10:59:03 +01:00
Regis Houssin
9079c1fb3b Fix: phpunit error 2012-12-03 09:58:18 +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
Laurent Destailleur
daacf797c4 Merge pull request #500 from cbattarel/develop
[Task #204] more local taxes manangement
2012-12-01 02:49:45 -08:00
fhenry
f7b6f44767 oops, correct version 2012-11-30 04:51:11 +01:00
fhenry
1315e9a2ba Add import_key attribute into contact class creation SQL request 2012-11-30 04:40:06 +01:00
Laurent Destailleur
b1c13e373a Fix: A better fix to remove fk_pays. 2012-11-28 15:31:55 +01:00
Laurent Destailleur
9139427d7f Fix: Country default not selected 2012-11-28 14:51:39 +01:00
Laurent Destailleur
7c78e1c0f6 Doxygen and normalize code.
New: add more PHPUnit
2012-11-15 14:52:19 +01:00
Regis Houssin
54d4661769 Fix: missing action type for hookmanager 2012-11-10 16:08:26 +01:00
Regis Houssin
57cce6f517 Fix: missing global 2012-11-09 19:34:05 +01:00
Regis Houssin
0e0582c16f Fix: avoid conflicts with external module if triggers used 2012-11-09 19:23:46 +01:00
Laurent Destailleur
cbff238cbd New: Support property "required" for extra fields. 2012-10-25 16:23:58 +02:00
Regis Houssin
67f40fcd1e Fix: works on security 2012-10-13 10:39:16 +02:00
Regis Houssin
478449da37 Fix: convert line delimiters 2012-10-08 20:47:10 +02:00
Laurent Destailleur
a659e6f9f7 More elegant position of button to aufofill fields. 2012-10-06 19:25:25 +02:00
Maxime Kohlhaas
6ac83a4205 Task # 355 : last correction 2012-09-28 14:58:47 +02:00
Maxime Kohlhaas
4deae1d948 Task # 355 : corrections + added on edit mode 2012-09-28 14:56:47 +02:00
Maxime Kohlhaas
c0f22ac472 Task # 355 : autofill contat address with third party address 2012-09-28 14:27:16 +02:00
Regis Houssin
d58c106f66 Fix: convert line delimiters !!! 2012-09-19 17:53:09 +02:00
Laurent Destailleur
3953be53a7 Qual: Mutualize code
New: Can use extrafields on contacts/addresses.
2012-09-17 01:39:30 +02:00
Regis Houssin
43c0a03758 Fix: strict mode tornado 2012-09-15 11:21:22 +02:00
Regis Houssin
e19f8c54f1 Fix: strict mode hurricane 2012-09-15 10:01:35 +02:00
Regis Houssin
ee1cf819f7 Fix: mass convert line delimiters 2012-09-07 17:23:16 +02:00
Marcos García
4209898d20 Lower-cased Header function 2012-08-31 05:58:38 +02:00
Laurent Destailleur
7fa4b9b423 Fix: Clean feature [ task #515 ] Add a "no e-mail" checkbox on contact 2012-08-26 20:28:19 +02:00
Regis Houssin
4d1555f4ca Merge pull request #338 from atm-maxime/mko515
Mko515
2012-08-23 00:01:05 -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
Maxime Kohlhaas
5fd10d14be Task 515 : Corrections + target modules modifications 2012-08-23 00:00:01 +02:00
Marcos García
f3674317ec Removed parenthesis from all require and replaced with single quotes 2012-08-22 23:24:21 +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
Maxime Kohlhaas
06ab1f6f94 Task 515 : New field added on contact : no_email 2012-08-22 22:59:10 +02:00
Stephen L
c1d15a9572 Add: hooks and triggers for a lot of core modules (action/calendrier, deplacement, dons, tva, contact/tiers, contrat, product lines, expedition, fournisseur commandes et factures, fiche intervention, projet et taches)
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-14 15:50:45 +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
Marcos García
04c34b0042 BackToList links in Contacts section 2012-07-28 21:54:36 +02:00
FHenry
a2b6abcb85 Fix nb mailling message receive according toher status than error or not
send
2012-07-24 14:33:27 +02:00
Regis Houssin
ff0668e908 Fix: strict mode way 2012-07-10 22:10:12 +02:00
Regis Houssin
226caf0152 Fix: and again, and again, and again... (strict mode) 2012-07-10 13:20:53 +02:00
Regis Houssin
887f210618 Fix: avoid warning with php 5.4 and strict mode 2012-07-08 23:22:22 +02:00
Laurent Destailleur
8d3a03ab18 Qual: Normalize code 2012-06-27 23:46:25 +02:00
jfefe
e2b4a69c89 Fix : use lastname to test contact ldap synchro (not name) 2012-06-26 13:11:04 +02:00
Laurent Destailleur
3c98daaf09 More fix for canvas features 2012-05-30 03:46:06 +02:00
Laurent Destailleur
8481af9ee4 Fix: Try to fix several bugs into canvas feature. 2012-05-30 03:02:44 +02:00
Laurent Destailleur
4277087f76 Fix: Missing log when error 2012-05-13 14:27:51 +02:00
Laurent Destailleur
04ee415879 Fix: [ bug #404 ] Impossible d'ajouter un contact lorsque le module LDAP
est actif (erreur Array 1)
2012-05-12 12:32:24 +02:00
Regis Houssin
aefd43db2c Fix: rename deprecated field for avoid conflict 2012-03-19 10:17:24 +01:00
Laurent Destailleur
ed41e03589 Qual: Fix a ton of CheckStyle errors 2012-03-18 19:23:01 +01:00
Regis Houssin
551b9c619a Fix: different trad if addresses management 2012-03-14 15:32:48 +01:00
Regis Houssin
0c8686b5b4 Fix: possibility to use alternative addresses management 2012-03-14 15:04:55 +01:00
Laurent Destailleur
b5fc41fadc Fix: Removed a lot of checkstyle warnings 2012-03-11 22:08:46 +01:00
Regis Houssin
9301def08d Fix: rename method 2012-03-02 15:03:14 +01:00
Laurent Destailleur
5e32fc70ad Fix: action must always be provided as value can be change during actions 2012-02-28 16:48:18 +01:00
Laurent Destailleur
1645ddbe47 Sec: Sanitize all input for ids. 2012-02-27 22:26:22 +01:00
Regis Houssin
8f9b9987ff Fix: Multiple directory traversal vulnerabilities with document.php 2012-02-27 17:02:56 +01:00
Laurent Destailleur
58d1a042a5 Fix: print select_societe was wrong as it contains already print
instructions. Use select_company instead.
2012-02-20 12:41:12 +01:00
Laurent Destailleur
4ce9e70775 New: Add agenda tab into member cards.
Uniformize a lot of code.
2012-02-13 01:43:35 +01:00
Laurent Destailleur
036e578e0f Move security function into security.lib.php
Split security.lib.php into 2 files: One always loaded, the other for
rare functions.
2012-02-12 17:41:28 +01:00
Regis Houssin
645d72c4a6 Fix: some bugs for multicompany sharings 2012-02-11 08:03:26 +01:00
Laurent Destailleur
8336befb25 New: Can sort files into backup tool.
New: Default output charset are utf8 into backup tool.
2012-02-10 10:53:11 +01:00
Laurent Destailleur
55f6cdd495 Qual: Removed warnings 2012-02-07 10:25:58 +01:00
Laurent Destailleur
00de718e79 Fix: W3C 2012-02-05 12:40:08 +01:00
Laurent Destailleur
b1e58dd454 Mutualize common code 2012-02-01 13:21:39 +01:00
Laurent Destailleur
feb220587a Fix: Contact list 2012-02-01 00:24:16 +01:00
Laurent Destailleur
f3a966a313 Fix: Missing name 2012-01-29 23:24:47 +01:00
Laurent Destailleur
16d48f1820 Fix: Removed a TODO 2012-01-22 02:20:28 +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
Laurent Destailleur
d9aa0c4b28 Qual: Normalize field names 2012-01-19 22:20:28 +01:00
Laurent Destailleur
9215394965 New: Import wizard can import contacts.
New: A module can add import description for import wizard, even for
tables with foreign keys.
2012-01-18 00:16:02 +01:00
Regis Houssin
9339119455 New: use getEntity() instead $conf->entity 2012-01-11 21:16:10 +08:00
Regis Houssin
cb286a2449 New: add shareds thirparties between entities 2012-01-11 00:19:57 +08:00
Regis Houssin
a3a3db58e3 Fix: test phpunit error 2011-12-31 11:30:49 +01:00
Laurent Destailleur
55156edd0d Enhance PHPUnits 2011-12-30 14:18:19 +01:00
Laurent Destailleur
c2348ef600 Uniformize field country_id, country_code, country 2011-12-29 18:07:41 +01:00
Laurent Destailleur
ebea7f6c97 Fix: fix not initialized variables 2011-12-05 18:36:54 +01:00
Regis Houssin
7d0d4d595c Fix: call trigger is needed 2011-11-30 19:15:31 +08:00
Laurent Destailleur
f060c1563a Normalize code 2011-11-09 12:40:33 +01:00
Regis Houssin
f0c327c070 Fix: uniform code
replace all $html by $form with exceptions "$htmlname, $htmltooltip"
2011-11-08 17:22:31 +08:00
Laurent Destailleur
2b76b014b1 Fix: Bad url 2011-10-31 09:47:35 +01:00
Laurent Destailleur
ac183e2483 Optimize speed 2011-10-29 18:28:13 +02:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
Regis Houssin
63d60a33fc [task #216] Move lib in core directory 2011-10-24 11:25:54 +02:00
Regis Houssin
c65238b773 [task #216] Move lib in core directory 2011-10-24 10:45:06 +02:00
Regis Houssin
00fd96a8d2 [task #216] Move lib in core directory 2011-10-24 10:36:53 +02:00
Regis Houssin
2b8332eb2d Move ldap.class.php to core/class 2011-10-24 08:53:26 +02:00
Laurent Destailleur
76aa6607b6 Fix: Error report when no label provided 2011-10-23 13:02:54 +02:00
Laurent Destailleur
43bd6e1ea8 Fix: Removed deprecated function 2011-10-22 15:55:08 +02:00
Regis Houssin
8988d346d0 Fix: Cannot instantiate abstract class 2011-09-29 10:08:26 +02:00
Regis Houssin
4fdc63f8b5 Removed mantis module 2011-09-26 12:12:50 +02:00
Laurent Destailleur
af2e300100 Fix: Little fix after canvas changes to be able to have "pure canvas" (canvas with no controller, only templates). 2011-09-24 20:50:57 +00:00
Regis Houssin
b306a41811 Fix: bad name 2011-09-24 16:06:07 +00:00
Regis Houssin
8d900740fc Fix: broken canvas 2011-09-24 15:57:52 +00:00
Laurent Destailleur
ed81eedb7c Fix: Little fix after canvas changes to be able to have "pure canvas" (canvas with no controller, only templates). 2011-09-24 20:50:57 +00:00
Regis Houssin
22c32e04aa Fix: bad name 2011-09-24 16:06:07 +00:00
Regis Houssin
47b6694527 Fix: broken canvas 2011-09-24 15:57:52 +00:00
Regis Houssin
aa6625c78c Fix: bad name 2011-09-24 16:06:07 +00:00
Regis Houssin
96ed2fe994 Fix: broken canvas 2011-09-24 15:57:52 +00:00
Regis Houssin
3a35ef50f5 Fix: broken canvas 2011-09-24 17:54:34 +02:00
Laurent Destailleur
3fca369e29 Qual: Uniformize code. Removed dead code. 2011-09-20 22:12:59 +00:00
Laurent Destailleur
be6286c4b8 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Regis Houssin
2c1b3722f2 Fix: replace sizeof() by count() 2011-09-17 19:49:50 +00:00
Laurent Destailleur
bc25ed0834 Qual: Removed PHPCodesniffer error. 2011-09-16 17:57:09 +00:00
Laurent Destailleur
17c32809e8 Qual: Removed TODO and some useless code 2011-09-13 12:00:37 +00:00
Laurent Destailleur
d9408d1847 Doxygen 2011-09-12 18:15:11 +00:00
Laurent Destailleur
b75d19c264 Qual: Uniformize constructors 2011-09-11 18:35:38 +00:00
Regis Houssin
b50f9867e8 Fix: include security.lib.php by default 2011-09-06 07:41:14 +00:00
Laurent Destailleur
f47e80dca1 Fix: W3C 2011-08-31 14:55:54 +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
03711cf6f2 Fix: remove obsolete tags 2011-08-27 19:15:14 +00:00
Laurent Destailleur
0e6eb2aada Qual: Try to uniformize code for product canvas to wokr like canvas for third parties. This also reduce seriously the "cyclomatic complexity" reported by quality tools on product/fiche.php file. 2011-08-27 17:25:09 +00:00
Regis Houssin
2ecc03104c Fix: remove obsolete tags (in progress) 2011-08-27 15:14:31 +00:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
4e8104a9ca Qual: vcard is not really an external project but now a specific dolibarr class file, so i moved it into core/class 2011-08-26 23:40:47 +00:00
Juanjo Menent
df0797cd71 Fix: missing trad 2011-08-26 15:13:58 +00:00
Laurent Destailleur
4ff832ec25 Qual: vcard is not really an external project but now a specific dolibarr class file, so i moved it into core/class 2011-08-26 23:40:47 +00:00
Laurent Destailleur
c36b8e216a Fix: Bad redirect 2011-08-23 20:57:41 +00:00
Laurent Destailleur
73d03f104b Fix: Bad redirect 2011-08-23 20:45:41 +00:00
Laurent Destailleur
cfe34139cf Qual: Clean and uniformize code.
Remove properties, that are not related to business, from parent business class commonobject.
2011-08-22 22:04:21 +00:00
Laurent Destailleur
5115e66c51 Qual: Uniformize page name 2011-08-21 13:19:26 +00:00
Laurent Destailleur
9f663d5677 Qual: Clean code 2011-08-20 15:11:31 +00:00
Laurent Destailleur
22eae6fae7 Look: Minor look enhancements 2011-08-13 00:47:59 +00:00
Laurent Destailleur
acea604e54 Change signature of all call executHooks.
Now they accept all the following signature:
executeHooks('method',$parameters,$object,$action)
2011-08-10 22:47:33 +00:00
Regis Houssin
66d5d6905f Fix: works on repair broken features 2011-08-10 19:55:21 +00:00
Laurent Destailleur
540b228c27 Fix: Avoid errors into rpm packages 2011-07-31 23:54:11 +00:00
Laurent Destailleur
cc840ad66e Fix: Avoid errors into rpm packages 2011-07-31 21:24:20 +00:00
Laurent Destailleur
ff9b139705 Fix: Missing fields and missing encoding of special chars 2011-07-10 16:50:40 +00:00
Laurent Destailleur
b550807090 Fix: Removed a conception error reported by eclipse validators. 2011-07-08 13:07:44 +00:00
Laurent Destailleur
0a7b70cf73 doxygen 2011-07-04 09:36:29 +00:00
Laurent Destailleur
4a92f4bc02 New: Project creation page has a cancel button 2011-07-04 08:00:52 +00:00
Laurent Destailleur
f54847e037 Add TODO To show way to make things simplest 2011-07-02 14:51:26 +00:00
Laurent Destailleur
2268de9898 Yeah ! Hooks can now create, update, do nothing, replace or complete, warn validity check of parameters, add confirmation, etc. 2011-07-02 14:35:22 +00:00
Laurent Destailleur
e5afc7c416 Fix: Error management 2011-07-02 13:09:52 +00:00
Laurent Destailleur
b7434abbea Better error management. Also hooks for "doActions" receives action code. 2011-07-01 23:11:12 +00:00
Laurent Destailleur
2b6be0fd1e Readd call to hooks 2011-06-30 22:38:06 +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
71770c4cfd Qual: Uniformize code. Actions canvas conflicts with actions hook. So now we always hook to intercept actions. Name of hook must also be unique for each tab. 2011-06-29 22:29:50 +00:00
Laurent Destailleur
04fd001094 Fix a fix 2011-06-13 13:15:07 +00:00
Laurent Destailleur
363d50805a Qual: Uniformize code 2011-06-01 16:23:33 +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
a6784f461e New: Can use templates only canvas without controllers. 2011-05-29 18:44:49 +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
Laurent Destailleur
27502caa85 Fix: No sentence into undefined values 2011-05-25 13:03:04 +00:00
Laurent Destailleur
8ce54c01b2 Add information to show if created user will be internal or external.
Fix: If member is linked to a company, created user must be alos linked to company.
2011-05-25 12:05:18 +00:00
Regis Houssin
8ef26ab887 Fix: add label in vcard 2011-05-23 18:52:41 +00:00
Regis Houssin
acfde5e0d1 Fix: add label in vcard 2011-05-23 12:33:22 +00:00
Laurent Destailleur
3c1c336ee8 Use correct picto 2011-05-21 14:48:21 +00:00