Skip to content

Commit

Permalink
Merge: dev -> main (#192)
Browse files Browse the repository at this point in the history
* [add] 添加 Forge 其它崩溃原因 (#148)

* ✨ update: 再次更新Analyzer, 使用MCLA API并修复一些错误 #140 (#149)

* use MCLA web assembly module as the first analyzer

* fixed styles

* use vue-router instead of window.href

* fix overflow button animation

* nice! cdn fixed; makes the cdn url configurable

* makes the cdn cache limit larger

* we don't need cdn when redirect to github

* add MCLA error catcher

* use newer API to read file

* Update docs/.vitepress/theme/components/Analyzer.vue

* fixed zip read

* finally fixed expand transition

* use requestAnimationFrame instead of setTimeout(0)

* remove an extra argument

* move mcla into another file

* export mcla github database prefix

* switching to ts

* revert back the origin error compares

* fix isBtnDisabled

* add analyzing icon

* fix expand transition

* finish to show multiple parsed errors & solutions

* change type names

* revert some docs changed by accident

* support gzip

* support zlib

* remove unused variable

* fixed lint issues

* ignore some specific tarball paths

* run docs:format

* fixed hr display

* fix button hint when error is unrecord

* fix analyze dropped files

* use iterator instead of array

---------

Co-authored-by: Big_Cake <2577117205@qq.com>

* fix upload button disabled forever issue

* support version control for MCLA

* Support read & analysis multiple files

* fix a debug log

* remove nosense logs

* run eslint

* remove the extra `window.` prefix

* bump MCLA to v0.4.9

* ✨ feat: vitepress plugins

nprogress, back-to-top, codeplock fold, viewerjs

* bump mcla to v0.4.13 (#155)

* 支持Web worker, 使用多线程分析保证浏览器渲染流畅 (#156)

* Bump MCLA to v0.4.18

* auto run docs:format in pr-check.yml

* update pr-check.yml

* update pr-check.yml

* format test

* use docs:lint but not docs:format

* 🌈 style(css): add `vp-c-brand-1`

* add @typescript-eslint/parser

* run docs:format

* fix lint

* 更名

* move src/mcla_worker.js -> public/scripts/mcla_worker.js

* run pnpm run docs:format

* fix pr-check

* fix format

* let the format hint output to stderr

* ✨ update: 更新 Java 链接 (#162)

* 更新java链接

* Update mods.md

* Update system.md

* 更改java下载为cdn

* ✨ feat(husky): add git hooks

add husky
add zhlint
format & lint everything

now we can run `docs:zhlint` to format Chinese docs
also automatically run before commiting changes

* ✨ update: 添加更多 Mod 问题 (#165)

* 添加 Forge 其它崩溃原因

* 添加 mod 问题

* 完善 Mod 问题

* 使用 Mod 全称

* 添加 mod 链接

* 🛠️ fix: 修复 zhlint 和 Actions (#166)

* add pre-commit

* fix zhlint (but not really fixed)

* fix the filename `.DS_Store`

* update contribute/contributing.md

* Update CRASH-UPLOAD.yml

当日志很长时,用户无法粘贴到textarea或者无法提交超出长度的issue, 所以加了个markdown格子让用户可以直接拖拽上传文件

* Update CRASH-UPLOAD.yml

Fix serval issue

* Add a header for log file in CRASH-UPLOAD.yml

* Revert "Update CRASH-UPLOAD.yml"

* Update CRASH-UPLOAD.yml

不加 render 的 textarea 就是 markdown 格子

* 🛠️ bump MCLA to v0.4.22 (#182)

* bump MCLA to v0.4.21

* use vue-tsc for check .vue file, and fix serval errors

* fix umami defination for eslint

* bump MCLA to v0.4.22

* fix style

* Add LogViewer and Github OAuth

* revert CRASH-UPLOAD.yml

* 添加错误: 在服务端运行仅客户端模组
close #181

* bumb MCLA to v0.4.23

* format use space

* reforged auth flow
换了个更麻烦的登录流程(雾)
但是现在测试的时候不用在github里把redirect_uri改来改去了(啊这)

* remove the old token when it was expired

* bump github ci node version to 20

* bump node version to 20 for pr-check

* Update pr-check.yml

改了一下名称
试图刷新cloudfare

* add MCLA loading progress (#190)

* add MCLA loading progress
fix most tsc problems
resolve Vue warn "Missing required prop *"

* ignore TS2353 so far, wait for T-miracle/vitepress-plugin-comment-with-giscus#10

* format code

* Add Utf-8崩溃

---------

Co-authored-by: 柚子柚子 <youzi5201086@163.com>
Co-authored-by: Kevin Z <zyxkad@gmail.com>
Co-authored-by: Big_Cake <2577117205@qq.com>
Co-authored-by: 思遥方 <92374733+Seayay@users.noreply.github.com>
Co-authored-by: bingling-sama <bingling_sama@qq.com>
Co-authored-by: Pigeon0v0 <60414767+Pigeon0v0@users.noreply.github.com>
Co-authored-by: Enlysure <asd2376947530@gmail.com>
Co-authored-by: Rovniced <52170460+Rovniced@users.noreply.github.com>
  • Loading branch information
9 people committed Jan 20, 2024
1 parent 0cc3730 commit 37ddd36
Show file tree
Hide file tree
Showing 49 changed files with 5,316 additions and 1,675 deletions.
7 changes: 5 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@
"prettier"
],
"rules": {
"no-var": 0,
"no-var": "off",
"no-fallthrough": "off",
"vue/multi-word-component-names": "off",
"vue/attribute-hyphenation": "off",
"prettier-vue/prettier": ["error"],
"vue/multi-word-component-names": "off",
"@typescript-eslint/no-explicit-any": "off"
},
"env": {
"browser": true
Expand Down
10 changes: 9 additions & 1 deletion .github/ISSUE_TEMPLATE/CRASH-UPLOAD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ body:
render: bash
validations:
required: true
- type: textarea
id: log-files
attributes:
label: "日志文件"
description: 如果日志太长无法提交,请将日志文件拖放到这里
placeholder: 不要在这里粘贴日志
validations:
required: false
- type: dropdown
id: os
attributes:
Expand All @@ -58,4 +66,4 @@ body:
- 客户端
- 服务端
validations:
required: true
required: true
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest]
fail-fast: false

Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest]
fail-fast: false

Expand All @@ -20,9 +20,18 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/

- name: 📦 Install Dependencies
run: yarn

- name: 🧐 Check Code Types
run: yarn docs:tsc

- name: 🔧 Check Code Format
run: |
yarn docs:eslint && exit 0
echo 'Error: 请执行 `pnpm run docs:format` 以格式化代码' 1>&2
exit 1
- name: 🌌 Build VitePress Docs
run: yarn docs:build
9 changes: 9 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "running docs:tsc"
pnpm run docs:tsc
echo "running docs:eslint --fix"
pnpm run docs:eslint --fix
echo "running docs:zhlint"
pnpm run docs:zhlint
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"vueIndentScriptAndStyle": false,
"endOfLine": "crlf"
"vueIndentScriptAndStyle": false
}
1 change: 1 addition & 0 deletions .zhlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/.vitepress
5 changes: 5 additions & 0 deletions .zhlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"preset": "default",
"rules": {
}
}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@
- [23355607](https://github.com/2623684696):域名管理
- [龙腾猫跃 / PCL2](https://github.com/Hex-Dragon/PCL2):提供了部分日志分析规则
- 各位志愿者:提供了很多日志分析经验,没有你们河豚分析不会成立
- [Cloudflare](https://www.cloudflare.com):提供免费的 Cloudflare Pro 计划支持

0 comments on commit 37ddd36

Please sign in to comment.