Commit Graph

6464 Commits

Author SHA1 Message Date
Andreas Stöckel
df06f6657c Now always including egw and etemplate2 javascript code if we are in the top window 2012-03-08 14:05:00 +00:00
Andreas Stöckel
60a2fd9855 Added calendar module for the client side api, roughly working, needs some further work (currently not shown as popup but at the bottom of the page, months etc. are displayed as 'undefined', year number is screwed up) 2012-03-08 11:29:46 +00:00
Ralf Becker
ea079a6803 fixing wiki rate code / mixed case column names for PostgreSQL 2012-03-08 06:20:21 +00:00
Ralf Becker
ebe229e885 always quote for postgreSQL, as this is the only way to support mixed case names 2012-03-07 21:33:59 +00:00
Andreas Stöckel
292f18bc1a Window dependant api modules do now get reinstanciated, if the window location changes 2012-03-07 15:20:04 +00:00
Andreas Stöckel
c8bf9ed6ef Fixed design problem in egw_core, which caused window-local modules to be instanciated multiple times if used for multiple applications inside a window. Added egw_css.js as replacement for et2_core_stylesheet.js, which allows to add stylesheet rules at runtime 2012-03-07 14:04:25 +00:00
Ralf Becker
000b74bded framework->isTop($consider_navbar_not_yet_called_as_true=true): true if we are rendering the top-level EGroupware window 2012-03-07 08:45:57 +00:00
Andreas Stöckel
d996537c35 Improved error message for exception in JSON plugins 2012-03-06 15:25:27 +00:00
Andreas Stöckel
049cbd88dc Now using the etemplate code from the root instance (etemplate2.js acts as a egw api plugin); fixed egw.json plugins; fixed problem with 'instanceof Object', which does not work when sharing code over multiple windows 2012-03-06 13:22:01 +00:00
Ralf Becker
261f807c46 fixed download of log, in case output buffering could not be switched off (got into endless loop) 2012-03-06 13:06:35 +00:00
Ralf Becker
4a88a9558c egw_json plugin "html" replacing document content with send html 2012-03-06 09:50:43 +00:00
Andreas Stöckel
130dc87e83 Concatenated dhtmlxmenu.js and dhtmlxmenu_ext.js to one file, to stop the message 'dhtmlxmenu_ext.js required' 2012-03-06 09:35:54 +00:00
Ralf Becker
1fef159630 send direct output of json / etemplate callback back to client via addGeneric('output',...) or alert, in case there's already some JSON response, make sure content-type header is only send once 2012-03-06 07:32:51 +00:00
Andreas Stöckel
5f3b572cc9 Changed hash function for egw api instances 2012-03-05 16:05:48 +00:00
Andreas Stöckel
1bc16c1b8e Finished egw json api 2012-03-05 15:02:00 +00:00
Andreas Stöckel
d310b14ecf Client side API now supports modules which are instanciated per application or per window; removed et2_debug function from et2_core_common, now using corresponding API function. 2012-03-05 13:07:38 +00:00
Ralf Becker
f676a23821 fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php) 2012-03-04 13:33:10 +00:00
Ralf Becker
bd273c1b45 fixed typo in setting date- and time-format in egw_time::check_set_tz_offset(), causing eg. importexport to fail, if async job before had no account or account had different format 2012-03-02 09:53:41 +00:00
Andreas Stöckel
04db17f9e5 Fixed hypothetical problem with certain entries not being updated properly on app instances of egw 2012-03-02 09:02:36 +00:00
Ralf Becker
1c386e2d6b new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences 2012-03-01 18:03:13 +00:00
Andreas Stöckel
3fdf5fdfd0 Removed unneeded egw_app.js 2012-03-01 16:25:32 +00:00
Andreas Stöckel
1876a5faa1 Splitted the egw object into multiple files, added system for allowing a application specific client-side api (use 'egw' as a function) 2012-03-01 16:24:29 +00:00
Ralf Becker
b2a6e59b09 allow to specify a port with tls too: "tls://host[:port]/" or "ldaps://host[:port]/" or "ldap://host[:port]/" or just "host" 2012-03-01 13:08:58 +00:00
Andreas Stöckel
90379afe16 Updated jQuery to version 1.7.1 2012-03-01 12:43:06 +00:00
Ralf Becker
2175421d42 added "custom" (custom instance-specific translations) to apps which have to use home as app-name, also moved sanitrary checks before header-include 2012-03-01 09:30:49 +00:00
Ralf Becker
706fd46d5a add own agent for dmfs.org, to not recognice it as dataaccessd/iOS 2012-02-29 16:24:49 +00:00
Ralf Becker
12f34cd307 fixed SQL error under PostgreSQL with new filesystem check 2012-02-29 13:47:52 +00:00
Ralf Becker
2553ad1bcc some fixes for sqlfs fsck: caseinsensitive GROUP BY for MySQL, deleting files direct in DB, as self::unlink() fails if fs_active=0, and some more 2012-02-27 14:33:42 +00:00
Ralf Becker
fd19c672c8 * Filemanager/Admin: ability to check virtual filesystem (Admin >> Check virtual filesystem) and some code to prefent double creation of directories 2012-02-27 13:18:52 +00:00
Ralf Becker
d7a7d105fa * Admin/Setup: fixed custom translations got lost during update 2012-02-27 08:02:28 +00:00
Ralf Becker
2bc821f428 use groupdav->log() for all permanent error-messages, to log the into request-log too, if both If-Match and If-Schdule-Tag-Match given use If-Match for organiser/owner and If-Schedule-Tag-Match for attendees/participants 2012-02-21 20:04:45 +00:00
Ralf Becker
c70a93e7c1 * CalDAV/CardDAV/GroupDAV: as all clients dislike not getting an ETag for a PUT, we sending it again even not storing byte-by-byte 2012-02-20 11:33:43 +00:00
Ralf Becker
baf8999392 log request in case of exceptions too by installing a custom exeception handler 2012-02-20 09:06:24 +00:00
Ralf Becker
e97b390573 improved working in CalDAV/CardDAV prefs 2012-02-19 12:39:04 +00:00
Ralf Becker
dea5bfef24 add empty line in log between request body and response 2012-02-18 10:49:24 +00:00
Ralf Becker
51982be2de refining translations for CalDAV/CardDAV logging 2012-02-17 14:01:21 +00:00
Ralf Becker
164b0c73b7 logging whole requests, to be able to lock the log-file, as some clients (eg. SOGO) use multiple threads to request resources, which messes up the log otherwise 2012-02-17 09:14:33 +00:00
Ralf Becker
f0fef47688 fixed PHP Warning, if log-dir is not yet created 2012-02-17 08:13:50 +00:00
Ralf Becker
9a3ef9f726 * CalDAV/CardDAV: continous display (like tail -f) of logs inside EGroupware 2012-02-16 16:37:10 +00:00
Ralf Becker
9dd3b99353 * CalDAV/CardDAV: continous display (like tail -f) of logs inside EGroupware 2012-02-16 16:35:58 +00:00
Ralf Becker
9d704a7c0d ignore exception while sending notification to admin (eg. SMTP error), to block the account and give a correct error-message to user 2012-02-16 14:35:42 +00:00
Ralf Becker
82f2c91005 Ajax log file viewer (tail -f) 2012-02-15 21:32:45 +00:00
Ralf Becker
2939d7bbf3 propagate data from settings hook to handlers, to fix failed installs because setup was not detected 2012-02-14 17:38:45 +00:00
Ralf Becker
2ba0b31c43 added basic update of own cache, to work around failed sitemgr install via setup (cant read just added categories) 2012-02-14 17:36:35 +00:00
Ralf Becker
56f286e877 using instance-wide cache for categories, so updates from other sessions are immediatly available and sessions get smaller 2012-02-10 20:14:44 +00:00
Ralf Becker
eef250747f necessary update for distributions lists as groups in CardDAV, fixes SQL errors "unknows column list_...." 2012-02-10 10:09:18 +00:00
Ralf Becker
7a6959ca3f many bugfixes around distribution-lists/groups and some code restructuring 2012-02-09 20:09:49 +00:00
Ralf Becker
aef04880e9 * CalDAV: allow to create private events on OS X iCal, fixing DAV header for new shared folders 2012-02-07 20:19:16 +00:00
Ralf Becker
fe0b914acc as SOGO Connector requires ETag header to recognice as successful PUT, we are sending them again for it 2012-02-07 17:10:52 +00:00
Ralf Becker
5b81fca2f1 Hide Size in autoindex and move Displayname to first column after name 2012-02-07 12:47:49 +00:00