Skip to content

Commit

Permalink
refactor: use js-sdk/admin-api (halo-dev#378)
Browse files Browse the repository at this point in the history
* 1.3.0-beta.2

* fix: token expire.

* pref: halo-dev#291

* refactor: use js-sdk/admin-api

* chore: remove unnecessary files

* chore: remove unnecessary files

* chore: remove unnecessary files

* chore: remove unnecessary files

* refactor: developer/Environment.vue

* chore: remove unnecessary files

* refactor: login auth

* refactor: login auth

* refactor: remove api url setting

* refactor: custom sheet list

* style: reformat code

* refactor: logout

* refactor: remove setTimeout when fetch api

* fix: auto login error

* fix: post update error

* fix: backup

* fix: turn on developer mode error

* fix: mfa setting error

* chore: remove unnecessary files

* feat: add interceptors

* refactor: api client

* refactor: api client

* chore(deps): upgrade admin-api

* refactor: 重构认证

* fix: 修复认证请求头参数

* refactor: login

* feat: add error handle

* refactor: api client

* refactor: refresh token

* refactor: attachment upload

* refactor: upload component

* refactor: upload

* fix: tag save

* fix: github api request

* fix: installation page

* feat: add version field for html

* fix: option.list to option.listAsMapView

* fix: directory base path of static storage

* chore: upgrade halo sdk version

Co-authored-by: guqing <1484563614@qq.com>
  • Loading branch information
ruibaby and guqing authored Nov 26, 2021
1 parent 760fffd commit 48d145f
Show file tree
Hide file tree
Showing 141 changed files with 2,793 additions and 4,373 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
NODE_ENV=production
PUBLIC_PATH=/
PUBLIC_PATH=/
VUE_APP_API_URL=/
3 changes: 2 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
NODE_ENV=development
PUBLIC_PATH=/
PUBLIC_PATH=/
VUE_APP_API_URL=http://localhost:8090
1 change: 1 addition & 0 deletions .env.jsdelivr
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
NODE_ENV=production
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.4.13/dist/
VUE_APP_API_URL=/
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ pnpm-debug.log*
*.njsproj
*.sln
*.sw?

# NodeJs package manager

yarn.lock
package-lock.json
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"@codemirror/basic-setup": "^0.19.0",
"@codemirror/lang-html": "^0.19.3",
"@codemirror/lang-java": "^0.19.1",
"@halo-dev/admin-api": "^1.0.0-alpha.44",
"ant-design-vue": "^1.7.8",
"axios": "^0.21.4",
"crypto-js": "^4.1.1",
"dayjs": "^1.10.7",
"enquire.js": "^2.1.6",
"filepond": "^4.30.3",
Expand Down
84 changes: 68 additions & 16 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="robots" content="noindex,nofollow" />
<meta name="generator" content="Halo 1.4.13" />
<meta name="generator" content="Halo <%= htmlWebpackPlugin.options.version %>" />
<link rel="icon" href="/favicon.ico" />
<title>Halo Dashboard</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
import { deviceEnquire, DEVICE_TYPE } from '@/utils/device'
import { DEVICE_TYPE, deviceEnquire } from '@/utils/device'
export default {
data() {
Expand Down
84 changes: 0 additions & 84 deletions src/api/actuator.js

This file was deleted.

Loading

0 comments on commit 48d145f

Please sign in to comment.