topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday March 18, 2024, 9:58 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Google Calendar Quick Add - discontinued  (Read 31831 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Google Calendar Quick Add - discontinued
« on: February 10, 2008, 07:44 AM »
discontinued
My open-source online piano game: https://github.com/musicope/game
« Last Edit: February 23, 2009, 09:51 AM by czb »

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #1 on: February 10, 2008, 03:00 PM »
Very neat! Now if it was somehow possible to preview the date before finalizing the event. Quick add sometimes makes those funny mistakes.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #2 on: February 11, 2008, 02:22 AM »
Not real preview. But I could give option to delete created event if it is wrong... Is that ok?
My open-source online piano game: https://github.com/musicope/game

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #3 on: February 11, 2008, 04:30 AM »
Yep. But try make it so it happens in the following flow:
1) User enters quick add
2) You get the created date and an option to approve/delete it
3) Go back to 1

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #4 on: February 11, 2008, 07:33 AM »
Ok, so I have searched how to delete google calendar entry and found to use
xmlhttp.open("POST",del,false);
xmlhttp.setRequestHeader("X-HTTP-Method-Override", "DELETE");
xmlhttp.send();
or
xmlhttp.open("DELETE",del,false);
But nothing of this works. There is an error: Access denied...
Does anybody knows how to make correct delete request using new ActiveXObject("Microsoft.XMLHTTP");?
My open-source online piano game: https://github.com/musicope/game

robin.n

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #5 on: February 18, 2008, 07:19 PM »
Great stuff, czechboy! This piece of code just allowed me to switch back from Launchy to FARR  :)
I switched to Launchy mainly because of GCal integration after having used FARR for about 1,5 years, now I'm glad to be back.

And while I'm at it: kudos to Mouser for creating such a great tool! FARR just outperforms all application launchers I tried so far and is the fastest and most convenient way to access all my programs (and documents and... my Google Calendar, obviously ;)) Keep up the fantastic work!

One little idea: I don't like to have my passwords stored in plain-text on my drive so I messed around a little and found out, that Google seems to accept MD5 hashed passwords (just replaced the plain-text PW with the according MD5 hash inside the options.xml). It should not be too difficult to make the script simply hash the password before storing it to the options.xml...

Regards,
Robin
 :Thmbsup:

P.S. I really need to donate...  :-[

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #6 on: February 19, 2008, 01:29 AM »
Well, there is a problem because saving of the setting manages DLL not my fscript.js . So I have no way how to change it while saving... I can only recommend you to input directly MD5 hash not the password ;)

It could be an idea for ecaradec: Is it possible to call some callback function to js instead of just saving it, when user hits OK, while saving settings? Another thing I would like to see is a possibility for textarea, select, option etc. while creating advanced setting of a plugin.

EDIT: I have tried to interchange MD5 hash directly to my xml file but Google does not seam to accept it... I will try to google it out ;)

EDIT2: Here http://code.google.c...html#AuthClientLogin you can read Passwd The user's password.... Nothing mentioned about MD5 hash :( So I doubt it is possible.
My open-source online piano game: https://github.com/musicope/game
« Last Edit: February 19, 2008, 01:42 AM by czechboy »

robin.n

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #7 on: February 19, 2008, 05:49 AM »
Ok, sorry for prematurely declaring this as working... I assumed that explicitly logging off from GMail/GCal would ensure the FARR Gcal Quick Add would have to re-authenticate as well, but obviously I was mistaken.

Well then ...any further ideas? :)

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #8 on: February 19, 2008, 05:53 AM »
Robin: if google would accept the hash of the password, storing the hash or the password itself in clear text would be almost the same, not offering much security improvement ;)

czechboy: can't javascript encrypt a text file? You could store the login details encrypted with a password only you (and your scripts) would know. This wouldn't prevent anyone with a bit more knowledge from discovering the passwords but would offer some confort for some ;)

ThalSwe

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 48
  • On my way
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #9 on: February 19, 2008, 06:00 AM »
Nice work czechboy. You have been a resouce for the FARR community recently. Keep it up :)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #10 on: February 19, 2008, 06:34 AM »
This wouldn't prevent anyone with a bit more knowledge from discovering the passwords

As you have just said... from my point of view it would be useless, but CPU consumer :) I am not seasoned javascript coder but I think that simple js debugging could discover it :huh:

Nice work czechboy. You have been a resouce for the FARR community recently. Keep it up :)

Well, I have free after school examination period (I study Building structures at CVUT in Prague), so that is why I am so active... but another semester is coming soon :(
My open-source online piano game: https://github.com/musicope/game

edbro

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 426
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #11 on: February 24, 2008, 01:19 PM »
I've been trying to use this plugin but every try ends up with "Please wait" as the result. Of course I wait but after 5 minutes I realize it isn't going to work. I have input my email/password. Is there something I'm missing?

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #12 on: February 25, 2008, 02:46 AM »
Strange. :( Try to download a new version and tell me what it displays to you. I have added some error messages so we can track a little bit an error. ;)
My open-source online piano game: https://github.com/musicope/game

edbro

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 426
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #13 on: May 31, 2008, 10:31 PM »
For some reason when I add an event with this plugin it shows up on Gcal one hour off. For example, if I type:
gc "test event on 1 jun at 2:30 pm"
it will show up on Gcal as starting at 3:30.

The preview window in FARR shows it as:
Title: test event
From: 2008-06-01T14:30:00.000-06:00
To: 2008-06-01T15:30:00.000-06:00

If I add the same event string directly into Gcal it shows up at the correct time.

edbro

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 426
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #14 on: June 26, 2008, 05:48 PM »
Bump.

I'd really like to figure this out. Why does everything get put an hour off? All my timezone info is correct on the local pc and Google Calendar. What is causing this?

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #15 on: June 27, 2008, 03:19 AM »
I will check it out ;)
My open-source online piano game: https://github.com/musicope/game

Grorgy

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 821
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #16 on: June 27, 2008, 03:25 AM »
i had the same problem with using google synch to synch with outlook, could it be something isnt checking daylight saving time or something like that?

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #17 on: June 27, 2008, 04:48 AM »
For some reason when I add an event with this plugin it shows up on Gcal one hour off. For example, if I type:
gc "test event on 1 jun at 2:30 pm"
it will show up on Gcal as starting at 3:30.

The preview window in FARR shows it as:
Title: test event
From: 2008-06-01T14:30:00.000-06:00
To: 2008-06-01T15:30:00.000-06:00

If I add the same event string directly into Gcal it shows up at the correct time.

I think it must be something with google calendar, because as you can see:
From: 2008-06-01T14:30:00.000-06:00
google recognizes it correctly...
Does this:
https://addons.mozil...S/firefox/addon/2405
work for you?
My open-source online piano game: https://github.com/musicope/game

edbro

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 426
    • View Profile
    • Donate to Member
Re: Google Calendar Quick Add
« Reply #18 on: June 27, 2008, 07:14 AM »
Does this:
https://addons.mozil...S/firefox/addon/2405
work for you?

I don't know, the plugin isn't compatible with FF 3. I do notice that the -06:00 offset (Central Time) is the same on my computer and on Google Calendar's settings.