Commit Graph

2462 Commits

Author SHA1 Message Date
Ralf Becker
b883eca49d new auth_ads class:
- only needs host- and domain-name
- needs NO extra account on the ADS host
- can be used with accounts in SQL or LDAP to auto-create autheticated users
- new param to lowercase the user-names before auto-creating them (to deal with case-insensitve and case-sensitive system)
2005-05-13 15:58:10 +00:00
Cornelius Weiß
632a990cfb added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it. 2005-05-11 18:25:17 +00:00
Régis Leroy
fd9d1b1ceb galaxia workflow bugfix: non interactive activities should not set the user to the actual user, the user having the role on this activity (to make a manual send for example) can be a different one as this actual user is the one having a role on the prev interactive activity 2005-05-11 14:23:23 +00:00
Cornelius Weiß
bd9f34dbd3 bugfix in password migration 2005-05-10 21:14:20 +00:00
Cornelius Weiß
79c9507039 - massive code cleanup
- added md5_hmac auth type
- added support for password migration
2005-05-10 19:00:55 +00:00
Ralf Becker
658e1a78c9 form: empty action uses now PHP_SELF?QUERY_STRING 2005-05-03 14:55:24 +00:00
Ralf Becker
b97d8b5eeb big documentation update 2005-04-25 10:09:10 +00:00
Ralf Becker
d6ba225257 fix for not working pam-auth if magic_quotes_gpc is on, as suggested by Robert Theisen <trobert@redhat.com> on the developer list 2005-04-15 14:46:29 +00:00
Ralf Becker
327c0765ea fixed not working charset conversation in setup 2005-04-15 14:01:15 +00:00
Miles Lott
3cfb82e06d Check for array or object on decrypt/unserialize. Return this even if empty. 2005-04-13 13:03:04 +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
b1b41188ad - added possebility to specify titles for options
- fixed typo in class-var $wz_tooltip_included
- fixed left-alignment of inner div of progressbar
2005-04-12 16:30:16 +00:00
Ralf Becker
a828ba73f3 added missing charset-translation of the cn (common name), thanks to Martin Dalum <martin-AT-cabo.dk> 2005-04-12 09:54:07 +00:00
Ralf Becker
167d7e7288 new param. to supply a join for the select method: eg. ",table2 WHERE x=y" or "LEFT JOIN table2 ON (x=y)" 2005-04-08 18:34:49 +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
bc4501f2e7 added not allways set sync_changedby column, which is required as it is NOTNULL and some code modernisation ;-) 2005-03-30 08:16:31 +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
Régis Leroy
9d9de69793 bugfix: old vars names still there. The ProcessMonitor workflow ui wasn't able to show number of activities per processes. pId->wf_p_id 2005-03-29 13:26:29 +00:00
Régis Leroy
f8b10f7097 Bugfix: user was not setted when forms were launched, this lett multiple users run the same activity on the same instance at the same time. WARNING:: You should recompile all your activities to fix the bug. 2005-03-27 09:03:07 +00:00
Miles Lott
6bcd0f9cfb cleanup formatting 2005-03-25 09:59:48 +00:00
Ralf Becker
4e2bce12e6 modernized code and fixed problem reported on the list: new installs cant create admin-account due to not longer existing phpgw class in the api 2005-03-24 13:15:12 +00:00
Régis Leroy
4610377a66 fixing ->setOwner which were always setting empty owner 2005-03-17 14:36:06 +00:00
Ralf Becker
1a5243c9c4 _check_script_tags function:
1) fixed problems pointed out by gulftech, iframes get now unset too
2) unset variables from _check_script_tags are now found in $GLOBALS['egw_unset_vars'], eg. a posted input-field called content would be found in $GLOBALS['egw_unset_vars']['_POST[content]'] (please not the array is only 1-dimensional!), if it has been unset by check_script_tags
3) speed up the function a bit, by not checking all possible names of the superglobals arrays, if nothing found in $_GET and $_POST
2005-03-15 15:36:44 +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
8529237f82 changed ACL code to use standard get_grants method from the acl-class, the existing coded tried it on it's own and failed if directories were owned by a group 2005-03-07 17:08:54 +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
275b75be1a option to show selected items at the top of the multiselect-checkbox 2005-03-05 15:03:01 +00:00
Ralf Becker
0a104f1063 1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
2) modernized CreateObject
2005-03-04 20:48:05 +00:00
Ralf Becker
69c93b3f2b $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}'] 2005-03-04 15:47:08 +00:00
Ralf Becker
b6883d59e8 1) fixed setup-detection, to allow login into setup again
2) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
3) moved setup-classes from phpgwapi/inc back to setup/inc (they are not used anywhere else, but in setup)
2005-03-04 12:40:28 +00:00
Ralf Becker
887e71e57e 1) fixed lost egw object if register_globals=On: was caused by the identicaly named session-variable used for php4-sessions (now renamed to egw_session)
2) $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}']
2005-03-04 11:33:44 +00:00
Ralf Becker
6b2eb04274 $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}'] 2005-03-04 11:30:00 +00:00
Ralf Becker
49c4775efd seems not to be used (anymore) 2005-03-03 15:20:13 +00:00
Ralf Becker
08bc681ab9 seems not to be used (anymore) 2005-03-03 15:13:30 +00:00
Ralf Becker
8a0ca7a6be seems not to be used (anymore) 2005-03-03 15:02:28 +00:00
Ralf Becker
8052da02bc given the regular "you need to port your header ..." message 2005-03-03 11:01:19 +00:00
Ralf Becker
e82027d0cb changing from
1) $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'],
2) $GLOBALS['phpgw'] to $GLOBALS['egw'],
3) PHPGW_ to EGW_ constants
The phpgw ones ars now a reference to the new egw ones, to allow a soft migration
2005-03-03 10:47:28 +00:00
Ralf Becker
d7f1458d1a new header-template to:
1) correct the displayed page-generation-time for idots and jerry
2) use ob_start to get rid of "Header could not be sent, output started at ..." errors
3) changing from $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'], the phpgw one is now a reference to the new egw one, to allow a soft migration
2005-03-03 10:45:52 +00:00
Ralf Becker
37fa750990 1) corrected fix of wrong comparison with NULL in column_data_implode
2) allow for null in array in column_data_implode
2005-02-28 11:51:10 +00:00
Lars Kneschke
0b846885ee add class to handle history of content inside egw 2005-02-27 23:29:40 +00:00
Lars Kneschke
ffc98ddd1f add 2 function sto handle global UIDs 2005-02-27 23:27:36 +00:00
Ralf Becker
0af62b80b3 fixed wrong comparison with NULL in column_data_implode 2005-02-27 21:27:36 +00:00
Ralf Becker
d9ba5f9ab8 fixed update problem of wiki, RenameColumn could not deal with column-names in mixed case 2005-02-27 19:51:24 +00:00
Ralf Becker
a53e61f903 'vfs_' column-prefix and "new" table-name for egw_vfs
- needed for the oracle support
Also put vfs and vfs_shared in one file
2005-02-26 14:00:02 +00:00
Ralf Becker
9a6b90e78f 1) enabled DB support additionaly for:
- Oracle via oci8 or odbc extension
- MsSql via odbc extension
2) added checks for the neccesary extension incl. loading them if they are not loaded by default: db extensions and session extension. This is now consitent wiht check_install.
3) sessions class tries now to load the php session extension and silently fallbacks to db-sessions
2005-02-25 07:45:37 +00:00
Ralf Becker
feadf8459e implemented a multiselectbox with checkboxes:
- it looks nearly like a multiple selectbox, eg. scrolls for further lines
- it acts in the same way in forms
- it's NOT identical if using it via javascript
2005-02-24 21:01:13 +00:00
Ralf Becker
b313272616 fallback to db sessions if php's session extension is not loadable, atm. you get cryptic errors, bugs in the bugtracker and mails on the list ;-) 2005-02-21 07:57:41 +00:00
Ralf Becker
c0bed5e88e added escaping of onclick for buttons 2005-02-20 21:47:14 +00:00