Live data from Hacker News

Web based Textmate like editor that saves to Dropbox

chrome.google.com

61–70 of 97 posts

Re: Web based Textmate like editor that saves to Dropbox

#61
post #26

Earlier quoted context omitted.

Another "feature" would be the ability to use it without dropbox--save functionality removed. I don't have my dropbox password handy, so the app is completely unusable. (HTML"5" database/ javascript localstorage?)

BTW, I'm the author of this software. So I've been trying to figure out how to save things locally for awhile. I realized that HTML5 has a File System API which in Chrome 9 can FINALLY write to the local SANDBOXED environment. This feature is planned!!

Check out this awesome tutorial: http://www.html5rocks.com/tutorials/file/filesystem/

The FileAPI is quite useful. I make use of it a lot in my app these days.

Re: Web based Textmate like editor that saves to Dropbox

#64

Ok, I would pay for this app.

I would pay for a performant web-based text editor with vim bindings.

s/vim/emacs/

(it had to happen.)

I tried it and keep hitting the basic emacs bindings on the keyboard, and nothing happened.

Re: Web based Textmate like editor that saves to Dropbox

#65
post #11
post #9

I just created a dropbox account to test this out. Obviously there are no existing files in it. I looked for a button to create a new file and could not find one. If dropbox does not have a create file call for you to use, perhaps you could have the app create an empty filename and upload it automatically and then edit it as an existing file? Edit: Never mind, I finally noticed the buttons on the bottom left. That wa…

There is a way to create new files and folders in the lower left-hand corner if you pull out the tray on the left.

I couldn't find it when I was looking. Should probably be a little more obvious, at least early on.

Re: Web based Textmate like editor that saves to Dropbox

#66
post #53
post #52

Earlier quoted context omitted.

As a workaround, you could just have a hidden dropbox.com frame.

As a work around for what? How does having a hidden dropbox.com frame stop the extension from asking for passwords?

As a solution to the bug you mentioned ("The Dropbox API supports the standard OAuth web flow which just requires you to have an active session on dropbox.com"), where you say that you need an active session on dropbox.com to use Dropbox's OAuth API.

Judging by your response, it's clear that there isn't a bug, and you either just don't know how OAuth works or you don't understand what an active session is. OAuth doesn't require an active session on a website, and an active session is having a page loaded in your browser.

Re: Web based Textmate like editor that saves to Dropbox

#67
post #66
post #53

Earlier quoted context omitted.

As a work around for what? How does having a hidden dropbox.com frame stop the extension from asking for passwords?

As a solution to the bug you mentioned ("The Dropbox API supports the standard OAuth web flow which just requires you to have an active session on dropbox.com"), where you say that you need an active session on dropbox.com to use Dropbox's OAuth API. Judging by your response, it's clear that there isn't a bug, and you either just don't know how OAuth works or you don't understand what an active session is. OAuth does…

> Judging by your response, it's clear that there isn't a bug, and you either just don't know how OAuth works or you don't understand what an active session is. OAuth doesn't require an active session on a website, and an active session is having a page loaded in your browser.

The OAuth web flow requires an active session on dropbox.com. Without an active session Dropbox can not verify who the user is.

You still didn't answer my question about how a frame would help. Iframes should never be used to to embed OAuth provider authorization pages and embedding dropbox.com in general would be pretty useless if the user does not have an active session open.

As far as active sessions go dropbox.com is going to have two kinds authenticated and anonymous. Since we are clearly talking about access to users Dropbox accounts the only type of active session that would be useful would be authenticated.

Post reply on HN