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
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
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
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
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
Ralf Becker
7d8347cd34
* Filemanager: allow WebDAVs (https) via PEAR HTTP_WebDAV_Client
2012-01-11 21:24:54 +00:00
Ralf Becker
c7dc8748b7
disabling Lightning hack for fixed version 1.1.1, where bug is fixed and added verbose error_log, if Lightning hack is enabled
2012-01-10 00:20:00 +00:00
Ralf Becker
1c52c64ba2
for account-selection method "selectbox", make sure everything in $selected gets an option, as for the other methods
2012-01-09 21:24:44 +00:00
Klaus Leithoff
904917af86
API/tree: do not check parent treenodes if not expizitly selected
2012-01-09 14:45:24 +00:00
Ralf Becker
c1f61c914b
switch off permanent error_log
2012-01-07 23:05:31 +00:00
Ralf Becker
92dc786ebc
* Calendar: showing now all open calendars in the owner-selection, not just accounts. Allows to close them from all views
2012-01-07 22:21:48 +00:00
Klaus Leithoff
237e8ce9f9
fix assumed typo for returnvalue on error in function title; defined/described as boolean/string but was array for one error case
2012-01-06 12:54:58 +00:00
Klaus Leithoff
b79af79410
remove felamimail from static app_list in egw_link, as felamimail is implementing search_link; gather only apps for link that implement query and title
2012-01-06 10:11:16 +00:00
Ralf Becker
19dcc2e654
check if $name is already a country-code, before attempting to find a matching one, which can fail in certain areas of setup
2012-01-05 21:58:28 +00:00
Ralf Becker
62a5869b7f
* Addressbook/CardDAV: Add index for contact_modified to improve performance of ctag generation on big installtions
2012-01-04 21:55:06 +00:00
Klaus Leithoff
d37ee80161
mending Warnings: Cannot use a scalar value as an array
2011-12-20 15:57:03 +00:00
Klaus Leithoff
39fc5ab48e
mending Warnings: Cannot use a scalar value as an array
2011-12-20 15:52:27 +00:00
Klaus Leithoff
16d7185548
fix bug with undefined ino value for link_stream_wrapper::url_stat in case of accessing virtual VCard entry
2011-12-20 15:48:36 +00:00
Klaus Leithoff
b44fd70d07
prevent the call of SetLanguage with empty string
2011-12-15 12:45:44 +00:00
Nathan Gray
03bae6ff27
Add CP850 to translation class list of installed charsets, don't need to add it in import/export
2011-12-14 21:34:24 +00:00
Nathan Gray
ee98b63c0b
Set gantt overflow to auto to hide the scrollbars when not needed.
2011-12-14 17:12:09 +00:00
Nathan Gray
2f4d8848c5
- Remove previously added hook & base class, turns out there's an established way to do it...
...
- Use existing link_app type hook to create calendar from infolog
2011-12-12 21:51:12 +00:00
Nathan Gray
332427277d
Add ability to create calendar entries from infolog entries, using new base so other apps can be added (hopefully) easily later
2011-12-08 23:20:49 +00:00
Ralf Becker
e9ba37173a
remove old ISS specific redirect code and default of $_SERVER[PHP_SELF] for $url parameter of egw::redirect (not used in current EGroupware)
2011-11-30 20:32:45 +00:00
Ralf Becker
075db1ac82
quietening permanent error_log
2011-11-30 09:37:47 +00:00
Ralf Becker
7ee9d55f85
fixed racecondition in caching translations for installs with multiple instances:
...
do NOT use automatic callback to cache result, as installing languages in setup can create a racecondition, therefore only cache existing non-instance-specific translations, never cache nothing found === array(), instance-specific translations can and should always be cached!
2011-11-30 09:20:05 +00:00
Ralf Becker
64e7b3cb57
added some docu
2011-11-30 08:11:40 +00:00
Ralf Becker
86577fa44e
* Addressbook: ablity to mail (multiple) vCard via context menu
2011-11-29 12:07:11 +00:00
Ralf Becker
fdb1771010
changing french language from "French" to "Français" for *updating* installations
2011-11-25 06:33:01 +00:00
Ralf Becker
217eaad2d8
changing french language from "French" to "Français" for *new* installations
2011-11-25 06:30:49 +00:00
Ralf Becker
21989aa249
log full requests to files directory "$files/groupdav/$user-$agent.log"
2011-11-24 12:20:13 +00:00
Ralf Becker
2effc93ea4
* CalDAV/CardDAV/GroupDAV new user preference to log requests and responses to Apache error-log
2011-11-23 16:34:39 +00:00
Klaus Leithoff
2bd05d6f0d
* email: feature convert images included as link to inline images (attachments to the mail) -> extend feature for html mailbody
2011-11-21 12:24:45 +00:00
Ralf Becker
29b578cd0b
* Admin: fix white screen (fatal error) when trying to delete a user without home directory
2011-11-21 08:38:23 +00:00
Ralf Becker
f2d7c5c6c3
* Custom / instance-specific translations, eg. to rename an application
2011-11-17 12:43:59 +00:00
Nathan Gray
6d17a1a168
Add dhtmlxGantt for gantt charts
2011-11-16 19:31:00 +00:00
Ralf Becker
15d318847d
change max class-name lenght in __autoload to 64, as there are classes with more then 40 chars: projectmanager_wizard_export_elements_csv
2011-11-16 18:46:13 +00:00
Klaus Leithoff
9fad5b84ab
* ckeditor/aspell: added check for language availability check on extended dict (Lang_Countrycode) first, then fall back to lang -> e.g.: check on en_GB, if not available try using en
2011-11-16 09:15:41 +00:00
Ralf Becker
f6fe40f2d9
fixed forwarding of authentication (ldap or ads) homedirectory attribute to egw_info and vfs
2011-11-15 19:16:09 +00:00
Ralf Becker
8ab9b0d2f2
allow to use homedirectory attribute from LDAP or ADS authentication for VFS mounts
2011-11-15 12:43:59 +00:00
Ralf Becker
988123bb73
fixing warnings generated by php 5.3.8 is_a($obj) trying to autoload huge strings
2011-11-15 12:22:47 +00:00
Ralf Becker
8202298db5
do NOT force user to change password, if LDAP does NOT support shadowlastchange attribute
2011-11-15 10:09:44 +00:00
Ralf Becker
08aca8ff51
allow to use LDAP homeDirectory attribute as $home in mount-url
2011-11-15 06:56:32 +00:00
Ralf Becker
89fdaa7691
disabled NOT working addressbook-findshared report, which is only used in 10.6, but currently creates and error with 10.6 addressbook
2011-11-14 11:54:59 +00:00
Klaus Leithoff
c90b1cafa7
silence php-warning; silence error_log
2011-11-10 14:39:07 +00:00
Ralf Becker
a48104bfd7
in case no charset is set, default to utf-8, as otherwise setting charset in sqlfs_stream_wrapper can stall install
2011-11-10 10:24:37 +00:00
Ralf Becker
64c076c536
fixed exception stalling new installs
2011-11-10 10:09:37 +00:00
Nathan Gray
c3abca67db
Return an array, not null, if there are no preferences for the app
2011-11-09 16:32:42 +00:00
Ralf Becker
b0a22dae6a
removed calendar-preference "color for Apple iCal", as it set a single color for all calendars you have access too, storing and returning color set by iCal (untested)
2011-11-09 13:23:53 +00:00
Ralf Becker
ade24e4943
added OS X 10.7.2 iCal 5.0.1 user agent
2011-11-08 21:03:49 +00:00
Ralf Becker
e714be2d36
fixed not working update of events, as etag2value still expected EGw- -wGE around ETag
2011-11-08 21:02:47 +00:00
Nathan Gray
f8489c0ed1
Update jqplot to
...
jquery.jqplot.1.0.0b2_r947
2011-11-07 20:37:55 +00:00
Klaus Leithoff
ac061f68f7
fix typo
2011-11-02 14:57:41 +00:00
Ralf Becker
f993bf1051
no need to add group-members as additional proxys, ACL grants to groups are understood by WebDAV ACL (tested with iCal)
2011-11-02 14:03:36 +00:00
Ralf Becker
69288160ae
fixed not working proxy display in iCal, if resource-name contains a german umlaut: names get now transliterated to ascii (they are unique anyway, as prefixed by resource-id)
2011-11-02 13:41:41 +00:00
Klaus Leithoff
e0853e2bd2
check availaility of htmlarea before opening compose as html or html mails as html for reply; implement check based on http_user_agent for user agent known to be not compliant with ckeditor (android); allow class attribute for div, blockquote, a and img
2011-10-31 10:28:30 +00:00
Klaus Leithoff
d844dcdbd5
* API: updating CKEDITOR to version 3.6.2, altering editor modes and availability of toolbar options
2011-10-28 09:12:40 +00:00
Ralf Becker
5202d0db2d
do NOT query proxys for app user has no rights too, can give SQL error, if app is not even installed, eg. resources
2011-10-25 08:08:01 +00:00
Ralf Becker
a5230cb614
casting boolean explicitly to string, as ADODB_postgres64::qstr() has an unwanted special handling for boolean types, causing eg. query in CalDAV for resources throw an invalid SQL exception under PostgreSQL
2011-10-25 07:49:54 +00:00
Ralf Becker
8096c34bef
- fixed ORGANIZER/ATTENDEE in iCal for CalDAV:
...
+ do NOT use ORGANIZER for events without further participants or a different organizer
+ do not include event owner/ORGANIZER as participant in his own calendar, if he is only participant
--> all other cases include ORGANZIER and additional as ATTENDEE (tested with iCal on iOS and OS X)
- implemented schedule-tag and If-Schedule-Tag-Match header from CalDAV Scheduling
- allow to change participant status and add/remove alarms with schedule-tag instead of ETag
--> If-Schedule-Tag-Match header has precedence over If-Match (ETag) header, but limits changes to participant status and alarms
--> ToDo: test accepting, rejecting recurrences
2011-10-20 20:10:04 +00:00
Ralf Becker
e0690d2342
type attribute for principal-property-search report limiting search on a certain type/tree
2011-10-20 20:00:13 +00:00
Ralf Becker
ceaec3d3c1
added calendar-timezone property, changed groupdav_handler::extra_properties signature (removed static and added $user parameter), removed calendar-user-address-set property belonging only to principal
2011-10-20 13:35:01 +00:00
Ralf Becker
0a5e2426d1
fixed wrong timing in serialization of array, when storing arrays as config values, probably also fixing last issue of community bug #3059
2011-10-20 11:41:20 +00:00
Ralf Becker
512138ed56
diverse fixes for resources&locations, thought iCal only autocompletes locations, no idea why it skips resources, thought resources booked via webgui are shown correct
2011-10-17 15:36:28 +00:00
Klaus Leithoff
b56fe24784
catch exeption on CreateObject of bopreferences, if no felamimail is available
2011-10-17 08:41:43 +00:00
Ralf Becker
586a07924a
implementation of (announced, but previously not implemented) acl-principal-prop-set report
2011-10-17 06:44:09 +00:00
Ralf Becker
a949acf031
locations and resources principal tree, should allow (untested!) to add resources via iCal autocomplate and "subscribe" to resource calendars
2011-10-16 08:53:07 +00:00
Ralf Becker
6d9491cf55
not announcing DAV level 2, as we dont support locking
2011-10-16 08:49:20 +00:00
Jörg Lehrke
d76b136151
* Fix WBXML namespache issue (bug 3048)
2011-10-15 22:46:13 +00:00
Ralf Becker
6ff4534aa6
disable custom field tab, if no custom fields for specific queue/type2
2011-10-14 13:54:02 +00:00
Ralf Becker
5cf9f585c2
fixed not working storing of config for an app, which not yet has a config
2011-10-13 06:19:14 +00:00
Ralf Becker
5b3d0c3ca2
fixed behavior of GET or HEAD with If-None-Match returning "304 Not Modified" instead of "412 Precondition Failed", if no If-Match header given
2011-10-08 18:27:02 +00:00
Ralf Becker
b2fa12eb3e
remove unusual and unnecessary "EGw-...-wGE" prefix/postfix from etag and ctag
2011-10-08 11:34:55 +00:00
Ralf Becker
b2ea1a7d05
new method groupdav_principals::url2uid to convert a principal url to a calendar uid, fixes emclient uses urn:uuid urls in outbox posts to get freebusy
2011-10-07 06:02:30 +00:00
Ralf Becker
e654d3fbfb
correctly handle uid/name-part of path containing #%?
2011-10-06 07:51:24 +00:00
Ralf Becker
e05ce4d614
enclosing etag in quotes, as most servers do
2011-10-05 08:15:24 +00:00
Ralf Becker
8cce6075bd
fixed iCal parser to unescape escaped separators AFTER spliting by them, causing eg. semicolons in vcard N property (name) to fail
2011-10-05 06:27:24 +00:00
Jörg Lehrke
b65428b153
* Fix WBXML encoding issue (community bug#3020)
2011-10-04 21:21:38 +00:00
Ralf Becker
b227e61236
removed certain properties defined only on the principal
2011-10-04 11:37:44 +00:00
Ralf Becker
c670740a71
fixed encoding issue with group-name containing a space, causing eg. OS X iCal to not display proxys
2011-10-04 07:27:33 +00:00
Ralf Becker
60ba2b9628
fixed admins not having access to all accounts, if account_selection was none or groupmembers, from which admins are explicitly excepted
2011-10-03 13:40:41 +00:00
Ralf Becker
175197d7c0
* CalDAV: no METHOD:PUBLISH for CalDAV outside the inbox
2011-10-03 12:53:28 +00:00
Ralf Becker
0837c263ff
CalDAV principals: fixed wrong namespace causing iOS5 iCal to NOT autocomplete participants
2011-10-03 09:59:50 +00:00
Ralf Becker
700143eef8
if we have NO password, eg. because we run by async service outside a regular user session
...
--> fall back to the default profile / mail config from setup
2011-09-29 15:26:13 +00:00
Ralf Becker
4eaf9609c1
fixed docu-typo
2011-09-28 15:41:42 +00:00
Ralf Becker
bb4b9819b0
* CalDAV/GroupDAV/InfoLog: making synced InfoLog types configurable and moved getctag method to infolog_bo in preparation of InfoLog eSync support
2011-09-28 12:35:53 +00:00
Ralf Becker
aac290a330
fixed typo: record-type is "users" not "user"
2011-09-26 17:08:36 +00:00
Klaus Leithoff
db3f408f18
if ldap with fallback sql, we may be able to fetch and set the password last change date, if we are on primary, so check if the method exists instead of returning false.
2011-09-26 15:20:40 +00:00
Klaus Leithoff
740758d026
check if method exists for the fallback_auth, before calling get/setLastPwdChange
2011-09-26 11:01:16 +00:00
Ralf Becker
7443fdc639
* GroupDAV/KDE assume KDE 4.7+ uses native Akonadi resource, while below pre-Akonadi GroupDAV resource is used: unfortunately both have contradicting requirements
2011-09-26 10:20:27 +00:00
Klaus Leithoff
ac2279d933
* API: is_a compatibility vs. php5.3.8 resolving to instanceof operator for most common basic classes
2011-09-26 09:52:43 +00:00
Ralf Becker
b791b23f08
fixed typo causing to not announce addressbook outside of addressbook folder
2011-09-26 06:39:13 +00:00
Ralf Becker
14dde4c1ff
iOS iCal sends now pricipal-property-search reports to autocomplete participants, but not (yet) displays the result, for whatever reason ...
2011-09-25 12:00:20 +00:00
Ralf Becker
b4b04844fe
added two more match-type values from CardDAV:text-match
2011-09-24 21:15:44 +00:00
Ralf Becker
0a7b7e40c8
- improved principal-property-search report to support test=(allof|anyof) and match-type=(contains|starts-with) attributes used by iOS iCal to autocomplete participants
...
--> participants are - thanks to CalDAV scheduling - now setable for new event, thought searching for them does NOT yet work, no idea why ;-)
- added somehow missing calendar-query report to supported-report-set
2011-09-24 21:10:53 +00:00
Jörg Lehrke
f6f47e586b
* Fix SyncEvolution issue (community bug#2975)
2011-09-24 17:33:35 +00:00
Ralf Becker
3f830b2bff
- implemented principal-property-search report required for WebDAV ACL and used by Lightning to search for calendar-home-set
...
- had to implement a workaround for Lightning, as it wrongly interprets principal-property-search for calendar-home-set in the principal-collection-set
matching our *DAV root returning all principals, as all have a matching calendar-home-set, as NOT supporting CalDAV scheduling
--> search only current user's principal, when Lightning searches for calendar-home-set
- OPTIONS / return now calendar-auto-scheduling too, as Lightning only searches there, to check if server supports CalDAV scheduling
- fixed outbox freebusy request to cope with no X-CALENDARSERVER-MASK-UID and a single attendee
2011-09-23 12:04:21 +00:00
Klaus Leithoff
53c78cd9e2
as the timestamp used for ldap is not the unixtimestamp, we just use time for updating the session cache on auth_alpwchange_val
2011-09-23 11:10:05 +00:00
Klaus Leithoff
ac22466ba0
set the session cache for auth_alpwchange_val in methods for changepassword too
2011-09-23 09:56:12 +00:00
Klaus Leithoff
6bff18eadd
set the session cache only when not in admin mode
2011-09-23 09:41:03 +00:00
Klaus Leithoff
b860d7fb50
set the session cache for auth_alpwchange_val on setLastPwdChange
2011-09-23 09:29:59 +00:00
Nathan Gray
390bb1f6f0
Get all button images working (in timesheet & infolog list at least)
2011-09-22 21:23:30 +00:00
Ralf Becker
b5269738d7
read-free-busy, schedule-send and schedule-deliver privileges
2011-09-22 18:46:16 +00:00
Klaus Leithoff
afb4dff864
* API/CheckPasswordAge: new approach to the issue, as we have to take into account that the timestamp of the last password change may not be provided by the auth system. We fetch the timestamp from the authsystem if the method is implemented for the auth method configured (instead of juggling with account_lastpasswd_change or account_lastpwd_change)
2011-09-22 15:29:41 +00:00
Ralf Becker
c26fcffda7
first step for CalDAV scheduling
...
- principal reports scheduling-inbox-URL /<username>/inbox/ and scheduling-outbox-URL /<username>/outbox/
- outbox collection contains no events
- outbox correctly answers POST for freebusy information
- outbox respons to all other POST with "204 No Content", ignore client request to deliver invitations
- inbox collection contains events of unknown status (PARTSTAT=NEEDS-ACTION)
- inbox responds to DELETE with "200 Ok"
--> iCal under OS X now shows freebusy times :-)
(had to add "write-content" privilege for calendar collections user has edit rights for, to allow adding events)
2011-09-22 15:22:52 +00:00
Ralf Becker
1f39e5c562
- added WebDAV ACL props supported-privilege-set and current-user-privilege-set
...
+ currently only standard WebDAV privileges: read, read-current-user-privilege-set, write-content, bind and unbind used
+ they get only queried for collections, thought we dont report any write* on collections, as we dont allow to create calendars or change properties
- new groupdav::add_resource() method used to add all resources (incl. collections) to propfind or report requests
- improved autoindex to show nicely indented hierarchical properties
2011-09-21 20:08:21 +00:00
Ralf Becker
d5f9c5b93c
- show user collections /<username>/(addressbook|calendar|infolog)/ in propfind
...
- only define addressbook-home-set and calendar-home-set for principal-collections
- advertice /addressbook/ as addressbook-gateway (searchable collection for all contacts accessible to a user)
2011-09-20 19:16:24 +00:00
Nathan Gray
4a3c3cf659
Add fallback handling using typeof when input.constructor fails
2011-09-19 23:19:16 +00:00
Ralf Becker
8b74af09c5
correctly handle (forced) user preference account-selection "none" or "groupmembers": do not show other groups or users
2011-09-19 14:15:33 +00:00
Ralf Becker
b848d23ef3
fixed no longer possible direct access/mount of VFS root via WebDAV after r36606
2011-09-19 11:39:46 +00:00
Ralf Becker
03ed1d3ddb
- refactored code to use a single add_collection method in groupdav class
...
--> app groupdav classes now get calling groupdav object as parameter
Had a quick test with iOS & OS X addressbook, calendar and with Lightning
2011-09-18 10:56:56 +00:00
Ralf Becker
b49aae4675
- using now associative properties for easier extending, which get converted at end of add_collection to HTTP_WebDAV_Server properties
...
- added addressbook-findshared report to principals
2011-09-17 12:31:47 +00:00
Ralf Becker
f61e4dfcfa
added collection to /principals/ resourcetype and principal-collection-set to root
2011-09-17 12:29:51 +00:00
Ralf Becker
cea61e2436
fixed typo stalling mail notifications
2011-09-16 16:11:05 +00:00
Ralf Becker
7f7e84afaa
activating calendar-proxy in OPTIONS
2011-09-16 11:48:28 +00:00
Ralf Becker
2a7127a4c3
show real namespaces instead of not (visibly) defined shortcuts
2011-09-16 10:21:40 +00:00
Ralf Becker
6ce0906838
* CalDAV: implemented calendar proxy support and cleaned up principals tree
2011-09-15 22:45:00 +00:00
Klaus Leithoff
f616b34f58
API: introduce register_single_app_hook to be able to add or update one hook for an required app. register added/updated hooks with ->location; calendar and addressbook are using this to insert export_limit hook if not available. use app hook to fetch app specific export limit with import_export side_menu additions too
2011-09-15 16:53:20 +00:00
Ralf Becker
93b7e6885c
check if we are already trying to unlink the entry, to avoid an infinit recursion
2011-09-15 16:35:28 +00:00
Klaus Leithoff
d9905d3fb4
calendar/addressbook/API: introduce hook to fetch the export_limit to be applied for an app; introduce method to test if a specific hook exists for an application; fetch the export_limit via hook where appropriate
2011-09-15 14:46:56 +00:00
Ralf Becker
bd06c4c9d5
* Filemanager/WebDAV: understand Windows7 modification time attribute and setting and returning is as vfs modification time
2011-09-15 12:14:20 +00:00
Ralf Becker
859f83bf39
if nothing left in queue, stop interval-timer to give browser a rest
2011-09-14 14:22:38 +00:00
Ralf Becker
abac9e96fe
fixed fatal error, if there are no parameters
2011-09-14 14:22:17 +00:00
Ralf Becker
77f2a043fc
local caching and queueing of egw.link_title() requests
2011-09-13 19:55:06 +00:00
Ralf Becker
5cadd29d58
Basic egw.link_title(_app,_id,_callback,_context) method.
...
Plan is to run a clientside cache and own queue for link_titles, as server can query titles for N id's for a given app more effiently then N separeate queries.
2011-09-13 18:23:43 +00:00
Ralf Becker
516b977472
ability to queue ajax requests on the client and send them as a single ajax request every N ms to the server
...
a) instead of a single request like: new egw_json_request(menuaction, params).sendRequest(true, callback, context);
b) you call: egw.jsonq(menuaction,params,callback,context)
The server callback is identical for both kinds of requests. All egw_json_response methods can be used and the callback is optional.
2011-09-13 17:27:02 +00:00
Ralf Becker
2ed73047df
fixed serveral issues around cached config:
...
- changing config in setup did not update or unset the cache --> instance was NOT using it
- new installs failed, because cache was not configured
- cache command to not configured cache gave fatal error, now they throw a (catchable) exception
2011-09-13 09:25:25 +00:00
Ralf Becker
387be881ee
egw.link(_url, _vars) method and using it for JS event handler
2011-09-09 19:41:09 +00:00
Ralf Becker
b1b1ab820a
no need for db schema on the client
2011-09-09 14:56:34 +00:00
Andreas Stöckel
df36138012
Changed loading order of dhtmlxcommon
2011-09-09 14:50:50 +00:00
Andreas Stöckel
50ad9e4ba0
Included dhtmlx js files in egw_menu_dhtmlx.js, fixed problem with removing action objects, improved egw_include_mgr a bit
2011-09-09 14:03:18 +00:00
Andreas Stöckel
4bb00f1475
Fixed problems with include manager. Includes like 'phpgwapi.jquery.jquery.ui' do now work.
2011-09-09 11:41:14 +00:00
Ralf Becker
ea03c4032b
implemented link attributes for image-widget and added them to xulio, some docu for describtion
2011-09-08 20:44:53 +00:00
Nathan Gray
6585ff14e6
Add a place for egroupware to tap into file request before it's sent
2011-09-08 20:32:58 +00:00
Ralf Becker
008f009d80
- implemented new egw.link_app_list(_must_support) and egw.link_get_registry(_app, _name) methodes
...
- using egw.link_app_list('query') in link widget (no need to transfer it additonally)
- added some more docu to egw object
2011-09-08 12:24:53 +00:00
Ralf Becker
b950c5b811
fixed typo causing search for group-members to fail for accounts in sql
2011-09-08 09:57:32 +00:00
Nathan Gray
65a37234c4
Add some jquery resources - CSS and icons.
2011-09-07 23:32:03 +00:00
Ralf Becker
f5c5df3299
respect restrictive account-selection "groupmembers" and "none" when linking with accounts and sort search for accounts alphabetically
2011-09-07 16:44:00 +00:00
Ralf Becker
b633044a46
* API/Calendar: allow to link to accounts and allow to select accounts as participants by searching them like contacts
2011-09-07 14:47:51 +00:00
Ralf Becker
8d28765f76
% should be encoded, but easily leads to double encoding, therefore better NOT encodig it in egw_vfs::encodePathComponent()
2011-09-07 08:40:52 +00:00
Ralf Becker
c23450ea73
deal with parsing of query parameters appending an "=" to "?download", accepting "?download=" too
2011-09-06 07:23:02 +00:00
Ralf Becker
366bad914d
* Filemanager/WebDAV: #?+ and chinese characters working now in filenames
2011-09-05 10:25:28 +00:00
Nathan Gray
8875c94c24
Async file uploads
2011-09-01 22:07:30 +00:00
Ralf Becker
046c0919cc
make basic data of current user available via egw.user(_field)
2011-08-31 12:17:34 +00:00
Ralf Becker
54bf7a3d2d
- fixed image map was empty created when not loged in (now directories are used and not $GLOBALS['egw_info']['apps'])
...
- fixed not working vfs-image-dir
- deleteing image-maps when:
+ apps get installed, updated or removed
+ admin >> register hooks
+ admin >> site configuration: vfs-image-dir get changed
- fixed not displayed validation errors (thought there were no validation) in admin >> site config
--> you need to register hooks, in order to get the admin >> site configuration validation hook ;-)
2011-08-31 10:16:12 +00:00
Ralf Becker
5d83c036e0
forgot to switch of error_log for not found images, as that happens regulary in some parts of EGroupware
2011-08-31 08:01:18 +00:00
Ralf Becker
19d167f5be
fixed not working jerryr template set, needs image_on and previously not working template image dir
2011-08-31 07:52:19 +00:00
Ralf Becker
7868b684cd
using php5 constructors
2011-08-31 07:50:28 +00:00
Ralf Becker
1e7b17203f
- if image not found, check if it might contain extension and try without (better is not to use extension at all!)
...
- changed default to current app as in API, but it is not yet working, because egw object runs in framework for jdots :-(
2011-08-31 06:26:05 +00:00
Ralf Becker
ea7ad6318d
new clientside image-name to url map: egw.image(_name, _app="phpgwapi")
...
eg. egw.image('favicon') returns '/egroupware/phpgwapi/templates/default/favicon.ico'
--> pondon to serverside common::image($app,$name) method
2011-08-30 22:19:38 +00:00
Ralf Becker
dce02a03cb
re-added common::find_image() and common::image_on() as deprecated
2011-08-30 22:16:31 +00:00
Ralf Becker
a048840e44
use one instance specific image_map to translate between image-names and URLs, which can be transfered to the browser for etemplate2 (next commit)
2011-08-30 22:03:17 +00:00
Ralf Becker
a654002f7b
* WebDAV: allow locking of not (yet) existing files to create them
...
- failed before as there are no write-rights for not existing files
- now we check for not existing files the write rights of the parent directory
2011-08-30 17:03:34 +00:00
Andreas Stöckel
0bb328dc6d
Initializing configs variable with empty object, to have code running standalone
2011-08-30 09:15:00 +00:00
Nathan Gray
331cd20bf3
Add base64 functions for communciationg with felamimail
2011-08-29 21:14:09 +00:00
Ralf Becker
4a1f4fff8c
* Filemanager: "Save as" option for files to force download and not open in browser
2011-08-29 08:40:22 +00:00
Ralf Becker
ae5cde8259
fix bug reported on devel-list:
...
egw_cache::get_provider(Instance) no provider found (error instanciating provider egw_cache_files: egw_cache_files::__construct() server/temp_dir
--> made egw_cache::get_config_value public, so egw_cache_files can use it and for regular egw sessions read install_id and temp_dir together with system_charset, before calling config::read()
2011-08-29 05:58:54 +00:00
Ralf Becker
edab2bd248
$GLOBALS['egw_info']['server']['lang_ctimes'] is now an array
2011-08-28 12:48:31 +00:00
Ralf Becker
4c23b3766e
egw API update missed in r36331:
...
- sending EGroupware configuration (non-sensible stuff) to browser and make it available via egw.config(_name, _app="phpgwapi")
- sending link-registry in the same file
- used javascript file uses etag to ensure there's no need to load it on each request
2011-08-28 08:28:53 +00:00
Ralf Becker
a8af711f11
add backtrace to failed includes, to see where it comes from
2011-08-27 08:48:27 +00:00
Ralf Becker
be6fd87783
- sending EGroupware configuration (non-sensible stuff) to browser and make it available via egw.config(_name, _app="phpgwapi")
...
- sending link-registry in the same file
- used javascript file uses etag to ensure there's no need to load it on each request
2011-08-26 16:27:57 +00:00
Ralf Becker
389486793d
- config is now cached on instance level
...
- arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized
- new static method to check if user is export-limit excepted
--> saves to query it on each request (for non-phpgwapi, which was already cached in the session)
2011-08-26 13:50:20 +00:00
Ralf Becker
a925764fc4
- dynamical (synchronious) loading preferences (other then "common") from server via egw.preference(_name, _app)
...
- setting preferences on server via egw.set_preference(_app, _name, _value)
- enable calling of active framework / template class via using egw_framework instead of not known used framework class of user, eg. "home.egw_framework.ajax_func.template" instead of "home.idots_framework.ajax_func.template"
2011-08-26 09:34:18 +00:00
Klaus Leithoff
4effb9931e
fix problem with double encoding html special chars (introduced with rev36141)
2011-08-26 08:21:04 +00:00
Ralf Becker
d295c17e90
fix for community.egroupware.org bug #3027 : Open item in element list no longer working
2011-08-26 07:31:18 +00:00
Andreas Stöckel
55bf8f9570
additional check for existance of application in lang array
2011-08-23 17:11:45 +00:00
Ralf Becker
16c6a8d4f9
got clientside translations working for etemplate2 apps: egw.lang("%1 timesheet(s) %2", 5, egw.lang("deleted"))
2011-08-23 16:15:54 +00:00
Ralf Becker
24e34f7927
new clientside API object currently supporting the following methods:
...
- egw.preferences(_name, _app='common') return preference _name of _app (only common prefs loaded currently)
- egw.open() allowing to open app-entries utilising the link registry, deprecating egw_open from jsapi.js
- egw.lang(_msg, _arg1, ..., _argN) placeholders are not yet implemented
2011-08-23 14:29:56 +00:00
Klaus Leithoff
050a1307cb
* API: take care of INNODB and STRICT_TRANS_TABLES for recent mysql installations
2011-08-22 10:16:07 +00:00
Ralf Becker
7dd54648b9
merging all translations in window.egw_lang, to not have to search n-arrays
2011-08-21 20:22:09 +00:00
Ralf Becker
0aa128b53e
Loading translations like other javascript files:
...
setting headers to allow browser to cache the file until it's etag containing the creationdates of the used langfiles changes
--> et2 can now use egw_lang object to translate labels, options, ...
2011-08-21 20:09:14 +00:00
Ralf Becker
750f80b23b
fix to work with path containing a query
2011-08-21 20:01:10 +00:00
Klaus Leithoff
bda5e014d7
* tracker: mailhandling - prevent to use rsh or ssh to establish connection
2011-08-18 14:49:16 +00:00
Nathan Gray
1761ea02db
Add in jquery.tools form tools
2011-08-17 21:35:22 +00:00
Ralf Becker
697a113171
url need to run throught htmlspecialchars too (like every attribute in html markup), eg. "x®_id=" fails otherwise
2011-08-16 11:44:33 +00:00
Hans-Jürgen Tappe
b176cb9256
- Allow sitemgr blocks to be moved between pages, categories and websitewide
...
(previously only moving from a page up to the cat, then up globally was
possible).
- Allow options within a select to be formatted through the standard
html::select_option() function
2011-08-15 16:25:08 +00:00
Andreas Stöckel
c999373490
Added possibility for egw_json plugins to be executed in the context of the creator of the request object
2011-08-15 14:26:37 +00:00
Ralf Becker
2a95927fc8
added update from 1.8.002
2011-08-11 19:04:40 +00:00
Ralf Becker
4f54abdda2
quietened PHP Warning: array_keys() expects parameter 1 to be array, null given on line 106
2011-08-11 07:31:47 +00:00
Ralf Becker
9c82896a7b
quietened PHP Warning: in_array() expects parameter 2 to be array, boolean given on line 855
2011-08-11 07:23:29 +00:00
Nathan Gray
a30b864ddd
Add jqplot for graphing
2011-08-09 23:10:50 +00:00
Ralf Becker
17a41103d5
Loa language translation from vimontha <kvimontha@yahoo.com>
2011-08-09 06:12:25 +00:00
Ralf Becker
5e9d4f3601
* API fix PHP fatal error wakeup2 is no method ..., when comming from setup
2011-08-05 08:01:51 +00:00
Ralf Becker
30f5025431
* API fix webserver_url of just a domain eg. http://domain.com gives PHP Warning empty delimiter ...
2011-08-05 08:00:58 +00:00
Ralf Becker
cc113b3519
merged latest changes from doc/rpm-build/apache.conf
2011-08-04 08:14:23 +00:00
Ralf Becker
6a1834ceff
* NTLM authentication: limit redirect, if NTLM auth could not be preformed, to same domain, EGroupware domain, or explicitly whitelisted domains
...
to fix issue "found" on www.autosectools.com
2011-08-04 07:58:57 +00:00
Ralf Becker
31c9e8965b
fixed creating of new translations / give [Write] button file not yet existing (permissions given)
2011-08-04 07:27:23 +00:00
Ralf Becker
fc5f651412
Loa language translation from vimontha <kvimontha@yahoo.com>
2011-08-04 07:00:00 +00:00
Andreas Stöckel
6fff48a306
Fixed typo in comment
2011-08-03 14:27:45 +00:00
Andreas Stöckel
2e9104ecea
Added dependencies to the egw_action js files
2011-08-03 14:04:30 +00:00
Andreas Stöckel
149c154540
Added system which allows us to define dependencies inside js files.
...
An introduction on how this can be done is given in class.egw_include_mgr.inc.php.
This file/class may lateron be extended to minifiy, compress and cache groups of js files - currently only the 'debug-mode' is implemented, which sends all javascript files as individual files, making it easy to debug the java-script files in the browser.
The new method should work with all old code, especially including java-script files as part of an ajax-response, if something is broken, please report that!
2011-08-03 14:03:31 +00:00