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
f74b8264a2
propset svn:keywords Id
2012-03-15 08:38:01 +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
38639761b0
* 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:25:03 +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
Ralf Becker
94f1c840d0
add custom translations
2012-03-14 12:11:19 +00:00
Andreas Stöckel
3ecb7a4eec
Added 'langRequire' function which allows to load translations during runtime
2012-03-13 16:05:52 +00:00
Nathan Gray
1d74169848
Add time picker popup
2012-03-12 21:20:46 +00:00
Nathan Gray
da10c03762
Use window's jQuery to make it work
2012-03-12 17:26:33 +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
36314a077e
Fixed bug with etemplate2 not working properly especially in idots: JS files only get included if they really have not already been included; egw object gets included before 'lang' in idots
2012-03-12 09:20:24 +00:00
Nathan Gray
f512d1efae
Move calendar icon inside input box
2012-03-09 18:46:29 +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
Andreas Stöckel
735b24fe9c
Always include egw.js, as determining whether the current window is a popup or not does not work properly when not running an etemplate2 application
2012-03-09 09:29:05 +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
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
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
f1360eed13
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:24:33 +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
Ralf Becker
e484a9e7b7
fix for bug #3120 - PHP Fatal error: Call to private method sqlfs_stream_wrapper::_pdo()
2012-03-07 14:09:43 +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
434a612d57
fix for bug #3120 - PHP Fatal error by saving email as Infolog and Access to undeclared static property: sqlfs_utils::$pdo
2012-03-07 13:04:46 +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
2fcabd22b3
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 10:05:35 +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
4757faa257
fixed SQL error under PostgreSQL with new filesystem check
2012-02-29 13:49:13 +00:00
Ralf Becker
12f34cd307
fixed SQL error under PostgreSQL with new filesystem check
2012-02-29 13:47:52 +00:00
Ralf Becker
ae2425967e
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 15:06:20 +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
8848953385
* Filemanager/Admin: ability to check virtual filesystem (Admin >> Check virtual filesystem) and some code to prefent double creation of directories
2012-02-27 13:24:01 +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
ea0f1a7ed5
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:37:01 +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
Ralf Becker
d7fca17d6e
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
2012-02-04 21:47:28 +00:00
Ralf Becker
d89f48d9c1
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-04 20:24:01 +00:00
Ralf Becker
c5ca42a4b1
move app-specific settings to app-handler
2012-02-04 01:24:34 +00:00
Ralf Becker
d21be8d871
move logic of which addressbook/calendars are shared into app-handler
2012-02-04 01:03:56 +00:00
Ralf Becker
6161826de1
add http://calendarserver.org/ns/:shared to shared addressbooks/calendars for Apple clients to mark collections to user as shared
2012-02-03 18:21:20 +00:00
Ralf Becker
fb6f5cf4be
allow PROPPATCH on *-home-set, to allow eg. jqcalendar to store its prefs there
2012-02-01 23:26:16 +00:00
Klaus Leithoff
69f65e4917
upgrade HTML Purifier to Version 4.4.0 (add missing files)
2012-02-01 16:01:01 +00:00
Klaus Leithoff
5511abc5bf
upgrade HTML Purifier to Version 4.4.0 (with merged trunk patches -c37721 -c34417 -c35216 -c35219)
2012-02-01 15:58:31 +00:00
Ralf Becker
3ae6e76ff9
fixed wrong self-url in PROPFIND of shared addressbooks/calendars
2012-01-31 22:27:31 +00:00
Klaus Leithoff
874989e242
add a function to create a HTML-Purifier config to clean up HTML
2012-01-31 15:14:03 +00:00
Klaus Leithoff
efe20f74fe
adapt html purifiers URIScheme cid to new purifiers class requirements; adapt URIScheme data to accept allowed types in whatever (upper/lower/mixed) case
2012-01-31 15:12:57 +00:00
Klaus Leithoff
e926f24929
change Stylite GmbH to Stylite AG in about.
2012-01-31 13:45:57 +00:00
Klaus Leithoff
1d1447d2a7
change Stylite GmbH to Stylite AG in about.
2012-01-31 13:41:59 +00:00
Ralf Becker
1dd3a9e083
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-01-31 00:20:58 +00:00
Ralf Becker
f2acf7707f
outbox supports VFREEBUSY too, it is required from OS X iCal to autocomplete locations
2012-01-30 23:53:06 +00:00
Ralf Becker
a5673d388e
/addressbook/ was not anounced as directory gateway
2012-01-30 18:53:47 +00:00
Ralf Becker
01ce3bd88d
* CalDAV/CardDAV: /addressbook-accounts/ and PROPPATCH for addressbooks/calendars for every namespace but CalDAV, CardDAV or Calendarserver (displayname or *-describtion are ok)
2012-01-30 05:11:05 +00:00
Klaus Leithoff
521520b056
* API/Login: using tabindex to control tab succession on/in loginscreen.
2012-01-26 12:06:20 +00:00
Klaus Leithoff
a701566eda
* API/Login: using tabindex to control tab succession on/in loginscreen.
2012-01-26 11:57:17 +00:00
Ralf Becker
a679a49196
* CalDAV/CardDAV: show addressbooks/calendars selected to sync in prefs under users addressbook-/calendar-home-set (incl. account addressbook, if enabled)
2012-01-25 03:25:42 +00:00
Ralf Becker
ace8f33784
implement CalDAV <calendar-data><expand start="..." end="..."/></calendar-data> to return already expanded recurrences in a given time-range, instead of just a recurring event with a recurrence rule
2012-01-24 05:27:26 +00:00
Ralf Becker
c79657705b
* CardDAV: Hack for iOS 5.0.1 addressbook to stop asking directory gateway permissions with depth=1, which might fail on installs with huge addressbooks
2012-01-21 01:45:48 +00:00
Ralf Becker
31dd6362f8
missed merge of r37352: log full requests to files directory "$files/groupdav/$user-$agent.log"
...
log REQUEST_URI not PATH_INFO, to log the correct request
2012-01-20 07:32:28 +00:00
Ralf Becker
f7ebd11af3
log REQUEST_URI not PATH_INFO, to log the correct request
2012-01-20 07:21:28 +00:00
Klaus Leithoff
e05db77a24
add a function to create a HTML-Purifier config to clean up HTML
2012-01-16 08:31:16 +00:00
Klaus Leithoff
b0f211f40b
adapt html purifiers URIScheme cid to new purifiers class requirements; adapt URIScheme data to accept allowed types in whatever (upper/lower/mixed) case
2012-01-13 09:18:46 +00:00