Git Product home page Git Product logo

extralendar's People

Contributors

bindless-chicken avatar nobe4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

extralendar's Issues

sheet_id erreur

quand je met l'id de ma spreadsheet j'ai l'erreur suivante :
Vous n'êtes pas autorisé à appeler openById. (ligne 35, fichier "Code")
Pourtant j'ai bien une feuille Errors

Impossible de voir à +2 semaines

Il est impossible de voir sur plus de deux semaines... C'est possible de changer et de passer à une vision largement plus importante (1-2 mois)?

Cordialement,

Send mail with default email

The owners of the script will be the only one to receive a report.
Find a way to get the owner of the script.

Issue with the hours

Hi guys,

First thank you for the script, it's very usefull.

I've noticed an issue with the hours in the calendar. As you can see from the image below, there is a shift between the google calendar and the extranet (exactly +9 hours).

emploi du temps

I just want to know if I'm the only one whit this problem.

Thanks again

help for extranet

Hello, when I run your script, I have a error report
"Date: Tue Sep 23 2014 19:02:24 GMT+0200 (CEST)
Number: 10004
Message: Impossbile to fetch the ASP id, check the ADDRESS
Line: 70"
The address of extranet:"extranet.efrei.fr"
Can you help me to fix that ?

Step+1 day gets duplicate events

Salut,

Déjà merci d'avoir créé ce script ça change la vie !

J'ai relevé un bug assez pénible : certains cours s'ajoutent à chaque synchronisation. Ca ne le fait que sur certains mais du coup on peut arriver à avoir 10 événements dupliqués en 1 journée si on ne les supprime pas au fur et à mesure.

C'est pas très grave mais bon ça peut être gênant à la longue ;)

capture d ecran 2014-10-01 a 13 57 01

Location display

  • "both" : The school address + the room number
  • "school" : only the school address
  • "room" or true (by default) : only the room number.

Date

Date is provided in GMT format, add +1 or +2 during summer time.

I received an email warning me about a bug, and there is no more event after today in my calendar.

The reason seems to be the following : Event which is an error, not an event, and therefore can't be added to the calendar.

Initial email report :
Date: Tue Dec 16 2014 18:38:17 GMT+0100 (CET)
Number: undefined
Message: Cannot call method "match" of undefined.
Line: 131 (which is var d = title.match(new RegExp(regexp));, in parseTitle(title) function, called by createEvent(calendar, event) function)

So I changed the source code, and it turns out that this is called at least for the first event in my calendar (the script won't go further), and that the event processed by createEvent() seems to be an error log or alert box message, instead of an event :
{
"title":"Erreur",
"buttons":Ext.Msg.OK,
"closable":false,
"icon":Ext.Msg.ERROR,
"msg": "An error occurred (16/12/2014 19:01:11 ) while processing your request. Please contact the administrator."
}

I've set createEvent function to this code :

var numberOfEvents = 0;
// Create Event
function createEvent(calendar, event) {
  numberOfEvents++;
  try {
    var info = parseTitle(event.title);

    var title = info.title;
    var start = new Date(getDateFromIso(event.start));
    var end = new Date(getDateFromIso(event.end));
    var desc = info.teacher;
    var loc = info.location;

    if(args.log_update){
      desc += "\n\nUpdated at :\n" + new Date();
    }

    var event = calendar.createEvent(title, start, end, {
      description : desc,
      location : loc
    });
  } catch (e) {
    mailError(e);
    mailError(new Error("Could not handle event number "+numberOfEvents+" : " + JSON.stringify(event)));
  }
};

and I get the following email :
Date: Tue Dec 16 2014 19:01:12 GMT+0100 (CET)
Number: undefined
Message: Could not handle event number 1 : "Ext.Msg.show({"title":"Erreur","buttons":Ext.Msg.OK,"closable":false,"icon":Ext.Msg.ERROR,"msg":"An error occurred (16/12/2014 19:01:11) while processing your request. Please contact the administrator."});"
Line: 0

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.