w-web-sso 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/db/wsso/ips/data.mdb +0 -0
- package/db/wsso/ips/lock.mdb +0 -0
- package/db/wsso/tokens/data.mdb +0 -0
- package/db/wsso/tokens/lock.mdb +0 -0
- package/db/wsso/users/data.mdb +0 -0
- package/db/wsso/users/lock.mdb +0 -0
- package/dist/css/{app.03a2f95c.css → app.e4367a2b.css} +1 -1
- package/dist/index.tmp +6 -2
- package/dist/js/app-legacy.4ebeee34.js +2 -0
- package/dist/js/app-legacy.4ebeee34.js.map +1 -0
- package/dist/js/app.d1707f92.js +2 -0
- package/dist/js/app.d1707f92.js.map +1 -0
- package/dist/js/chunk-vendors-legacy.7380957a.js +15 -0
- package/dist/js/chunk-vendors-legacy.7380957a.js.map +1 -0
- package/dist/js/chunk-vendors.7380957a.js +15 -0
- package/dist/js/chunk-vendors.7380957a.js.map +1 -0
- package/dist/w-web-sso.umd.js +2 -2
- package/dist/w-web-sso.umd.js.map +1 -1
- package/docs/WWebSso.html +4 -112
- package/docs/WWebSso.mjs.html +460 -111
- package/docs/index.html +1 -1
- package/g.getSettings.mjs +0 -1
- package/g.initialData.mjs +8 -10
- package/g.mjs +0 -0
- package/package.json +7 -6
- package/public/index.html +13 -0
- package/server/WWebSso.mjs +459 -110
- package/server/procCore.mjs +871 -277
- package/server/procProtect.mjs +746 -0
- package/server/procStaInfor.mjs +393 -0
- package/server/provideUsers.mjs +0 -1
- package/server/srlog.mjs +12 -0
- package/server/staLogs/staIp.callWorker.mjs +35 -0
- package/server/staLogs/staIp.mjs +118 -0
- package/server/staLogs/staIp.shellWorker.mjs +18 -0
- package/server/staLogs/staToken.callWorker.mjs +35 -0
- package/server/staLogs/staToken.mjs +118 -0
- package/server/staLogs/staToken.shellWorker.mjs +18 -0
- package/server/staLogs/staUserAccountLogin.callWorker.mjs +35 -0
- package/server/staLogs/staUserAccountLogin.mjs +136 -0
- package/server/staLogs/staUserAccountLogin.shellWorker.mjs +18 -0
- package/server/staLogs/test_staIp.mjs +27 -0
- package/server/staLogs/test_staToken.mjs +27 -0
- package/server/staLogs/test_staUserAccountLogin.mjs +30 -0
- package/settings.json +15 -1
- package/src/components/Layout.vue +70 -15
- package/src/components/LayoutContent.vue +35 -33
- package/src/components/LayoutContentIps.vue +757 -0
- package/src/components/LayoutContentStaInfor.vue +917 -0
- package/src/components/LayoutContentTokens.vue +961 -0
- package/src/components/{LayoutContentInfor.vue → LayoutContentUserInfor.vue} +366 -73
- package/src/components/LayoutContentUsers.vue +21 -34
- package/src/components/PageLogin.vue +1 -1
- package/src/components/VeUser.vue.txt +9 -10
- package/src/components/ruleGroup.vue.txt +5 -6
- package/src/main.js +7 -13
- package/src/plugins/mLang.mjs +853 -520
- package/src/plugins/mShare.mjs +141 -3
- package/src/plugins/mUI.mjs +30 -21
- package/src/schema/index.mjs +2 -0
- package/src/schema/tables/ips.mjs +0 -9
- package/src/schema/tables/tokens.mjs +5 -1
- package/src/schema/tables/users.mjs +2 -14
- package/src/store/mutations.mjs +3 -3
- package/src/store/types.mjs +1 -1
- package/srv.mjs +55 -38
- package/_/350/246/217/345/212/203.md +0 -275
- package/dist/js/app-legacy.d468ef7f.js +0 -2
- package/dist/js/app-legacy.d468ef7f.js.map +0 -1
- package/dist/js/app.d468ef7f.js +0 -2
- package/dist/js/app.d468ef7f.js.map +0 -1
- package/dist/js/chunk-vendors-legacy.f51f58bb.js +0 -13
- package/dist/js/chunk-vendors-legacy.f51f58bb.js.map +0 -1
- package/dist/js/chunk-vendors.f51f58bb.js +0 -13
- package/dist/js/chunk-vendors.f51f58bb.js.map +0 -1
- package/src/components/LayoutContentSettings.vue +0 -1248
package/docs/index.html
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<br class="clear">
|
|
72
72
|
|
|
73
73
|
<footer>
|
|
74
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.
|
|
74
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a> on Sat Jul 12 2025 22:44:43 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
75
75
|
</footer>
|
|
76
76
|
|
|
77
77
|
<script>prettyPrint();</script>
|
package/g.getSettings.mjs
CHANGED
package/g.initialData.mjs
CHANGED
|
@@ -21,8 +21,8 @@ async function initialData() {
|
|
|
21
21
|
redir: 'https://github.com/?token={token}', //給予{token}使前端自動取代成真實token
|
|
22
22
|
isAdmin: 'n',
|
|
23
23
|
isVerified: 'y',
|
|
24
|
-
timeVerified: '2025-01-01T00:00:00+08:00',
|
|
25
|
-
timeExpired: '2030-01-01T00:00:00+08:00',
|
|
24
|
+
timeVerified: '2025-01-01T00:00:00.000+08:00',
|
|
25
|
+
timeExpired: '2030-01-01T00:00:00.000+08:00',
|
|
26
26
|
timeBlocked: '',
|
|
27
27
|
isActive: 'y',
|
|
28
28
|
|
|
@@ -38,8 +38,8 @@ async function initialData() {
|
|
|
38
38
|
redir: 'https://github.com/?token={token}', //給予{token}使前端自動取代成真實token
|
|
39
39
|
isAdmin: 'n',
|
|
40
40
|
isVerified: 'y',
|
|
41
|
-
timeVerified: '2025-01-01T00:00:00+08:00',
|
|
42
|
-
timeExpired: '2030-01-01T00:00:00+08:00',
|
|
41
|
+
timeVerified: '2025-01-01T00:00:00.000+08:00',
|
|
42
|
+
timeExpired: '2030-01-01T00:00:00.000+08:00',
|
|
43
43
|
timeBlocked: '',
|
|
44
44
|
isActive: 'y',
|
|
45
45
|
},
|
|
@@ -54,8 +54,8 @@ async function initialData() {
|
|
|
54
54
|
redir: 'https://github.com/?token={token}', //給予{token}使前端自動取代成真實token
|
|
55
55
|
isAdmin: 'y',
|
|
56
56
|
isVerified: 'y',
|
|
57
|
-
timeVerified: '2025-01-01T00:00:00+08:00',
|
|
58
|
-
timeExpired: '2030-01-01T00:00:00+08:00',
|
|
57
|
+
timeVerified: '2025-01-01T00:00:00.000+08:00',
|
|
58
|
+
timeExpired: '2030-01-01T00:00:00.000+08:00',
|
|
59
59
|
timeBlocked: '',
|
|
60
60
|
isActive: 'y',
|
|
61
61
|
},
|
|
@@ -88,7 +88,7 @@ async function initialData() {
|
|
|
88
88
|
{
|
|
89
89
|
token: 'token-for-app',
|
|
90
90
|
userId: 'id-for-app',
|
|
91
|
-
isApp:
|
|
91
|
+
isApp: 'y',
|
|
92
92
|
},
|
|
93
93
|
]
|
|
94
94
|
ts = map(ts, (t, k) => {
|
|
@@ -98,9 +98,7 @@ async function initialData() {
|
|
|
98
98
|
})
|
|
99
99
|
v.id = `id-for-${token}`
|
|
100
100
|
v.token = token
|
|
101
|
-
|
|
102
|
-
v.timeEnd = '2030-00-00T00:00:00+08:00'
|
|
103
|
-
}
|
|
101
|
+
v.timeEnd = '2030-01-01T00:00:00.000+08:00' //測試各token皆給予超長時效
|
|
104
102
|
return v
|
|
105
103
|
})
|
|
106
104
|
await woItems.tokens.delAll()
|
package/g.mjs
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w-web-sso",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"main": "dist/w-web-sso.umd.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@mdi/js": "^7.4.47",
|
|
7
|
-
"axios": "^1.
|
|
7
|
+
"axios": "^1.10.0",
|
|
8
8
|
"json5": "^2.2.3",
|
|
9
9
|
"lodash-es": "^4.17.21",
|
|
10
|
-
"w-component-vue": "^2.4.
|
|
10
|
+
"w-component-vue": "^2.4.22",
|
|
11
11
|
"w-data-collector": "^1.0.22",
|
|
12
|
-
"w-serv-hapi": "^1.0.
|
|
13
|
-
"w-serv-orm": "^1.0.
|
|
12
|
+
"w-serv-hapi": "^1.0.59",
|
|
13
|
+
"w-serv-orm": "^1.0.28",
|
|
14
|
+
"w-syslog": "^1.0.6",
|
|
14
15
|
"w-ui-loginout": "^1.0.9",
|
|
15
|
-
"wsemi": "^1.
|
|
16
|
+
"wsemi": "^1.8.14"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@vue/cli-plugin-babel": "^5.0.8",
|
package/public/index.html
CHANGED
|
@@ -6,12 +6,25 @@
|
|
|
6
6
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
7
|
<title></title>
|
|
8
8
|
|
|
9
|
+
<!-- tailwindcss -->
|
|
10
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
11
|
+
<script>
|
|
12
|
+
tailwind.config = {
|
|
13
|
+
corePlugins: {
|
|
14
|
+
preflight: false,
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
9
19
|
<!-- mdi font -->
|
|
10
20
|
<link href="https://cdn.jsdelivr.net/npm/@mdi/font/css/materialdesignicons.min.css" rel="stylesheet">
|
|
11
21
|
|
|
12
22
|
<!-- fontawesome -->
|
|
13
23
|
<link href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.2/css/all.min.css" rel="stylesheet">
|
|
14
24
|
|
|
25
|
+
<!-- echarts -->
|
|
26
|
+
<script src="https://cdn.jsdelivr.net/npm/echarts@5.6.0/dist/echarts.min.js"></script>
|
|
27
|
+
|
|
15
28
|
<!-- ___pmwsso___ -->
|
|
16
29
|
<script>
|
|
17
30
|
window.___pmwsso___={
|