owncloud / calendar

Calendar app for ownCloud
GNU Affero General Public License v3.0
121 stars 43 forks source link

Make event to "all day" by drag and drop #323

Open martingabelmann opened 8 years ago

martingabelmann commented 8 years ago

Steps to reproduce

  1. join the week view
  2. drag a event with start-end time into the upper cell of the day (to the all day events)
  3. reload the page

    Expected behaviour

The event should be marked as all day event.

Actual behaviour

The event still has a start-end time without the "all day event" option.

Server configuration

Operating system: Archlinux

Web server: Apache 2.4

Database: Postqres

PHP version: 7

ownCloud version: 9.0.0

Calendar version: checkout c09293c6752deccd2f7070f37e1922b9

Updated from an older ownCloud or fresh install: fresh install

Signing status (ownCloud 9.0 and above): all checks passed...

List of activated apps: standard apps + Calendar and Tasks

Logs

ownCloud log (data/owncloud.log)

Error   calendar    Could not find resource file "/apps/calendar/css/../../../core/css/multiselect.css"     2016-03-13T08:25:16+00:00
Error   PHP     is_file(): open_basedir restriction in effect. File(/srv/http/calendar/css/../../../core/css/multiselect.css) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/dev/urandom) at /srv/http/lib/private/template/resourcelocator.php#101  2016-03-13T08:25:16+00:00 

I guess that /srv/http/calendar/ should be /srv/http/apps/calendar/?
/srv/http/ is within the basedir.

greetings Martin

georgehrke commented 8 years ago

event is an Event Object that hold the event's information (date, title, etc). Call hasTime on the event's start/end to see if it has been dropped in a timed or all-day area (more info).

http://fullcalendar.io/docs/event_ui/eventDrop/

georgehrke commented 8 years ago

The multiselect thing is from the old calendar and not related to the new one.

georgehrke commented 8 years ago

Calendar version: checkout c09293c

btw, please don't use the git version. Rather use one of our proper releases https://github.com/owncloud/calendar/releases