From ef8826ac2d8438870e1bc42bf51cf28221461cb7 Mon Sep 17 00:00:00 2001 From: John Kristensen Date: Wed, 12 Oct 2011 15:10:59 +1100 Subject: remove 'description' from OC_Connector_Sabre_CalDAV propertyMap * the description field was removed in commit: f3f5d775b519c12e56f4c6db8ca8ccf87c68f19d but the field was still trying to be mapped - causing errors with CalDAV --- apps/calendar/lib/connector_sabre.php | 1 - 1 file changed, 1 deletion(-) (limited to 'apps') diff --git a/apps/calendar/lib/connector_sabre.php b/apps/calendar/lib/connector_sabre.php index 13a542fccad..263fb7ffde5 100644 --- a/apps/calendar/lib/connector_sabre.php +++ b/apps/calendar/lib/connector_sabre.php @@ -10,7 +10,6 @@ class OC_Connector_Sabre_CalDAV extends Sabre_CalDAV_Backend_Abstract { */ public $propertyMap = array( '{DAV:}displayname' => 'displayname', - '{urn:ietf:params:xml:ns:caldav}calendar-description' => 'description', '{urn:ietf:params:xml:ns:caldav}calendar-timezone' => 'timezone', '{http://apple.com/ns/ical/}calendar-order' => 'calendarorder', '{http://apple.com/ns/ical/}calendar-color' => 'calendarcolor', -- cgit v1.2.3 From c86d1824fef70766f1f04a7f3ce2c118c411e037 Mon Sep 17 00:00:00 2001 From: John Kristensen Date: Wed, 12 Oct 2011 15:23:39 +1100 Subject: Improve handling of calendar export $_GET params * a notice would be reported if either of the 'cal' or 'event' $_GET params where not supplied, which would result in 'Cannot modify header information' warnings --- apps/calendar/export.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/calendar/export.php b/apps/calendar/export.php index b3e5ecd6834..3e93a1ad618 100644 --- a/apps/calendar/export.php +++ b/apps/calendar/export.php @@ -9,8 +9,8 @@ require_once ("../../lib/base.php"); OC_Util::checkLoggedIn(); OC_Util::checkAppEnabled('calendar'); -$cal = $_GET["calid"]; -$event = $_GET["eventid"]; +$cal = isset($_GET["calid"]) ? $_GET["calid"] : NULL; +$event = isset($_GET["eventid"]) ? $_GET["eventid"] : NULL; if(isset($cal)){ $calendar = OC_Calendar_Calendar::findCalendar($cal); if($calendar["userid"] != OC_User::getUser()){ -- cgit v1.2.3 From 8d4039b678c2e35e3fd6834d56b8db6879beab89 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Fri, 14 Oct 2011 23:51:51 +0200 Subject: Add loading message to image lightbox and tweak events --- apps/files_imageviewer/css/lightbox.css | 11 ++++++++++- apps/files_imageviewer/js/lightbox.js | 17 ++++++++++++----- core/img/loading-dark.gif | Bin 0 -> 673 bytes 3 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 core/img/loading-dark.gif (limited to 'apps') diff --git a/apps/files_imageviewer/css/lightbox.css b/apps/files_imageviewer/css/lightbox.css index a6e844a2e28..d96dd051b1e 100644 --- a/apps/files_imageviewer/css/lightbox.css +++ b/apps/files_imageviewer/css/lightbox.css @@ -20,4 +20,13 @@ margin-left:auto; margin-right:auto; z-index:9999; -} \ No newline at end of file +} + +#lightbox_loader{ + text-align:center; + position:fixed; + top: 40%; + left: 50%; + color:white; +} +#lightbox_loader img { margin-right: 1em;} \ No newline at end of file diff --git a/apps/files_imageviewer/js/lightbox.js b/apps/files_imageviewer/js/lightbox.js index 847954d2f15..4f079b6d8af 100644 --- a/apps/files_imageviewer/js/lightbox.js +++ b/apps/files_imageviewer/js/lightbox.js @@ -2,11 +2,17 @@ var lightBoxShown=false; $(document).ready(function() { images={};//image cache - var overlay=$('