antimatter15 / cloudsave Goto Github PK
View Code? Open in Web Editor NEWSave to the cloud.
Home Page: https://chrome.google.com/extensions/developer/detail/omiekjeapoonbhiemenfoccbdpeagdah
Save to the cloud.
Home Page: https://chrome.google.com/extensions/developer/detail/omiekjeapoonbhiemenfoccbdpeagdah
############# Cloud Save It's actually really amazing how many people now use Cloud Save. In fact, when I first built this, I had no idea how anyone would possibly find this extension of any practical use whatsoever. I still only have a vague idea as to how it could be used, so this probably implies that I'm not the best maintainer of this project but at least it's popular and rather awesome. Personally, I find drag2up much more original, innovative and awesome. Cloud Save is still pretty cool though. And it's not a terrible name, actually. Its probably the one project of mine which actually has a fairly decent name. Right now, I'm going to try doing development of cloud save on the cloud via the cloud9 IDE on a Cr-48. It's going pretty well so far and it's really awesome. ############## Design for Cloud Save 1.2 Version 1.2 will feature tons and tons of magic. Really really magical magic. The basis is a moving window-ish persistant stack which contains the names of hosts used. eg. dropbox, dropbox, picasa, picasa, box.net, google docs, dropbox, google docs, dropbox Right now, I figure the ideal value is 10. Why? Because Math.sqrt(10) day is next week and also incidentally my birthday is on sqrt(10) day. It's also between five and fifteen, if my third grade arithmetic skills are still intact. So this moving window is kept persistantly via localStorage. It gets processed and sorted into unique elements: dropbox, picasa, google docs, box.net. Then those are sorted by a magical ranking coefficient. The general formula for this ranking index is number_of_times_used_in_past_10 + most_recent_index / index_dampening_factor dropbox was used 4 times in that list - most recent is the last one of the list of so index 8 picasa twice - most recent index is 3 box.net once - most recent index is 4 google docs twice - most recent index is 7 the index dampening factor should be a big number. the second term in the magical equation that is used here exists for the sole purpose of breaking ties between things used an equal number of times to favor those who have been used more recently (or should it be a smaller number?). A good value is something like the total size of the moving window multiplied by 10. But to be safe, something like 1000 could be used. Though any number should theoretically work, for debugging purposes it would be nice if it was a power of ten. The top six most recently used hosts will be shown. Or less than that if the last ten include less than six items (again, ordered by the rank thing). Once a file is uploaded, the list must be recalculated and generated. The first level menu will be the same: Cloud Save > Second level: Save As... > ------------ HOst1 Host2 Host3 Host5 Host6 Host4 ------------ More > There are two tertiary menus. Save As... however looks exactly like the secondary level menu but without another save as submenu (obviously). So the More.. menu, which is the only interesting tertiary menu will be as follows: Add/Remove... ------------- HostA HostB HostC HostD HostE HostF HostG HostH ... As follows. The tertiary list will include all the other hosts in alphabetical order. Add/Remove is sort of a misnomer as it will not actually do anything in verison 1.2 instead, it'll be a link to the settings page which will do virtually nothing except for configuring some very magical variable coefficients and stuff. probably. These plans were written at 4:23PM Eastern Standard Time on the Eleventh of March of the year 2011.
When I use cloud save to upload to Flickr, it does 2 things which I would like to be able to change/edit.
It is fail to save pictures to Picasa on chrome 12 without any log/message.
Is it possible someone can add Photobucket.com to the list of hosts?
Save to Skydrive fails everytime. debugging shows an error in skydrive,js at this line :
var canary = down.responseText.match('"canary".?value.?"(.*)"')[1]
Failed to load resource: the server responded with a status of 404 (Not Found) https://skydrive.live.com/upload.aspx/.Documents?sc=documents&cid=********
Uncaught TypeError: Cannot read property '1' of null skydrive.js:15
xhr.onload.down.onload
@antimatter15 For example: I save-as to "kittenfolder" but end up with folders "02fi_kittenfolder", "j0mq_kittenfolder", "qre7_kittenfolder"
No update anymore?
Would you consider supporting http://dropdo.com? Support would be really really simple - just send images and links to http://dropdo.com/upload?link= to upload in a new tab. I just released a Dropdo extension which does this (https://chrome.google.com/extensions/detail/hmopadjnccgojndgeimbbfhpnmocmdne) and already people told me to see if you would consider adding support to Cloud Save, so here I am.
If you want me to write the code and submit a pull request, just let me know. Thanks!
Picasa does not work.
Would you consider to give the option to auto-hide the notification when the transfer is complete? Maybe after 2 or 5 seconds?
Thanks !
Up until recently the Facebook link worked seamlessly. But recently it's not working. I tried it with all other extensions turned off and have not made any recent changes to my browser set up. any idea why this might be broken and if there's anything I personally can do to fix it?
No success/failure notification via webkitNotifications for Posterous uploads.
callback url encode in posterous.js causing method not found error in upload function in cloudsave.html.
Changed ({url:{json.url}) to (json.url) for plain text into callback. Seems to work.
Linux x86_64, Chrome 36.0.1985.125
On save to Picasa no user interaction.
JS console of add-on contains:
Source URL http://gic5.mycdn.me/getImage?photoId=569047461038&photoType=17 cloudsave.js:123
Processed name getImage cloudsave.js:132
Error in event handler for contextMenus: Cannot read property 'checkPermission' of undefined
Stack trace: TypeError: Cannot read property 'checkPermission' of undefined
at upload (chrome-extension://ehjiibljljecbmgpgdlkejiaadppplkp/cloudsave.js:362:50)
at handle_click (chrome-extension://ehjiibljljecbmgpgdlkejiaadppplkp/cloudsave.js:157:7)
at Function.target.(anonymous function) (extensions::SafeBuiltins:19:14)
at extensions::contextMenus:42:19
at Function.target.(anonymous function) (extensions::SafeBuiltins:19:14)
at EventImpl.dispatchToListener (extensions::event_bindings:397:22)
at Function.target.(anonymous function) (extensions::SafeBuiltins:19:14)
at Event.publicClass.(anonymous function) as dispatchToListener
at EventImpl.dispatch_ (extensions::event_bindings:379:35)
at dispatchArgs (extensions::event_bindings:247:26)
Great extension!! It will be even great if it support amazon cloud drive too.
See the screenshot:
https://picasaweb.google.com/lh/photo/-LOUc-W_XTOfoVyvMZsYXpKAYV_yhKTtZEduy3jtDv8?feat=directlink
I have Ubuntu 10.10, google chrome 10.0.648.204
Nothing happens when i try to save an image or anything else when i click the context menu "dropbox" under "cloud save". I can't even login to dropbox.
a) reproduce steps: download any file, switch to download tab, rightclick the downloaded file, cloudsave => progress bar stalling
b) reproduce configuration chrome 15, Win7
but it's kinda sort of a local upload from a link, so I guess there's chrome security policies involved
Beautiful and magistral extension, bravo !
What's the code license ? not advertised on the github project homepage
The extension does not respond to any user interactions...
feature
hello,
Cloud Save ext stop working after update chrome to Version 28.0.1500.20 m.
Remove, delete ext folder, and reinstall did not work,
Can you please help.
thanks
Suddenly stopped working. Any service choosen results in no respons.
Have tried to remove the extension and its permissions from facebook, to reinstall it.
Trying to upload to facebook I end up with no respons when I expect an authentication via facebook.
Note: This problem applies to all services, I've tried Google Docs, Picasa, Skydrive, Dropbox and many others.
OS: Windows 8 64 bit
Chrome version: 28.0.1500.72m
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.