├── iphonecouchsync ├── .couchapprc ├── language ├── _id ├── views │ ├── syncView │ │ └── map.js │ └── myView │ │ └── map.js ├── vendor │ └── couchapp │ │ ├── evently │ │ ├── account │ │ │ ├── loginForm │ │ │ │ ├── after.js │ │ │ │ ├── selectors │ │ │ │ │ └── form │ │ │ │ │ │ └── submit.js │ │ │ │ └── mustache.html │ │ │ ├── signupForm │ │ │ │ ├── after.js │ │ │ │ ├── selectors │ │ │ │ │ └── form │ │ │ │ │ │ └── submit.js │ │ │ │ └── mustache.html │ │ │ ├── loggedIn │ │ │ │ ├── selectors.json │ │ │ │ ├── after.js │ │ │ │ ├── mustache.html │ │ │ │ └── data.js │ │ │ ├── loggedOut │ │ │ │ ├── mustache.html │ │ │ │ └── selectors.json │ │ │ ├── adminParty │ │ │ │ └── mustache.html │ │ │ ├── doLogout.js │ │ │ ├── doLogin.js │ │ │ ├── doSignup.js │ │ │ └── _init.js │ │ └── README.md │ │ ├── metadata.json │ │ ├── lib │ │ ├── redirect.js │ │ ├── list.js │ │ ├── cache.js │ │ ├── code.js │ │ ├── linkup.js │ │ ├── utils.js │ │ ├── atom.js │ │ ├── validate.js │ │ ├── path.js │ │ └── docform.js │ │ └── _attachments │ │ ├── loader.js │ │ └── jquery.couch.app.util.js ├── couchapp.json ├── .couchappignore ├── README.md └── _attachments │ ├── index.html │ ├── styles.css │ ├── tooltip.js │ └── script.js ├── images ├── coke.png ├── bananas.png ├── oranges.png └── raspberries.png ├── iphoneSync ├── icon.png ├── icon@x2.png ├── iphoneSync │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── coke.png │ ├── bananas.png │ ├── oranges.png │ ├── RootViewController.h │ ├── iphoneSync-Prefix.pch │ ├── main.m │ ├── UIImage+TableCellImageScaler.h │ ├── Product.m │ ├── ChildTableViewController.h │ ├── DataController.h │ ├── Product.h │ ├── UIImage+TableCellImageScaler.m │ ├── iphoneSyncAppDelegate.h │ ├── SyncController.h │ ├── iphoneSync-Info.plist │ ├── product.json │ ├── iphoneSyncAppDelegate.m │ ├── DataController.m │ ├── ChildTableViewController.m │ └── RootViewController.m ├── DropboxSDK │ ├── Resources │ │ ├── db_logo.png │ │ ├── db_logo@2x.png │ │ ├── db_background.png │ │ ├── db_link_button.png │ │ ├── db_link_header.png │ │ ├── db_create_account.png │ │ ├── db_link_header@2x.png │ │ ├── db_create_account@2x.png │ │ ├── db_link_button_down.png │ │ ├── db_create_account_button.png │ │ └── db_create_account_button_down.png │ ├── DBError.m │ ├── MPOAuth │ │ ├── MPDebug.h │ │ ├── NSURLResponse+Encoding.h │ │ ├── MPOAuthURLResponse.h │ │ ├── NSString+URLEscapingAdditions.h │ │ ├── NSURL+MPURLParameterAdditions.h │ │ ├── MPOAuth.h │ │ ├── MPOAuthCredentialConcreteStore+KeychainAdditions.h │ │ ├── NSURLResponse+Encoding.m │ │ ├── MPOAuthURLResponse.m │ │ ├── MPOAuthParameterFactory.h │ │ ├── MPURLRequestParameter.h │ │ ├── MPOAuthSignatureParameter.h │ │ ├── MPOAuthAuthenticationMethod.h │ │ ├── MPOAuthURLRequest.h │ │ ├── MPOAuthConnection.h │ │ ├── MPOAuthCredentialStore.h │ │ ├── MPOAuthAuthenticationMethodOAuth.h │ │ ├── MPOAuthCredentialConcreteStore.h │ │ ├── Crypto │ │ │ └── Base64Transcoder.h │ │ ├── MPOAuthAPIRequestLoader.h │ │ ├── NSString+URLEscapingAdditions.m │ │ ├── MPOAuthConnection.m │ │ ├── MPOAuthSignatureParameter.m │ │ ├── MPOAuthCredentiaIConcreteStore+KeychainAdditionsMac.m │ │ ├── MPOAuthURLRequest.m │ │ ├── MPOAuthAPI.h │ │ ├── NSURL+MPURLParameterAdditions.m │ │ └── MPOAuthAuthenticationMethod.m │ ├── DropboxSDK.h │ ├── NSString+Dropbox.h │ ├── DBError.h │ ├── NSString+Dropbox.m │ ├── DBQuota.h │ ├── DBLoadingView.h │ ├── DBAccountInfo.h │ ├── DBCreateAccountController.h │ ├── DBMetadata.h │ ├── DBLoginController.h │ ├── DBSession.h │ ├── DBQuota.m │ ├── DBAccountInfo.m │ ├── DBRequest.h │ ├── DBSession.m │ └── DBMetadata.m ├── AsiHttpRequest │ ├── ASIInputStream.h │ ├── ASIHTTPRequestConfig.h │ ├── ASIAuthenticationDialog.h │ ├── ASIHTTPRequestDelegate.h │ ├── ASIProgressDelegate.h │ ├── ASIDataDecompressor.h │ ├── ASIDataCompressor.h │ ├── ASIDownloadCache.h │ ├── ASIFormDataRequest.h │ ├── ASIInputStream.m │ ├── ASICacheDelegate.h │ └── ASINetworkQueue.h └── Classes │ ├── NSObject+JSON.h │ ├── NSObject+JSON.m │ ├── SBJsonTokeniser.h │ ├── JSON.h │ ├── SBJsonStreamWriterState.h │ ├── SBJsonStreamParserAdapter.h │ ├── SBJsonStreamParserState.h │ ├── SBJsonWriter.m │ ├── SBJsonParser.m │ ├── SBJsonParser.h │ └── SBJsonStreamParser.h ├── .gitignore ├── mit-license.txt └── README.md /iphonecouchsync/.couchapprc: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /iphonecouchsync/language: -------------------------------------------------------------------------------- 1 | javascript -------------------------------------------------------------------------------- /iphonecouchsync/_id: -------------------------------------------------------------------------------- 1 | _design/iphonecouchsync -------------------------------------------------------------------------------- /iphonecouchsync/views/syncView/map.js: -------------------------------------------------------------------------------- 1 | function(doc) { 2 | emit([doc.name], doc) 3 | } -------------------------------------------------------------------------------- /images/coke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/images/coke.png -------------------------------------------------------------------------------- /images/bananas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/images/bananas.png -------------------------------------------------------------------------------- /images/oranges.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/images/oranges.png -------------------------------------------------------------------------------- /iphoneSync/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/icon.png -------------------------------------------------------------------------------- /images/raspberries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/images/raspberries.png -------------------------------------------------------------------------------- /iphoneSync/icon@x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/icon@x2.png -------------------------------------------------------------------------------- /iphoneSync/iphoneSync/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /iphoneSync/iphoneSync/coke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/iphoneSync/coke.png -------------------------------------------------------------------------------- /iphoneSync/iphoneSync/bananas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/iphoneSync/bananas.png -------------------------------------------------------------------------------- /iphoneSync/iphoneSync/oranges.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/iphoneSync/oranges.png -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loginForm/after.js: -------------------------------------------------------------------------------- 1 | function() { 2 | $("input[name=name]", this).focus(); 3 | } -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/signupForm/after.js: -------------------------------------------------------------------------------- 1 | function() { 2 | $("input[name=name]", this).focus(); 3 | } -------------------------------------------------------------------------------- /iphonecouchsync/couchapp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "iphone couch sync", 3 | "description": "test app for the iphone couch sync" 4 | } -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loggedIn/selectors.json: -------------------------------------------------------------------------------- 1 | { 2 | "a[href=#logout]" : {"click" : ["doLogout"]} 3 | } -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loggedOut/mustache.html: -------------------------------------------------------------------------------- 1 | Signup or Login -------------------------------------------------------------------------------- /iphonecouchsync/views/myView/map.js: -------------------------------------------------------------------------------- 1 | function(doc) { 2 | if (doc.name && doc.description) { 3 | emit(doc.name, doc); 4 | } 5 | } -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_logo.png -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_logo@2x.png -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_background.png -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loggedIn/after.js: -------------------------------------------------------------------------------- 1 | function(e, r) { 2 | $$(this).userCtx = r.userCtx; 3 | $$(this).info = r.info; 4 | }; -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_link_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_link_button.png -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_link_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_link_header.png -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_create_account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_create_account.png -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_link_header@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_link_header@2x.png -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_create_account@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_create_account@2x.png -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_link_button_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_link_button_down.png -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_create_account_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_create_account_button.png -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loggedOut/selectors.json: -------------------------------------------------------------------------------- 1 | { 2 | "a[href=#signup]" : {"click" : ["signupForm"]}, 3 | "a[href=#login]" : {"click" : ["loginForm"]} 4 | } -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "couchapp", 3 | "description": "official couchapp vendor", 4 | "fetch_uri": "git://github.com/couchapp/vendor.git" 5 | } 6 | -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/Resources/db_create_account_button_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickfox/iphoneCloudSync/HEAD/iphoneSync/DropboxSDK/Resources/db_create_account_button_down.png -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/adminParty/mustache.html: -------------------------------------------------------------------------------- 1 |
Admin party, everyone is admin! Fix this in Futon before proceeding.
-------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/lib/redirect.js: -------------------------------------------------------------------------------- 1 | exports.permanent = function(redirect) { 2 | return { 3 | code : 301, 4 | headers : { 5 | "Location" : redirect 6 | } 7 | }; 8 | }; -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/doLogout.js: -------------------------------------------------------------------------------- 1 | function() { 2 | var elem = $(this); 3 | $.couch.logout({ 4 | success : function() { 5 | elem.trigger("_init"); 6 | } 7 | }); 8 | } -------------------------------------------------------------------------------- /iphonecouchsync/.couchappignore: -------------------------------------------------------------------------------- 1 | [ 2 | // filenames matching these regexps will not be pushed to the database 3 | // uncomment to activate; separate entries with "," 4 | // ".*~$" 5 | // ".*\\.swp$" 6 | // ".*\\.bak$" 7 | ] -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loggedIn/mustache.html: -------------------------------------------------------------------------------- 1 | Welcome 2 | {{name}}! 3 | Logout? 4 | -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loggedIn/data.js: -------------------------------------------------------------------------------- 1 | function(e, r) { 2 | return { 3 | name : r.userCtx.name, 4 | uri_name : encodeURIComponent(r.userCtx.name), 5 | auth_db : encodeURIComponent(r.info.authentication_db) 6 | }; 7 | } -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/DBError.m: -------------------------------------------------------------------------------- 1 | // 2 | // DBError.m 3 | // DropboxSDK 4 | // 5 | // Created by Brian Smith on 7/21/10. 6 | // Copyright 2010 Dropbox, Inc. All rights reserved. 7 | // 8 | 9 | #import "DBError.h" 10 | 11 | NSString* DBErrorDomain = @"dropbox.com"; 12 | -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/doLogin.js: -------------------------------------------------------------------------------- 1 | function(e, name, pass) { 2 | var elem = $(this); 3 | $.couch.login({ 4 | name : name, 5 | password : pass, 6 | success : function(r) { 7 | elem.trigger("_init") 8 | } 9 | }); 10 | } -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/doSignup.js: -------------------------------------------------------------------------------- 1 | function(e, name, pass) { 2 | var elem = $(this); 3 | $.couch.signup({ 4 | name : name 5 | }, pass, { 6 | success : function() { 7 | elem.trigger("doLogin", [name, pass]); 8 | } 9 | }); 10 | } -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loginForm/selectors/form/submit.js: -------------------------------------------------------------------------------- 1 | function(e) { 2 | var name = $('input[name=name]', this).val(), 3 | pass = $('input[name=password]', this).val(); 4 | $(this).trigger('doLogin', [name, pass]); 5 | return false; 6 | } -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/signupForm/selectors/form/submit.js: -------------------------------------------------------------------------------- 1 | function(e) { 2 | var name = $('input[name=name]', this).val(), 3 | pass = $('input[name=password]', this).val(); 4 | $(this).trigger('doSignup', [name, pass]); 5 | return false; 6 | } -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/MPOAuth/MPDebug.h: -------------------------------------------------------------------------------- 1 | // 2 | // MPDebug.h 3 | // MPOAuthConnection 4 | // 5 | // Created by Karl Adam on 09.02.06. 6 | // Copyright 2009 matrixPointer. All rights reserved. 7 | // 8 | 9 | #ifdef DEBUG 10 | #define MPLog(...) NSLog(__VA_ARGS__) 11 | #else 12 | #define MPLog(...) do { } while (0) 13 | #endif 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | build/* 3 | *.pbxuser 4 | !default.pbxuser 5 | *.mode1v3 6 | !default.mode1v3 7 | *.mode2v3 8 | !default.mode2v3 9 | *.perspectivev3 10 | !default.perspectivev3 11 | *.xcworkspace 12 | !default.xcworkspace 13 | xcuserdata 14 | profile 15 | *.moved-aside 16 | 17 | # old skool 18 | .svn 19 | 20 | # osx noise 21 | .DS_Store 22 | profile -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/lib/list.js: -------------------------------------------------------------------------------- 1 | // Helpers for writing server-side _list functions in CouchDB 2 | exports.withRows = function(fun) { 3 | var f = function() { 4 | var row = getRow(); 5 | return row && fun(row); 6 | }; 7 | f.iterator = true; 8 | return f; 9 | } 10 | 11 | exports.send = function(chunk) { 12 | send(chunk + "\n") 13 | } -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/loginForm/mustache.html: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /iphonecouchsync/vendor/couchapp/evently/account/signupForm/mustache.html: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /iphoneSync/DropboxSDK/MPOAuth/NSURLResponse+Encoding.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSURL+MPEncodingAdditions.h 3 | // MPOAuthConnection 4 | // 5 | // Created by Karl Adam on 08.12.05. 6 | // Copyright 2008 matrixPointer. All rights reserved. 7 | // 8 | 9 | #import| Product | Details |
|---|---|
| 16 | 17 | | 36 | 37 | |