Commit Graph

13866 Commits

Author SHA1 Message Date
Ralf Becker
7f976bd883 "fix for newly introduced bug reported on the lists:
Fatal error: Class 'notifications' not found in
  /home/domain/public_html/egw/etemplate/inc/class.bo_tracking.inc.php
--> reverts an older commit fixing a problem between the (depracated and no longer working) browser app and the browser class in the API"
2009-04-29 09:50:25 +00:00
Ralf Becker
b9f7a44f57 fix for bug #2060 - Passive Security bug: InformationLeakage 2009-04-29 06:27:54 +00:00
Ralf Becker
af286333bf allow "settings" hook to return the settings, instead of passing it via a global variable (depricated now) 2009-04-29 06:26:58 +00:00
Ralf Becker
b72236a663 allow "settings" hook to return the settings, instead of passing it via a global variable (depricated now) 2009-04-29 06:26:04 +00:00
Ralf Becker
5e571b6f02 removed empty translation file 2009-04-29 06:24:43 +00:00
Ralf Becker
1b5bd9a1fb "explicit require bofelamimail, 'til it get a autoloading conform name" 2009-04-28 20:24:05 +00:00
Ralf Becker
a1c7c87195 "- removed unneeded stripslashes while reading the configuration, as it \"eats\" the backslashed of windows pathes (eg. messes up the default cache path)
- replaced depricated fetchSingle() with fetchColumn()"
2009-04-28 19:32:29 +00:00
Ralf Becker
e50f35cbad "- error_reporting E_ALL
- fixed handling of session_save_path() returning nothing (was stalling the PEAR check AND failing)
- removed not longer necessary constants (defined now in common_functions.inc.php)"
2009-04-28 19:25:35 +00:00
Ralf Becker
eec6596e94 "__autoload()
- fix for error_reporting E_ALL
- disabling search over all apps: classes should either conform to new naming schema or use explicit includes"
2009-04-28 16:18:34 +00:00
Ralf Becker
1c9c65278b "forward for not existing or empty header to setup" 2009-04-28 16:06:18 +00:00
Ralf Becker
d268d6d816 Using static translation methods 2009-04-28 16:05:04 +00:00
Ralf Becker
d5ee989859 "- caching loginscreen+mainscreen messages instance (NOT tree) specific
- invalidating the cache also for translation::write (to be able to update the loginscreen message)"
2009-04-28 15:56:04 +00:00
Ralf Becker
ee45dc8567 "fixed one byte to long key-size" 2009-04-28 15:36:51 +00:00
Ralf Becker
7224022772 "fixed not working cache unset on instance level, if called within setup:
this causes new installed languages to NOT appear"
2009-04-28 13:27:18 +00:00
Ralf Becker
b31aa4ae62 need to include API's common_functions to use check_load_extension 2009-04-28 12:48:27 +00:00
Ralf Becker
96f5529abf "log failed login because of hook 'session_creation' with account_id, to not block the account in that case" 2009-04-28 10:39:57 +00:00
Ralf Becker
e8577f10a7 "removed not used query variable" 2009-04-28 10:09:26 +00:00
Ralf Becker
6f556a23df "remove trailing slash, eg. from webdav" 2009-04-27 13:08:42 +00:00
Klaus Leithoff
bd3e6ca818 fixing check_default, setting info_percent to 100, when status is done or billed 2009-04-27 12:54:40 +00:00
Ralf Becker
a8bf31c274 "fixed handling of query parts in dirname and basename" 2009-04-27 11:49:50 +00:00
Ralf Becker
b52d29b7a7 New access log (created during an eGroupware application development
workshop at Stylite GmbH for new developers)
2009-04-27 10:31:23 +00:00
Ralf Becker
3121bb1106 newest version from openSUSE build service 2009-04-26 05:55:31 +00:00
Ralf Becker
94ddea7b21 changed "php_value mbstring.func_overload X" to "php_admin_value mbstring.func_overload X" for php5.2.9 2009-04-26 05:51:26 +00:00
Ralf Becker
10c390a654 "allow 'test' in template name for application == 'test'" 2009-04-25 06:56:42 +00:00
Nathan Gray
e2b6cdc800 Clearer translation for the prompt "do you want to edit serialevent als exception?" 2009-04-24 21:33:47 +00:00
Ralf Becker
bda5c07cb1 "fixed translation of Portugal" 2009-04-24 16:12:41 +00:00
Klaus Leithoff
c5ba464ffa Handling completion via fastlink action button better by offering close and close_all buttons.
Preventing setting the status to done if that status does not exist for the given infolog type.
Listview (offering the fastlink action button for closing):
Regarding an infolog as done if it is cancelled.
Regarding an infolog as done if the stati done/billed/cancelled do not exist for that type, but the percentage is 100
2009-04-23 14:47:26 +00:00
Ralf Becker
e003dfd82a "fixed an other accounts_ldap problem: too many entries returned on 2. and further pages" 2009-04-23 11:49:44 +00:00
Ralf Becker
9aed38299f "fixed fatal error: creating custom fields delete application config:
caused by a missing config::read_repository() before calling config::save_repository(), which then only stores the custom fields, but not the rest of the config"
2009-04-23 11:18:51 +00:00
Ralf Becker
4245df1f29 "only check callback, if defined" 2009-04-23 09:48:03 +00:00
Ralf Becker
94190a81f7 "also cache the languages" 2009-04-23 09:47:22 +00:00
Ralf Becker
affce3e5bc update to work with "new" translation class: class constants and static calls 2009-04-23 08:38:20 +00:00
Ralf Becker
defe88e0cf "fixed not / only partialy working lettersearch in Admin >> Manage groups" 2009-04-23 06:24:58 +00:00
Ralf Becker
d4f228cdfb "handling if user clicks on a link in filemanager
- reset lettersearch as it confuses users (they think the dir is empty)
- switch recusive display off
"
2009-04-23 06:05:48 +00:00
Ralf Becker
561f5e5aac needed for check_load_extension (session-handler gets included before regular include via the header.inc.php) 2009-04-22 10:35:31 +00:00
Ralf Becker
660ab41661 "- egw_vfs::check_access() using resolved symlink to call check_extended_acl on backend
- mime_magic"
2009-04-22 10:02:18 +00:00
Ralf Becker
e6762bf009 "fixed last commit r26803 \"allow to specify app in image name\":
thumbnails or other direct url's as image in buttons were no longer displayed"
2009-04-22 05:52:07 +00:00
Ralf Becker
86b126ef3a "quietent \"Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal
character encoding\" reported on the devel list"
2009-04-22 04:33:12 +00:00
Ralf Becker
a45c874f72 "added explicit init(false) calls for methods called by setup (they dont call init() as eGW does)" 2009-04-21 13:26:40 +00:00
Ralf Becker
3da8703202 "fix for bug #2049: PHP Extention error since last SVC update..." 2009-04-21 05:20:04 +00:00
Ralf Becker
9e3c1df37a "bugfixes for sidebox menu under prefs or admin:
- do NOT process the $_REQUEST vars
- if user changes selectboxes, go to default calendar view"
2009-04-20 15:44:24 +00:00
Ralf Becker
2d438c6dc5 Caching provider for memcached using PHP's memcache extension 2009-04-20 14:33:31 +00:00
Klaus Leithoff
8a144dec62 handling unset/uninitalized selectcols 2009-04-20 14:06:13 +00:00
Ralf Becker
aca05a32e3 using new check_load_extension function 2009-04-20 12:43:44 +00:00
Ralf Becker
bf036043b2 - making all methods of translation class static
- caching the phrases in new egw_cache on Tree level
--> a good speed improvment on my devel system
- also added a global function
check_load_extension($extension,$throw=false)
2009-04-20 11:59:39 +00:00
Ralf Becker
fd9856ebf5 Class to manage caching in eGroupware:
It allows to cache on 4 levels:
a) tree:     for all instances/domains runining on a certain source path
b) instance: for all sessions on a given instance
c) session:  for all requests of a session, same as egw_session::appsession()
d) request:  just for this request (same as using a static variable)

There's a get, a set and a unset method for each level: eg. getTree()
or setInstance(), as well as a variant allowing to specify the level as first
parameter: eg. unsetCache()

getXXX($app,$location,$callback=null,array $callback_params,$expiration=0)
has three optional parameters allowing to specify:
3. a callback if requested data is not yes stored. In that case the
   callback is called and it's value is stored in the cache AND retured
4. parameters to pass to the callback as array, see call_user_func_array
5. an expiration time in seconds to specify how long data should be cached,
   default 0 means infinit (this time is not garantied and not
   supported for all levels!)

Data is stored under an application name and a location, like
egw_session::appsession().
In fact data stored at cache level egw_cache::SESSION, is stored in
the same way as egw_session::appsession() so both methods can be used
with each other.

The $app parameter should be either the app or the class name, which
both are unique.

The tree and instance wide cache uses a certain provider class, to
store the data eg. in memcached or if there's nothing else configured
in the filesystem (eGW's temp_dir).
2009-04-20 11:50:45 +00:00
Ralf Becker
619bad7b28 some new and some nicer ;-) mime type icons 2009-04-19 08:07:23 +00:00
Ralf Becker
7ae9317be1 "fixed not working stream_open() $mode == 'rb', was requiring write rights as != 'r'" 2009-04-19 07:30:26 +00:00
Ralf Becker
8a014ce016 "imediatly closing the sesson, as there's no need to keep it open (and preventing parallel calls)" 2009-04-19 07:22:00 +00:00
Ralf Becker
107d5dbbe9 "added somehow missing png type, preventing thumbnails being displayed for png images" 2009-04-19 07:20:22 +00:00