Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
||||||||||||
|
|
It would probably help if I had a better understanding of how Gmail, Gcal, and Google Apps worked. It would also be easier if I knew how to code javascript, but still I've made the most progress towards making the tickler Gapps-friendly. I think the problem is how the script recognizes times and dates through the Gapps interface in comparison to the Gmail interface. I'm still getting the "tickle me error - invalid date or time" message. Also, when I click on "Edit Event Details" in the Gmail tickler, it opens up the popup window and fills the title and the description, but the dates range from ??/??/???? to ??/??/????, regardless of what date I entered in the original tickler bubble. Any ideas? |
||||||||||||
|
|
Okay, I've made some progress in 5 minutes. At the links for schema.google.com/g, replace the "g" with "apps" and it will give you another error. Now it's telling me "tickle me error; invalid date or time." At least it's communicating now. It just can't understand anything. I really want this to work with Google Apps. |
||||||||||||
|
|
For some reason, I need to have the tickler installed for Gmail Addons to work right. I'm trying to adapt it to Google Apps, but I'm having some difficulties. Edit Event Details works so far, but Remind Me doesn't work so you always have to do it the long way. Anybody know what schemas.google.com is, and if it differs between regular Google accounts and Google Apps accounts? I think that's the only issue right now. Here's the semi-fix for Google Apps users: // ==UserScript==
Credits: - I adapted code from a lot of other scripts on userscripts... lost track:) Features:
Tips:
Bonus:
Todo:
Testing:
Version History:
var gmail;
window.addEventListener('load', function() {
function main(g) { gmail = g;
Document = gmail.getNavPaneElement().ownerDocument;
function runGTDTickler() {
function setupShortcut() // keyboard shortcut: ";"
if (e.keyCode!=59) return;
var element;
if(element.tagName == 'INPUT' ||
if (e.keyCode==59) delegate();
function addReminder(title,when,content) {
function addEvent(title, content, startdate, enddate) {
function gcalHttpRequestAuthorized(params) {
function gcalHttpRequestUnauthorized(params) {
r.method = params.method; r.headers = (params.headers?params.headers:{}); r.headers["Content-Type"] = "application/atom+xml";
r.url = params.url; r.onload = function(detail) {
r.onerror = function(detail) {
GM_xmlhttpRequest(r);
function requestToString(r) {
function parseWhen(when) {
// support 'tomorrow' shortcut 'tom'
if (containsNext(w)) {
function get2Digits(x) {
function noDate(date) {return (date.search(/^\?/ig) > -1);}
if (date.length>8) {
function formatDate(date) {
return s;
function containsTime(when) {
function log(x) {
function error(x,d) { log(x+"\n"+d.responseText); }; function askWhen(callback) { p.show(callback);
var when = prompt("When? eg. tomorrow, next week, friday at 4pm");
function editReminderDetails(url) {
function processReminder(when, title, gmail_url, event_details_url) {
if (when == null) return; // cancelled --- 'blank' is Okay, open event details editReminderDetails(event_details_url);
function delegate()
gmail_url = gmail_url.replace(/\&/ig,'&'); // replace ampersands
function insertDelegateLinks() {
var msg_count = msgs.length;
var footerLink = document.createElement('div');
// customized popup window
var self = this; this.callback = null;
var overlay = Document.createElement('div');
var container = Document.createElement('div');
inner.innerHTML=
'+
'+
' '+
'+
' ' ' ' '+
';
'
' this.box = box;
this.isEditing = function() { return (this.box.style.display=='');} this.hide = function() { this.box.style.display = this.overlay.style.display = this.container.style.display= 'none';}
this.hide(); Document.body.appendChild(box);
// enter and submit
Document.getElementById('tickler_when').addEventListener("keyup",
} function getMessages()
return msgs;
})(); ---------- Comment if you're able to get it to work perfectly, and I'll do the same if I beat you to it.</gd:reminder> |
||||||||||||
|
|
Please disregard my previous comment - I did not realize GCal has default reminders!
|
||||||||||||
|
|
Nice add-on! I've been looking for something like this. Would it be possible to add a check-box for "Reminder" on the initial pop-up instead of going to "Edit event details"?
|
||||||||||||
|
|
And also would be great if we could use this with Google Apps.
|
||||||||||||
|
|
It would be great if the initial popup allowed one to select which calendar to post into. Or if one could specify the default calendar to post tickles to. |
||||||||||||
|
|
Thanks Ruiz. I look forward to your findings on testing FF3b5. I would also love to see this work with the GreaseKit Simbl plugin for Safari on Mac. Know how to do that or know a Mac script dev who could help make it compatible for the Safari browser as well? |
||||||||||||
|
|
@cbg3 thanks for the bug fixes. I've merged them into the script. We all appreciate you looking at it. |
||||||||||||
|
|
Firebug says that containsMonth is undefined. This seems to prevent the script from adding anything to Google Calendar. But once the containsMonth function is added, the script works. (BTW, the definition of Tuesday in the containsDay function needs to be tweaked from (tue(day)?) to (tue(sday)?) |
||||||||||||
|
|
I've never tested with FF3b5. I'll try it. |
||||||||||||
|
|
I added this to Firefox 3b5 and I am not seeing anything. I also use Folders4Gmail, GmailAgenda & Goolge Account Multi-Login. I have also tried this in Safari via the GreaseKit plugin and still nothing. |
||||||||||||
|
|
I want to second Nathan Sudds - request - it would be great if this worked with Google Apps email accounts as well. |
||||||||||||
|
|
@MySaturdaySelf just fixed some of the date issues. |
||||||||||||
|
|
The script does not recognize the date now. I don't know why. Before it works ok, now it only accepts tomorrow as date. Any other dates listed in the Gcal quick add don't work. |
||||||||||||
|
|
@Kate2174 Will try:) |
||||||||||||
|
|
This is EXACTLY the tool I've been searching for, but I'm having the same problem from my private domain Google Apps Gmail as "Master Scott" (see 03/16/08 posting below). Hopefully, this can be resolved soon. Thanks! |
||||||||||||
|
|
I read the previous post about this, but am unclear as to the solution, or if there is one. I'm using this in my custom domain Google Apps Gmail account. When I click the 'Tickle Me' link, it works like a charm, but, it defaults back to my @gmail.com calendar, not the @mydomain.com Gmail/cal account that I am sending from. Is this fixable on my end? If not, I'd like to request it. Thanks FYI: My account does have Gmail 2 new features enabled. I have GTDInbox installed. |
||||||||||||
|
|
@Tim Nikolaev almost got it working with google apps. It needs a few tweaks. Hopefully, I'll have a working version shortly. |
||||||||||||
|
|
Google Apps is easily upgradable to Gmail 2.0.
This is an awesome script and it would be great if it worked with Goggle Apps + Gmail 2.0 |
||||||||||||
|
|
@Nathan Sudds - Unfortunately, it appears that Google Apps uses the old version of GMail. The script is incompatible with the old version. I'll have to investigate some more. |
||||||||||||
|
|
I love this idea, I'm using Google Apps, just wondering how hard it would be to adapt to Google Apps or if it's working already. I've tried it but doesn't seem to add to my calendar. Great script though -- oh and for those with Google Apps that mentioned the "new code not updated yet" if you are the administrator or can get them to change the setting in Manage This Domain -- In Domain Settings... Turn on new application features to my domain before they are rolled out to all Google Apps customers." Here's the link to the instructionss:
(sorry I hope this wouldn't be considered clogging up the thread.) |
||||||||||||
|
|
thanks man it is greatly appreciated!! |
||||||||||||
|
|
@rakess No, but I can look into it. |
||||||||||||