Commit Graph

275 Commits

Author SHA1 Message Date
Ralf Becker
2c87623e9b renamed ldap::ldapAddslashes to ldap::quote, like in db::quote or preg_quote 2006-06-13 04:22:24 +00:00
Ralf Becker
29f83cba19 calling now Lars new class to open ldap connections, so we detect ldap version 3 now automatic (no more config option necessary) 2006-06-07 22:59:42 +00:00
Ralf Becker
515a22be1a function to create email addresses after a configurable policy 2006-04-16 12:25:11 +00:00
Ralf Becker
a9988cc72a fixed wrong referer if url contains webserver_url more then once, eg. "http://egroupware.org/egroupware/index.php" and "/egroupware" 2006-04-05 14:55:57 +00:00
Ralf Becker
23ea4159ef documentation update and extra param to show_date, to disable time-zone-conversation 2006-03-03 09:32:47 +00:00
Ralf Becker
cde95cd926 fixed bug in common::get_referer, which gives a warning and wrong result if eGW is installed in the docroot 2005-11-21 08:21:11 +00:00
Ralf Becker
1b17b82ca8 phpgw_nextid --> egw_nextid 2005-11-13 10:13:16 +00:00
Ralf Becker
3bae8c3a00 fix for referer under etemplate 2005-11-11 23:06:34 +00:00
Ralf Becker
515b8c0630 hopefully now all possebilities to construct an eGW URL are covered 2005-11-09 13:27:49 +00:00
Ralf Becker
988b7c1bc5 new method common::get_referer(), to get an eGW conformat referer from $_SERVER['HTTP_REFERER'], suitable for direct use in the link function 2005-11-09 12:45:48 +00:00
Ralf Becker
335cef9104 display_fullname and get_account_name replace now an empty firstname with the lid and an empty lastname with group or user 2005-11-02 20:43:04 +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
1784637cff Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 14:14:01 +00:00
zhangweiwu
0ec0bc7654 add a bit of phpdoc explanation. 2005-10-11 02:00:23 +00:00
Lars Kneschke
e2f6eb9b06 always include some common javascript functions 2005-08-28 20:31:36 +00:00
Carsten Wolff
d61920a22b fix the handling of charsets in the contacts_ldap class and provide admins with a script, that helps to fix old, corrupted eGW-LDAP-addressbooks. For a description of why and when this is necessary, please read the header of the fix-ldap-charset-for-egw1.1.pl script. This should appear in the release-notes for eGW 1.1. 2005-08-13 21:01:14 +00:00
Ralf Becker
ef7bff339e commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:12:21 +00:00
Ralf Becker
b495b33d0a commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00
Ralf Becker
f99f2ef4e8 1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Pim Snel
014aa6ca67 only show template set that contain a setup.inc.php 2005-06-29 21:06:52 +00:00
Lars Kneschke
b3ecd8456d generate a smaller guid 2005-06-20 11:14:40 +00:00
viniciuscb
0a28f3812e Some changes:
- Inclusion of the following javascript directories:
  * Connector: javascript object to interface xmlhttprequest object. This object allows
      asynchronous posts and support for messages while this post is being done, such as
      "wait, contacting server", etc.
  * JsAPI: general javascript functions and methods
  * jsolait: performs conversion from a xmlrpc message to a javascript object
  * xmlRpcMsgCreator: performs conversion from a javascript object to a xmlrpc message
  * dynapi: cross-browser class to draw layers

- Update in setup version: now is 1.0.1.008; Update your versions. There was made a
  change in phpgw_vfs2_files table in handling of modified files.

- Upgrade of vfs2 classes and PclZip class

- Changes in javascript object and common object to allow the javascript backend to
  applications to work (now just filescenter will use it...)
2005-06-18 20:43:14 +00:00
Pim Snel
1d68ccb070 replace hardcoded links to home.php with links to home/index.php 2005-06-15 11:16:27 +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
Lars Kneschke
ffc98ddd1f add 2 function sto handle global UIDs 2005-02-27 23:27:36 +00:00
mgalgoci
18221503b6 - re-write display_fullname to be more readable and suck much less
- add support for Lastname, Firstname username account views
2004-08-26 18:47:29 +00:00
alpeb
0a566e4635 Added translation of 'Logout' 2004-08-09 21:18:35 +00:00
reinerj
febeab4d8d replace the crap 2004-08-09 13:46:03 +00:00
Ralf Becker
ce2045bae1 fix for bug [ 1002325 ] Manual error:
if session.use_trans_sid was enabled, we created a wrong link for the manual
2004-08-07 13:15:06 +00:00
Ralf Becker
0d5a7357ec workaround for IE prob, it does not set a HTTP_REFERER if a link gets opened in a popup window, which is needed by manual to determine context-sensitive which page to show 2004-06-30 10:40:48 +00:00
Ralf Becker
dc2d527ba4 add a content-type header to overwrite an existing default charset in apache (AddDefaultCharset directiv) 2004-06-10 07:13:37 +00:00
Carsten Wolff
bc140271bc added escape-function for ldap-queries - will be used by contacts soon 2004-05-12 09:55:30 +00:00
Ralf Becker
5631d6a830 implemented caching in the session, thought its only activated for LDAP atm. 2004-05-05 13:49:32 +00:00
Ralf Becker
7aae6434e5 posibility to pass arguments to the links of the icons in the navbar: used atm. to set a specific manual page, if the automatic generation of the page-name is not sufficent, eg.
$GLOBALS[phpgw_info][flags][params][manual] = array('page' => 'ManualInfologAdd');
2004-04-13 15:53:25 +00:00
Ralf Becker
066722cb9b implemented enble == 4 type apps - opened in a popup window - for the manual 2004-04-13 08:18:06 +00:00
Ralf Becker
b495aa7a0f implemented enble == 4 type apps - opened in a popup window - for the manual 2004-04-13 07:54:25 +00:00
alpeb
894ed06c06 priority between gif and png first search in chosen template dir 2004-02-13 15:09:22 +00:00
alpeb
56309597dd priority between gif and png as set in config is now working 2004-02-13 01:25:30 +00:00
Pim Snel
e9ff05661c update and fix htmlarea when having more then on textbox in a form 2004-01-29 13:36:38 +00:00
Miles Lott
d456632ae3 Fix failure to select sql mode for password encryption; 2004-01-29 03:28:00 +00:00
Miles Lott
300badbfec Cleanup other cases of PHP_OS testing for WINNT 2004-01-28 13:34:47 +00:00
reinerj
75df9443b0 bugfix from David Desquiens for WIN problem 2004-01-28 00:46:30 +00:00
Miles Lott
d26eacbeea move check for auth object 2004-01-26 03:22:15 +00:00
Miles Lott
cae90732c6 Add check in ldapConnect() for presence of ldap_functions per bug# 880672 2004-01-21 13:55:22 +00:00
Miles Lott
77fd8f4882 Move password functions to auth class; Add support for new encryption types in setup
and implement password checking and creation for these new types
2004-01-18 21:12:53 +00:00
Ralf Becker
a4d5d57722 fix for find_image to use the aktive template set 2004-01-08 09:04:58 +00:00
Miles Lott
0f85f3763f Modified md5_cryptpasswd() function to create {md5}xxx style password;
Add actual function to deal with sha passwords, and added ability for use of ssha;
2003-12-28 17:27:34 +00:00
Miles Lott
0e9e0c2da2 formatting, ereg_ replaced, remove rude comments 2003-12-20 18:41:42 +00:00
Ralf Becker
2aa000eac8 fixed fallback to images in the api-dir, did not work if no api-image was used before 2003-12-18 06:11:08 +00:00
Miles Lott
86a9b91004 intval() -> (int) 2003-12-10 11:35:22 +00:00