Commit Graph

843 Commits

Author SHA1 Message Date
Laurent Destailleur
e5012a1670 Fix: Bad parameter type 2014-04-28 04:27:49 +02:00
Laurent Destailleur
eb5e891cf9 Fix: Not mandatory field must not be not null
Fix: field to store amount must be double(24,8)
2014-03-16 20:37:43 +01:00
Maxime Kohlhaas
0083e529c7 Add task 1300 : Add thm field on user and time spent to be able to calculate employee cost 2014-03-16 14:31:02 +01:00
Drosis Nikos
997e16fec7 Update user.class.php
String translated twice
2014-03-15 17:22:34 +01:00
Drosis Nikos
8ff0022a53 Update user.class.php
String translated twice
2014-03-15 15:23:41 +02:00
philippe
e2b29bb108 fix english misspelling 2014-03-05 09:57:36 +01:00
Laurent Destailleur
fa7e7c75bf Fix: Add a protection if user has no option to edit stock 2014-02-17 11:48:57 +01:00
Laurent Destailleur
ce24a7e9ad Fix: Bad error management making rollback instead of commit 2014-01-23 09:20:06 +01:00
aspangaro
6a86c31067 Update Skype Module 2013-11-07 13:17:08 +01:00
Laurent Destailleur
4eb37abed9 New: Translate the email to change password. 2013-08-25 06:53:59 +02:00
Maxime Kohlhaas
b22b604d02 Accountancy code on user object in prevision of the complete accountancy module 2013-06-25 11:14:00 +02:00
Laurent Destailleur
c748f3d834 Qual: Removed useless methods
Qual: Removed deprecated vars
Qual: Free memory
2013-06-16 21:31:21 +02:00
Raphaël Doursenaud
686f5add82 Normalized line endings to LF 2013-06-05 16:12:07 +02:00
Laurent Destailleur
701d8485ef Merge remote-tracking branch 'origin/3.4' into develop 2013-05-24 19:00:16 +02:00
Laurent Destailleur
7bbdae239f Fix: Removed errors with not defined vars 2013-05-24 14:32:12 +02:00
Laurent Destailleur
6c4e47514d Merge remote-tracking branch 'origin/3.4' into develop
Conflicts:
	htdocs/holiday/fiche.php
2013-05-11 15:26:24 +02:00
fhenry
a4e8e8eb4b Add fecth extrafield into fetch user class 2013-05-10 12:03:27 +02:00
Marcos García
818c6e648a Removed duplicated code 2013-04-29 22:04:46 +02:00
Laurent Destailleur
750b30863f Qual: Clean code from things that should be inside external module. 2013-04-11 09:15:41 +02:00
fhenry
c109467d20 Qual : Review code after intalling PHPUnit, CodeSniffer on Eclipse... 2013-04-04 13:58:33 +02:00
Laurent Destailleur
df08d838d7 More robust phpunit tests 2013-04-01 14:49:33 +02:00
Laurent Destailleur
cc69cf7b76 New: Can defined a clicktodial setup per user 2013-03-31 16:44:24 +02:00
Laurent Destailleur
294a085047 New: ClickToDial setup is easier 2013-03-31 04:03: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
d4d3b9900d Fix: creation of user 2013-03-24 14:11:10 +01:00
Laurent Destailleur
4d527d26af New: support full address into user cards. 2013-03-23 17:40:18 +01:00
Laurent Destailleur
746e005726 Fix: Fix ton of regression due to field name change 2013-03-09 20:34:38 +01:00
Grand Philippe
6adc9eb7f2 english language standardization 2013-02-23 17:40:28 +01:00
Grand Philippe
a237be0d24 english language standardization 2013-02-23 15:26:39 +01:00
Grand Philippe
5d8dea788c fix: change name with lastname 2013-02-23 14:17:52 +01:00
Grand Philippe
15f8b588d6 english standardization 2013-02-23 11:54:46 +01:00
Grand Philippe
869a014d32 english standardization 2013-02-23 11:42:12 +01:00
Laurent Destailleur
2852aded3a New: Add button collapse/expand for menu, category and user views. 2013-02-20 21:16:31 +01:00
Laurent Destailleur
50decdd941 Fix: When creating user on other entity, no way to read user
after creation.
2013-02-16 21:06:15 +01:00
Laurent Destailleur
b1ee14ce60 New: Can define a hierarchical responsible on users. 2013-02-15 18:39:27 +01:00
Laurent Destailleur
c7a6ee492d New: Add push from Philippe to manager user hierarchy. 2013-02-11 20:45:36 +01:00
Maxime Kohlhaas
a3027d4590 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2013-01-30 16:50:32 +01:00
Maxime Kohlhaas
faccc978b4 LDAP : start implementing user update function after LDAP connexion 2013-01-30 16:50:28 +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
abb6daf2dc Merge remote-tracking branch 'origin/3.3' into develop
Conflicts:
	htdocs/core/boxes/box_activity.php
2013-01-19 16:29:16 +01:00
Laurent Destailleur
0e13b3872d Fix: Removed warnings 2013-01-19 14:32:37 +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
fhenry
b9c53fd796 remove dummy line 2013-01-13 20:50:54 +01:00
fhenry
2cdeb95b67 Set member id on create not by sql request after.
Mandatory for trigger USER_CREATE to do action if user is member
2013-01-12 15:16:38 +01:00
fhenry
0158885415 CheckStyle
I check everypalce where this function is call in Dolibarr, and to be
consistant it's better to use new attribute names
2013-01-03 23:57:18 +01:00
fhenry
3e05581c70 Same as last commit 2013-01-03 15:13:07 +01:00
fhenry
f2a4e42712 CheckStyle
I check everypalce where this function is call in Dolibarr, and to be
consistant it's better to use new attribute names
2013-01-03 14:44:04 +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
b09a44701e Fix: wrong EOL 2012-12-13 13:08:03 +01:00
Laurent Destailleur
bdb112c820 Fix: Using bad root url. 2012-12-12 14:46:13 +01:00
Laurent Destailleur
f4459ee1f1 Fix: Regression detected by PHPUnit 2012-12-10 19:06:59 +01:00
fhenry
ec09f79a2f comment 2012-12-08 19:23:13 +01:00
Laurent Destailleur
cd676b323d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-08 18:32:18 +01:00
Laurent Destailleur
afb45e1b31 Comment 2012-12-08 15:26:27 +01:00
fhenry
1d6bc23f4d - Uniformize Extrafield deletion for adherent,user,product,societe by
using commonobject method
 - Add convertion of tms timestamp special case in mysql for pgsql
2012-12-08 14:23:52 +01:00
Regis Houssin
3d4621327c Fix: EOL !! tant que ce problème sera présent, les risques de problèmes
de merge et de conflits sera présent !! il faut utiliser la dernière
version d'Eclipse et de Egit...
2012-12-05 11:18:45 +01:00
Laurent Destailleur
d428549e15 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-02 13:51:52 +01:00
Laurent Destailleur
938dc92ab6 Qual: More complete error management into delete methods 2012-12-02 13:51:33 +01:00
Regis Houssin
00aa22e1d7 Fix: wrong EOL 2012-12-02 11:03:23 +01:00
Laurent Destailleur
008f5fbcfc New: extrafields are available onto users cards. 2012-11-30 15:55:59 +01:00
Laurent Destailleur
d1a4a6a090 New: Support synchro of field job/title.
New: Add script to synchronize users from ldap to dolibarr.
2012-10-24 21:19:10 +02:00
Laurent Destailleur
4fd79a4675 Qual: Removed deprecated field 2012-10-24 17:30:23 +02:00
Regis Houssin
97245d36aa Fix: wrong method 2012-10-20 11:10:36 +02:00
Regis Houssin
99fa385602 Fix: minor vulnerabilities 2012-10-20 09:33:39 +02:00
Regis Houssin
6b21ca442d New: add possibility to defined position/job of a user
Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-10-05 12:40:19 +02:00
Regis Houssin
1919604089 Fix: more compatible with multicompany transverse mode
Fix: strict mode bubbles
2012-09-27 11:57:46 +02:00
Regis Houssin
ca28aa7710 Fix: multicompany transverse mode compatibility 2012-09-26 12:10:25 +02:00
Laurent Destailleur
ffbe2acc36 Fix: use https if https is used 2012-09-18 11:06:49 +02:00
Regis Houssin
43c0a03758 Fix: strict mode tornado 2012-09-15 11:21:22 +02:00
Laurent Destailleur
07aae3200f Fix: Test on ref and ref_ext into webservice 2012-08-29 10:23:15 +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
b77a2255a0 Fix: wrong user count 2012-08-14 19:54:08 +02:00
Regis Houssin
c558f2206c Fix: strict mode pleasure 2012-08-01 13:30:38 +02:00
Regis Houssin
fb23364511 Fix: uniformize code 2012-07-23 16:10:54 +02:00
Regis Houssin
66b2f630ac Fix: big avoid strict mode errors 2012-07-09 12:31:21 +02:00
Regis Houssin
887f210618 Fix: avoid warning with php 5.4 and strict mode 2012-07-08 23:22:22 +02:00
Regis Houssin
7e2469618e Change-Id: I5f8bcf59cf2fc0d902edb4d61f8c20a2880765a2 2012-07-07 12:21:09 +02:00
Regis Houssin
ba45953223 Fix: more bugs with multicompany 2012-07-07 11:01:05 +02:00
Laurent Destailleur
c6c9861bff Fix: bug on projects visibility for external users 2012-05-23 13:09:36 +02:00
Laurent Destailleur
13ea9c91fd Fix: Synchro with group not done when editing group only of a user. 2012-05-11 12:47:15 +02:00
Laurent Destailleur
3ab6ffdd0e Fix: A lot of fix for LDAP synchro 2012-05-11 12:10:47 +02:00
Laurent Destailleur
6ed75123d8 Fix: checkstyle 2012-05-09 00:28:02 +02:00
Laurent Destailleur
8898b9a3b0 Fix: Firstname/Lastname lost 2012-04-30 16:08:34 +02:00
Laurent Destailleur
5e252bcb04 Fix: Removed warning 2012-04-28 17:59:08 +02:00
Regis Houssin
e49df57667 Fix: compatibility with php 5.4 and E_STRICT mode 2012-04-14 15:04:46 +02:00
Regis Houssin
a344f079d6 Fix: backward compatibility 2012-04-06 16:46:19 +02:00
Laurent Destailleur
289a2afee9 Checkstyle 2012-04-02 18:29:08 +02:00
Laurent Destailleur
e2e51ecc30 Checkstyle 2012-04-01 20:31:39 +02:00
Laurent Destailleur
78ae7dc075 Checkstyle 2012-03-27 09:59:28 +02:00
Regis Houssin
be7da6f52c Fix: avoid warning in php strict mode 2012-03-23 16:44:45 +01:00
Laurent Destailleur
aea97075f1 Fix: Fix some bugs (phpunit is now ok with pgsql too) 2012-03-11 21:45:17 +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
Laurent Destailleur
b1e58dd454 Mutualize common code 2012-02-01 13:21:39 +01:00
Laurent Destailleur
f3a966a313 Fix: Missing name 2012-01-29 23:24:47 +01:00
Laurent Destailleur
431bf28b5d Fix: Avoid warning 2012-01-18 12:30:55 +01:00
Laurent Destailleur
c7b88d396a Change to prepare module skincoloreditor 2012-01-15 19:07:01 +01:00
Laurent Destailleur
ca9be862c2 New: Change to allow to personalize eldy theme 2012-01-15 14:01:40 +01:00
Laurent Destailleur
937a98d03b Fix: Removed duplicate update 2012-01-14 00:49:38 +01:00
Regis Houssin
94ea9f3c55 Fix: uniform code 2012-01-13 18:24:25 +01:00
Regis Houssin
8ccc7acf28 Fix: add all phones if create user from contact 2012-01-13 11:25:48 +01:00
Laurent Destailleur
a93a9f75f2 Qual: Uniformize code 2012-01-11 01:06:56 +01:00
Laurent Destailleur
ec7025da20 Uniformize code 2012-01-07 15:01:30 +01:00
Regis Houssin
2713099def Fix: uniform code 2012-01-07 11:59:23 +01:00
Regis Houssin
22cc5c7035 Fix: superadmin is downgrade after update 2011-12-21 12:25:26 +01:00
Laurent Destailleur
b52fc32853 Fix: fix not initialized variables 2011-12-05 19:41:38 +01:00
Regis Houssin
75fc53f1f1 Fix: add create date in object for use in triggers 2011-11-30 19:15:31 +08:00
Regis Houssin
6bbc1a1a77 Fix: move transverse mode parameters in conf.php 2011-11-04 09:09:53 +01:00
Laurent Destailleur
d394fb621a Fix: Try to fix trigger tha change password 2011-11-02 18:05:45 +01:00
Regis Houssin
c65238b773 [task #216] Move lib in core directory 2011-10-24 10:45:06 +02:00
Regis Houssin
30c5f4b214 Move all core class in htdocs/core/class 2011-10-24 09:29:17 +02:00
Laurent Destailleur
7e38f8a85e Fix: Removed deprecated field 2011-10-18 14:42:46 +02:00
eldy
0c3db381d1 Qual: Removed warnings 2011-10-10 13:59:30 +02:00
Laurent Destailleur
5137d1ac86 Qual: Uniformize code 2011-09-23 23:46:14 +00:00
Regis Houssin
c9053e1d8d problem synchro git<->cvs !!! 2011-09-22 10:55:37 +00:00
Laurent Destailleur
89b5f8eb62 Qual: More POO.
Qual: Doxygen
2011-09-20 17:34:15 +00:00
Laurent Destailleur
0ebefabcbb Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Laurent Destailleur
1d49576773 Qual: More POO.
Qual: Doxygen
2011-09-20 17:34:15 +00:00
Laurent Destailleur
89ca01456f Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Laurent Destailleur
d443e8d2c2 Qual: More POO.
Qual: Doxygen
2011-09-20 17:34:15 +00:00
Laurent Destailleur
2ddda5e091 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Laurent Destailleur
35913a1c19 Qual: More POO.
Qual: Doxygen
2011-09-20 17:34:15 +00:00
Laurent Destailleur
604f454320 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Laurent Destailleur
e11ca0f95a Qual: Reduce cyclomatic complexity 2011-09-20 21:07:29 +00:00
Laurent Destailleur
4aa0898066 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Laurent Destailleur
9efd2fcf45 Qual: More POO.
Qual: Doxygen
2011-09-20 17:34:15 +00:00
Laurent Destailleur
be6286c4b8 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Laurent Destailleur
30d093e672 Fix: Missing include 2011-09-10 22:00:57 +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
538f7633dd Fix: Missing include 2011-09-10 22:00:57 +00:00
Regis Houssin
b50f9867e8 Fix: include security.lib.php by default 2011-09-06 07:41:14 +00:00
Regis Houssin
ac4bcfb583 Fix: use dol_hash instead md5 php function 2011-09-06 06:53:52 +00:00
Laurent Destailleur
b4b620df7a Fix: phpcode sniffer errors 2011-09-04 18:41:19 +00:00
Regis Houssin
832a8fa050 uniformize code 2011-09-03 17:28:10 +00:00
Regis Houssin
f8a8417077 move trigger 2011-09-03 16:44:34 +00:00
Regis Houssin
470d0749a5 uniformize code 2011-09-03 16:37:12 +00:00
Regis Houssin
f30f2bef79 change for external module 2011-09-03 15:27:23 +00:00
Regis Houssin
27300fe898 Fix: remove obsolete tags (in progress) 2011-08-27 16:15:06 +00:00
Regis Houssin
a17e797f7e Fix: avoid warning 2011-08-21 10:01:36 +00:00
Regis Houssin
5183fd9e86 Fix: cvs<->git problem 2011-08-21 00:20:43 +00:00
Laurent Destailleur
fe27643152 New: task #11243: Add best supplier price 2011-08-20 23:56:03 +00:00
Laurent Destailleur
506792a8ea Qual: Move an error message into error file 2011-08-20 16:59:14 +00:00
Regis Houssin
a49bea1b03 multicompany enhancement (in progress) 2011-08-19 22:15:22 +00:00
Regis Houssin
14e0db6602 multi-company module enhancement 2011-08-19 07:22:17 +00:00
Laurent Destailleur
37ead2f97e Fix: Avoid errors into rpm packages 2011-07-31 23:19:04 +00:00
Laurent Destailleur
ccb6e63bcb Fix: Enabling permission on modules enabled during install was not working. 2011-07-17 18:13:44 +00:00
Laurent Destailleur
9b7d23a6a8 Qual: Removed errors and warnings reported by codesniffer 2011-07-08 18:49:16 +00:00
Laurent Destailleur
05679cb4de Doxygen 2011-07-04 11:41:02 +00:00
Laurent Destailleur
484d5ce81a Add patch to add signature on user. 2011-06-29 10:23:32 +00:00
Regis Houssin
32f77f9ba1 Works on multicompany
Fix: uniformize code, more simple
2011-06-07 15:45:01 +00:00
Laurent Destailleur
9d733af6b9 Qual: Clean LDAP code 2011-05-28 03:34:20 +00:00
Laurent Destailleur
aa7ce44910 Qual: Clean LDAP code 2011-05-28 00:16:12 +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
225b9da23f (Multi-Company)
New: a superadmin can create/update a superadmin
2011-05-16 19:56:43 +00:00
Regis Houssin
1f0ff52ea2 (Multi-Company) Works on possibility to defined global group 2011-05-16 15:21:54 +00:00
Laurent Destailleur
d1ed609684 Qual: Removed TODO. Now all password generation use the password generator module. 2011-05-01 10:48:43 +00:00
Laurent Destailleur
b8c4359961 New: Show user status in user lists. 2011-04-06 19:54:06 +00:00
Laurent Destailleur
3f08bf5797 Qual: Uniformize code 2011-03-30 12:27:42 +00:00
Laurent Destailleur
d31dbaf85a Now dolibarr_main_url_root is detected automatically. Value in conf file is used only to forge links to show for external access. 2011-02-23 12:24:09 +00:00
Laurent Destailleur
d4be09c324 Fix: SQL syntax 2011-02-12 22:34:37 +00:00
Regis Houssin
5a0f50a06c Fix: PostgreSQL compatibility 2011-02-12 07:02:56 +00:00
Laurent Destailleur
c5b96bd327 Translate properties 2011-02-06 19:35:39 +00:00
Laurent Destailleur
ebe076a2b9 Fix: Bad parameter 2011-01-30 12:40:45 +00:00
Laurent Destailleur
d3981aec14 New: Ask password when creating a user from a contact 2011-01-29 17:41:26 +00:00
Laurent Destailleur
b77879d920 Fix: bug #30985 : Lien du mail de regénération du mot de passe ne prends pas en compte https 2011-01-19 10:02:19 +00:00
Regis Houssin
65f75f309e Fix: uniformize code 2011-01-15 09:31:09 +00:00
Laurent Destailleur
ae31e10dde Fix: Remove a warning 2011-01-12 02:43:48 +00:00
Regis Houssin
3af5b852d3 Fix: add log debug for test the trigger 2011-01-05 09:44:36 +00:00
Laurent Destailleur
f0f9e5fb53 Fix: Link to source was wrong 2010-12-28 02:04:41 +00:00
Laurent Destailleur
2498426867 Fix: Restore stable version for 3.0 2010-12-14 23:27:17 +00:00
Philippe Grand
6e26dae6e3 change for international language 2010-12-03 12:01:21 +00:00
Laurent Destailleur
75174ecc62 Restore work lost by savannah backup 2010-12-01 21:38:00 +00:00
Laurent Destailleur
761c613356 Fix: Try to fix to allow reserved keyworks into PGSQL user records. 2010-11-15 19:08:35 +00:00
Regis Houssin
200319137b Fix: problem wht perms
Fix: remove linked usergroup if user is deleted
2010-11-10 10:53:39 +00:00
Regis Houssin
d20a3c64ba Add trigger USER_CREATE_FROM_CONTACT 2010-11-08 17:34:38 +00:00
Laurent Destailleur
d9bc203c59 Doxygen 2010-10-27 22:41:40 +00:00
Laurent Destailleur
7f46b1fcf8 Doxygen 2010-09-29 17:28:57 +00:00
Laurent Destailleur
84d1c6c3ec Qual: Removed deprecated property 2010-09-29 17:27:07 +00:00
Philippe Grand
b6d0f859af task #6689, strlen problem
replace  strlen with dol_strlen
2010-08-24 19:51:56 +00:00
Laurent Destailleur
98a4430d5f Better postgresql compatibility 2010-08-14 02:44:07 +00:00
Laurent Destailleur
b05468074c Doxygen 2010-07-21 17:58:22 +00:00
Laurent Destailleur
fc2213a8f1 Doxygen 2010-07-21 12:35:56 +00:00
Laurent Destailleur
29536ecbd8 Fix: Use correct order of firstname and lastname. 2010-07-18 10:39:07 +00:00
Laurent Destailleur
adac87c322 Fix: Permission edition 2010-07-15 08:42:05 +00:00
Laurent Destailleur
c0521a20a9 Qual: Remove deprecated code 2010-06-17 16:53:26 +00:00
Regis Houssin
b2bd7e0d25 Add possibility to limit users 2010-06-07 05:11:45 +00:00
Laurent Destailleur
60dc831ec6 Qual: Make option to create automatic personal stock easier to setup 2010-06-01 22:22:09 +00:00
Laurent Destailleur
f83954daef Fix: Change status of order to cancel 2010-05-17 12:43:36 +00:00
Laurent Destailleur
e4bba520f7 Now fetch for User class use id like other classes. 2010-05-05 17:36:20 +00:00
Laurent Destailleur
2faaeb488e Fix: Postgresql compatibility 2010-05-05 17:27:12 +00:00
Philippe Grand
ed9144957a according to new tree directory 2010-04-29 15:23:21 +00:00