Squashed 'plugin/floo/common/' changes from bbc7f48..006863c

006863c Change link editor to sign in. Add a TODO to override this message in editors other than sublime text.
0644804 Merge bug fixes from python common.
e1d33f1 backport delete workspace and take callback.  Fix bug in getting index (ints can be bigger than 1 digit)
35b9a24 UnboundLocalError
272d60b fix reactor select bug
d4c64a8 Always return a bool from utils.can_auth(). Sublime 3 require all WindowCommand.is_enabled() functions return bool.
dfab13c Change msg.error to editor.error_message if we try to connect to a nonexistent workspace.
161964b Fix URL in api.get_workspaces().
d04e321 Add delete workspace command.
e2342e8 Don't die if HTTP response is 204 (no content).
aa71089 Merge pull request #194 from Floobits/kans
d2ce522 Merge python common. Fix conflicts.
f1767ff Return if user cancels share dir. Print size of buf in bytes.
c616191 Don't use %s when formatting file names, since names can contain crazy unicode.
e28a4fd Merge port_block_abstract_ui, fix conflicts.
cbc6e60 copy-paste error
b41a8b4 move prejoin_workspace to UI out of API
9ea6b20 fix multiple selection and cleanup
d978039 legacy emacs urls and cleanup
5de0dca use save-excursion and widen where appropriate.  need a dir selection utility in the abstract ui
fa53e16 Unbreak sharing directories.
4c80f50 make agent needs a context.  Also, move more stuff into common
5496e27 Don't crash if buf is somehow not populated.
3434121 merge
4e2869a made a set_interval.  Unfortunately, when ST reloads, the previous instance keeps on going, but out of reach...
2b2b884 Merge python common. Fix conflicts.
5ed2b15 Cleanup. Show port blocked message if we're linking to not-floobits.com.
d107ab8 Add reset_retries. Call it on room_info.
81ea9ae Only use outbound filtering workaround for floobits.com
e8c1a99 No need to remove self from reactor protos. Emit stop when stopping. Don't throw if self.fd is None and reactor tries to read.
36a13db Better detection of outbound filtering. Don't reset connection error counters if in proxy mode.
36820b5 Don't die when the first argument to log is not a string.
b577736 Disable auto-account creation in constructor for account creation handler.
c3e62d9 Log tracebacks of file descriptor read/write exceptions when in debug mode.
4a6a215 Call connect instead of reconnect.
3b827f7 Try to work around blocked outbound ports.
567ab04 Try connecting to proxy.floobits.com on port 443 if we have issues connecting directly to floobits.com. Hacky, but it works.
508aae2 Merge pull request #190 from Floobits/abstract-ui
0c95796 change name prompt
f497d04 better UI
65446b1 remove unused comments
d791376 bugs
a0549fe clean up dialogs and fix perms
11efef2 can create workspaces again
7325537 interface problems
c1ec2f3 interface
5732dea Merge commit '90ebbd85ba8189a1e00d89da076355516459ad6f'
4b6bf5c really fix startup for st2
4ce847b Fix imports for Python 3
4ca3d4d resurrect the modal for st. other editors can set expert_mode for now
9d928e6 fix st2 stupidity with no windows existing
a3ada07 merge master
84c636a Replace string interpolation with *args. This should fix many unicode errors when trying to log stuff.
db81bfa Merge commit '185bef543e10c79340d8f97ebc5a511f235a725b'
60cd127 Handle case where buf has become unpopulated since on_load callback was set.
8825e1f fixed workspace windowing
b362885 more cleanup
137c968 cleanup join workspace interface
7a02d93 sharedir implemented
0be0dbb join workspace implemented and used
d36c82a sublime breaks up choices into big/small txt
4e341c3 start of shared ui
5183687 Merge python common. Fix conflicts.
e7460e7 Fix #186. Also fix a bug when uploading changed binary files. Also, use upload rate limiting.

git-subtree-dir: plugin/floo/common
git-subtree-split: 006863ceb8bc07b7659ecdff23782729c74772f3
Merge commit 'a29b76f83849f96d3bb3c9ed2f5a9db10f943f8a' into floorc_json