Skip to content

Instantly share code, notes, and snippets.

@nishanthvijayan
Last active December 30, 2016 12:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishanthvijayan/86e49608f259acaa8c0702d78fd480e7 to your computer and use it in GitHub Desktop.
Save nishanthvijayan/86e49608f259acaa8c0702d78fd480e7 to your computer and use it in GitHub Desktop.
GSOC Final Work Submission

GSOC Final Work Submission


The following are the features that I worked on implementing as part of Google Summer of Code 2016

Changelog/Revision History page

Sets up a Revision History page to OSEM using which displays a list of changes made to conferences and their associated resources.

Features

  • Tracks changes to various models and displays these changes in a human readable form
  • Allows users to revert changes
  • Makes it easy to pinpoint what changes were made by displaying which attributes were changed and their previous and new values
  • Admins can view and revert changes to all object across all conferences
  • Organizers of conferences can view and revert changes to all objects related to the conferences that they are organizers of.
  • Users with other roles(cfp, info desk, volunteers management) are allowed to view and revert changes only to objects that they have access to
  • Allow users to filter changes by conferences

Relavant Links

The following links contain images, detailed discussions and related code to the above mentioned features.

Pull Requests

openSUSE/osem#1019
openSUSE/osem#1124
openSUSE/osem#1128
openSUSE/osem#1159

Blog Posts

https://nishanthvijayan.github.io/implement-overall-change-tracking-in-osem-1/
https://nishanthvijayan.github.io/gsoc-midterm-update/

Handle Canceled/Withdrawn events in public Schedule

  • When scheduled events are canceled/withdrawn
    • A label saying 'CANCELED' is added before the event title in the pubic schedule
    • A similar label is added in the All Events page at the top of the canceled event entry.
    • A similar label is also displayed in the canceled events page (event#show)
  • If another event is then scheduled at the same time and room as that of the canceled/withdrawn event
    • A label saying 'REPLACEMENT' is added before the event title in the pubic schedule
    • A similar label is added in the All Events page and a message which says " Please note that this talk replaces XYZ_TALK" is also displayed at the top of the replacement event entry.
    • A similar label and message is also displayed in the replacement events page (event#show)

The implemention of event scheduling was recently changed majorly by another contributor (and GSOC participant).The implementation of the above features may need to be changed to work better with this new scheduling system.This is better explained in this comment

Pull Requests

The following links contain images, detailed discussions and related code to the above mentioned features.
openSUSE/osem#1082
openSUSE/osem#1113

Event Missing Information & Reports

This feature aims to help event reviewers' identify the information each event is missing. There were two parts to it:

  • A page(tab pane) in an event's details page (event#show) which displays what information the event is missing(Subtitle, Difficulty Level, Track etc) and the actions that needed to be taken for the event(Event submitter should be registered to the conferece etc)
  • Pages that display
    • List of events missing commercial
    • List of events with description
    • List of events where speaker had not checked in

The first part was fully implemented.
The seconds part was partialy implemented as panes (tabs) in the main events listing page (events#index) . But later it was decided to drop this and add the second part of the above features in a seperate page as part of a seperate new PR.This is yet to be done.

Pull Requests

The following link contain images, detailed discussions and related code to the above mentioned features.
openSUSE/osem#1114

Misc features and Bug fixes

  • An attempt was made to implement server-side processing in the users#index datatable to improve the page load speed.This is a work in progress.
  • Remove some dead routes
  • Remove ununsed code from events_controller#index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment