Skip to content

feat: download all post #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 162 commits into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
7c6d49e
Squashed commit of the following:
Thaumy Jul 19, 2023
6824102
chore: reformat issue template
Thaumy Jul 19, 2023
b309c6d
feat: add ui options to package.json
Thaumy Jul 19, 2023
10cc664
chore: update .gitignore
Thaumy Jul 20, 2023
dc8cf5b
refactor: simplify code
Thaumy Jul 20, 2023
fb4d7ca
refactor: simplify code
Thaumy Jul 20, 2023
1556f9a
style: optimize imports
Thaumy Jul 20, 2023
9a72c65
Revert "style: optimize imports"
Thaumy Jul 20, 2023
adef84b
fix: fix cmd exec failed when ext init
Thaumy Jul 20, 2023
ae7c587
chore: rename `AlertService` to `Alert`
Thaumy Jul 20, 2023
58b77df
chore: update package-lock.json
Thaumy Jul 20, 2023
c166733
refactor: simplify code
Thaumy Jul 21, 2023
6057064
chore: update launch.json
Thaumy Jul 21, 2023
e0a78b2
fix: fix auto extract img
Thaumy Jul 21, 2023
410474f
fix: fix ing list init
Thaumy Jul 21, 2023
3b122c9
refactor: simplify code
Thaumy Jul 21, 2023
07ece2e
refactor: simplify code
Thaumy Jul 21, 2023
ba27231
fix: fix init login
Thaumy Jul 24, 2023
9ebd5a6
fix: switch ing
Thaumy Jul 24, 2023
ef274f7
chore: move open cmds
Thaumy Jul 24, 2023
5fedfde
feat: treeview text style option
Thaumy Jul 25, 2023
a4d8244
feat: ing style options
Thaumy Jul 25, 2023
c6ced2e
refactor: simplify code
Thaumy Jul 25, 2023
921a753
docs: update
Thaumy Jul 25, 2023
08dfc73
refactor: simplify code
Thaumy Jul 25, 2023
e0738ba
refactor: simplify code
Thaumy Jul 25, 2023
7998fbf
refactor: simplify code
Thaumy Jul 25, 2023
812653e
chore: move alert to infra
Thaumy Jul 25, 2023
8f32966
refactor: split ext cfg
Thaumy Jul 25, 2023
06d5c96
chore: update ui es verion
Thaumy Jul 25, 2023
79b1234
ui: tweak confirmation text
Thaumy Jul 26, 2023
12986e0
refactor: update App.tsx
Thaumy Jul 26, 2023
ec69146
feat: configurable YFM upload
Thaumy Jul 26, 2023
a320601
refactor: upload post
Thaumy Jul 26, 2023
22e2665
ui: tweak setting order
Thaumy Jul 26, 2023
4f14407
fix: cfg listening
Thaumy Jul 26, 2023
4fcf3a0
fix: logout
Thaumy Jul 26, 2023
0605fe4
fix: dup extract img
Thaumy Jul 26, 2023
4a5e0c5
chore: fallback vscode to 1.70.0
Thaumy Jul 26, 2023
d4768de
chore: remove option
Thaumy Jul 26, 2023
3538215
docs: tweak README.md
Thaumy Jul 27, 2023
aa71082
refactor: simplify code
Thaumy Jul 27, 2023
0ee4dc4
refactor: img extract
Thaumy Jul 27, 2023
709a6fc
refactor: replace with rs impl regex match
Thaumy Jul 27, 2023
bf1c75b
docs: update README.md
Thaumy Jul 28, 2023
e77ced0
fix: #166
Thaumy Jul 28, 2023
f7f0a92
style: reformat
Thaumy Jul 28, 2023
1d89785
refactor: simplify code
Thaumy Jul 28, 2023
233716b
ui: disable confirm of upload post in some menus
Thaumy Jul 28, 2023
00f3c32
refactor: rs impl regex matches
Thaumy Jul 29, 2023
85daedb
refactor: extract img
Thaumy Jul 29, 2023
27d47e6
feat: add RsHttp
Thaumy Jul 30, 2023
a058914
feat: new http infra
Thaumy Jul 30, 2023
2c6ac5a
refactor: get req
Thaumy Jul 30, 2023
be836f9
feat: http post
Thaumy Jul 30, 2023
e950bd5
feat: http delete
Thaumy Jul 30, 2023
07d0c48
feat: http put
Thaumy Jul 30, 2023
bd65f43
refactor(http): infra
Thaumy Jul 30, 2023
d024190
refactor: http post req
Thaumy Jul 30, 2023
614d768
feat: handle http err code
Thaumy Jul 30, 2023
db2e79e
refactor: http delete req
Thaumy Jul 30, 2023
14311c2
fix: status code check
Thaumy Jul 30, 2023
d9bfacf
refactor: SiteCategoryService
Thaumy Jul 30, 2023
51aa526
refactor: BlogSettingService
Thaumy Jul 30, 2023
1ca1c2a
chore: rm useless test
Thaumy Jul 30, 2023
2cd2d1d
refactor: PostCategoryService
Thaumy Jul 30, 2023
353cd11
refactor: PostCategoryService
Thaumy Jul 30, 2023
97fb43f
fix: listCategories
Thaumy Jul 30, 2023
b6fd670
chore: update deps
Thaumy Jul 30, 2023
30829be
fix(blog-setting): model
Thaumy Jul 30, 2023
83e570e
fix(ui): PostFormContextProvider
Thaumy Jul 30, 2023
3447505
Revert "chore: rm useless test"
Thaumy Jul 31, 2023
e013dc7
ci: update linting script
Thaumy Jul 31, 2023
aaa48ca
build: update shell.nix
Thaumy Jul 31, 2023
482799d
chore: update deps
Thaumy Jul 31, 2023
55d6552
chore(package.json): move `scripts` to the front
Thaumy Jul 31, 2023
9dbff5a
style: fmt code
Thaumy Jul 31, 2023
344a9fe
ci(build-check): add rust workflows
Thaumy Jul 31, 2023
d903f78
ci(marketplace-publish): add rust workflows
Thaumy Jul 31, 2023
392d70c
refactor: got req
Thaumy Jul 31, 2023
7b13dc5
Revert "chore: update deps"
Thaumy Jul 31, 2023
3f906a9
deps: update
Thaumy Jul 31, 2023
af3710b
deps: update webpack
Thaumy Jul 31, 2023
ab5cef5
deps: update
Thaumy Jul 31, 2023
7a75087
style: reformat code
Thaumy Jul 31, 2023
edaaf89
fix: updatePost
Thaumy Jul 31, 2023
24b0879
refactor: blog export
Thaumy Jul 31, 2023
2e00496
refactor: fetchToken
Thaumy Jul 31, 2023
df2d56f
refactor: simplify code
Thaumy Jul 31, 2023
1e33992
ui: tweak msg
Thaumy Aug 1, 2023
6a86821
feat: infoWithTimeout
Thaumy Aug 1, 2023
b1eb8f6
deps: update
Thaumy Aug 1, 2023
daaeba4
deps: update @cnblogs/eslint-config-typescript
Thaumy Aug 1, 2023
78d1a31
style: reforamt code
Thaumy Aug 1, 2023
b9d08a0
fix: page count
Thaumy Aug 1, 2023
9cec6d0
build: fix resolve
Thaumy Aug 1, 2023
cc28bc1
deps: fix
Thaumy Aug 1, 2023
e03ded8
fix: revoke token
Thaumy Aug 1, 2023
b4184a6
ci: fix lint
Thaumy Aug 1, 2023
977187b
refactor: replace RandomString with RsRand
Thaumy Aug 1, 2023
efb2713
deps: fallback types of vscode
Thaumy Aug 1, 2023
109141f
feat: keep YFM when upload post by default
Thaumy Jul 28, 2023
80a7d4b
ci: fix package
Thaumy Aug 1, 2023
8800455
chore: update file structure
Thaumy Aug 1, 2023
2a791cb
fix: revoke token
Thaumy Aug 1, 2023
ecfe9b2
chore: update file structure
Thaumy Aug 1, 2023
1fda8a2
fix: revoke token
Thaumy Aug 1, 2023
9ca76b8
fix: post list btn
Thaumy Aug 1, 2023
d62c7f0
fix: post list btn
Thaumy Aug 1, 2023
fac1249
refactor: simplify code
Thaumy Aug 1, 2023
9490a39
ci: fix package
Thaumy Aug 2, 2023
e6091f0
style: reformat code
Thaumy Aug 2, 2023
1a7fce0
ci: fix package
Thaumy Aug 2, 2023
0390473
ci: fix rust cache
Thaumy Aug 2, 2023
92a5e8d
ci: fix package
Thaumy Aug 2, 2023
9d80dbf
deps: fix
Thaumy Aug 2, 2023
81e52fc
ci: fix package
Thaumy Aug 2, 2023
419b2c2
chore: update .vscodeignore
Thaumy Aug 2, 2023
3117117
ci: fix windows build
Thaumy Aug 2, 2023
4df4485
chore: rename extension
Thaumy Aug 2, 2023
5b48e98
ci: rename step
Thaumy Aug 2, 2023
19cdfc7
Merge branch 'staging' into staging-next
Thaumy Aug 2, 2023
107b5bb
chore: resolve merge conflicts
Thaumy Aug 2, 2023
95cf46d
Revert "chore: resolve merge conflicts"
Thaumy Aug 2, 2023
76aa7c9
Merge branch 'staging' into staging-next
Thaumy Aug 2, 2023
0c15605
chore: update rs .gitignore
Thaumy Aug 2, 2023
fa9be45
ci: disable targets for build speed
Thaumy Aug 2, 2023
9583831
fix: homo_result_string
Thaumy Aug 2, 2023
a05bfbf
refactor: login
Thaumy Aug 2, 2023
aa52ccf
feat: add login via PAT btn
Thaumy Aug 2, 2023
dfc5927
docs: tweak words
Thaumy Aug 3, 2023
b4c6492
fix: TokenInfo
Thaumy Aug 3, 2023
8bc029a
fix: switch user
Thaumy Aug 3, 2023
bdc2db8
refactor: simplify code
Thaumy Aug 3, 2023
76c19ac
feat: auth over PAT
Thaumy Aug 3, 2023
b03b868
ui: tweak category delete info
Thaumy Aug 3, 2023
65cf5e7
feat: remove refreshing alert
Thaumy Aug 3, 2023
adfdf59
refactor: page model
Thaumy Aug 4, 2023
d9314eb
refactor: page model
Thaumy Aug 4, 2023
a9d6394
refactor: img service
Thaumy Aug 4, 2023
dc01611
feat(upload img): remove type select of right click menu
Thaumy Aug 4, 2023
12821f7
refactor: simplify code
Thaumy Aug 4, 2023
617d25f
docs: add PAT
Thaumy Aug 4, 2023
2cd1956
ci: update
Thaumy Aug 4, 2023
e5269a1
feat: pull all posts
Thaumy Aug 7, 2023
d5adbbb
refactor: rename cmds
Thaumy Aug 7, 2023
a1858b4
refactor: simplify cmd
Thaumy Aug 8, 2023
c7a1520
fix: menu cmd
Thaumy Aug 8, 2023
fbb2861
fix: pub ing setp
Thaumy Aug 8, 2023
750712e
fix: pub ing step
Thaumy Aug 8, 2023
e555897
fix: wirte file err on windows
Thaumy Aug 9, 2023
5f9840f
Merge branch 'main' into dl-all-post
Thaumy Aug 9, 2023
669d305
Revert "Merge branch 'main' into dl-all-post"
Thaumy Aug 9, 2023
046cf4e
Merge branch 'dl-all-post' into staging-next
Thaumy Aug 9, 2023
b38798e
refactor: ing API
Thaumy Aug 9, 2023
08a521a
refactor: ing API
Thaumy Aug 10, 2023
94b886c
refactor: user info
Thaumy Aug 10, 2023
f30be1d
refactor: oauth
Thaumy Aug 10, 2023
d085acb
refactor: account info
Thaumy Aug 10, 2023
50577d2
feat: limit for pull all post
Thaumy Aug 10, 2023
4779d3d
style: reformat code
Thaumy Aug 10, 2023
9788775
fix: post-pdf-template-builder.ts
Thaumy Aug 10, 2023
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: 3 additions & 3 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ jobs:
- name: Target
id: target
shell: bash
run: echo "target=${{ matrix.platform }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT
run: echo "TARGET=${{ matrix.platform }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT

- name: Package
run: |
npx @vscode/vsce package --pre-release --target ${{ steps.target.outputs.target }} --no-update-package-json --no-git-tag-version ${{ steps.version.outputs.VERSION }}
npx @vscode/vsce package --pre-release --target ${{ steps.target.outputs.TARGET }} --no-update-package-json --no-git-tag-version ${{ steps.version.outputs.VERSION }}

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ steps.target.outputs.target }}
name: ${{ steps.target.outputs.TARGET }}
path: '*.vsix'
9 changes: 5 additions & 4 deletions .github/workflows/marketplace-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Check out
uses: actions/checkout@v3

- name: Setup node.js
uses: actions/setup-node@v3
Expand Down Expand Up @@ -97,16 +98,16 @@ jobs:
- name: Target
id: target
shell: bash
run: echo "target=${{ matrix.platform }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT
run: echo "TARGET=${{ matrix.platform }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT

- name: Package
run: |
npx @vscode/vsce package --target ${{ steps.target.outputs.target }} --no-git-tag-version --no-update-package-json ${{ steps.version.outputs.VERSION }}
npx @vscode/vsce package --target ${{ steps.target.outputs.TARGET }} --no-git-tag-version --no-update-package-json ${{ steps.version.outputs.VERSION }}

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ steps.target.outputs.target }}
name: ${{ steps.target.outputs.TARGET }}
path: '*.vsix'

publish:
Expand Down
441 changes: 217 additions & 224 deletions package.json

Large diffs are not rendered by default.

217 changes: 215 additions & 2 deletions rs/Cargo.lock

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

1 change: 1 addition & 0 deletions rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ serde = { version = "1.0.177", features = ["derive"] }
serde_qs = "0.12.0"
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
serde-wasm-bindgen = "0.5.0"
serde_with = "3.1.0"

reqwest = { version = "0.11.16", features = ["json"] }
Loading