-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [feat] replace local storage with IndexedDB as queue backing * [feat] add new integration system * adds arbitrary third party support * [chore] move soupcan to integrations * [chore] run prettier on shared.ts * [fix] optionally chain refId to fix rare error * [feat] add interception of requests on all following/followers pages * S/O @MrAwesome for suggesting/implementing this * Add logic to tag users intercepted from BlueVerifiedFollowers --------- Co-authored-by: dani <[email protected]> Co-authored-by: Eric Gallager <[email protected]> Co-authored-by: Rouge <[email protected]>
- Loading branch information
1 parent
3d6f5bd
commit e84da35
Showing
29 changed files
with
1,091 additions
and
598 deletions.
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 |
---|---|---|
|
@@ -83,6 +83,7 @@ export const ReasonMap = { | |
[ReasonTransphobia]: 'transphobia', | ||
[ReasonPromoted]: 'promoting tweets', | ||
}; | ||
|
||
export const LegacyVerifiedUrl: string = | ||
'https://gist.githubusercontent.com/travisbrown/b50d6745298cccd6b1f4697e4ec22103/raw/012009351630dc351e3a763b49bf24fa50ca3eb7/legacy-verified.csv'; | ||
export const Browser = | ||
|
@@ -93,10 +94,11 @@ export const SoupcanExtensionId = | |
Browser === 'chrome' ? 'hcneafegcikghlbibfmlgadahjfckonj' : '[email protected]'; | ||
|
||
// internal message actions | ||
export const [IsVerifiedAction, AddToHistoryAction, RemoveFromHistoryAction] = [ | ||
export const [IsVerifiedAction, AddToHistoryAction, RemoveFromHistoryAction, AddToQueueAction, PopFromQueueAction] = [ | ||
'is_verified', | ||
'add_user_to_history', | ||
'remove_user_from_history', | ||
'add_user_to_queue', 'pop_user_from_queue' | ||
]; | ||
export const SuccessStatus: SuccessStatus = 'SUCCESS'; | ||
export const ErrorStatus: ErrorStatus = 'ERROR'; | ||
|
@@ -105,3 +107,8 @@ export const ErrorStatus: ErrorStatus = 'ERROR'; | |
export const EventKey = 'MultiTabEvent'; | ||
export const ErrorEvent = 'ErrorEvent'; | ||
export const MessageEvent = 'MessageEvent'; | ||
|
||
export const IntegrationStateDisabled = 0; | ||
export const IntegrationStateReceiveOnly= 1; | ||
export const IntegrationStateSendAndReceive = 2; | ||
export const IntegrationStateSendOnly = 3; |
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
Oops, something went wrong.