Commit Graph

2476 Commits

Author SHA1 Message Date
Ralf Becker
fd5576e3ee - phpgw --> egw
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00
Ralf Becker
a3fb79a6a4 fixing the fix ;-) now it's working in php4 + 5 2005-05-30 14:18:23 +00:00
Lars Kneschke
402d3b60e8 little type 2005-05-29 11:23:51 +00:00
Pim Snel
d9ec1f87e2 Initial addition of the savant2 template engine and the egw-wrapper class.tplsavant2.inc.php Enjoy ;) 2005-05-26 19:38:09 +00:00
petere78
c9e47a1f28 Fix broken PAM authentication 2005-05-24 13:00:13 +00:00
Ralf Becker
f2a058fccf modernized asyncservice class and renamed phpgw_async to egw_async 2005-05-23 18:57:58 +00:00
Ralf Becker
8f2420541a fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected 2005-05-20 17:00:12 +00:00
Ralf Becker
5d763bd11e corrected a "funny" php5 behavior 2005-05-20 11:24:54 +00:00
Ralf Becker
f34b93e6ae implemented the possebility to specify the HTMLarea width and height via it's config (default is via the dimensions of the textarea). Needed if the HTMLarea is in a not displayed tab (style="display: none"). 2005-05-19 13:22:44 +00:00
Régis Leroy
c14db352f2 add a rule 7) in activities verifications. Start activities must be autorouted and interactive. Just to alert user what he is doing can't work actually. 2005-05-17 21:42:30 +00:00
viniciuscb
729b5d3d7a VFS SQL2 classes 2005-05-17 14:48:20 +00:00
Régis Leroy
5e51a5d913 Forbidden access to activities assigned to other users or already gone, the engine was too much relying on client datas. Warning the engine compile pre-activity code is changed, you need to recompile all interactive activities. 2005-05-15 18:25:51 +00:00
Régis Leroy
2990191359 thanks to neomagic: syntax fix, still the same old renamed fields error. Actually not very used function, no immediate effect 2005-05-14 21:12:20 +00:00
Ralf Becker
a9e8ee4e1c some fixes:
- using string 'not set' for a not set lastname, as LDAP allows no accounts without lastname.
- addaccount hook was not called if account was auto-created at login-time (as the apps array is not yet read). Atm. app-names with hooks need to be listed here. I just added felamimail, which need to create mailboxes for new users
2005-05-13 16:02:37 +00:00
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