Commit Graph

319 Commits

Author SHA1 Message Date
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
Ralf Becker
cfdfd365c6 translated app-name about to phpgwapi, seems to fix problem with open-basedir-restrictions 2003-10-12 19:33:32 +00:00
Lars Kneschke
5fb17b08f6 search for app/template specific css.file
put your app specific css in appname/template/default(or templatename)/app.css
2003-10-11 07:58:40 +00:00
shrykedude
8a2a675b37 expanded !$var check to use empty($var) 2003-10-03 02:01:21 +00:00
Lars Kneschke
d26cfa20e9 little tricky error 2003-09-23 14:56:25 +00:00
Pim Snel
bae60c5128 fixed old theme support when css-dir is empty 2003-09-19 08:51:26 +00:00
Lars Kneschke
78c74e5726 ldap fixes again 2003-09-14 08:29:29 +00:00
Lars Kneschke
ea7f4ffde7 ldap improvments 2003-09-14 06:11:52 +00:00
Lars Kneschke
c579775999 again some ldap fixes
and

support for ldap version 3
2003-09-14 06:02:25 +00:00
Ralf Becker
4c93a60578 small fix for formattime 2003-09-03 12:28:46 +00:00
Lars Kneschke
cecef59550 addedd javascript support class 2003-08-30 08:44:51 +00:00
Lars Kneschke
a4ecc1017c formating 2003-08-30 07:15:36 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
6ab850d35c - added update from version 0.9.14.004-6 (security-fixes) and 0.9.14.508 (asyncservice)
- merged asyncservices from .16
2003-07-21 18:20:45 +00:00
ceb
6494d641da update 2003-05-21 23:02:25 +00:00
Ralf Becker
b68857973c added lang-call to display_mainscreen 2003-05-18 19:31:21 +00:00
Ralf Becker
02c9cec298 fixed display_fullname for missing parts of the name
merged kneckes ldap-change too
2003-05-17 20:34:55 +00:00
Ralf Becker
06489ff747 added an other display-type for accounts: Firstname Lastname [lid]
changed < > into [ ]
2003-05-04 15:14:06 +00:00
Ralf Becker
1a01f33308 account-display is now configurable via the prefs:
- Firstname Lastname (default)
- Lastname, Firstname
- username
- <username> Lastname, Firstname
2003-05-03 22:23:50 +00:00
Ralf Becker
3826112059 Fixed get_image_dir and get_image_path to not return the templates imagedir if it only contains the navbar icon (eg. idots or idsociety).
Thats only a fix, better would be if every app uses the image or find_image function.
2003-05-03 10:59:16 +00:00
ceb
996ae97971 update img 2003-04-27 19:27:28 +00:00
ceb
7420f58b18 update img 2003-04-27 14:10:16 +00:00
ceb
79f95f0576 update 2003-04-26 20:52:59 +00:00
ceb
dbca6b1b6b removed charset from tpls since its added by xslt already plus update class.common: add a flag to disable any xslt output 2003-04-24 21:04:22 +00:00
ceb
ded88a0790 update js and css 2003-04-24 01:34:44 +00:00
Ralf Becker
251699f154 gugux lang-update 2003-04-22 22:30:38 +00:00
Ralf Becker
cad7e38029 fixed for login: dont call framework for login 2003-04-21 08:32:53 +00:00
ceb
0d021d3426 it was impossible to login/logout after change of framework call 2003-04-21 00:49:42 +00:00
Ralf Becker
b69defa25b added app_header via $GLOBALS['phpgw_info']['flags']['app_header'] 2003-04-20 20:47:50 +00:00
ceb
cf343ac9d6 update hook_admin 2003-04-20 02:16:22 +00:00
ceb
2dd760281b moved function deisplay_entry from admin to api 2003-04-19 23:17:40 +00:00
Ralf Becker
ec8ba8cab3 added appname to website title (as dave in .16) 2003-03-30 11:04:57 +00:00
Ralf Becker
32f1ed2b83 now admin can enable/disable the preferences as any other app, fix for bug#2967 2003-03-28 16:19:46 +00:00
Ralf Becker
d948f09973 moved generation and translation of app-title into applications-class 2003-03-22 12:29:42 +00:00
Ralf Becker
f9c53875eb Moved list_sessions and total from admin.socurrentsessions into the session-class and implemented them for php4 too.
So admin.socurrentsessions is no longer used and bocurrentsessions as well as the phpgwapi/templates/xxx/navbar.inc.php use the session-class to get the number of loged-in-users.
Aktivated the accesslog f�r php4-sessions too.
2003-03-21 00:47:18 +00:00
ceb
bf0e5e2d90 update 2003-01-04 00:54:55 +00:00
ceb
c5526be9e4 update 2003-01-04 00:12:48 +00:00
ceb
4fa662a569 started updating help system 2002-11-30 02:02:32 +00:00
ceb
ffa00332ce update verdilak layout 2002-11-28 01:38:13 +00:00
ceb
b0f46deaa0 fix in function des_cryptpasswd 2002-11-24 21:53:21 +00:00
ceb
db7be573d7 update pix 2002-11-23 03:45:40 +00:00
ceb
380db5df05 removed lang call from class applications, since this caused an english only environment. app_title gets translated in function navbar or wherever its needed 2002-11-22 02:27:20 +00:00
ceb
e39dc2a3ee update 2002-11-18 22:09:01 +00:00
ceb
df9ee52ebf update 2002-11-18 16:19:56 +00:00
ceb
92d9a97614 moved manual to the top menubar 2002-11-15 23:43:20 +00:00
ceb
1483360a0e update 2002-11-15 22:31:51 +00:00
ceb
c71c14dc96 added funkwerk layout 2002-11-15 05:15:39 +00:00
ceb
48d4f167cc moved justweb to use xslt 2002-11-08 22:42:14 +00:00
ceb
6f6e06b39f removed var from hook_admin 2002-11-03 01:03:07 +00:00
ceb
d537066c83 update xslt 2002-11-02 22:25:14 +00:00
ceb
aa1dc9eb33 update 2002-10-29 23:11:21 +00:00
ceb
27031e5523 added option to enable/disable support for old_style apps, added css class for msgbox, fixed home screen if default_app 2002-10-29 22:15:32 +00:00
ceb
9d9a6e5b35 update 2002-10-28 04:50:43 +00:00
ceb
6d142e0c7c removed app_title plus update default layout to use xslt 2002-10-26 22:39:19 +00:00
ceb
4465aa63e6 update xslt 2002-10-26 20:33:04 +00:00
ceb
b4e4be334b update xslt 2002-10-26 00:33:22 +00:00
ceb
b9f2dba2b3 update xslt 2002-10-25 22:34:04 +00:00