Ralf Becker
eed94133c3
fixed and extended auto_create_accounts: the following information from ldap are now automaticaly stored in the sql-account:
...
- name & firstname
- primary group (if a group with that numerical id exists in eGW, its added as primary group to the account and acl)
- numerical account-id (if availible, no new one gets created, but the one from ldap is used)
- email (as preference for the email-app)
2004-05-22 11:00:18 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
fe8be115fb
as talked with lars ;-)
2004-04-04 23:01:58 +00:00
Lars Kneschke
9f8740113a
fix get_account_name to make acls working correctly again
2004-02-07 20:52:42 +00:00
Ralf Becker
b58f7c344d
moved the existing caching-code into the shared class and implemented caching for get_list
2004-02-05 21:20:41 +00:00
Miles Lott
d26eacbeea
move check for auth object
2004-01-26 03:22:15 +00:00
Lars Kneschke
61c768f8d3
add a first and last name for auto created accounts too
2004-01-25 22:38:26 +00:00
Lars Kneschke
893c085f78
added addaccount-hook for auto created accounts
2004-01-25 22:27:31 +00:00
Miles Lott
77fd8f4882
Move password functions to auth class; Add support for new encryption types in setup
...
and implement password checking and creation for these new types
2004-01-18 21:12:53 +00:00
Miles Lott
20b851da6f
intval -> (int), replace gettype() and ereg functions where possible
2003-12-14 17:18:41 +00:00
Ralf Becker
df93243fbc
fix for id not an integer
2003-11-14 21:09:37 +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
30a4f77153
fix for delete with empty account_id
2003-10-01 14:50:34 +00:00
Ralf Becker
36b40204e3
update to version 0.9.99.002:
...
- new columns for accounts-table: contact_id and primary group
- fixed error from 0.9.10 update with groups and permissions columns only half deleted
- update function for phpGW 0.9.14.508/9 and 0.9.15.013/4
2003-09-13 18:19:03 +00:00
Ralf Becker
b8557e49d9
make the phpgw Version-0_9_16-branch HEAD
2003-08-28 14:31:11 +00:00
ceb
64aa244e2e
update
2003-06-24 11:54:22 +00:00
ceb
6494d641da
update
2003-05-21 23:02:25 +00:00
ceb
a8b4146b4e
added missing ')' to search string in list function
2002-10-11 00:35:11 +00:00
Zone
71ec2f0197
Updates needed for phpwebhosting -> filemanager name change
2002-09-21 05:15:32 +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
08d18591cd
cancel quotes in search string
2002-05-07 12:54:12 +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
skeeter
e54b0278c7
Applied GNU Patch #205 .
2002-04-02 14:15:24 +00:00
ceb
5471e1fda9
added function to fetch some accountsdata
2002-03-14 01:42:15 +00:00
skeeter
d369ae674a
Added the var to the class variables.
2002-02-15 18:55:11 +00:00
ceb
340bc3c184
added type to function read_repository
2002-01-31 02:44:52 +00:00
skeeter
38684d2cf6
Added the ability to change the account_lid in SQL. LDAP already had that ability.
2002-01-13 03:53:43 +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
530b0ee678
Fix a typo
2002-01-03 19:10:32 +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
seek3r
25f80219c0
updated some inline comments for me to better test the inilinedocparser
2001-12-24 22:48:40 +00:00
jengo
2b1bf39cd3
Accounts that are created from auto_add() will now be able to change there passwords
2001-12-09 20:32:17 +00:00
bettina
b65f4bcb29
added to the call to limit_query because this worked ;)
2001-11-30 02:49:04 +00:00
bettina
0517dbdc98
removed from call to limit_query because this didnt work
2001-11-30 02:38:24 +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
jengo
ae36eeb708
Added error checking for name2id() and id2name(), return False when the account_id or account_lid is missing
2001-10-06 03:37:58 +00:00
jengo
68ae85eb5f
Default preferences are now being added into the db durring account creation
2001-10-05 03:15:45 +00:00
skeeter
c5a54adbaf
Fix for the sql get_account_name().
2001-09-19 23:08:44 +00:00
skeeter
a91131a7be
Fix for an error on line 333.
2001-09-07 04:27:48 +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
e5b4517469
More checking for caching.
2001-09-03 09:48:32 +00:00
Miles Lott
f637bdc11f
Add denied groups and users
2001-09-03 02:05:03 +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
bce5113662
Small cleanups of possible warning messages.
2001-08-24 01:53:52 +00:00
skeeter
050cd9acd2
Applied a patch provided by the mailing list.
2001-08-18 19:09:56 +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
jengo
3b28be028f
Removed the array from limit_query()
2001-07-08 04:17:28 +00:00
seek3r
2d97b29cfa
patched up php3 compatibility (again)
2001-07-06 06:46:10 +00:00
jengo
8b9ff102bc
Moved to use the new limit_query() function
2001-07-02 19:49:50 +00:00
zone
e6203dda83
Added file space option, file_space column to phpgw_accounts
2001-07-01 22:30:07 +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
jengo
38e1b201d7
Some changes needed for the reg app
2001-06-21 08:36:08 +00:00
Miles Lott
a6bbcbb5f9
Add expires field to auto_add (30 day default) - how else to handle this?
2001-06-04 20:29:37 +00:00
jengo
0e768f7268
Added some transactions
2001-06-04 01:17:40 +00:00
Miles Lott
8060a2efee
change create to use account_XXX, made newgroup use newer create
2001-05-10 09:34:47 +00:00
Miles Lott
e54d4c4f1a
Fix passwd field in create
2001-05-06 13:04:04 +00:00
jengo
b1f61c2fff
create account now takes an array and made expiring accounts work
2001-05-06 11:20:53 +00:00
jengo
99ff1cb575
Added account expires feature
2001-05-02 09:06:14 +00:00
skeeter
278bd972c1
Delete now locks the accounts table.
2001-03-30 04:21:10 +00:00
Miles Lott
0b15657e4c
Add account_id for future use
2001-03-29 04:20:12 +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
f22e071fbd
minor touches for cosmetics
2001-03-24 02:33:44 +00:00
skeeter
c9af8bfe46
Created new delete() for sql.
2001-03-23 03:10:28 +00:00
skeeter
afc340b7c5
fixed missing next_record()
2001-03-21 06:13:42 +00:00
skeeter
ed199e06eb
Fixed misspeling in exists(). Change to
2001-03-21 04:54:10 +00:00
skeeter
7aefe02121
fix for create()
2001-03-21 01:00:56 +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
e52c72c4eb
should solve problems for the accounts->exists()
2001-03-18 18:09:46 +00:00
jengo
aea8c10989
Accounts will now be able to change there password by default
2001-03-14 12:26:11 +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
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
jengo
385a94f09e
Started working on getting the admin account sections to work again
2001-02-20 14:06:32 +00:00
jengo
aed86715fe
Fixed edit account, it now appears to be working again
2001-02-17 09:40:29 +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
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
e0b8a07f9c
Fixed not being able to login and clean up a ton of code. It was a mess in there, things flow a little but better now. I still have some cleaning up to do
2001-02-06 13:18:51 +00:00
seek3r
f6430b723b
need sleep, you guys are stuck with what I have so far
2001-02-06 11:58:39 +00:00
seek3r
3f44799099
I have things working to a point where the user can login. I still wil lhave to do MAJOR cleanup of session class and fix a few things in the acl that I commented out
2001-02-05 22:30:21 +00:00
seek3r
cfb29e83dd
switching to new definition as documented in phpgwapi/doc/class.acounts
...
I for accounts_sql we still need to add a few functions.
2001-02-05 20:40:30 +00:00
jengo
fa4a12e8a8
Finished mergeing over the things from accounts_shared to common
2001-02-05 16:37:38 +00:00
jengo
f6adca46c7
Changed the accounts class to use the new smaller version of the phpgw_accounts table
2001-02-05 14:58:03 +00:00
skeeter
94b6d81a37
minor fixes for reading group info
2001-02-04 20:29:18 +00:00
seek3r
3ac75481c1
classes are in the newer format. Still some cleanup to do but the concept is at least in progress
2001-02-03 10:48:41 +00:00
seek3r
208adb1792
added first version of auto create accounts
2001-02-02 01:08:03 +00:00
bettina
3d52cc0292
changed to count
2001-01-31 18:33:45 +00:00
skeeter
b1cf1322a6
preps for editgroup/newgroup and calendar
2001-01-31 05:51:52 +00:00
jengo
c4d3423bde
Fixed ACL checks not working in the middle of a db query
2001-01-31 03:02:00 +00:00
seek3r
52796590bf
trying to get code ready for admin pages
2001-01-30 10:46:09 +00:00