Code Monkey home page Code Monkey logo

elgg-event-calendar's People

Contributors

beck24 avatar cash avatar manelzaera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elgg-event-calendar's Issues

Cannot add personal events

The user's "add" button goes to event_calendar/add/, which generates "There is no such group." Tried w/ admin and regular user.

Personal calendars view displays all admins

In a group w/ one member I created an event. Although it says "Calendars (1)" next to the event, clicking that link returns a page that seems to show all admins, some twice. If I'm an admin it adds "Remove from calendar" buttons by each.

This occurs for group events created by both regular & admin users.

Add color codes to events

Make it possible to define the background color for events when displaying them in the full calendar view. See discussion and screenshots in #51

Different approaches:

  1. Add an input field in event form for choosing the color. User can pick any color when creating an event.
    • pros: simple and flexible
    • cons: the color codes are not consistent with different users
  2. Add an admin setting that can be used to define event type => color pairs. Example:
personal|#f0f0f0
important|red
etc.

These are then displayed in a dropdown input in the event form.

  • pros:
    • color codes stay uniform throughout the whole site
    • it's easier for user to choose an event type instead of a color
  • cons:
    • not as much freedom as in option 1
    • the event type names need i18n

Fatal error on elgg_list_entities_from_metadata

Fatal error: Call to undefined function event_calendar_get_formatted_time() in C:\xampp\htdocs\landing\mod\event_calendar\views\default\object\event_calendar.php on line 65

Non-subtype specific tag search - this occurs if an event has matching tags.

Week view: Highlighted days don't match filtering

The URL event_calendar/list/2011-09-27/week/all filters 25 Sep - 1 Oct, but Sept 24th is highlighted.

Similarly event_calendar/list/2011-09-11/week/ filters 11 Sep - 17 Sep, but the 10th and 18th are highlighted.

Language changes for COE

On main calendar listings

Instead of "Event Calendar", use "All Events", "My Calendar", or "Friends' Calendars" (depending on filter).
Breadcrumb can stay "Event Calendar"

On group listings

Instead of "Event Calendar", use "Group Calendar"
Breadcrumb should be "Group Calendar"

Entity menus (elgg-menu-entity):

  1. Show the access item (elgg-menu-item-access) only on event pages, not listings
  2. Change "Calendars (2)" to "On 0 calendars"/"On 1 calendar"/etc.
  3. Change "Add to calendar"/"Remove" to "Add to mine"/"Remove from mine"

Non-admins can post to site calendar despite setting

We're using the setting value "Site Calendar? yes, only admins can post events", and yet non-admins get the option of creating site events.

When adding an event in a group, the owner block correctly shows the group, but the default calendar is "Site-wide calendar". If the user does not change it, they end up with a site event instead of a group event.

I think if creating an event in a group container, the site-wide option should not be present even for admins.

Using the current "full" branch.

All Day Event can't span days and includes time

The all day event should not include any time selector and it should also include a "To" field so the All Day Event can span multiple days. Basically, the "All-day Event" displays the exact same information as the "Set day/time" option, except the "All-day Event" does not include any time selectors.

Week view: prev/next buttons unpredictable

This may be related to #10. I'd say ideally the prev/next buttons would only trigger a page load in Month view. That would allow the user, in the other views, to move through the calendar to select a new day/week without confusing page reloads pushing them back.

BBB Session Invalid

I don't know if a session is only valid if entering it shortly after creating it, but we've done several tests where we created a calendar event that contained a BBB session, then tried to enter the session during the time the event was to be valid, and got a BBB error like this:

FAILED invalidMeetingIdentifier The meeting ID that you supplied did not match any existing meetings

The BBB session should be a valid session during the configured date and times of the calendar event for which it is associated.

Month view usability

In month view, I think it's very confusing that selecting a different day changes the URL but not anything else.

I think ideally you'd have only the month selector present in month view: E.g., set .ui-datepicker-calendar to display:none and #my_datepicker .ui-datepicker to width:16em to fix the width.

For week view, I know there's no "week picker" in jQuery UI, so the full calendar is about as good as you can do.

Event email reminders are only send for "public" events

Took me a while to figure out, but it seems like email reminders are send only for events marked "public".

Would be nice if that could be changed or if there was an option in the settings to enable reminders for group only events.

WSOD when joining/leaving group

Fatal error: Call to undefined function event_calendar_get_events_for_group() in C:\xampp\htdocs\landing\mod\event_calendar\start.php on line 403

This only occurs with a specific plugin setting enabled:

Automatically add group events for all members to their personal calendars - yes

Mine tab always empty

If I add an event to my calendar, or create an event, nothing ever shows up under "Mine".

Deprecated in 1.8

On the Event Pages I get these errors:

Deprecated in 1.8: friendly_time was deprecated by elgg_view_friendly_time Called from [#10] /home2/saananet/public_html/elgg/mod/event_calendar/views/default/event_calendar/strapline.php:12

Deprecated in 1.8: isadminloggedin() is deprecated by elgg_is_admin_logged_in() Called from [#10] /home2/saananet/public_html/elgg/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:12

Deprecated in 1.8: You should pass $vars['name'] now instead of $vars['internalname'] Called from [#10] /home2/saananet/public_html/elgg/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:59
-> [#9] /home2/saananet/public_html/elgg/engine/lib/views.php:503

Deprecated in 1.8: You should pass $vars['name'] now instead of $vars['internalname'] Called from [#10] /home2/saananet/public_html/elgg/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:62
-> [#9] /home2/saananet/public_html/elgg/engine/lib/views.php:503

Deprecated in 1.8: input/pulldown was deprecated by input/dropdown Called from [#11] /home2/saananet/public_html/elgg/engine/lib/views.php:503

On the settings page I get the following error:

Deprecated in 1.8: input/pulldown was deprecated by input/dropdown Called from [#12] /home2/saananet/public_html/elgg/engine/lib/views.php:503

Breaks group RSS feed

When you are on the main group page and click the RSS feed button a full page error message appears:
"Fatal error: Call to undefined function event_calendar_get_formatted_full_items() in /myelggsite/mod/event_calendar/views/rss/object/event_calendar.php on line 16

Time Zone doesn't translate

Apple iCal interprets:

DTSTART;VALUE=DATE:20111107T000000Z
DTEND;VALUE=DATE:20111111T000000Z

as

11/06/2011 7:00am
11/10/2011 7:00pm

The time added to the multiple date setting, screws up the display. It only shows as occurring on 11/07/2011 from midnight to midnight, rather than all week as intended.

DTSTART;VALUE=DATE:20111107T163339Z
DTEND;VALUE=DATE:20111107T173339Z

is interpreted as

11/07/2011 11:33am
11/07/2011 12:33pm

Google Calendar ignored the time stamps and set all events as all-day events.

Issue with choosing the date

Hi,

When I create an event, I choose a date, for example, July 7 2012 from the calendar, and create an event.

Once the event is created, on the Events calendar page when it;s listing the event, it shows as July 6 2012. Any day I choose from the calendar, when the start date and end dates are same, it always backdates it by 1 full day.

Is it something has to do with the time zone that I'm at? Please help. Thank you.

Odnoo

'List of event types' dont show in event edit form

Thanks for sharing your work! :)

I have added several 'event types' on /admin/plugin_settings/event_calendar and would assume from looking at the code that in the form to add/edit an event these types should show up. (event_calendar/edit/xx) I'm using master from github with Elgg 1.8.16. Can you confirm this as a bug or is the issue only on my system?

btw: Working on a German translation atm.

Deprecation notices

Deprecated in 1.8: get_annotations() is deprecated by elgg_get_annotations() Called from [#20] /var/www/Elgg/mod/event_calendar/models/model.php:702

Deprecated in 1.8: count_annotations() is deprecated by elgg_get_annotations() and passing "count" => true Called from [#20] /var/www/Elgg/mod/event_calendar/models/model.php:786

fatal error using the branch full

Hello, I´m trying to implement the bigbluebutton. In the calendar configurations, this is what i have:

Big Blue Button server URL (must end with slash)
http://192.168.1.14/

Big Blue Button security salt
139e...

But im getting a Fatal Error, can anyone help me please, ill put a fragment of the error, thanks for your help:

Fatal Error.

String could not be parsed as XML

Exception Object
(
[message:protected] => String could not be parsed as XML
[string:Exception:private] => exception 'Exception' with message 'String could not be parsed as XML' in /var/www/elgg-1.8.8/mod/event_calendar/models/model.php:2388
Stack trace:
#0 /var/www/elgg-1.8.8/mod/event_calendar/models/model.php(2388): SimpleXMLElement->__construct('??<...')
#1 /var/www/elgg-1.8.8/mod/event_calendar/models/model.php(187): event_calendar_create_bbb_conf(Object(ElggObject))
#2 /var/www/elgg-1.8.8/mod/event_calendar/actions/event_calendar/edit.php(21): event_calendar_set_event_from_form('0', '121')
#3 /var/www/elgg-1.8.8/engine/lib/actions.php(104): include('/var/www/elgg-1...')
#4 /var/www/elgg-1.8.8/engine/handlers/action_handler.php(20): action('event_calendar/...')
#5 {main}

Poll time missing minute

I created a poll and set the time to be 14:00. I then went to the "Invitee response" page where is shows the table with available times and options for me to select. The row containing the time only showed, "14:0" and was missing the trailing 0.

Event filter menu look

I'd like the menu to look like this.

I made this mockup by inserting the following markup in the filter menu:

<li style="border:0; padding-top:.4em; background:#fff; margin:0 -.3em 0 1.5em;">Show only those on:</li>

"Manage subscribers" link visible to non logged in users

When I click on an event and am not logged in I can still see the "manage subscribers" link in the popup and when clicking on it you get a full screen error page saying:

Fatal error: Call to a member function canEdit() on a non-object in /elggsite/mod/event_calendar/models/model.php on line 2032

scheduler not showing up

Hi Kevin,

I just recently installed the latest 'full' version.

I'm able to create events, I just can't specify when I want them. Regardless of what calendar I'm on when I create an event, the scheduler body does not appear and when I 'Save and Continue' it creates the event on the current day. The Scheduler also does not appear when I attempt to edit the event. Any ideas what might be interfering with the Scheduler?

Thanks,
Elliot

Make it possible to pass additional data to events json

I have the need to pass additional data (backgroundColor in particular) to the events json returned by event_calendar_get_page_content_fullcalendar_events(). I wonder what would be the best way to achieve this?

I suppose the full calendar view is the only one that has any use for backgroundColor and similar data, correct? So maybe the function could trigger a plugin hook?

Or would it be too excessive to attach all metadata (available to the current user) to the json? If this option was used other plugins could add metadata using events and plugin hooks, and all the added data would then be immediately available in the json on the client side.

How much metadata is there in a single event_calendar object? Is the latter one a bad idea?

Reminders do not use Elgg notification system

The reminders for "public" events send out emails, but there is no notification send through the Elgg message system. This is non-standard behavior as usually all emails send by Elgg are mirrored in the message/notification system.

folder location

It might be worth documenting here that this code goes in mod/event_calendar.

Widget link not working

The widget on the group page and the profile page link to the
/yourelggsite/event_calendar/ which does not exists.

Issues and requests 20120427

Group Calendar - Add Event

Calendar - request: Default to the current group instead of site-wide
Schedule - "To" request: Default to the "From" time so that event cannot end before it starts
Type of event: Remove "event_calendar:type" from category

Group calendar

View request: Default to current month instead of December
iCal requst: Turn the URL into a link so that it does not need to be copied and pasted. Cannot copy and paste using Chrome, can using FF 12.0
Add to another group: Acts like it works but does not add the event to the other group calendar.
Plugin compatibility request: Show group members and related groups in group sidebar

Widget

Clicking on the Event widget name goes to myurl/event_calendar/ which results in "Sorry. We could not find the page that you requested."
Request: Add group event_calendar widget

iCal

Exported calendar is empty. Does not contain any appointments when imported to Outlook 2010
Request: Rename export file calendar to [Site name]:[Group name]
Request: Export individual events as appointments

Admin notices

Long description
Deprecated in 1.8: You should pass $vars['name'] now instead of $vars['internalname'] Called from [#10] /home/griffing/public_html/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:59
-> [#9] /home/griffing/public_html/engine/lib/views.php:503

Add this event to group
Deprecated in 1.8: You should pass $vars['name'] now instead of $vars['internalname'] Called from [#10] /home/griffing/public_html/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:62
-> [#9] /home/griffing/public_html/engine/lib/views.php:503

Move some functions to EventCalendar class

I think the plugin might benefit from moving some event related functions as methods of an EventCalendar class.

Some candidates:

  • event_calendar_has_personal_event()
  • event_calendar_add_personal_event()
  • event_calendar_remove_personal_event()
  • event_calendar_get_users_for_event()
  • event_calendar_get_region()
  • event_calendar_get_type()
  • event_calendar_is_full()
  • event_calendar_has_collision()
  • event_calendar_get_end_time()
  • event_calendar_send_event_request()
  • event_calendar_conference_*()
  • event_calendar_can_add()

Also many of the time formatting functions could be replaced with descriptively named methods:

$time = $event->getDateInSomeFormat();

Choice of highlighted day is confusing

Consider this scenario: the user is at event_calendar/list/ viewing the current month. They want to see what's happening on the 15th, so they click 15. 15 becomes highlighted for a second, then returns to 1. The user thinks something is wrong. Now if they happen to click "Week", the selected day jumps to 11. "I never clicked 11...". Finally they click "Day" and the 15th is finally selected.

You and I know that the highlighted date represents the first of the filtering period, but I think this is very confusing for users. I recommend:

  1. If a user clicks a date in Month view, change them to Day view. I think this is most likely what users expect to happen.
  2. In Month view, highlight ALL the dates in the current month. This may look a bit funny, but it makes the UI consistent with the Week view.
  3. Always highlight the date in the URL in Week/Month views. This gives the user feedback that they ARE in control of the UI.

In group, tabs URLs may be incorrect

From the group calendar (/event_calendar/group/#), "All" tab goes to event_calendar/group/#/2011-09-1/month/all and no events show up.

Similarly, switching between the "All" and "Mine" tab yields URLs like event_calendar/group/#/2011-09-1/2011-09-1/all (and no events displayed).

Idea: Non-admins and personal events

This is just an idea: Currently if a user can't make a site-level event, she can't make any event (outside a group). An option could allow non-admins to create site-level events, but only private.

This theoretically would let users create personal events for their own use, but without those being seen by other non-admins. Maybe only a few networks would find such personal tools useful, but would this work?

ics file not recognized by apple ical

The issue seems to be the date format.

I changed the original format from:

DTSTART:20111107T000000Z
DTEND:20111111T000000Z

To

DTSTART;VALUE=DATE:20111107
DTEND;VALUE=DATE:20111112

Similarly, events with start and end times needed extra data, eg.

DTSTART;TZID=America/New_York:20111110T110000
DTEND;TZID=America/New_York:20111110T130000

The Connection to the server has been closed

If I'm the person creating the conference event, and I click on the "Join conference" button, BBB Starts, but immediately says, "The Connection to the server has been closed." I clicked on the OK button and it brought me to the main demo screen of our BBB install. If I go back to the event list in Elgg and click on that same conference title, it lets me in.

However, a user who did not create that conference did not experience the same issues and was able to access the conference with no problems.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.