Commit Graph

227 Commits

Author SHA1 Message Date
Lars Kneschke
2eebcbee3a phpgroupware -> egroupware
Fix for BUG [ 844428 ] X-Mailer text should be changed
2003-11-18 21:42:16 +00:00
Ralf Becker
692767bcf0 fixed problem with not set system-charset and non-ascii chars in user-name with accounts in ldap:
Username did not get translated, as at the time when the accounts-class get instanciated the user preferences, which determine the language, which determine the charset (if no system-charset), are not loaded. I use iso-8859-1 as default then, which gives us the same behavior then before all the changes.
2003-10-15 12:24:38 +00:00
Ralf Becker
d73cfd3122 fixed get_account_name to convert the values 2003-10-10 12:45:07 +00:00
Ralf Becker
71c2acae50 fix for not set system_charset 2003-10-10 12:06:40 +00:00
Lars Kneschke
cb65e22c87 typo 2003-10-10 04:42:08 +00:00
Lars Kneschke
a7318559fe converted to convert for correct utf-8 support 2003-10-10 00:55:43 +00:00
Lars Kneschke
2a4b75c483 ldap fixes 2003-09-21 19:02:12 +00:00
Lars Kneschke
bfb56ec1de ldap fixes 2003-09-14 14:35:36 +00:00
Lars Kneschke
78c74e5726 ldap fixes again 2003-09-14 08:29:29 +00:00
Lars Kneschke
c579775999 again some ldap fixes
and

support for ldap version 3
2003-09-14 06:02:25 +00:00
Lars Kneschke
ac487777b7 added support for primary group 2003-09-13 17:14:30 +00:00
Lars Kneschke
e3dde66e08 change needed for integration of emailadmin
ldap bugfixing
2003-08-31 22:09:12 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
ceb
6494d641da update 2003-05-21 23:02:25 +00:00
ceb
06a871dd7c update accounts_ldap 2002-12-18 00:20:46 +00:00
Zone
71ec2f0197 Updates needed for phpwebhosting -> filemanager name change 2002-09-21 05:15:32 +00:00
skeeter
720df8a650 Minor cleanups. 2002-09-17 02:33:03 +00:00
skeeter
40df324cf5 GNU Bug #800. 2002-09-02 02:32:10 +00:00
Miles Lott
cdc2926ff3 formatting 2002-05-26 21:16:25 +00:00
Miles Lott
7bb5e67739 this should be a fix for the account_type setting in get_list, but it is hard to believe it was actually this broken 2002-05-05 02:51:26 +00:00
skeeter
53344baf01 GNU Patch #246. 2002-04-21 17:42:40 +00:00
skeeter
27d6f340bf GNU Patch #127 - create_defaults being called twice. 2002-04-07 14:28:43 +00:00
ceb
a1aa3788b9 added function to fetch some accountsdata 2002-03-14 02:26:21 +00:00
Miles Lott
ddfa5d9d4b use in_array() instead of class function; formatting 2002-03-08 04:08:12 +00:00
Miles Lott
7ccf86785b add lastpasswdchange as zero in create() 2002-02-27 03:48:52 +00:00
skeeter
d369ae674a Added the var to the class variables. 2002-02-15 18:55:11 +00:00
skeeter
1a1018cea4 Clears up a few warnings when logging warnings/errors to a log file. 2002-01-06 06:06:30 +00:00
Miles Lott
836099d5b4 Remove old accounts file, fix typo in last commit 2002-01-05 21:00:19 +00:00
Miles Lott
985fc8292c Move peer server config; add option to set default expiration for auto-created accounts 2002-01-05 20:40:44 +00:00
Miles Lott
3279692e7a Check that preferences is an object (for use from setup) 2002-01-03 22:02:13 +00:00
Miles Lott
d61dadfa72 Add default prefs creation for a new user in create() - will need to do this either
here or in admin.
2002-01-03 18:02:10 +00:00
skeeter
58a42faff7 Cleanups for a few warnings. 2001-12-29 02:37:22 +00:00
skeeter
8d24e53c65 Fix for bug #482239. 2001-11-17 03:02:30 +00:00
skeeter
1e377b3007 Made the LDAP storage aware of the query for get_list. Also, in the sql, set the total to the total records meeting the condition in get_list(). 2001-11-16 04:11:38 +00:00
Miles Lott
b673d7c52c rename members() to member() to avoid potential php3 conflict with LDAP accounts and class var, $members 2001-10-22 13:05:07 +00:00
Lars Kneschke
3985fe231d modified the ldap class, to know the type of account(u or g) 2001-09-18 17:55:36 +00:00
Miles Lott
944e0e6047 Fix unsetting of status 2001-09-08 06:19:06 +00:00
Miles Lott
97d808fb74 Move ldap connect to shared class, cutting down somewhat on ldap connects
per page load - more to come
2001-09-06 00:17:23 +00:00
skeeter
56ef840422 Fix for grab_owner_name() in comon. now calls account storage specific functions. 2001-09-05 22:46:47 +00:00
skeeter
dba3fc60f0 Changed around get_type() to grab the user account first, then the group accout. 2001-09-05 13:43:27 +00:00
skeeter
dcbcdd88ce Made a few changes to the accounts LDAP storage processing. 2001-09-04 03:12:23 +00:00
skeeter
81dfa789c0 Small changes. Added the caching back into id2name and did a little more checking for use of caching. 2001-09-03 09:47:47 +00:00
Miles Lott
e3c937326d Fix (?) gettype and name2id/id2name - group/user confusion still possible... 2001-09-03 03:21:50 +00:00
Miles Lott
35781b842a MAJOR: changing to new ldap accounts class, _old is the old file 2001-09-03 02:17:10 +00:00
skeeter
09f6cdab74 Changed get_list() to use query_limit() instead of limit(). 2001-09-02 07:19:46 +00:00
skeeter
d2a5441ed8 Now using GLOBALS. 2001-09-01 23:42:16 +00:00
Miles Lott
45f2ca1616 Adjust auto_add() - sql now uses a default group config in setup, or does
not configure a group at all - old behavior was to add them to account_id 1.
Some more register_globals tweaks.
2001-08-31 22:50:30 +00:00
skeeter
6da089837d Various optimizations to the API. This also does a little internal caching of some of the account data, but, only for a single page session. 2001-08-15 02:14:18 +00:00
skeeter
076bb37660 Simple caching of name2id and id2name values. 2001-08-11 14:45:56 +00:00
Miles Lott
1fe026c4c0 Rolling back file_space addition 2001-07-27 10:04:54 +00:00
zone
e6203dda83 Added file space option, file_space column to phpgw_accounts 2001-07-01 22:30:07 +00:00
Miles Lott
880bf3a86b Undo last change 2001-06-27 01:31:32 +00:00
Miles Lott
f9eaea8572 Add 'backup' to denied group/user list 2001-06-27 01:24:37 +00:00
Miles Lott
829250b0c0 Just some formatting cleanup, but preping to mod ldap to be all ldap 2001-06-26 09:51:16 +00:00
Miles Lott
201db9cb5e Add back nscd 2001-05-26 21:21:25 +00:00
Ralf Becker
2065718e34 some changes to make the import work 2001-05-26 21:16:25 +00:00
Miles Lott
ba5927b013 Add additional users to exclusion list 2001-05-26 18:27:14 +00:00
Miles Lott
44ca179808 Add nscd to the ldap exclusion list 2001-05-25 20:27:56 +00:00
Miles Lott
8060a2efee change create to use account_XXX, made newgroup use newer create 2001-05-10 09:34:47 +00:00
skeeter
c347caccde Missing the accounts_expire field being saved to the db. 2001-05-09 03:07:20 +00:00
Miles Lott
f6b3e189cf Update for create using array 2001-05-06 13:07:57 +00:00
jengo
d3af581109 Updated to accept a single array for the account values 2001-05-06 11:32:03 +00:00
Miles Lott
a25ff130b7 Add return for expire 2001-05-02 09:46:10 +00:00
Miles Lott
4d93655896 Take out group objectclassing since we are not yet storing groups in ldap 2001-04-15 21:40:26 +00:00
Miles Lott
1e45789497 Add inetOrgPerson to objectclass for new accounts 2001-04-05 21:50:12 +00:00
Miles Lott
06957d529b Modify save and create to check for attrs, and added some users to the exclusion list. 2001-04-05 18:55:44 +00:00
Miles Lott
443b54d641 Do not set homedir/shell for groups 2001-04-02 17:52:11 +00:00
skeeter
278bd972c1 Delete now locks the accounts table. 2001-03-30 04:21:10 +00:00
Miles Lott
50be1bbeb5 get_list() did not know about ldap_context, oops 2001-03-29 08:49:09 +00:00
Miles Lott
fef9d740a9 Add min/max account_id to admin config.inc.php, and ldap accounts is using it 2001-03-29 07:26:28 +00:00
Miles Lott
c7b682d525 Add homedirectory and loginshell to ldap 2001-03-29 03:40:14 +00:00
Miles Lott
501f75b630 Add optional use of $offset to limit the list 2001-03-26 20:44:49 +00:00
skeeter
4f6f05629c added saving of data to phpgw_accounts table when saving records to LDAP 2001-03-24 04:01:04 +00:00
skeeter
f22e071fbd minor touches for cosmetics 2001-03-24 02:33:44 +00:00
skeeter
0d28ccd10b Fixes for delete() in ldap. 2001-03-23 03:10:57 +00:00
Miles Lott
3604032b53 Add unset(password) before modify if the account existed in ldap already 2001-03-22 08:02:27 +00:00
skeeter
9fcb041eb4 mistype the name of the new function get_account_id() 2001-03-19 23:09:47 +00:00
skeeter
b9da94fd2e New function get_account_id(). This will take either an account_id # as either an integer or a string and return a true intval(account_id) or take a string of a users lid and return the account_id as an integer 2001-03-19 20:25:04 +00:00
skeeter
dd2ff0d4b4 fixes to the exists function. This will now accept either an account_lid or an account_id. The preferred method is the account_lid. 2001-03-18 14:08:39 +00:00
jengo
4f6e553e15 Cleaned up exists(), it was looking for account_id which is shouldn't do 2001-03-18 13:35:53 +00:00
Miles Lott
15fcaf6bbb Enhance exists() to not error due to empty $account_id 2001-03-18 03:34:56 +00:00
Miles Lott
7791256228 Modify create to modify an account if already in ldap, else add it 2001-03-14 18:54:30 +00:00
Miles Lott
9aefe9a58b Make the delete function delete from ldap as well 2001-03-14 16:50:17 +00:00
skeeter
130a36248a stronger type casting 2001-03-14 03:00:13 +00:00
Miles Lott
d3e54884f1 Make random uidnumber not create invalid uid ( <65536 ) 2001-03-10 14:59:28 +00:00
Miles Lott
f7533ca3d0 Added create function - still needs work 2001-03-10 12:27:22 +00:00
Miles Lott
25f3b8f34c Oops, move the phpgw_info above the class spec 2001-03-01 16:41:38 +00:00
Miles Lott
6b154b447e Move global_denied_users list into accounts class, sql is an empty array 2001-03-01 16:20:48 +00:00
Miles Lott
a311f8bad1 Make get_list return allValues[0]["???][0] instead of using non incrementing $i 2001-03-01 15:32:52 +00:00
Miles Lott
ebace1a65f Change insert into preferences to correct (new) table name 2001-03-01 03:01:06 +00:00
skeeter
99883c4bb0 improper default prefs 2001-02-22 05:35:53 +00:00
skeeter
26b4025092 guarantees returned id is int value 2001-02-18 23:26:53 +00:00
Lars Kneschke
ad3eecef15 updated my graphics class 2001-02-14 19:27:37 +00:00
jengo
f3e93891a9 Changed the preferences table to use the phpgw_ prefix 2001-02-13 19:30:18 +00:00
Miles Lott
5945a456e7 Formatting 2001-02-13 15:19:19 +00:00
Lars Kneschke
98213efd4e get_list() is working now 2001-02-13 14:31:35 +00:00
Lars Kneschke
9ebb3bfaae make password changing working from user admin pages 2001-02-12 21:13:09 +00:00
Lars Kneschke
6b787678ea useradmin pages rewrite started 2001-02-11 03:07:43 +00:00
skeeter
2d96794df0 fixes for read_repository() 2001-02-10 03:58:12 +00:00
jengo
015a627b1e Renamed the config table to phpgw_config 2001-02-08 19:34:14 +00:00
skeeter
18e2eaa767 minor fixes for memberships() 2001-02-08 03:25:22 +00:00
jengo
5f0c2433db Returned cvs to how it was last night (with including the class.accounts.inc.php) file first 2001-02-06 20:13:06 +00:00
jengo
16cad5e0b4 Forgot to include the contructor 2001-02-06 13:24:33 +00:00
jengo
e219167262 Updated LDAP to the new class name 2001-02-06 13:21:07 +00:00
Lars Kneschke
2d4dedfbd5 new classes support 2001-02-06 12:36:02 +00:00
Lars Kneschke
f4c9533c37 the new accounts class 2001-02-05 22:31:18 +00:00
Lars Kneschke
a09fb881a4 working on the new accounts class 2001-02-05 21:56:23 +00:00
Lars Kneschke
2dbca7efea building the new class 2001-02-05 21:26:40 +00:00
Lars Kneschke
f4fa3e15b3 move to seek3r definition 2001-02-05 21:05:24 +00:00
Lars Kneschke
f4faad636b put all funtions from _sql into _ldap to make it working again
there are still other prob, but at least this class should wotk now
2001-02-05 18:38:43 +00:00
skeeter
94b6d81a37 minor fixes for reading group info 2001-02-04 20:29:18 +00:00
Lars Kneschke
8a3da8d252 make ldap working again 2001-02-04 11:17:58 +00:00
Lars Kneschke
d902c27d85 some changes for ldap support 2001-02-04 10:26:15 +00:00
Lars Kneschke
33a24db25b first modifications to make ldap working again 2001-02-03 22:51:20 +00:00
Lars Kneschke
1af442eb97 changed function names, to match the sql ones 2001-02-03 21:14:23 +00:00
skeeter
b1cf1322a6 preps for editgroup/newgroup and calendar 2001-01-31 05:51:52 +00:00
seek3r
52796590bf trying to get code ready for admin pages 2001-01-30 10:46:09 +00:00
seek3r
3509042d9b moved code so that group memberships are based on ACL entries 2001-01-30 10:11:34 +00:00
skeeter
50cf9c05ae now handles the multi args in CreateObject() 2001-01-30 02:09:32 +00:00
Miles Lott
4ace69d421 Rename phpgw_fillarray to fill_user_array to match sql. 2001-01-28 13:31:44 +00:00
Miles Lott
6938a42803 Addin username/groupname conversion functions from sql. 2001-01-28 13:29:14 +00:00
skeeter
9c554ba6d9 cosmetic fixes 2001-01-23 12:01:55 +00:00
skeeter
abf8c3bcd9 implementation of applications class 2001-01-21 01:26:23 +00:00
skeeter
47a938e92a small performance fixes 2001-01-19 13:16:00 +00:00
seek3r
4e3e6c77cb fixed banners so that they are all uniform and complete 2001-01-16 13:52:32 +00:00
seek3r
fba1a92446 Put in new license details 2001-01-13 10:18:50 +00:00
seek3r
e97ef24062 switching to the new Object factory method 2001-01-11 09:52:33 +00:00