20 Commits

Author SHA1 Message Date
Mike Castle
27bb6f058e Spell checking, d-g. 2013-11-22 23:31:05 -08:00
Philipp Schaefer
9eed052b7a moved sync plugin in misc-category since it now works with the bookmarks
plugin too
2013-09-03 20:27:28 +02:00
Jon Atkins
92aab3f328 fix version numbers - see #509 2013-08-25 18:32:24 +01:00
Xelio
8b9c6fbe0d Bug fix: Plugin Sync
1. Failed to create more than one realtime document.
   Pass assignIdCallback and failedCallback as function parameter for FileSearcher instead of saving it.

2. If a client with empty data use Sync plugin first, other clients will lose their data once connected with Realtime API.
   Assign '' to lastUpdateUUID on model initialization if the client do not have data.

3. Realtime API sometimes return 'CLIENT_ERROR' instead of 'NOT_FOUND' if a file is not found
   Change handling of 'CLIENT_ERROR' to the same as 'NOT_FOUND'
2013-08-25 22:50:59 +08:00
Jon Atkins
7d75a928cf plugin wrapper code - convert to use build.py macros. this ensures it's identical in all plugins, so the mobile app can remove/modify it without issues. also makes it easy to change if required 2013-06-14 20:27:54 +01:00
Philipp Schaefer
51be5bee04 added plugin categories (see #358) 2013-06-08 18:50:26 +02:00
Xelio
1b85931de3 Plugin Sync: Show log in Sync dialog 2013-05-21 21:44:07 +08:00
Jon Atkins
84cb73d8e1 add @grant none to userscript headers - as recommended by greasemonkey 2013-05-20 03:12:19 +01:00
Xelio
fa22a6984b Plugin Sync: Change folder name to avoid conflict of old clientId 2013-05-20 00:51:32 +08:00
Xelio
08ea6e3d88 Plugin Sync: Rewrite code for file search and create. Store the fileId to localStorage and limit retry count to ease API usage. 2013-05-19 22:52:53 +08:00
Xelio
256fac78e3 Plugin Sync: change to use window.dialog and dim the Authorize button when authorizing 2013-05-18 18:32:31 +08:00
Jon Atkins
a7fc98985c add more details to the description field 2013-05-18 02:03:01 +01:00
Jon Atkins
7225ac0096 update ClientID to one specifically for IITC, and under my (Jon Atkins) control 2013-05-18 01:15:30 +01:00
Xelio
973e6899d1 Plugin Sync: Remove gapi.js in external and load it from source of Google. 2013-05-17 03:29:02 +08:00
Xelio
c42fc94db3 Plugin Sync: Add notice for developers 2013-05-15 12:52:03 +08:00
Xelio
81e78ed986 Plugin Sync: Code restructure
Move file search and create function to a new class
2013-05-09 14:32:38 +08:00
Xelio
3e8d08e11f Plugin Sync: Bug Fix - change class name initial letter to uppercase 2013-05-09 12:55:59 +08:00
Xelio
8266262c8a Plugin Sync: update callback will fire if full updated is performed 2013-05-08 23:33:46 +08:00
Xelio
e02b0730dc Plugin Sync: Fix bug where Firefox has window.crypto but not window.crypto.getRandomValues 2013-05-08 21:27:41 +08:00
Xelio
bf9fcd29e4 New Plugin: Sync
Use Google Realtime API, store key value pair in CollaborativeMap.
Allow plugin to sync data between client.
2013-05-08 16:16:52 +08:00