-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add missing parameters to getAuthorFeed * Don't set ATError object when logging * Add AspectRatio to ImageView * Start sourcegen * Update * Update Tools * Update * Remove usings, since it's in global * Try again * update * Update * Update * Update * Update * Update * Update * Almost... * Update * Update * Update logging-in.md * Add codeflow to readme * Update... * Expose the Cursor on the NotificationCollection * Almost... maybe... * Firehose * Update * The big one * Update * Update... * Fix Readme * Start refactoring... * More types * More cleanup * More modding... * More types... * Closer... * Nearly... * Fun! * First run! * Tests and More * Add Tests for Endpoints * Add class entries * Trying to generate helpers... * More generated Parameters * And helper methods! * Update Generated Types with less aggressive Null values Also fix JSON ATObject type to allow fallback * Update Docs, bump ATProto again... * Revert... * Revert... * Revert... * Add parameter constructors... * Update docs * More docs * Update docs * Adjust tests (???) * Remove deprecated classes and methods * Remove FishyFlipDX, Replace FishyFlip with Source Gen Bits (#104) +semver: breaking * Add docs, bump to net9.0 (#105) * Add docs, bump to net9.0 * Bump to net9 * Fix ImportRepo, add OpenGraphParser (#106) * Fix ImportRepo * Add OpenGraphParser * Cleanup + Fix WASM support (#108) * Order by classname * Update * small cleanup * Update * Use SupportsAutomaticDecompression for setting AutomaticDecompression, add WASM site back * Add WhiteWind Generator, add GetRecord (#110) * Add ATError Object Generator (#112) * Add Error Generator * Add Possible Errors * Warning cleanup * Add ToString override for ATError (#113) * Fix GetBlob to return byte[] (#114) * Resolve Repo DIDs and Handles independently (#115) * Start refactoring URL * Update * Fix tests * Fix Facet Parsing (#116) * Fix Facet Parsing * Remove DistinctBy * Reintroduce bskycli (#117) * Add bskycli * Image Aspect Ratio * Update * Update * Update readme * Update * Fix Windows script * Bump ATProtocol, Bind ATFile Lexicon support (#118) * Bump atprotocol * Add ATFile support * Add build_binding script (#119) * Update PasswordAuth with AuthenticateWithPasswordResultAsync (#120) * Update PasswordAuth with AuthenticateWithPasswordResultAsync * Really??? * Use public.api.bsky.app for unauthed sessions by default (#121) * Add 2FA Auth Token support for Password Auth (#122) * Bump dependencies (#123) * Add Post helper for PostView (#124) * Bump dependencies (#125) * Resolve users PDS before authentication (#126) * Add Pastesphere support (#127) * Add AniBlue support (#128) * Bump Bindings (#129) * Add community lexicons (#130) * Add DidDoc helpers (#131) * patch: Special case booleans (#132) * Bump bindings (#133) * Override ATUri/ATIdentifier Equals for proper checking (#134) * Bump bindings * Override Equals * Add support for setting Labels / Fixes Chat (#135) * Update SourceGen for Labels * Update for labels * Fix chat too --------- Co-authored-by: Thomas May <[email protected]> Co-authored-by: Kevin Gosse <[email protected]> Co-authored-by: Matt Brailsford <[email protected]>
- Loading branch information
1 parent
8552f38
commit 8b49b9e
Showing
921 changed files
with
65,040 additions
and
9,978 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
name: bskycli | ||
|
||
on: | ||
push: | ||
branches: [ "main", release-*, develop ] | ||
pull_request: | ||
branches: [ "main", release-*, develop ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
Linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 9.x | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: '6.0.5' | ||
|
||
- name: Run make linux-x64 | ||
run: make bskycli_linux | ||
|
||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
||
- name: Upload package x64 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: bskycli-linux-x64-${{ steps.gitversion.outputs.FullSemVer }} | ||
path: artifacts/linux-x64 | ||
|
||
MacOS: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 9.x | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: '6.0.5' | ||
|
||
- name: Run make osx | ||
run: make bskycli_macos | ||
|
||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
||
- name: Upload package arm64 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: bskycli-osx-arm64-${{ steps.gitversion.outputs.FullSemVer }} | ||
path: artifacts/osx-arm64 | ||
|
||
- name: Upload package x64 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: bskycli-osx-x64-${{ steps.gitversion.outputs.FullSemVer }} | ||
path: artifacts/osx-x64 | ||
|
||
Windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 9.x | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: '6.0.5' | ||
|
||
- name: Run powershell script | ||
run: | | ||
.\bskycli_publish.ps1 | ||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
||
- name: Upload package x64 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: bskycli-win-x64-${{ steps.gitversion.outputs.FullSemVer }} | ||
path: artifacts/win-x64 | ||
|
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 |
---|---|---|
@@ -0,0 +1,167 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "FFSourceGen", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_ffsourcegen", | ||
"program": "${workspaceFolder}/tools/FFSourceGen/bin/Debug/net9.0/FFSourceGen.dll", | ||
"args": [ "generate", "${workspaceFolder}/../atproto/lexicons", "-o", "${workspaceFolder}/src/FishyFlip/" ], | ||
"cwd": "${workspaceFolder}/tools/FFSourceGen", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": "atfile_list", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_bskycli", | ||
"program": "${workspaceFolder}/apps/bskycli/bin/Debug/net9.0/bskycli.dll", | ||
"args": [ | ||
"atfile", | ||
"list", | ||
"did:web:zio.sh", | ||
"-v" | ||
], | ||
"cwd": "${workspaceFolder}/apps/bskycli", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": "atfile_png", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_bskycli", | ||
"program": "${workspaceFolder}/apps/bskycli/bin/Debug/net9.0/bskycli.dll", | ||
"args": [ | ||
"atfile", | ||
"download", | ||
"did:web:zio.sh", | ||
"avatar-mod-no", | ||
"-v" | ||
], | ||
"cwd": "${workspaceFolder}/apps/bskycli", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": "post", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_bskycli", | ||
"program": "${workspaceFolder}/apps/bskycli/bin/Debug/net9.0/bskycli.dll", | ||
"args": [ | ||
"post", | ||
"Testing ホゲ, etc", | ||
"-r", | ||
"at://did:plc:okblbaji7rz243bluudjlgxt/app.bsky.feed.post/3lc2xksbvhw2f", | ||
"-c", | ||
"bafyreicwud4br5p54vikac7bprpszbca2jjc5ysjkszhtmextdrhgbozoa", | ||
"-e", | ||
"https://github.com/drasticactions/FishyFlip", | ||
"-l", | ||
"en,ja", | ||
"-u", | ||
"${env:BLUESKY_TEST_HANDLE}", | ||
"-p", | ||
"${env:BLUESKY_TEST_PASSWORD}" ], | ||
"cwd": "${workspaceFolder}/apps/bskycli", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": "post-image", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_bskycli", | ||
"program": "${workspaceFolder}/apps/bskycli/bin/Debug/net9.0/bskycli.dll", | ||
"args": [ | ||
"post", | ||
"image", | ||
"${workspaceFolder}/assets/logo.png,${workspaceFolder}/assets/logo.png", | ||
"-a", | ||
"Testing ホゲ, etc", | ||
"-t", | ||
"Testing ホゲ, etc", | ||
"-r", | ||
"at://did:plc:okblbaji7rz243bluudjlgxt/app.bsky.feed.post/3lc2xksbvhw2f", | ||
"-c", | ||
"bafyreicwud4br5p54vikac7bprpszbca2jjc5ysjkszhtmextdrhgbozoa", | ||
"-l", | ||
"en,ja", | ||
"-u", | ||
"${env:BLUESKY_TEST_HANDLE}", | ||
"-p", | ||
"${env:BLUESKY_TEST_PASSWORD}" ], | ||
"cwd": "${workspaceFolder}/apps/bskycli", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": "post-video", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_bskycli", | ||
"program": "${workspaceFolder}/apps/bskycli/bin/Debug/net9.0/bskycli.dll", | ||
"args": [ | ||
"post", | ||
"video", | ||
"${workspaceFolder}/assets/video.mp4", | ||
"-vtt", | ||
"${workspaceFolder}/assets/video.en.vtt,${workspaceFolder}/assets/video.ja.vtt", | ||
"-vttl", | ||
"en,ja", | ||
"-r", | ||
"at://did:plc:okblbaji7rz243bluudjlgxt/app.bsky.feed.post/3lc2xksbvhw2f", | ||
"-c", | ||
"bafyreicwud4br5p54vikac7bprpszbca2jjc5ysjkszhtmextdrhgbozoa", | ||
"-u", | ||
"${env:BLUESKY_TEST_HANDLE}", | ||
"-p", | ||
"${env:BLUESKY_TEST_PASSWORD}" | ||
], | ||
"cwd": "${workspaceFolder}/apps/bskycli", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": "resolve-handle", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_bskycli", | ||
"program": "${workspaceFolder}/apps/bskycli/bin/Debug/net9.0/bskycli.dll", | ||
"args": [ "resolve-handle", "drasticactions.dev" ], | ||
"cwd": "${workspaceFolder}/apps/bskycli", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": "did-doc", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_bskycli", | ||
"program": "${workspaceFolder}/apps/bskycli/bin/Debug/net9.0/bskycli.dll", | ||
"args": [ "did-doc", "did:plc:yhgc5rlqhoezrx6fbawajxlh" ], | ||
"cwd": "${workspaceFolder}/apps/bskycli", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": "download", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build_bskycli", | ||
"program": "${workspaceFolder}/apps/bskycli/bin/Debug/net9.0/bskycli.dll", | ||
"args": [ "download", "did:plc:urj4pkche2yvpr5ilj4ykteu", "bafkreif2su5dt27u23q2f4tl5mgmojyibl4rj6lundc27sjvtuhawi732y", "-o", "${workspaceFolder}/artifacts/avatar.jpg" ], | ||
"cwd": "${workspaceFolder}/apps/bskycli", | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build_ffsourcegen", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/tools/FFSourceGen/FFSourceGen.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "build_bskycli", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/apps/bskycli/bskycli.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
} | ||
] | ||
} |
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.