Commit Graph

4682 Commits

Author SHA1 Message Date
Ralf Becker
82417edbe9 fix to get menuaction proxys (eg. used when creating a link) working again 2012-03-26 11:15:00 +00:00
Ralf Becker
a6fe9b04bc fix to get menuaction proxys (eg. used when creating a link) working again 2012-03-26 11:12:41 +00:00
Ralf Becker
a4727231c5 allow dash in app-name like in "sitemgr-site" 2012-03-26 08:05:11 +00:00
Ralf Becker
43b81be2ff allow dash in app-name like in "sitemgr-site" 2012-03-26 08:03:11 +00:00
Ralf Becker
5e7638194d Upps, forgot argument 2012-03-26 07:24:21 +00:00
Ralf Becker
650da27fac Upps, forgot argument 2012-03-26 07:23:52 +00:00
Ralf Becker
ea91eaa9ba propper encoding of exception messages, checking of $_GET[menuaction] and $GLOBALS[egw_info][flags][currentapp] 2012-03-26 07:18:29 +00:00
Ralf Becker
ef9734c402 propper encoding of exception messages, checking of $_GET[menuaction] and $GLOBALS[egw_info][flags][currentapp] 2012-03-26 07:18:00 +00:00
Andreas Stöckel
c525cadcdb Reverted accidently made commit for class.egw_framework.inc.php 2012-03-23 13:43:20 +00:00
Andreas Stöckel
eadeb57f28 Fixed problem with registered data callbacks, when the window the callback belongs to is closed 2012-03-23 13:39:27 +00:00
Ralf Becker
9f6ffba9f0 keeping only info about the connected ldap server, fixes problems with changed ldap host after fallback to other server 2012-03-23 11:27:24 +00:00
Ralf Becker
8bd0e2865d keeping only info about the connected ldap server, fixes problems with changed ldap host after fallback to other server 2012-03-23 11:26:58 +00:00
Ralf Becker
e52efa0ed6 only transfer link-registry for apps user has access too, otherwise mime-registry would open eg. iCal files in calender, even if user has no calendar access 2012-03-22 13:04:58 +00:00
Ralf Becker
d3cd7ea65b only transfer link-registry for apps user has access too, otherwise mime-registry would open eg. iCal files in calender, even if user has no calendar access 2012-03-22 12:59:34 +00:00
Ralf Becker
b9335d6cfb only return mime-information of apps the user has access to 2012-03-22 12:44:18 +00:00
Ralf Becker
d8c9a194da only return mime-information of apps the user has access to 2012-03-22 12:43:47 +00:00
Ralf Becker
b5adc21ff6 register filemanager as handler for directory mime-type "httpd/unix-directory" (register hooks!) 2012-03-21 10:28:48 +00:00
Ralf Becker
3141cf1c54 * API: fix account-selection-method "selectbox" containing selected account double (eg. in Admin >> Manage groups) 2012-03-21 09:24:30 +00:00
Ralf Becker
f62b4784a0 * API: fix account-selection-method "selectbox" containing selected account double (eg. in Admin >> Manage groups) 2012-03-21 09:24:04 +00:00
Klaus Leithoff
f5fdf4b1d3 add onbeforeunload as action 2012-03-21 08:26:41 +00:00
Klaus Leithoff
3abeb7c464 add onbeforeunload as action 2012-03-21 08:25:17 +00:00
Ralf Becker
0f181dc42e * LDAP: if multiple hosts given, try them all for first working one and store choice in session to start new trial only if working one fails 2012-03-21 07:56:30 +00:00
Ralf Becker
61474e73c4 * LDAP: if multiple hosts given, try them all for first working one and store choice in session to start new trial only if working one fails 2012-03-21 07:55:51 +00:00
Ralf Becker
c7b52a8928 remove not necessary mime_(type|size|name) 2012-03-20 16:02:00 +00:00
Ralf Becker
200cad46a8 remove not necessary mime_(type|size|name) 2012-03-20 16:01:00 +00:00
Ralf Becker
cd2cc35b73 * InfoLog: icons to visualise entry has a parent or subs, using these icons (arrow left or up) in context-menu too 2012-03-20 11:18:33 +00:00
Ralf Becker
ff4152dd42 if not category specified to invalidate_cache() call init_cache(), to fix problem of categories deleted via context menu are not deleted from list (only in next, but not in current refresh) 2012-03-17 10:54:59 +00:00
Ralf Becker
96796f5edb if not category specified to invalidate_cache() call init_cache(), to fix problem of categories deleted via context menu are not deleted from list (only in next, but not in current refresh) 2012-03-17 10:54:36 +00:00
Ralf Becker
9ae6cdfcd6 check and reset cookie configuration, if it does not match current enviroment 2012-03-15 12:56:29 +00:00
Ralf Becker
b28a0ced08 check and reset cookie configuration, if it does not match current enviroment 2012-03-15 12:55:59 +00:00
Ralf Becker
7d4b32f5af deprecating common::show_date($time,$format,$adjust_for_usertime=true) in favor of new egw_time::to($time,$format) or egw_time::server2user($time,$format), also using that two now for common::show_date() 2012-03-14 15:37:25 +00:00
Ralf Becker
903f96998a * Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:23:56 +00:00
Ralf Becker
a1ffcd08e4 * Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:22:51 +00:00
Andreas Stöckel
dc017ed889 Now again using a local etemplate2 instance on the client 2012-03-12 12:05:14 +00:00
Andreas Stöckel
d486e50a57 phpgwapi:
* Changed way of how "webserverUrl" gets set - any type of data can now be
	  injected into the egw object by creating an object with the data and an
	  entry "prefsOnly" set to true. This allows to ensure, that "webserverUrl"
	  is the first thing that is being set in the egw object (as needed when
	  including new JS/CSS files at runtime)

jsapi:
	* Fixed including JS/CSS files at runtime in other windows than the root
	  window
	* Added "ready" function/module, which provides an alternative to the
	  $j("ready") function. The ready module provides the functionality to
	  postpone calling the "ready" until certain events happened.
	* using jQuery calendar object instead of jscalendar in the calendar
	  function.
	* added "jquery" module which takes care of including all jQuery modules
	  in all windows
	* added possibility for modules to update constants using the "constant"
	  function.
	* added possibility for modules to access certain other modules using
	  the "module" function

etemplate:
	* Using new egw(window).ready function to build the template first if
	  loading has finished.
2012-03-09 15:32:29 +00:00
Ralf Becker
6e6aacb5a0 using mime-registry for link-widget "link-list" and "link-string" too 2012-03-09 07:45:31 +00:00
Ralf Becker
f467572bd4 using mime-registry for link-widget "link-list" and "link-string" too 2012-03-09 07:39:36 +00:00
Ralf Becker
f41d998e54 * Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open) 2012-03-08 18:45:18 +00:00
Ralf Becker
dd8a5cf29e * Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open) 2012-03-08 18:43:40 +00:00
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
Ralf Becker
dc62656385 fix bug regarding the rate (view/edit/search)Limit for mysql -> not set active as this fix breaks postgres; see lines 954 to 959 in wiki_so. Problem is caused by postgres behavior of recognizing columnnames, ... still to investigate
r38303: always quote for postgreSQL, as this is the only way to support mixed case names
r38307: fixing wiki rate code / mixed case column names for PostgreSQL
2012-03-08 06:23:07 +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
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
Ralf Becker
77928955f0 fixed download of log, in case output buffering could not be switched off (got into endless loop) 2012-03-06 13:07:03 +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
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
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
898290e798 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:54:31 +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
Ralf Becker
94544812c9 new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences 2012-03-01 20:59:16 +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
Ralf Becker
68b5c2d204 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:09:35 +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
Ralf Becker
19f1721839 add own agent for dmfs.org, to not recognice it as dataaccessd/iOS 2012-02-29 16:46:42 +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
00222443c0 fixed SQL error under PostgreSQL with new filesystem check 2012-02-29 13:48:44 +00:00
Ralf Becker
12f34cd307 fixed SQL error under PostgreSQL with new filesystem check 2012-02-29 13:47:52 +00:00
Ralf Becker
618ff70e73 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:34:18 +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
c603e3a1a6 * Filemanager/Admin: ability to check virtual filesystem (Admin >> Check virtual filesystem) and some code to prefent double creation of directories 2012-02-27 13:20:16 +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
820df063ef * Admin/Setup: fixed custom translations got lost during update 2012-02-27 08:03:30 +00:00
Ralf Becker
d7a7d105fa * Admin/Setup: fixed custom translations got lost during update 2012-02-27 08:02:28 +00:00
Ralf Becker
587c2cf595 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:05:35 +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
5b12fe97dc * 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:34:15 +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
9635091c75 log request in case of exceptions too by installing a custom exeception handler 2012-02-20 09:07:02 +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
20fe3e458d improved working in CalDAV/CardDAV prefs 2012-02-19 12:42:09 +00:00
Ralf Becker
e97b390573 improved working in CalDAV/CardDAV prefs 2012-02-19 12:39:04 +00:00
Ralf Becker
fa2c15e8c4 add empty line in log between request body and response 2012-02-18 10:50:20 +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
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
27cd6350bb 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:12:23 +00:00
Ralf Becker
effb755417 fixed PHP Warning, if log-dir is not yet created 2012-02-17 08:14:29 +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
8dcd373813 * CalDAV/CardDAV: continous display (like tail -f) of logs inside EGroupware 2012-02-16 16:41:27 +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
3ac708068c 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:36:12 +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
34393ca041 propagate data from settings hook to handlers, to fix failed installs because setup was not detected 2012-02-14 17:39:40 +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
ec5f38ca05 added basic update of own cache, to work around failed sitemgr install via setup (cant read just added categories) 2012-02-14 17:37:20 +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
01ee489460 using instance-wide cache for categories, so updates from other sessions are immediatly available and sessions get smaller 2012-02-10 20:17:28 +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
8a5200db66 * CalDAV: allow to create private events on OS X iCal, fixing DAV header for new shared folders 2012-02-10 12:24:43 +00:00
Ralf Becker
ceef3a3866 as SOGO Connector requires ETag header to recognice as successful PUT, we are sending them again for it 2012-02-10 11:46:57 +00:00
Ralf Becker
e789762727 resurrect preference to sync all ABs into one (allways implied for OS X) and new pref to "Distributionlists as groups", plus explenation of the prefs
r37966: many bugfixes around distribution-lists/groups and some code restructuring
2012-02-10 11:44:52 +00:00
Ralf Becker
4bae2b7fcd Hide Size in autoindex and move Displayname to first column after name 2012-02-10 11:29:55 +00:00
Ralf Becker
21dfe8ac02 implement RFC 5995 add member to collection via POST, but not yet set DAV:add-member due to problems with OS X clients 2012-02-10 11:28:56 +00:00
Ralf Becker
9d85196706 move logic of which addressbook/calendars are shared into app-handler
move app-specific settings to app-handler
2012-02-10 11:27:26 +00:00
Ralf Becker
97816b6e20 add http://calendarserver.org/ns/:shared to shared addressbooks/calendars for Apple clients to mark collections to user as shared 2012-02-10 11:18:12 +00:00
Ralf Becker
4a9d085719 allow PROPPATCH on *-home-set, to allow eg. jqcalendar to store its prefs there 2012-02-10 11:17:12 +00:00
Ralf Becker
6c313d4513 fixed wrong self-url in PROPFIND of shared addressbooks/calendars 2012-02-10 11:13:38 +00:00
Ralf Becker
43f4aa81c4 fixed iCal did not allow user to update calendar color or name --> needs "write-properties" priviledge, which we now return for all calendar/addressbook collections 2012-02-10 11:01:24 +00:00