Welcome Guest.   Make a donation to an author on the site December 20, 2014, 02:11:42 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Google Calendar Quick Add - discontinued  (Read 17758 times)
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« on: February 10, 2008, 07:44:21 AM »

discontinued
« Last Edit: February 23, 2009, 09:51:10 AM by czb » Logged

My open-source online piano game: http://musicope.com/
vitalyb
Supporting Member
**
Posts: 141



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: February 10, 2008, 03:00:32 PM »

Very neat! Now if it was somehow possible to preview the date before finalizing the event. Quick add sometimes makes those funny mistakes.
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: February 11, 2008, 02:22:08 AM »

Not real preview. But I could give option to delete created event if it is wrong... Is that ok?
Logged

My open-source online piano game: http://musicope.com/
vitalyb
Supporting Member
**
Posts: 141



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #3 on: February 11, 2008, 04:30:38 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
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: February 11, 2008, 07:33:38 AM »

Ok, so I have searched how to delete google calendar entry and found to use
Quote
xmlhttp.open("POST",del,false);
xmlhttp.setRequestHeader("X-HTTP-Method-Override", "DELETE");
xmlhttp.send();
or
Quote
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");?
Logged

My open-source online piano game: http://musicope.com/
robin.n
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #5 on: February 18, 2008, 07:19:17 PM »

Great stuff, czechboy! This piece of code just allowed me to switch back from Launchy to FARR  smiley
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 Wink) 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...  embarassed
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: February 19, 2008, 01:29:38 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 Wink

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 Wink

EDIT2: Here http://code.google.com/ap...ocol.html#AuthClientLogin you can read Passwd The user's password.... Nothing mentioned about MD5 hash Sad So I doubt it is possible.
« Last Edit: February 19, 2008, 01:42:24 AM by czechboy » Logged

My open-source online piano game: http://musicope.com/
robin.n
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #7 on: February 19, 2008, 05:49:34 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? smiley
Logged
jgpaiva
Global Moderator
*****
Posts: 4,717



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: February 19, 2008, 05:53:04 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 Wink

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 Wink
Logged

ThalSwe
Supporting Member
**
Posts: 48


On my way

View Profile Give some DonationCredits to this forum member
« Reply #9 on: February 19, 2008, 06:00:50 AM »

Nice work czechboy. You have been a resouce for the FARR community recently. Keep it up smiley
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: February 19, 2008, 06:34:30 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 smiley 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 smiley

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 Sad
Logged

My open-source online piano game: http://musicope.com/
edbro
Charter Member
***
Posts: 425

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #11 on: February 24, 2008, 01:19:28 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?
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: February 25, 2008, 02:46:43 AM »

Strange. Sad 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. Wink
Logged

My open-source online piano game: http://musicope.com/
edbro
Charter Member
***
Posts: 425

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #13 on: May 31, 2008, 10:31:03 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:
[copy or print]
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:
[copy or print]
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.
Logged
edbro
Charter Member
***
Posts: 425

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #14 on: June 26, 2008, 05:48:25 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?
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #15 on: June 27, 2008, 03:19:55 AM »

I will check it out Wink
Logged

My open-source online piano game: http://musicope.com/
Grorgy
Supporting Member
**
Posts: 820

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #16 on: June 27, 2008, 03:25:38 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?
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #17 on: June 27, 2008, 04:48:09 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:
[copy or print]
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:
[copy or print]
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.mozilla.or.../en-US/firefox/addon/2405
work for you?
Logged

My open-source online piano game: http://musicope.com/
edbro
Charter Member
***
Posts: 425

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #18 on: June 27, 2008, 07:14:12 AM »


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.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.045s | Server load: 0.29 ]