Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
47a9061
Restructure NotePage
Rokt33r Mar 11, 2020
c275c7a
Move StorageCreatPage and StorageEditPage to pages
Rokt33r Mar 11, 2020
77e7428
Discard wrong implementation of cloud storage init
Rokt33r Mar 11, 2020
281797d
Stop removing cloud storage
Rokt33r Mar 11, 2020
af46ae1
Adjust font-weight
Rokt33r Mar 12, 2020
c198d3c
Add PageContainer
Rokt33r Mar 12, 2020
c3fb34c
Add Spinner
Rokt33r Mar 12, 2020
cc0bce1
Add form components
Rokt33r Mar 13, 2020
179930e
Seperate storage create form
Rokt33r Mar 13, 2020
3ec2e7d
Clean up StorageCreatePage
Rokt33r Mar 15, 2020
61a8e1b
Discard cloud error handling when creating localStorage
Rokt33r Mar 15, 2020
432914b
Change background-color of form input when disabled
Rokt33r Mar 16, 2020
fc0662d
Implement create storage procedure
Rokt33r Mar 16, 2020
ec3c780
Improve FormBlockquote style
Rokt33r Mar 17, 2020
d158aa5
Fix compiler error in LocalStorageCreateForm
Rokt33r Mar 17, 2020
f074c6d
Make PageContainer scrollable
Rokt33r Mar 18, 2020
e38cefa
Improve form components
Rokt33r Mar 18, 2020
44988c8
Add firstUser hook
Rokt33r Mar 18, 2020
4307b86
Implement LinkCloudStorageForm
Rokt33r Mar 18, 2020
2a544e0
Improve CloudStorageCreateForm
Rokt33r Mar 18, 2020
c3dcd4c
Renew storage rename api
Rokt33r Mar 18, 2020
3f7282a
Implement ManageCloudStorageForm
Rokt33r Mar 18, 2020
383e280
Renew StorageEditPage
Rokt33r Mar 18, 2020
01f4cf0
Fix unmount handling of LinkCloudStorageForm
Rokt33r Mar 18, 2020
1a8f3f7
Add unlinkStorage api
Rokt33r Mar 18, 2020
e769b05
Implement unlink/remove cloud storage form
Rokt33r Mar 18, 2020
e0a54f2
Replace "unlink" with "remove" to prevent confusing
Rokt33r Mar 18, 2020
562893a
Fix LinkCloudStorageForm to store proper cloud storage name
Rokt33r Mar 19, 2020
d9d9701
Rerender when stoarge changes to init page state
Rokt33r Mar 19, 2020
235498e
Reimpelemnt sync api
Rokt33r Mar 19, 2020
f86b481
Implement sync to ManageCloudStorageForm component
Rokt33r Mar 19, 2020
f86c06d
Show login button in ManageCloudStorageForm when user is not signed in
Rokt33r Mar 19, 2020
b471018
Improve syncStorage api
Rokt33r Mar 19, 2020
debb001
Sync after linking
Rokt33r Mar 19, 2020
51dd525
Discard logging
Rokt33r Mar 19, 2020
0c7bd92
Add enableAutoSync prop to preferences
Rokt33r Mar 22, 2020
f8cc082
Add useRefState hook
Rokt33r Mar 22, 2020
6102b8f
Implement queueing and auto sync
Rokt33r Mar 22, 2020
4aad800
Improve sync erorr handling
Rokt33r Mar 22, 2020
9683b5a
Fix usage of syncStorage
Rokt33r Mar 22, 2020
2bfd635
Discard unused code
Rokt33r Mar 22, 2020
41564aa
Improve type of TopBarLayout
Rokt33r Mar 22, 2020
e24cb75
Add PageContainer atom
Rokt33r Mar 22, 2020
73e3a10
Use 3000 port for mobile dev
Rokt33r Mar 22, 2020
b67ead7
Renew StorageCreatePage and StorageEditPage
Rokt33r Mar 22, 2020
28ef65a
Improve error handling of LoginButton
Rokt33r Mar 23, 2020
bb1d5d0
Update lock file
Rokt33r Mar 23, 2020
cea615e
Add mobile-dev.html
Rokt33r Mar 23, 2020
9384184
Upgrade typescript
Rokt33r Mar 23, 2020
5a18f8b
Fix default value of id state of contextMenu
Rokt33r Mar 23, 2020
435a780
Apply temp fix for ts bug
Rokt33r Mar 23, 2020
8e480b9
Import mobile db hook
Rokt33r Mar 23, 2020
646d789
Fix autoSync timer
Rokt33r Mar 23, 2020
597c483
Add key to StorageEditPage to init state after storage changes
Rokt33r Mar 23, 2020
3c0f322
Discard duplicated PageContainer atom
Rokt33r Mar 23, 2020
49a7885
Implement TableView like atoms
Rokt33r Mar 23, 2020
492ccbf
Fix path of PageContainer
Rokt33r Mar 23, 2020
b1f3d7e
Renew Preferences
Rokt33r Mar 23, 2020
daf81f9
Add MobilePageContainer
Rokt33r Mar 23, 2020
c4a1f3f
Add autosync option to general tab
Rokt33r Mar 23, 2020
b3ad545
Apply MobilePageContainer from PreferencesModal rather than from each…
Rokt33r Mar 23, 2020
82ec8e8
Implement EditorPreferencesTab
Rokt33r Mar 23, 2020
7e52a81
Use existing billing tab temporarily
Rokt33r Mar 23, 2020
67a9e90
Track target env and userId if signed in
Rokt33r Mar 23, 2020
008cf82
Fix analytics to handle user id properly
Rokt33r Mar 23, 2020
02e1004
Add mobile app download links
Rokt33r Mar 23, 2020
f1571d6
Implement android GA settings
Rokt33r Mar 23, 2020
cd2b308
Enable GA for iOS app
Rokt33r Mar 23, 2020
98ed800
Fix test
Rokt33r Mar 24, 2020
ea7038b
Rename to fix case insensitive #1
Rokt33r Mar 24, 2020
d5a783f
Rename to fix case insensitive #2
Rokt33r Mar 24, 2020
516042d
Update prettier
Rokt33r Mar 24, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'


android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.boostio.boostnote"
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 29
versionCode 4
versionName "0.1.3"
Expand All @@ -33,4 +35,6 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'

implementation 'com.google.firebase:firebase-analytics:17.2.0'
}
40 changes: 40 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"project_info": {
"project_number": "100276121443",
"firebase_url": "https://boostnotenext-mobile.firebaseio.com",
"project_id": "boostnotenext-mobile",
"storage_bucket": "boostnotenext-mobile.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:100276121443:android:3185e630cd17b23189ed56",
"android_client_info": {
"package_name": "com.boostio.boostnote"
}
},
"oauth_client": [
{
"client_id": "100276121443-0k7pak5giplpupv6g4pnkkf1tmhnkdv0.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAb5OkJYGA3I2QmU_JfbpnFjTUrEmbz6p0"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "100276121443-0k7pak5giplpupv6g4pnkkf1tmhnkdv0.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.boostio.boostnote">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
Expand Down
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.3.2'
}
}

Expand Down
1 change: 1 addition & 0 deletions ios/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.xcuserstate
project.xcworkspace/
xcuserdata/
Pods/
159 changes: 159 additions & 0 deletions ios/BoostNote/BoostNote.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>BoostNote.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>15</integer>
</dict>
</dict>
</dict>
Expand Down
10 changes: 10 additions & 0 deletions ios/BoostNote/BoostNote.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
3 changes: 3 additions & 0 deletions ios/BoostNote/BoostNote/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import UIKit
import Firebase

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
Expand All @@ -15,6 +16,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
FirebaseApp.configure()
print("ran")
return true
}

Expand Down
36 changes: 36 additions & 0 deletions ios/BoostNote/BoostNote/GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CLIENT_ID</key>
<string>100276121443-hvghc597fsln4qbricfk6mf20kbmu0av.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.100276121443-hvghc597fsln4qbricfk6mf20kbmu0av</string>
<key>API_KEY</key>
<string>AIzaSyDRVq2gbyvhBmQyhuGR6gsoolh7-goFp-k</string>
<key>GCM_SENDER_ID</key>
<string>100276121443</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.boostio.boostnote</string>
<key>PROJECT_ID</key>
<string>boostnotenext-mobile</string>
<key>STORAGE_BUCKET</key>
<string>boostnotenext-mobile.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:100276121443:ios:9e2acebee4f2c62989ed56</string>
<key>DATABASE_URL</key>
<string>https://boostnotenext-mobile.firebaseio.com</string>
</dict>
</plist>
21 changes: 21 additions & 0 deletions ios/BoostNote/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
pod 'Firebase/Core'

target 'BoostNote' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!


# Pods for BoostNote

target 'BoostNoteTests' do
inherit! :search_paths
# Pods for testing
end

target 'BoostNoteUITests' do
# Pods for testing
end

end
101 changes: 101 additions & 0 deletions ios/BoostNote/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
PODS:
- Firebase/Core (6.20.0):
- Firebase/CoreOnly
- FirebaseAnalytics (= 6.3.1)
- Firebase/CoreOnly (6.20.0):
- FirebaseCore (= 6.6.4)
- FirebaseAnalytics (6.3.1):
- FirebaseCore (~> 6.6)
- FirebaseInstallations (~> 1.1)
- GoogleAppMeasurement (= 6.3.1)
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (= 0.3.9011)
- FirebaseCore (6.6.4):
- FirebaseCoreDiagnostics (~> 1.2)
- FirebaseCoreDiagnosticsInterop (~> 1.2)
- GoogleUtilities/Environment (~> 6.5)
- GoogleUtilities/Logger (~> 6.5)
- FirebaseCoreDiagnostics (1.2.2):
- FirebaseCoreDiagnosticsInterop (~> 1.2)
- GoogleDataTransportCCTSupport (~> 2.0)
- GoogleUtilities/Environment (~> 6.5)
- GoogleUtilities/Logger (~> 6.5)
- nanopb (~> 0.3.901)
- FirebaseCoreDiagnosticsInterop (1.2.0)
- FirebaseInstallations (1.1.0):
- FirebaseCore (~> 6.6)
- GoogleUtilities/UserDefaults (~> 6.5)
- PromisesObjC (~> 1.2)
- GoogleAppMeasurement (6.3.1):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (= 0.3.9011)
- GoogleDataTransport (5.0.0)
- GoogleDataTransportCCTSupport (2.0.0):
- GoogleDataTransport (~> 5.0)
- nanopb (~> 0.3.901)
- GoogleUtilities/AppDelegateSwizzler (6.5.2):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (6.5.2)
- GoogleUtilities/Logger (6.5.2):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (6.5.2):
- GoogleUtilities/Logger
- GoogleUtilities/Network (6.5.2):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (6.5.2)"
- GoogleUtilities/Reachability (6.5.2):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (6.5.2):
- GoogleUtilities/Logger
- nanopb (0.3.9011):
- nanopb/decode (= 0.3.9011)
- nanopb/encode (= 0.3.9011)
- nanopb/decode (0.3.9011)
- nanopb/encode (0.3.9011)
- PromisesObjC (1.2.8)

DEPENDENCIES:
- Firebase/Core

SPEC REPOS:
trunk:
- Firebase
- FirebaseAnalytics
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCoreDiagnosticsInterop
- FirebaseInstallations
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleDataTransportCCTSupport
- GoogleUtilities
- nanopb
- PromisesObjC

SPEC CHECKSUMS:
Firebase: fe7f74012742ab403451dd283e6909b8f1fb348a
FirebaseAnalytics: 572e467f3d977825266e8ccd52674aa3e6f47eac
FirebaseCore: ed0a24c758a57c2b88c5efa8e6a8195e868af589
FirebaseCoreDiagnostics: e9b4cd8ba60dee0f2d13347332e4b7898cca5b61
FirebaseCoreDiagnosticsInterop: 296e2c5f5314500a850ad0b83e9e7c10b011a850
FirebaseInstallations: 575cd32f2aec0feeb0e44f5d0110a09e5e60b47b
GoogleAppMeasurement: c29d405ff76e18551b5d158eaba6753fda8c7542
GoogleDataTransport: a857c6a002d201b524dd4bc2ed7e7355ed07e785
GoogleDataTransportCCTSupport: 32f75fbe904c82772fcbb6b6bd4525bfb6f2a862
GoogleUtilities: ad0f3b691c67909d03a3327cc205222ab8f42e0e
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
PromisesObjC: c119f3cd559f50b7ae681fa59dc1acd19173b7e6

PODFILE CHECKSUM: 00890263d98240e7e73d9490bb597a3fc43eabee

COCOAPODS: 1.9.1
13 changes: 13 additions & 0 deletions mobile-dev.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1"
/>
</head>
<body>
<div id="root"></div>
</body>
</html>
Loading