Commit Graph

775 Commits

Author SHA1 Message Date
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
skeeter
57c5024274 forgot to return the preferences array 2001-03-08 18:51:17 +00:00
jengo
6deda7f240 Cleaned up how link() works, it should work with different styles of webserver_url now 2001-03-08 08:44:57 +00:00
el_latino
b2a4c580f1 Transy - create new lang set: disappearing translated string 2001-03-08 02:05:29 +00:00
skeeter
d5a4a0bc7e new code for email notification - NOT IMPLEMENTED 2001-03-07 19:02:25 +00:00
themaniac
c144045ce0 added inline documentation 2001-03-07 00:14:48 +00:00
bettina
3f06a8752b update categories class to count items 2001-03-05 00:44:50 +00:00
skeeter
faab4e668e didn't handle retrieving structures from appsession properly 2001-03-04 04:13:54 +00:00
jengo
0cd0e810ad Fixed a php warning being spit out with new users 2001-03-01 18:17:33 +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
bettina
e387e95008 fixes 2001-03-01 01:29:31 +00:00
jengo
c3e29775ab Added the session_flags column to phpgw_sessions 2001-02-28 15:56:47 +00:00
bettina
aacca9b4da included total_matchs to read categories 2001-02-27 01:41:59 +00:00
jengo
03223c14eb Fixed PHP 3 warning 2001-02-26 21:03:53 +00:00
jengo
2509cf0e65 Added a short cut to echo $phpgw->template->finish($phpgw->template->parse('out','form')); 2001-02-26 15:48:53 +00:00
Lars Kneschke
1f844318f6 make session working again 2001-02-25 20:47:29 +00:00
Lars Kneschke
a835a9b1e6 moved session stuff from squirrelmail to teh api 2001-02-24 23:39:22 +00:00
Lars Kneschke
ed50495e1a made appsession working again 2001-02-24 22:56:31 +00:00
chrwei
0b409c5b02 flags for imap_append and Sent email flagged Seen 2001-02-24 04:07:01 +00:00
skeeter
99883c4bb0 improper default prefs 2001-02-22 05:35:53 +00:00
jengo
b9caa7f710 Fixed adding permissions to an account not adding in the proper level for run 2001-02-22 04:42:01 +00:00
skeeter
10a7b5f836 fixes for email and passwords 2001-02-21 03:48:59 +00:00
jengo
b733042a9a Remove un-needed variable in acl add 2001-02-21 03:02:20 +00:00
bettina
548d841d1e updated return_array() to work with queries plus added function to read one cat 2001-02-21 01:56:10 +00:00
bettina
6fa74c988f updated return_array() to work with queries plus added function to read one cat 2001-02-21 01:23:23 +00:00
jengo
385a94f09e Started working on getting the admin account sections to work again 2001-02-20 14:06:32 +00:00
jengo
cdd1abffb1 Create a shared function for checking weather to use the system defaults or the users preference for mail settings 2001-02-20 08:29:31 +00:00
jengo
ab36b7bb85 Fixed appsessions() not returning the users password correctly 2001-02-20 06:50:36 +00:00
bettina
e385245ecf removed cat_owner from sql_statements 2001-02-19 11:26:08 +00:00
skeeter
c7ec8ad982 previously calling name2id to get the name 2001-02-18 23:28:15 +00:00
skeeter
26b4025092 guarantees returned id is int value 2001-02-18 23:26:53 +00:00
skeeter
7f551f895e fix for php4'isms 2001-02-18 22:30:53 +00:00
skeeter
2d8260f332 minor cosmetics 2001-02-18 22:30:16 +00:00
skeeter
97056a2ad6 fix for call to appsession() 2001-02-18 22:29:49 +00:00
jengo
aed86715fe Fixed edit account, it now appears to be working again 2001-02-17 09:40:29 +00:00
el_latino
064a6bf960 *** empty log message *** 2001-02-16 20:48:24 +00:00
el_latino
195f02657b Fri, 16 Feb 2001 20:43:03 +0000
Ra�l Alexis Betancort Santana <rabs@dimension-virtal.com>

  A mising ' in class.sessions.inc.php
2001-02-16 20:47:36 +00:00
el_latino
01e47441d9 Fri, 16 Feb 2001 20:22:46 +0000
Ra�l Alexis Betancort Santana <rabs@dimension-virtual.com>

 Fixed the s/'/"/g problem on class.sessions.inc.php that make this class non ANSI-SQL complilant
2001-02-16 20:28:11 +00:00
Lars Kneschke
2222b135ef more exetensions to my graphics class 2001-02-14 20:55:10 +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
seek3r
d80f6a4e79 working toward app install/upgrdae within setup prog 2001-02-13 10:53:18 +00:00
skeeter
5de5b936ab readjust grantor record layout 2001-02-13 01:00:16 +00:00
Lars Kneschke
9ebb3bfaae make password changing working from user admin pages 2001-02-12 21:13:09 +00:00
Miles Lott
8ce2e59b25 Fix ldap_root_pw, and indent the ldapConnect function 2001-02-12 21:11:08 +00:00
jengo
401d02fe7d Just some silly formating 2001-02-12 19:21:45 +00:00
Lars Kneschke
71e21b9377 created a test page for automaitc button creation and a class 2001-02-12 14:27:50 +00:00
Lars Kneschke
16856ebc2b reverted my changes at appsession() 2001-02-12 13:43:37 +00:00
skeeter
6694dca315 fix for pgsql not liking the " instead of \' 2001-02-12 12:22:29 +00:00
Lars Kneschke
b9efe46355 removed cvs conflicts 2001-02-12 09:11:49 +00:00
Lars Kneschke
c2c5993f1a removed cvs conflicts 2001-02-12 09:06:25 +00:00
skeeter
b84e51fc39 fix for get_grants working with group access 2001-02-12 04:59:10 +00:00
skeeter
53f4716584 replaced quotes with single ticks where applicable 2001-02-11 20:03:35 +00:00
skeeter
7551afd156 new function get_grants() - who grants rights to an app 2001-02-11 19:07:56 +00:00
skeeter
3c55ebb349 added a local instantiation of acl in memberships 2001-02-11 19:06:22 +00:00
skeeter
996f25f84e fix for pgsql and the "" 2001-02-11 15:16:49 +00:00
Lars Kneschke
6b787678ea useradmin pages rewrite started 2001-02-11 03:07:43 +00:00
skeeter
68efb23f14 better support of ->memberships() results for getGroups() 2001-02-11 02:39:45 +00:00
skeeter
b4fa70ccd7 takes into account 0 acl entries for the user/group 2001-02-10 19:59:23 +00:00
skeeter
a411f728ee cosmetics 2001-02-10 18:14:38 +00:00
jengo
d5e4f4b587 Added the session_action field, so admin can watch what users are working on. Just your basic big brother stuff ... 2001-02-10 15:14:14 +00:00
jengo
57e2b9408c Fixed template not loading up for apps 2001-02-10 14:09:35 +00:00
skeeter
2d96794df0 fixes for read_repository() 2001-02-10 03:58:12 +00:00
skeeter
b2427590f9 small fix for constructor 2001-02-10 03:56:28 +00:00
jengo
93877426a3 Added some better error report for people who have created there header.inc.php file and not setup there database 2001-02-10 03:15:48 +00:00
jengo
f6540f93c4 Fixed sessions not giving the users password back from appsessions and made all of references to time() work off a variable set at the begining of the function 2001-02-09 04:45:44 +00:00
skeeter
a7cbc1e476 minor optimizations 2001-02-09 04:35:57 +00:00
skeeter
a33f2f4fa2 fix the update accounts lastloginfrom 2001-02-09 04:31:47 +00:00
seek3r
6fb62107fe cleaner dir seperator 2001-02-09 03:56:24 +00:00
seek3r
a4b361cf91 make this a tiny bit cleaner 2001-02-09 03:23:26 +00:00
seek3r
b88aeb3515 make this a tiny bit cleaner 2001-02-09 03:21:57 +00:00
skeeter
ea94c3fa4d fixes authing against ldap 2001-02-09 03:11:59 +00:00
bettina
31ad91769e read_group_names/membership 2001-02-08 21:57:00 +00:00
jengo
f0bafc4987 Added missing function strip_html() 2001-02-08 21:27:23 +00:00
jengo
dbd48f7e6f Renamed the applications table to phpgw_applications 2001-02-08 20:11:13 +00:00
jengo
015a627b1e Renamed the config table to phpgw_config 2001-02-08 19:34:14 +00:00
jengo
2d3924eed6 Added footer call to "Access not permitted" screen 2001-02-08 06:10:36 +00:00
skeeter
ac1eac623f can now edit group info 2001-02-08 06:05:39 +00:00
jengo
617c270598 Possiable fix for cache not updating when submitting preferences 2001-02-08 05:41:05 +00:00
jengo
d61f3e5b4d Change the mcrypt encryption to use md5(sessionid . kp3 . static number) instead of just kp3 2001-02-08 05:39:39 +00:00
jengo
96d70f8d8a Fixed user preferences, they are now working with theme support again 2001-02-08 05:15:23 +00:00
jengo
eac8fd0b93 The users password is now stored in a seperate entry in appsessions(), and fixed kp3 not working as it should. Since mcrypt is only accepting the first 32 charaters, passing extra data before kp3 was making it the same encrypted values every single time 2001-02-08 05:13:43 +00:00
jengo
fcb18dbb03 Caching the phpgw_info array is now a server option 2001-02-08 04:59:19 +00:00
jengo
29baf10107 The caching of the phpgw_info array now works on or off ... 2001-02-08 04:52:57 +00:00
jengo
2ebd03ec7d Started moving the cache for the phpgw_info array over to appsessions() .... some things aren't working correclty yet. mainly preferences 2001-02-08 04:42:44 +00:00
skeeter
65a1ff5488 cosmetic 2001-02-08 04:06:15 +00:00
skeeter
18e2eaa767 minor fixes for memberships() 2001-02-08 03:25:22 +00:00
seek3r
a0628a66bb seek3r is a dope fix 2001-02-08 01:06:45 +00:00
seek3r
ff2eb0bb36 cleaned up functions.inc.php
There are still problems to resolve, but might need help resolving them. I can basicly login now
2001-02-08 00:49:34 +00:00
seek3r
5383da6583 moving this out of the way because it screws up windows machines which dont support case in file names 2001-02-07 22:32:57 +00:00
Lars Kneschke
a2355179a0 fixing parser errors 2001-02-07 22:25:57 +00:00
seek3r
1ba6eb78d2 Moving large chunks of code around so that the functions.inc.php file is the main file to getting data loaded into the phpgw_info array. Basicly functions is the file to follow to see whats being loaded and where. We will need to add a bunch of debugging flags throught this file so that debugging can be turned on and the path can easily be followed. 2001-02-07 20:22:17 +00:00
jengo
1054c949b4 Fixed session->update_session_info() should only be called if its for the current session 2001-02-07 15:27:19 +00:00
jengo
df7ef82a06 Fixed last login information not being updated 2001-02-07 13:19:09 +00:00
jengo
aaedec89bf Removed some no longer needed comments 2001-02-07 13:07:09 +00:00
jengo
b1d7e24dd3 Cleaned up warnings durring login 2001-02-07 13:00:56 +00:00
skeeter
ae028712f2 sql_search works again 2001-02-07 11:52:19 +00:00
seek3r
65f1101563 Adding xml-rpc classes which will be needed in future xml-rpc interface to our class 2001-02-07 09:09:43 +00:00
seek3r
256b40b169 Adding xml-rpc classes which will be needed in future xml-rpc interface to our class 2001-02-07 08:16:55 +00:00
jengo
c59b6e286c Removed create_specialobject() 2001-02-06 20:13:58 +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
Miles Lott
b0227a29ae use new defines 2001-02-06 14:16:04 +00:00
jengo
58bb2a282f Fixed functions.inc.php being included instead of the apps functions.inc.php file 2001-02-06 14:11:44 +00:00
jengo
907e34c001 More path fixes 2001-02-06 13:49:08 +00:00
jengo
7f244941f1 Started moving over some variable names to use the new contastants 2001-02-06 13:46:50 +00:00
jengo
fcd9d43bba Fixed footer call 2001-02-06 13:29:14 +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
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
Lars Kneschke
d7a25387c4 added a missing '' araound a sql statement 2001-02-06 12:38:35 +00:00
Lars Kneschke
2d4dedfbd5 new classes support 2001-02-06 12:36:02 +00:00
seek3r
7483d5a8f9 one more before I passout. I have yanked conversion of id, so now you need to pass account_id only 2001-02-06 12:06:17 +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
99256dc16c working on complete update of sessions class 2001-02-06 11:00:26 +00:00
seek3r
00b23411ef moved to define() for path vars. Also starting to hack sessions to be phpgw_info manager 2001-02-06 09:19:38 +00:00
Lars Kneschke
f4c9533c37 the new accounts class 2001-02-05 22:31:18 +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
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
seek3r
a6abda7775 going back to a shared accounts class structure 2001-02-05 21:11:55 +00:00
Lars Kneschke
f4fa3e15b3 move to seek3r definition 2001-02-05 21:05:24 +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
seek3r
cbe5e2e4a5 cleaned up constructor a bit 2001-02-05 20:39:06 +00:00
Lars Kneschke
f02cdb1bd3 accounts -> phpgw_accounts 2001-02-05 19:04:47 +00:00
Lars Kneschke
e4dda639c7 made ldap working again 2001-02-05 19:01:06 +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
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
skeeter
2c046331c4 email now checks for new messages on home page 2001-02-04 19:57:24 +00:00
jengo
fb16ff2fe2 Fixed help/about link not adding in the proper info 2001-02-04 11:27:50 +00:00
Lars Kneschke
8a3da8d252 make ldap working again 2001-02-04 11:17:58 +00:00
Lars Kneschke
19a6c40768 removed debug output 2001-02-04 10:30:23 +00:00
Lars Kneschke
d902c27d85 some changes for ldap support 2001-02-04 10:26:15 +00:00
jengo
5a4e1a11a1 Fixed some variables being treated has strings becuase of things like "$somevar" 2001-02-04 08:27:35 +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
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
jengo
ef7c988605 Added returning a single category 2001-02-03 06:55:22 +00:00
skeeter
b38b7d975e minor changes 2001-02-03 03:31:00 +00:00
sjb4891
f35a6a9a19 Fix from stinger to allow mail auth to work agains POP3 and IMAP servers 2001-02-02 19:04:19 +00:00
skeeter
2bd2c994b7 edit/new accounts works with new acl/applications and w/o warnings 2001-02-02 12:28:39 +00:00
seek3r
60d5f7322d fixed problem with default settings 2001-02-02 07:07:09 +00:00
seek3r
d97225c0c1 fixed problem with default settings 2001-02-02 07:06:08 +00:00
seek3r
1360248588 moved files 2001-02-02 07:02:03 +00:00
Miles Lott
404f0c79da Correct field mapping 2001-02-02 06:28:56 +00:00
Miles Lott
f6c10d906a Begin changes to implement VCard as a standard - SQL only 2001-02-02 03:13:01 +00:00
seek3r
208adb1792 added first version of auto create accounts 2001-02-02 01:08:03 +00:00
Lars Kneschke
053e5aaea8 making the email app working again
class.menutree.inc.php needs still some work
2001-02-01 21:23:34 +00:00
Miles Lott
bd9153e50c Reorg into shared/sql/and dummy ldap file. Also includes new contact_application var. 2001-02-01 04:04:15 +00:00
skeeter
5beb7a4174 removed a commented debug statement 2001-02-01 04:03:01 +00:00
skeeter
e77271dde8 now completely acl based 2001-02-01 04:02:01 +00:00
Lars Kneschke
7300588677 let the email app show all folders again 2001-01-31 19:42:13 +00:00
bettina
e60c1fc07d commented out line 102 2001-01-31 18:42:45 +00:00
bettina
3d52cc0292 changed to count 2001-01-31 18:33:45 +00:00
jengo
585be61e0e *** empty log message *** 2001-01-31 07:46:26 +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
skeeter
b58ac26b3a change the loading of the application params 2001-01-30 11:35:23 +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
abb21d96e4 cleanups 2001-01-30 02:13:38 +00:00
skeeter
1222384e5d various little cleanups 2001-01-30 02:12:03 +00:00
skeeter
8bc405905d does a reset of the array and checks for a rogue int application 2001-01-30 02:10:45 +00:00
skeeter
50cf9c05ae now handles the multi args in CreateObject() 2001-01-30 02:09:32 +00:00
jengo
81c7d0be94 Fixed limit(), I must have been a sleep when I wrote the function :) 2001-01-30 00:12:27 +00:00
skeeter
8345e26b12 fixes the preference pages for the different apps 2001-01-29 04:40:16 +00:00
seek3r
80c8300172 corrected contrustor problem 2001-01-29 02:17:08 +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
seek3r
5544af855f looks good. please test 2001-01-28 12:24:38 +00:00
seek3r
d3ed4a59ae Working on load order simplification. It still needs ALOT of work 2001-01-28 12:07:20 +00:00
seek3r
9b8a1cd8f7 fixed get_app_list_for_id and get_location_list_for_id so that they return on the entries for the specified user or group. As would be expected. 2001-01-28 01:37:34 +00:00
skeeter
0cc6d28d3c added constructor to class 2001-01-27 16:32:09 +00:00
seek3r
caa97ad127 I think this fixes it 2001-01-27 15:59:19 +00:00
seek3r
a000b3d00d around and around we go 2001-01-27 04:23:32 +00:00
seek3r
e9c319813d fixd 2001-01-27 04:07:29 +00:00
seek3r
fd8a910b08 fixed logic problem 2001-01-27 03:29:33 +00:00
jengo
716c0c7f24 Fixed the sorting issue 2001-01-27 03:24:53 +00:00
Miles Lott
91316c0538 Modify read to optionally handle queries 2001-01-26 21:37:04 +00:00
seek3r
14399c60c4 went full blown with app assignments via ACL. Still need to do teh admin pages tho 2001-01-26 11:58:00 +00:00
Miles Lott
786bffc4c5 Add read_single_entry 2001-01-26 04:30:02 +00:00
Miles Lott
05109519c4 Add var to show total_records, and modify read to set it. 2001-01-26 00:23:46 +00:00
skeeter
77e137a1c1 fixes for removing user grants 2001-01-25 17:58:08 +00:00
Miles Lott
39334f25ec fix limit function to return offset var 2001-01-25 07:07:57 +00:00
Miles Lott
ab86478263 Add filters to sql. 2001-01-25 07:07:04 +00:00
jengo
9505b365d6 Moved sql_limit() to the db classes and renamed it to limit() 2001-01-25 06:09:08 +00:00
jengo
c075d32f83 Added in the new contacts class, it still needs some work 2001-01-25 03:03:45 +00:00
seek3r
435a794d5e fixed some various issues with acl 2001-01-25 01:30:39 +00:00
seek3r
c98109234f reversed some lame hard coded path that jengo put 2001-01-24 19:28:08 +00:00
skeeter
8a23de20ea changed around the check function a little 2001-01-24 03:21:16 +00:00
skeeter
9c554ba6d9 cosmetic fixes 2001-01-23 12:01:55 +00:00
skeeter
bcc5246ac6 fixed a misspelling for account to accounts 2001-01-22 19:28:41 +00:00
skeeter
ebff5e1d61 minor fixes in view_app_list 2001-01-22 19:26:43 +00:00
skeeter
db8884dfe7 fix for adding new groups 2001-01-22 17:48:15 +00:00
seek3r
36acf4e5c6 cleaned up skeeter app rights via ACL implmentation 2001-01-22 10:35:31 +00:00
sjb4891
450f05d209 Hack to work around link() problems experienced by r0kawa when running
PHP as a cgi under windows.
2001-01-22 01:35:47 +00:00
skeeter
76ba0c8b53 removed trailing ) from delete 2001-01-21 23:20:30 +00:00
skeeter
877985274a allows setting app for anonymous access 2001-01-21 23:18:05 +00:00
skeeter
30db1fa811 initial implementation of ACL class 2001-01-21 21:34:36 +00:00
skeeter
2f10a6cc28 fix for group box in calendar 2001-01-21 14:30:53 +00:00
seek3r
00c39efa78 patch for error when array is returned 2001-01-21 08:22:35 +00:00
skeeter
abf8c3bcd9 implementation of applications class 2001-01-21 01:26:23 +00:00
jengo
31f38a5d8e Fixed a few problems with the result objects 2001-01-19 23:45:37 +00:00
skeeter
1272648985 *** empty log message *** 2001-01-19 13:16:30 +00:00
skeeter
47a938e92a small performance fixes 2001-01-19 13:16:00 +00:00
skeeter
e42fcb0ad8 new applications class - not used 2001-01-19 04:20:37 +00:00
skeeter
fb4c04b950 new applications class - not used 2001-01-19 04:15:58 +00:00
skeeter
5f85de1ccc new applications class - not used 2001-01-19 04:10:45 +00:00
skeeter
010a789b9b changes for locking while reading/saving preferences 2001-01-18 05:14:59 +00:00
seek3r
24de5a9611 now we have two template classes. Developers are free to choose the one they want to use, until the best one rises to the top 2001-01-17 18:43:37 +00:00
seek3r
94ec5b8661 php3 fix 2001-01-17 04:53:14 +00:00
skeeter
12badc6dc1 cleanups - to make it more OO 2001-01-17 02:50:16 +00:00