Commit Graph

87 Commits

Author SHA1 Message Date
Ralf Becker
43ae18fb7a finding the db-object from setup too 2005-11-24 20:48:31 +00:00
Ralf Becker
d8932b3ad3 calling invalidate_session_cache only if it exists (setup does not have/need it) 2005-11-24 20:08:09 +00:00
Cornelius Weiß
a52d78d66b fixed typo 2005-11-10 21:36:51 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
b82ac2c4d6 added function to invalidate the session-cache if:
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:05:01 +00:00
Ralf Becker
93c063bd6c - applied patch from cornelius Weiss: fixes some probs with xmlrpc too
- small documentation update
2005-04-13 08:53:42 +00:00
Ralf Becker
2c300e8cd7 fixed bug of not removable apps in the user management 2005-03-30 14:42:32 +00:00
Ralf Becker
404ebd1a5a new function to get all locations for a given app and user 2005-03-29 15:30:08 +00:00
Ralf Becker
7288defaaf the default value for $accountid has to be '', as get_account_id returns all integer (0 too) unchanged 2005-03-12 17:55:48 +00:00
Ralf Becker
12e4740941 rewrote AND documented the ACL class with new DB functions to fix the problems pointed out by GulfTech
I backported them to 1.0.0 too, but will give it a view days testing on my server and egroupware.org, before I commit them
2005-03-12 16:30:25 +00:00
Ralf Becker
9c091abd5b upps 2005-03-07 17:06:01 +00:00
Ralf Becker
436a5635d2 1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
2) rewrote some methods with new db-functions
3) add possibility to delete an app/location for all accounts
4) fixed get_location_list_for_id() method (it was not returning all locations)
2005-03-07 16:59:32 +00:00
Ralf Becker
021b1314c7 fix for php5 2005-02-12 14:37:25 +00:00
Ralf Becker
bb4c9f46d4 also deleting the memberships of a group 2004-08-21 16:17:04 +00:00
Ralf Becker
6b8f6a3d87 removing all it's acl-rights if an account gets deleted, admin only removed the run-rights, but not the grants or other rights 2004-08-07 12:46:58 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Miles Lott
4f612cbbde intval -> (int), replace gettype() and ereg_replace() where possible 2003-12-14 17:07:16 +00:00
Miles Lott
fb3eb50ef8 Close potential security hole for xmlrpc/soap calls 2003-10-18 11:15:48 +00:00
Ralf Becker
7b409a410d some sql-insertion protection 2003-10-08 00:00:55 +00:00
Lars Kneschke
d1ffe11af9 fix for creating valid sql 2003-09-21 19:43:29 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
e51acc6ad8 fixed bug, account_id param in constructor was not used
merged jengos changes from .16 too
2003-05-17 20:26:49 +00:00
Miles Lott
7143511e21 i sure do like formatting code 2001-12-11 01:14:43 +00:00
skeeter
9165bf5f60 Fix for group accessing calendar events. A few places I removed some extraneous code. 2001-11-29 03:12:01 +00:00
seek3r
0a673cbfaf allows to look in other apps files 2001-11-12 18:01:42 +00:00
skeeter
26fbf18c3f Small change to only allow read perms for a group, when viewing calendar events. 2001-10-23 11:10:31 +00:00
skeeter
b1d090de44 This now adds the ability to view an entire groups calendar events. 2001-10-23 10:58:53 +00:00
skeeter
bbb50109c0 More fixes for php3 support. 2001-09-07 19:18:03 +00:00
skeeter
4976ec2f54 Fixes for the caching of account_id's. 2001-09-04 03:15:03 +00:00
skeeter
d2a5441ed8 Now using GLOBALS. 2001-09-01 23:42:16 +00:00
Miles Lott
8c570fcb19 php3 fix, rename accounts->memberships() to accounts->membership() to avoid conflict with class var 2001-08-04 14:26:10 +00:00
seek3r
3d005e094e too tired to think, so dev stopped here for the night 2001-07-13 08:37:56 +00:00
skeeter
dde10d310a Fixes proposed by ralfbecker on the ACL. 2001-06-30 14:55:46 +00:00
skeeter
36ee6b1dc2 fix for bug #435349. 2001-06-23 02:00:12 +00:00
skeeter
4546f7aaa1 Applying a patch from ralfbecker. This gives the admin the ability to grant ACL rights at the group level. 2001-06-18 03:03:48 +00:00
skeeter
dbb58d801c Fixed a problem where the type was trying to be changed from Boolean to String. Shouldn't work in php3. 2001-06-07 12:10:15 +00:00
seek3r
4b1390eb0f had to make several changes and cleanups for php3 compatibility 2001-05-31 10:11:18 +00:00
skeeter
dc7578a39a Various cleanups. Trying to remove some warnings when generating php errors to a file. 2001-05-14 03:54:40 +00:00
Miles Lott
637b1c04b5 Formatting 2001-05-02 12:28:10 +00:00
skeeter
730d467703 Changed it for an initial instantiation 2001-03-21 05:09:14 +00:00
skeeter
e18b447599 Setting default values if nothing passed. 2001-03-21 04:41:20 +00:00
skeeter
111a3f1e2f removed extraneous parameter 2001-03-20 04:46:40 +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
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
themaniac
2b4a766474 beginnings of inline documentaion 2001-03-13 04:27:22 +00:00