Commit Graph

692 Commits

Author SHA1 Message Date
Miles Lott
e54d4c4f1a Fix passwd field in create 2001-05-06 13:04:04 +00:00
jengo
d3af581109 Updated to accept a single array for the account values 2001-05-06 11:32:03 +00:00
jengo
b1f61c2fff create account now takes an array and made expiring accounts work 2001-05-06 11:20:53 +00:00
Miles Lott
61675e82b5 Formatting 2001-05-02 12:52:44 +00:00
Miles Lott
e7dbba7698 Formatting 2001-05-02 12:40:33 +00:00
Miles Lott
637b1c04b5 Formatting 2001-05-02 12:28:10 +00:00
Miles Lott
90d97f0881 Formatting 2001-05-02 12:08:11 +00:00
Miles Lott
19bb06a54d Add expire return 2001-05-02 09:47:12 +00:00
Miles Lott
a25ff130b7 Add return for expire 2001-05-02 09:46:10 +00:00
Miles Lott
cee6081e38 Formatting, and merged expires field into sql 2001-05-02 09:38:37 +00:00
jengo
99ff1cb575 Added account expires feature 2001-05-02 09:06:14 +00:00
jengo
eacb8a099e Added new config class 2001-05-02 08:02:32 +00:00
jengo
b5551be082 Made enable_x_class more dynamic, it now reads through a loop 2001-05-02 05:31:23 +00:00
bettina
f4a2518c32 added images for categories_format 2001-05-01 23:17:13 +00:00
Miles Lott
bbcd259b8a Formatting 2001-05-01 09:18:20 +00:00
bettina
0f2df213fd added new format to formated_list() 2001-05-01 02:15:13 +00:00
skeeter
6eb0b1606a new class 'country' 2001-04-30 03:04:58 +00:00
bettina
7d5d888c60 fixed 2001-04-30 00:27:54 +00:00
bettina
14473b076c fixed 2001-04-29 23:54:10 +00:00
bettina
8dd7dad2ed added function to check the valid main cat 2001-04-29 00:51:53 +00:00
skeeter
eac8c1a938 cleanups - formatting 2001-04-28 21:49:48 +00:00
jengo
a5b2acc3bb Fixed category sorting that wasn't showing the sub categorys under the mains in /preferences/categories.php 2001-04-28 14:01:34 +00:00
bettina
deb7bbcee0 update function add/edit/return_single 2001-04-28 12:52:20 +00:00
bettina
3593fadc84 update function add/edit 2001-04-27 22:50:02 +00:00
bettina
4e707d01bc update sort categories 2001-04-27 16:38:33 +00:00
bettina
7144eef917 update sort categories 2001-04-27 16:06:17 +00:00
jengo
a9183356a1 Made navbar() return the appname 2001-04-27 13:08:49 +00:00
jengo
955bf76715 Added an option to force a certian theme on users 2001-04-27 10:02:33 +00:00
Miles Lott
0abd645eff Fix delete function 2001-04-26 14:09:03 +00:00
Miles Lott
f5fbcfd750 This should now work in theory, but is untested 2001-04-26 14:06:23 +00:00
Miles Lott
f71cf2e0d6 Add empty denied_groups array 2001-04-26 13:54:10 +00:00
Miles Lott
d7c287e6e4 Update for proposed accounts class changes 2001-04-26 13:53:29 +00:00
count
ccb4342e88 SQL + SSL Certificate authentication for Apache + mod_ssl
provides fallback for auth_sql authentication and expects certificate
chain verification by mod_ssl. See http://www.modssl.org/docs/2.8/ssl_howto.html#ToC6
2001-04-25 22:01:52 +00:00
jengo
665e72f75a Added name2id() and id2name() functions 2001-04-25 18:12:10 +00:00
jengo
371b4bd374 Added the ability to return a list from a certian parent, and from an app AND main or subs 2001-04-25 17:00:31 +00:00
jengo
49403cd7d5 Fixed total() not working 2001-04-25 13:12:11 +00:00
bettina
cda8181ed7 update return_single() 2001-04-24 03:26:04 +00:00
Miles Lott
02746c0697 Add lang calls 2001-04-22 20:28:22 +00:00
skeeter
a161abb81e Fix for bug #413605 2001-04-22 02:39:39 +00:00
bettina
d5343aee16 update function exists 2001-04-21 23:22:27 +00:00
skeeter
f71b6a8f54 Fix for bug #417328 2001-04-21 17:45:48 +00:00
Miles Lott
7ef9e171fb Formatting 2001-04-21 13:01:39 +00:00
Miles Lott
56f405cd7a Change to phpversion() 2001-04-21 12:43:00 +00:00
Miles Lott
9bf8708b25 change to phpversion() 2001-04-21 12:39:30 +00:00
Miles Lott
ebd58d40af Add optional third return for filterobj 2001-04-20 23:12:37 +00:00
skeeter
2bcde10643 If the template does not exist in the template dir, it will now load from the default template set. 2001-04-20 02:45:42 +00:00
Miles Lott
9776ec576d Make navbar show a default image instead of a broken link 2001-04-18 17:33:56 +00:00
jengo
1d85c1d8c7 Disabled the group filter part 2001-04-17 19:06:39 +00:00
jengo
a7c66aa628 Fixed appsessions not being updated durring a password change 2001-04-17 17:49:13 +00:00
Lars Kneschke
0b67363747 removed debug output 2001-04-16 17:45:19 +00:00
Lars Kneschke
424ba9c7e6 added some debug output 2001-04-15 22:11:08 +00:00
Lars Kneschke
a6ff8d02a3 removed debug output 2001-04-15 21:52:53 +00:00
Lars Kneschke
2890047713 we did a double serialize, that's bad!!!! i was searching the whole day. but
maybe i'm a bad coder! :)
2001-04-15 21:49:50 +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
26f0586888 Add is_opera() 2001-04-13 13:32:16 +00:00
Miles Lott
bee99d173e Add content length setting 2001-04-13 05:34:46 +00:00
Miles Lott
fb487058fe Modify content_header() to take mime type and nocache 2001-04-13 05:21:20 +00:00
Miles Lott
713272f9d2 Fix for 'Opera' 2001-04-13 05:03:18 +00:00
jengo
50c4666ecc SF #413717 - Fixed undefined function update_lastlogin(), this problem was for more then just mail_auth 2001-04-10 07:58:19 +00:00
bettina
01be8c3c6f added possibility to delete also all subcats if deleting the maincat 2001-04-09 14:45:27 +00:00
jengo
1e762b6565 SF bug #412383 & patch #413729 - Fixed POP-3 not having the users password and port number if in there preferences 2001-04-09 11:45:01 +00:00
Miles Lott
d2714dedf8 Adjust to pass account_type in data array, as with other accounts backends 2001-04-07 17:06:26 +00:00
Miles Lott
6297a4d8c6 Hope this is a real fix this time 2001-04-07 15:22:57 +00:00
Miles Lott
94e7363845 Fix syntax error 2001-04-07 15:13:50 +00:00
Miles Lott
31382231a0 Remove global call to unneeded string, and add return_array() function 2001-04-07 14:59:00 +00:00
Miles Lott
da3fec9d7c Add some additional functions 2001-04-07 14:34:37 +00:00
Miles Lott
0d001b95b8 Add enable_browser_class object creation 2001-04-07 14:29:41 +00:00
Miles Lott
c6b810baf3 Rename - converted to a class 2001-04-07 14:19:28 +00:00
Miles Lott
2811576045 Add cvs descr line 2001-04-07 13:55:34 +00:00
Miles Lott
9a168c19d7 Browser detection functions - this may be incorporated to common or functions.inc 2001-04-07 13:53:47 +00:00
Miles Lott
68b25fceba Still buggy, but the memberuid attrib is correct now 2001-04-07 05:43:06 +00:00
Miles Lott
e86fdd35fd This should update the memberuid field for groups even when changing account_id 2001-04-07 02:44:02 +00:00
Miles Lott
ed19a7d7cd This one seems to correctly update the memberuid field 2001-04-07 02:41:23 +00:00
Miles Lott
e28ab89f39 This now edit memberuid field based on members, but we need to update the acl first. 2001-04-07 01:43:56 +00:00
Miles Lott
e3c0d664fe Oops, rename to match ldap 2001-04-06 21:49:06 +00:00
Miles Lott
74cb79a5db Change auto_add. Not sure this is what you had in mind. 2001-04-06 21:42:18 +00:00
Miles Lott
43a9ef07e1 Fix missing () on an if 2001-04-06 21:38:41 +00:00
Miles Lott
8f95f4b6f6 This changes auto_add to use common->nextid, and adds account_type to $this->data. 2001-04-06 21:37:46 +00:00
Miles Lott
8e48f8b764 More adjustments - trying to add memberuid attribs based on acl 2001-04-06 20:44:48 +00:00
Miles Lott
9b5ddd3cc1 This is work in progress for what ldap accounts might be 2001-04-06 18:55:23 +00:00
jengo
57a0519eef SF #413778 - Fixed HTML in comments not showing up durring matrix view 2001-04-06 05:30:37 +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
jengo
01c30a42d0 *** empty log message *** 2001-04-04 07:14:31 +00:00
jengo
003ef39d11 Added ending date option 2001-04-04 06:49:03 +00:00
jengo
4b1282adcd Fixed a few bugs with tring to re-read session cache info, which is competly broken anyway. We might need to do away with the idea, it doesn't seem any faster 2001-04-04 04:54:12 +00:00
skeeter
42a593ad9b Revert the code back to the way it was. 2001-04-03 03:26:59 +00:00
skeeter
afea2d7d56 Possible fix for error on line 53 of ->preferences when logging in. 2001-04-03 03:08:50 +00:00
skeeter
dbd3c7d061 This fixes bug #412687 2001-04-03 01:42:10 +00:00
Miles Lott
443b54d641 Do not set homedir/shell for groups 2001-04-02 17:52:11 +00:00
skeeter
fa3e1b36c0 Making global to the function hook_single(). 2001-04-01 20:55:47 +00:00
skeeter
d13a6b11c9 trying to gain speed effeciencies. 2001-03-31 14:40:52 +00:00
skeeter
f99672dca8 Small cleanups for readability. 2001-03-31 14:38:22 +00:00
skeeter
18cea66193 small fixes for calendar error msgs. 2001-03-31 14:37:32 +00:00
jengo
609f855217 Added session_dla field to phpgw_app_sessions to make sure things get cleaned up 2001-03-31 08:11:41 +00:00
skeeter
486e412862 Fix for persistent connections and disconnect() 2001-03-31 01:10:15 +00:00
bettina
035693bef3 update return_array 2001-03-30 21:12:56 +00:00
skeeter
278bd972c1 Delete now locks the accounts table. 2001-03-30 04:21:10 +00:00
skeeter
f2329fc7bc Guarrantee maxmatchs is an integer value. 2001-03-30 01:00:33 +00:00
skeeter
2026b25976 Fixes for NNTP. Was not returning results. Also, cleanups and now meets coding standards. 2001-03-30 00:58:38 +00:00
Miles Lott
e274ab6a23 Fix php tag 2001-03-29 20:17:54 +00:00
Miles Lott
6a59701d07 Set {filter} to '' if no $filter_obj 2001-03-29 17:13:35 +00:00
Miles Lott
50be1bbeb5 get_list() did not know about ldap_context, oops 2001-03-29 08:49:09 +00:00
Miles Lott
6238ac903d Initial add; This is very prelim 2001-03-29 08:10:04 +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
2c5d6daae2 Another try at checking if $id > $max, I like this better 2001-03-29 06:15:57 +00:00
Miles Lott
f67f7719c2 Added min/max to nextid/lastid 2001-03-29 06:10:47 +00:00
Miles Lott
5713329ff9 Add LINE,FILE to nextid/lastid 2001-03-29 04:32:33 +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
bettina
acb00bf31c added cat_access 2001-03-27 07:19:28 +00:00
bettina
0953acb424 added access_field 2001-03-27 03:40:18 +00:00
bettina
8f21b5275a added access_field 2001-03-27 03:10:30 +00:00
Miles Lott
e2afce4073 Fix account_id use in update_lastlogin to use get_account_id; formatting 2001-03-26 21:36:32 +00:00
Miles Lott
501f75b630 Add optional use of $offset to limit the list 2001-03-26 20:44:49 +00:00
Miles Lott
ece1208b07 Complete template var setting for filter 2001-03-26 08:24:35 +00:00
skeeter
0b717ac195 cleanups for readability 2001-03-25 22:24:19 +00:00
skeeter
f6d0ed1eb6 possible fix for sending email and teh RCPT TO: address 2001-03-25 21:04:41 +00:00
skeeter
a2e4b791c9 Fix for bug #411157 - Free/Busy and fullnames 2001-03-25 14:41:17 +00:00
bettina
82b727df35 added global cats 2001-03-25 07:21:37 +00:00
bettina
b464dd7249 added global cats 2001-03-25 06:22:25 +00:00
bettina
5c4dbe12cc added global cats 2001-03-25 05:58:28 +00:00
themaniac
39b44180c0 start of inline docs 2001-03-24 23:19:39 +00:00
skeeter
7d197afd49 Stream lined the getuser_ip() usage in create(). 2001-03-24 18:07:00 +00:00
Miles Lott
db4c710847 Change lastid to return 1 instead of -1 2001-03-24 15:44:35 +00:00
themaniac
9047dcec22 inline docs 2001-03-24 08:01:26 +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
el_latino
43f048acca added a new function cmp_version 2001-03-23 05:56:15 +00:00
themaniac
c2357d72a3 spelling mistake in inline doc tag 2001-03-23 05:38:11 +00:00
Miles Lott
b628a2dd9f Add last_id function to check current id without incrementing 2001-03-23 04:42:22 +00:00
skeeter
0d28ccd10b Fixes for delete() in ldap. 2001-03-23 03:10:57 +00:00
skeeter
c9af8bfe46 Created new delete() for sql. 2001-03-23 03:10:28 +00:00
jengo
cc33076dad display_fullname() had lastname and firstname mixed 2001-03-22 18:10:09 +00:00
bettina
7716dc48d4 update function formattime to show 12 as pm 2001-03-22 17:29:37 +00:00
jengo
35a2d6bc9a Fixed inline doc comment 2001-03-22 13:26:54 +00:00
jengo
3f3c2e7d01 Created a little bit cleaner version of display_fullname() 2001-03-22 13:25:06 +00:00
Miles Lott
db844b2ddb Add phpgw_nextid table and common->nextid function 2001-03-22 08:23:35 +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
themaniac
d5fcd31dea very draft inline docs added 2001-03-22 06:10:22 +00:00
Miles Lott
913f1580c1 Start adding vcard import/export class 2001-03-21 08:06:40 +00:00
skeeter
afc340b7c5 fixed missing next_record() 2001-03-21 06:13:42 +00:00
skeeter
e7a9f708bc set the default account_id again 2001-03-21 06:05:44 +00:00
skeeter
30bae00dc9 set the default account_id again 2001-03-21 06:00:06 +00:00
skeeter
93c2a3f15d set the default account_id again 2001-03-21 05:51:33 +00:00
skeeter
9dfd13af5e Juggling get_account_id() again. 2001-03-21 05:42:40 +00:00
skeeter
a441160b19 Juggling get_account_id() again. 2001-03-21 05:40:54 +00:00
skeeter
9a3cf6f1f7 Created ['user']['account_id'] as a default user if nothing found 2001-03-21 05:28:00 +00:00
skeeter
730d467703 Changed it for an initial instantiation 2001-03-21 05:09:14 +00:00
skeeter
c40f06de24 Juggling the location of get_account_id(). 2001-03-21 05:01:28 +00:00
skeeter
ed199e06eb Fixed misspeling in exists(). Change to 2001-03-21 04:54:10 +00:00
skeeter
e18b447599 Setting default values if nothing passed. 2001-03-21 04:41:20 +00:00
skeeter
e2a2e74619 Fixed a problem with the categories class not being instantiated correctly. 2001-03-21 03:30:29 +00:00
skeeter
7aefe02121 fix for create() 2001-03-21 01:00:56 +00:00
skeeter
111a3f1e2f removed extraneous parameter 2001-03-20 04:46:40 +00:00
skeeter
9fcb041eb4 mistype the name of the new function get_account_id() 2001-03-19 23:09:47 +00:00
skeeter
dde3854be5 possible clarification in memberships() 2001-03-19 20:55:48 +00:00
skeeter
4b31a3a93b fix in get_grants() if the user is by some unknown reason, not associated to a group 2001-03-19 20:50:46 +00:00
skeeter
4199aceffc mistype the name of the new function get_account_id() 2001-03-19 20:37:09 +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
themaniac
a2e2ed23f3 incline docs; alot of this needs to be looked at 2001-03-19 03:16:56 +00:00
skeeter
ecb54c6800 I'm thinking this is the way it should be. Resetting the variable with each iteration through for the individual records. 2001-03-18 18:31:17 +00:00
skeeter
e52c72c4eb should solve problems for the accounts->exists() 2001-03-18 18:09:46 +00:00
skeeter
79639009d9 something I was playing with.. 2001-03-18 17:20:45 +00:00
skeeter
94f59cfde8 Trying to determine if variables are getting their types messed up. 2001-03-18 16:29:05 +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
jengo
5d7cb50e74 Added some comments about legecy code and started adding in debugging info into the API 2001-03-18 05:16:00 +00:00
jengo
40fb427d31 Added PHPGW_ACL_PRIVATE constant 2001-03-18 04:55:36 +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
e19c852d38 Replace 707 with 770 - I think this is all of them 2001-03-16 04:04:08 +00:00
themaniac
c71a3684c7 ..some more inline documentation; i'm done in here now someone can add some detail 2001-03-15 05:55:06 +00:00
skeeter
7eff94a52d added ability to designate Sender: field 2001-03-15 05:35:30 +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
themaniac
063db53e99 some more inline documentation added (draft) 2001-03-14 17:21:09 +00:00
Miles Lott
9aefe9a58b Make the delete function delete from ldap as well 2001-03-14 16:50:17 +00:00
jengo
aea8c10989 Accounts will now be able to change there password by default 2001-03-14 12:26:11 +00:00
jengo
2a7a4229e1 Fixed preferences hooks not being included 2001-03-14 12:17:24 +00:00
jengo
af81ed5a8a hook() now checks user permissions BEFORE the hook is included 2001-03-14 12:10:01 +00:00
themaniac
f8304f1b3f start of incline documentation 2001-03-14 06:38:11 +00:00
skeeter
130a36248a stronger type casting 2001-03-14 03:00:13 +00:00
themaniac
d2b0d33199 start of inline documentation 2001-03-13 23:28:27 +00:00
themaniac
82decf9cc9 start on inline documentation 2001-03-13 18:30:21 +00:00
jengo
5d4493670c Converted nextmatchs to work off templates 2001-03-13 13:15:53 +00:00
jengo
4b932ff6df Added fp() finish parse short cut 2001-03-13 11:52:17 +00:00
themaniac
57e1b92f8f beginnings of inline documentaion 2001-03-13 04:58:57 +00:00
themaniac
2b4a766474 beginnings of inline documentaion 2001-03-13 04:27:22 +00:00
el_latino
30e8f6e58b Fix for bug [ #406681 ] function read_group_names() not exist, thx to Patrick Naubert <patrickn@tygerteam.com> 2001-03-12 15:09:00 +00:00
jengo
1ac2174b70 Added in a class to validate input 2001-03-12 13:17:38 +00:00
jengo
82936fd3c8 Added function to return the total categories depending on filter. Also, applied some source formating 2001-03-12 12:16:14 +00:00
jengo
d879bf8c96 Fixed PHP warning 2001-03-12 12:01:56 +00:00
skeeter
716b8fe6ee new acl function to grab apps enabled for user and groups associated to 2001-03-11 22:38:19 +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
f63a01ce6b Change back the setting of account_id also 2001-03-10 00:17:32 +00:00
jengo
4157660b0e Rolling back changes to the const 2001-03-09 23:33:09 +00:00
jengo
4fc5186eb8 Added ability to pass the database handle to the accounts const 2001-03-09 23:21:52 +00:00
jengo
a48625a0f6 Fixed PHP warnings on disconnects 2001-03-09 15:55:34 +00:00
themaniac
a4b37d1f37 added inline comments (start of) 2001-03-09 04:38:42 +00:00
jengo
a26155472a Possiable fix for link() not working durring login 2001-03-09 01:05:48 +00:00