Giter Club home page Giter Club logo

timetable-calendar-generator's People

Contributors

dependabot[bot] avatar jamesgurung avatar timmy-mac 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

Watchers

 avatar  avatar  avatar

timetable-calendar-generator's Issues

Retaining some future events?

Hi James,

It must be that time of year again! I've just cobbled together a script that automates the retrieval of the two reports from SIMS and manipulates the output into a usable format for timetable-calendar-generator. Planning to run it nightly or weekly...

Students who change groups and teachers of our 'carousel' subjects should be pleased. The only person it's going to irritate is actually me! - I 'plan' (loosely) in Google Calendar like so:
image

So I will lose my 'planning' each time it runs.

I'm thinking of adapting your work so that it doesn't delete the future event if the title of the event is longer than, say, 10 characters. I know I'd end up with a duplicate lesson for each one where I'd edited the title but I could live with tidying those up... I'm not often more that a couple of days in front!

I'm totally unfamiliar with C# but have spotted the following section of code. Am I right in thinking if I can figure out the syntax I could just drop an 'if' statement in to here, testing the length of ev.summary?

private async Task DeleteEventsAsync(string calendarId, IEnumerable events)
{
var deleteBatch = new UnlimitedBatch(Service);
foreach (var ev in events)
{
if length of ev.summary < 10....
deleteBatch.Queue(Service.Events.Delete(calendarId, ev.Id));
}

Presumably I'd need to recompile the app at that point too?

Many thanks,

Tim

Mock / example data

Hi - thanks for open sourcing a nice set of software.

Would you happen to have some mock or example data at hand that could share easily?

I don't have SIMS or any other similar tool, nor any actual data yet. But am preparing a dev effort where could maybe use this code as a library for working with the scheduling and room management for whole schools.

Work with users' primary Google calendars

I might be stretching the bounds of reality now, in terms of my ability to drag a school into the 21st Century, and I'm certainly not expecting you to write the code within minutes, as per my previous question!

This has been playing over in my head a bit:

A: "I can do Tuesday period 4"
B: "I've got year 11, how about Wednesday 2?"
A: "I can do Wednesday 1?!"
...

I've just been playing around with Google Calendar a bit and it seems that it will only pull 'Busy' information from a user's primary calendar (even though we have the option to both input free/busy for an event, and to share free/busy in general within the calendar settings?!?). As you can see here, it's not even aware that I'm 'busy' during the events in my timetable!
image

When I first started using your application, I was pleased that it wasn't messing around with anyone's primary calendar. Now I'm thinking I might quite like it to.

As before, I'm prepared to get up and running and have a crack myself. I just wondered what you think the potential bear traps might be?

Change calendar name option

Would it be possible to add a choose calendar name option rather than just "My timetable" or using the "Primary". This would be useful for us as we have Admin account with 5 different calendars which is used for room timetables. So for example we have Room 10, Room 11 classroom calendar.

Many thanks =D

Add calendar writer to edit users' Outlook Calendars

This app can read and write users' Google Calendars directly, using a service account which is delegated domain-wide authority. The code for interfacing with the Google API is in the Google directory. The GoogleCalendarWriter implements an interface with one method:

Task WriteAsync(IList<CalendarEvent> events)

I would like to add another calendar writer which uses the Microsoft Graph API to directly edit calendars for Office 365 business customers. There doesn't seem to be any documentation for domain-wide auth, so any advice and/or pull requests would be much appreciated.

Different times on different times of the week?

This is awesome!
However, we have a split lunch, and different year groups have lunch at different times on different days. Is it possible to update the settings file to have different lesson times on different days of the week?

Thank you for allowing the world to use this!

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.