Skip to content
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

Develop #50

Open
wants to merge 59 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
4d1d62f
f
mistricky Aug 29, 2024
f8a891a
[Init] make zzhack as SSR app
mistricky Jul 9, 2024
e7b3f6e
[Feat] add instruction of how to start dev server
mistricky Jul 9, 2024
48e00a5
[Delete] entry/dist directory
mistricky Jul 9, 2024
3442554
[Chore] ignore build output
mistricky Jul 9, 2024
fc6508d
[Feat] add static folder for serve static resource
mistricky Jul 9, 2024
3f692b2
[Feat] finished render posts & post page
mistricky Jul 9, 2024
cc0224e
[Doc] add document to describe how to dev
mistricky Jul 9, 2024
9e1a69b
[Feat] add CI to help do check for code style
mistricky Jul 9, 2024
9394870
[Doc] ignore styles when watch and build client bundle
mistricky Jul 10, 2024
5269697
[Feat] add typograpy plugin
mistricky Jul 11, 2024
0361774
[Feat] add site_config package
mistricky Jul 13, 2024
f3d6e56
[Doc] add TODOs and update the watch command of client
mistricky Jul 14, 2024
ea5999f
[Refactor] refactor directory structure
mistricky Jul 14, 2024
87a680d
[Feat] finished get posts api endpoint
mistricky Jul 14, 2024
8850362
[Feat] finished posts api
mistricky Jul 16, 2024
f358edd
[Feat] optimize error handing for api handler
mistricky Jul 16, 2024
541d3ad
[Refactor] extract posts response struct into shared package
mistricky Jul 16, 2024
77e1a06
[Feat] add response package
mistricky Jul 16, 2024
282094b
[Delete] zzhack.db
mistricky Jul 16, 2024
f9438f0
[Chore] clear logs and fix calc has_next logic
mistricky Jul 16, 2024
1261974
[Refactor] rename response to shared and delete models
mistricky Jul 16, 2024
bf14dc9
[Remove] trim content field from post
mistricky Jul 16, 2024
2cb9628
[Feat] finished post detail endpoint
mistricky Jul 16, 2024
5f4c6d7
[Doc] add todo items
mistricky Jul 16, 2024
b5f8ebf
[Feat] finished posts delete logic
mistricky Jul 17, 2024
76c50ec
[Fix] delete logic
mistricky Jul 17, 2024
bddf44d
[Feat] add post item component
mistricky Jul 17, 2024
436852d
[Feat] add placeholder of links page and add corresponding todo item
mistricky Jul 17, 2024
6e8acb1
[Feat] add links page and corresponding apis
mistricky Jul 17, 2024
a8a829d
[Feat] add dynamic page dispatcher
mistricky Jul 17, 2024
661d096
[Fix] dynamic post render issues
mistricky Jul 17, 2024
c325eeb
[Feat] finished nav page
mistricky Jul 17, 2024
bf48fea
[Feat] migrate to sea-orm
mistricky Jul 18, 2024
f92e16e
[Feat] auto generate entity code by sea-orm cli
mistricky Jul 18, 2024
a18a5e9
[Doc] update content about how to migrate database
mistricky Jul 18, 2024
d7daace
[Fix] delete error
mistricky Jul 19, 2024
4079fc8
[Refactor] site config package
mistricky Jul 19, 2024
3d0c2b5
[Feat] finished api tags insert function
mistricky Jul 20, 2024
703475f
[Feat] finished tags interface
mistricky Jul 20, 2024
150e908
[Fix] wrong path of markdown file
mistricky Jul 20, 2024
fee6fdb
[Fix] fix wrong calculation logic of has_next
mistricky Jul 20, 2024
2fcdbfa
[Feat] finished tags interface
mistricky Jul 21, 2024
e1b2c01
[Feat] finished posts interface
mistricky Jul 21, 2024
f8b8db7
[Fix] post detail deserilized
mistricky Jul 21, 2024
08c1597
[Doc] ignore assets folder
mistricky Jul 31, 2024
2e8160d
[Chore] ignore DS_Store
mistricky Aug 29, 2024
f840df0
[Perf] posts page
mistricky Aug 29, 2024
ac5c145
[Chore] format code style using cargo fmt util
mistricky Aug 29, 2024
8106bfa
[Fix] throw an error when upsert tags
mistricky Aug 30, 2024
2e00add
[Fix] wrong tags parse
mistricky Aug 31, 2024
2feced0
[Perf] add useful comments for tags initialize function
mistricky Aug 31, 2024
efd39a8
[Feat] add language support (#51)
mistricky Sep 2, 2024
29946ed
[Update] README
mistricky Sep 2, 2024
917682b
[Chore] remove useless code
mistricky Sep 2, 2024
a2ec42c
[Perf] format code by fmt
mistricky Sep 3, 2024
f13868b
[refactor] refactoring use new design style (#52)
mistricky Sep 3, 2024
1b8d55a
[Delete] entry/styles/output.css
mistricky Sep 4, 2024
194eaf0
[Feat] support custom tag color (#53)
mistricky Sep 4, 2024
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
43 changes: 0 additions & 43 deletions .github/workflows/deploy-site.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check code style
on:
pull_request:
paths:
- "**/*.rs"
push:
branches: [main]
paths:
- "**/*.rs"

jobs:
format:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt

- name: Run fmt
run: cargo +nightly fmt --all -- --check --unstable-features
16 changes: 9 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
**/*.rs.bk
.vercel
# Build
**/target
**/dist
database.json
output.css

# Dependencies
pkg
/target
# Deps
node_modules

# Dist
dist
# Database
zzhack.db

# Platform
.DS_Store
8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

Loading