This repository has been archived by the owner on Jul 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add new protocol #65
Open
zhkufish
wants to merge
6
commits into
haxpor:master
Choose a base branch
from
zhkufish:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add new protocol #65
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4a758ce
"auth_sha1_v4",
zhkufish 4105849
change shadowsocks-libev submodule
zhkufish a3a23b2
Update submodule url.
zhkufish 2779ff9
fix gitmodules url error
zhkufish cdb438b
fix some pod warning, add logglyLogger back
zhkufish 2a2629f
Update AppInitializer.swift
zhkufish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ import Foundation | |
import ICSMainFramework | ||
import Appirater | ||
import Fabric | ||
//import LogglyLogger_CocoaLumberjack | ||
import LogglyLogger_CocoaLumberjack | ||
|
||
let appID = "1070901416" | ||
|
||
|
@@ -36,15 +36,15 @@ class AppInitializer: NSObject, AppLifeCycleProtocol { | |
fileLogger?.logFileManager.maximumNumberOfLogFiles = 7 | ||
DDLog.add(fileLogger) | ||
|
||
// let logglyLogger = LogglyLogger() // Loggy Logger | ||
// logglyLogger.logglyKey = "107d98a8-c275-4369-a881-b36d3564c9ef" | ||
// let fields = LogglyFields() | ||
// fields.userid = User.currentUser.id | ||
// fields.appversion = AppEnv.fullVersion | ||
// let formatter = LogglyFormatter(logglyFieldsDelegate: fields) | ||
// formatter?.alwaysIncludeRawMessage = false | ||
// logglyLogger.logFormatter = formatter | ||
// DDLog.add(logglyLogger) | ||
let logglyLogger = LogglyLogger() // Loggy Logger | ||
logglyLogger.logglyKey = "107d98a8-c275-4369-a881-b36d3564c9ef" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please revert back to this |
||
let fields = LogglyFields() | ||
fields.userid = User.currentUser.id | ||
fields.appversion = AppEnv.fullVersion | ||
let formatter = LogglyFormatter(logglyFieldsDelegate: fields) | ||
formatter?.alwaysIncludeRawMessage = false | ||
logglyLogger.logFormatter = formatter | ||
DDLog.add(logglyLogger) | ||
|
||
#if DEBUG | ||
DDLog.add(DDTTYLogger.sharedInstance()) // TTY = Xcode console | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,8 +90,8 @@ open class Proxy: BaseModel { | |
"auth_sha1_v4", | ||
"auth_aes128_md5", | ||
"auth_aes128_sha1", | ||
"auth_chain_a", | ||
"auth_chain_b" | ||
// "auth_chain_a", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove this line and below it. |
||
// "auth_chain_b" | ||
] | ||
|
||
open static let ssrSupportedObfs = [ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you please change back to this
logglyLogger.logglyKey = InfoInternal.shared.getLogglyAPIKey()
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok.