@live-change/frontend-template 0.8.23 → 0.8.25

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.
@@ -57,7 +57,7 @@ export function createRouter(app, config) {
57
57
  if(!client.value.user) {
58
58
  console.log("REDIRECT TO LOGIN BECAUSE PAGE REQUIRES LOGIN!")
59
59
  router.redirectAfterSignIn = to.fullPath
60
- return { name: 'user:signIn' }
60
+ return { name: 'user:signInEmail' }
61
61
  }
62
62
  }
63
63
  if(to?.matched.find(m => m?.meta.signedOut)) {
@@ -66,7 +66,7 @@ export function createRouter(app, config) {
66
66
  return { name: 'user:settings' }
67
67
  }
68
68
  }
69
- if(to && to.name == 'user:signIn' && from?.matched.find(m => m?.meta.saveForSignIn)) {
69
+ if(to && to.name === 'user:signInEmail' && from?.matched.find(m => m?.meta.saveForSignIn)) {
70
70
  console.log("SAVE FOR LOGIN", from.fullPath)
71
71
  localStorage.redirectAfterLogin = from.fullPath
72
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/frontend-template",
3
- "version": "0.8.23",
3
+ "version": "0.8.25",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; node server/start.js localDev --enableSessions --initScript ./init.js",
@@ -35,39 +35,41 @@
35
35
  "@codemirror/language": "6.10.1",
36
36
  "@dotenvx/dotenvx": "0.27.0",
37
37
  "@fortawesome/fontawesome-free": "^6.4.2",
38
- "@live-change/access-control-frontend": "^0.8.23",
39
- "@live-change/access-control-service": "^0.8.23",
40
- "@live-change/backup-service": "^0.8.23",
41
- "@live-change/blog-frontend": "^0.8.23",
42
- "@live-change/blog-service": "^0.8.23",
43
- "@live-change/cli": "^0.8.23",
44
- "@live-change/content-frontend": "^0.8.23",
45
- "@live-change/content-service": "^0.8.23",
46
- "@live-change/dao": "^0.8.23",
47
- "@live-change/dao-vue3": "^0.8.23",
48
- "@live-change/dao-websocket": "^0.8.23",
49
- "@live-change/db-client": "^0.8.23",
50
- "@live-change/email-service": "^0.8.23",
51
- "@live-change/framework": "^0.8.23",
52
- "@live-change/frontend-auto-form": "^0.8.23",
53
- "@live-change/frontend-base": "^0.8.23",
54
- "@live-change/geoip-service": "^0.8.23",
55
- "@live-change/image-frontend": "^0.8.23",
56
- "@live-change/locale-settings-service": "^0.8.23",
57
- "@live-change/password-authentication-service": "^0.8.23",
58
- "@live-change/prosemirror-service": "^0.8.23",
59
- "@live-change/secret-code-service": "^0.8.23",
60
- "@live-change/secret-link-service": "^0.8.23",
61
- "@live-change/session-service": "^0.8.23",
62
- "@live-change/upload-frontend": "^0.8.23",
63
- "@live-change/url-frontend": "^0.8.23",
64
- "@live-change/url-service": "^0.8.23",
65
- "@live-change/user-frontend": "^0.8.23",
66
- "@live-change/user-identification-service": "^0.8.23",
67
- "@live-change/user-service": "^0.8.23",
68
- "@live-change/vue3-components": "^0.8.23",
69
- "@live-change/vue3-ssr": "^0.8.23",
70
- "@live-change/wysiwyg-frontend": "^0.8.23",
38
+ "@live-change/access-control-frontend": "^0.8.25",
39
+ "@live-change/access-control-service": "^0.8.25",
40
+ "@live-change/backup-service": "^0.8.25",
41
+ "@live-change/blog-frontend": "^0.8.25",
42
+ "@live-change/blog-service": "^0.8.25",
43
+ "@live-change/cli": "^0.8.25",
44
+ "@live-change/content-frontend": "^0.8.25",
45
+ "@live-change/content-service": "^0.8.25",
46
+ "@live-change/dao": "^0.8.25",
47
+ "@live-change/dao-vue3": "^0.8.25",
48
+ "@live-change/dao-websocket": "^0.8.25",
49
+ "@live-change/db-client": "^0.8.25",
50
+ "@live-change/email-service": "^0.8.25",
51
+ "@live-change/framework": "^0.8.25",
52
+ "@live-change/frontend-auto-form": "^0.8.25",
53
+ "@live-change/frontend-base": "^0.8.25",
54
+ "@live-change/geoip-service": "^0.8.25",
55
+ "@live-change/image-frontend": "^0.8.25",
56
+ "@live-change/locale-settings-service": "^0.8.25",
57
+ "@live-change/password-authentication-service": "^0.8.25",
58
+ "@live-change/prosemirror-service": "^0.8.25",
59
+ "@live-change/secret-code-service": "^0.8.25",
60
+ "@live-change/secret-link-service": "^0.8.25",
61
+ "@live-change/session-service": "^0.8.25",
62
+ "@live-change/task-service": "^0.8.25",
63
+ "@live-change/upload-frontend": "^0.8.25",
64
+ "@live-change/url-frontend": "^0.8.25",
65
+ "@live-change/url-service": "^0.8.25",
66
+ "@live-change/user-frontend": "^0.8.25",
67
+ "@live-change/user-identification-service": "^0.8.25",
68
+ "@live-change/user-service": "^0.8.25",
69
+ "@live-change/vote-service": "^0.8.25",
70
+ "@live-change/vue3-components": "^0.8.25",
71
+ "@live-change/vue3-ssr": "^0.8.25",
72
+ "@live-change/wysiwyg-frontend": "^0.8.25",
71
73
  "@vueuse/core": "^10.9.0",
72
74
  "codeceptjs-assert": "^0.0.5",
73
75
  "compression": "^1.7.4",
@@ -89,7 +91,7 @@
89
91
  "vue3-scroll-border": "0.1.6"
90
92
  },
91
93
  "devDependencies": {
92
- "@live-change/codeceptjs-helper": "^0.8.23",
94
+ "@live-change/codeceptjs-helper": "^0.8.25",
93
95
  "codeceptjs": "^3.5.12",
94
96
  "generate-password": "1.7.1",
95
97
  "playwright": "^1.41.2",
@@ -100,5 +102,5 @@
100
102
  "author": "",
101
103
  "license": "ISC",
102
104
  "description": "",
103
- "gitHead": "581260523149a1e596f08e878b5f4fabeaba26ea"
105
+ "gitHead": "1aa24b8ec3bfaa3576b72b514b2a97b061cb57fc"
104
106
  }
@@ -87,6 +87,9 @@ app.config = {
87
87
  {
88
88
  name: 'vote',
89
89
  },
90
+ {
91
+ name: 'task',
92
+ },
90
93
  {
91
94
  name: 'backup',
92
95
  port: 8007
@@ -19,6 +19,7 @@ import content from '@live-change/content-service'
19
19
  import geoIp from '@live-change/geoip-service'
20
20
  import vote from '@live-change/vote-service'
21
21
  import backup from '@live-change/backup-service'
22
+ import task from '@live-change/task-service'
22
23
  import init from './init.js'
23
24
 
24
25
  export {
@@ -43,5 +44,6 @@ export {
43
44
  geoIp,
44
45
  vote,
45
46
  backup,
47
+ task,
46
48
  init
47
49
  }
@@ -1,245 +0,0 @@
1
- {
2
- "version": "6.0",
3
- "nxVersion": "18.0.6",
4
- "deps": {
5
- "@codemirror/language": "6.10.1",
6
- "@dotenvx/dotenvx": "0.27.0",
7
- "@fortawesome/fontawesome-free": "^6.4.2",
8
- "@live-change/access-control-frontend": "0.8.12",
9
- "@live-change/access-control-service": "0.8.12",
10
- "@live-change/backup-service": "0.8.12",
11
- "@live-change/blog-frontend": "0.8.12",
12
- "@live-change/blog-service": "0.8.12",
13
- "@live-change/cli": "0.8.12",
14
- "@live-change/content-frontend": "0.8.12",
15
- "@live-change/content-service": "0.8.12",
16
- "@live-change/dao": "0.8.12",
17
- "@live-change/dao-vue3": "0.8.12",
18
- "@live-change/dao-websocket": "0.8.12",
19
- "@live-change/db-client": "0.8.12",
20
- "@live-change/email-service": "0.8.12",
21
- "@live-change/framework": "0.8.12",
22
- "@live-change/frontend-auto-form": "0.8.12",
23
- "@live-change/frontend-base": "0.8.12",
24
- "@live-change/image-frontend": "0.8.12",
25
- "@live-change/password-authentication-service": "0.8.12",
26
- "@live-change/prosemirror-service": "0.8.12",
27
- "@live-change/secret-code-service": "0.8.12",
28
- "@live-change/secret-link-service": "0.8.12",
29
- "@live-change/session-service": "0.8.12",
30
- "@live-change/upload-frontend": "0.8.12",
31
- "@live-change/url-frontend": "0.8.12",
32
- "@live-change/url-service": "0.8.12",
33
- "@live-change/user-frontend": "0.8.12",
34
- "@live-change/user-identification-service": "0.8.12",
35
- "@live-change/user-service": "0.8.12",
36
- "@live-change/vue3-components": "0.8.12",
37
- "@live-change/vue3-ssr": "0.8.12",
38
- "@live-change/wysiwyg-frontend": "0.8.12",
39
- "@vueuse/core": "^10.7.2",
40
- "codeceptjs-assert": "^0.0.5",
41
- "compression": "^1.7.4",
42
- "cross-env": "^7.0.3",
43
- "get-port-sync": "1.0.1",
44
- "pica": "^9.0.1",
45
- "pretty-bytes": "^6.1.1",
46
- "primeflex": "^3.3.1",
47
- "primeicons": "^6.0.1",
48
- "primevue": "^3.49.1",
49
- "rollup-plugin-node-builtins": "^2.1.2",
50
- "rollup-plugin-visualizer": "5.12.0",
51
- "serialize-javascript": "^6.0.2",
52
- "serve-static": "^1.15.0",
53
- "v-shared-element": "3.1.1",
54
- "vue": "^3.4.19",
55
- "vue-i18n": "^9.10.1",
56
- "vue-router": "^4.2.5",
57
- "vue3-scroll-border": "0.1.6",
58
- "@live-change/codeceptjs-helper": "0.8.12",
59
- "codeceptjs": "^3.5.12",
60
- "generate-password": "1.7.1",
61
- "playwright": "^1.41.2",
62
- "random-profile-generator": "^2.3.0",
63
- "txtgen": "^3.0.6",
64
- "webdriverio": "^8.31.1"
65
- },
66
- "pathMappings": {},
67
- "nxJsonPlugins": [],
68
- "fileMap": {
69
- "projectFileMap": {},
70
- "nonProjectFiles": [
71
- {
72
- "file": ".gitignore",
73
- "hash": "1525340288361053109"
74
- },
75
- {
76
- "file": "Dockerfile",
77
- "hash": "2588211392952419008"
78
- },
79
- {
80
- "file": "LICENSE",
81
- "hash": "11061867800085944532"
82
- },
83
- {
84
- "file": "build-stats/ssr-srcentryserverjs-outDir-distserver.html",
85
- "hash": "3730233767321191564"
86
- },
87
- {
88
- "file": "build-stats/ssrManifest-outDir-distclient.html",
89
- "hash": "3145657871970787830"
90
- },
91
- {
92
- "file": "docker/app.initd.sh",
93
- "hash": "5689466769238316025"
94
- },
95
- {
96
- "file": "docker/build-and-upload.sh",
97
- "hash": "9432915210479550333"
98
- },
99
- {
100
- "file": "docker/build-docker-and-upload.sh",
101
- "hash": "9817365185106032741"
102
- },
103
- {
104
- "file": "docker/commit-new-version.sh",
105
- "hash": "13933321789066251405"
106
- },
107
- {
108
- "file": "docker/k8s-rsync-helper.sh",
109
- "hash": "12840580596915123557"
110
- },
111
- {
112
- "file": "docker/onlyDependencies.js",
113
- "hash": "13135394580253028435"
114
- },
115
- {
116
- "file": "docker/parse-args-and-config.sh",
117
- "hash": "11641932740456140593"
118
- },
119
- {
120
- "file": "docker/restore-backup-with-service.sh",
121
- "hash": "10918919254951884109"
122
- },
123
- {
124
- "file": "docker/restore-backup.sh",
125
- "hash": "17157081294258412437"
126
- },
127
- {
128
- "file": "docker/start-service.sh",
129
- "hash": "13107251553503965386"
130
- },
131
- {
132
- "file": "docker/upload-backup-and-restore.sh",
133
- "hash": "16296194178343837935"
134
- },
135
- {
136
- "file": "front/index.html",
137
- "hash": "9934749794764720310"
138
- },
139
- {
140
- "file": "front/locales/en.js",
141
- "hash": "14517677418150644794"
142
- },
143
- {
144
- "file": "front/locales/en.json",
145
- "hash": "958560982087917099"
146
- },
147
- {
148
- "file": "front/public/favicon.ico",
149
- "hash": "11176796980188620760"
150
- },
151
- {
152
- "file": "front/public/images/empty-photo.svg",
153
- "hash": "9393138513813369674"
154
- },
155
- {
156
- "file": "front/public/images/empty-user-photo.svg",
157
- "hash": "17548039285248668212"
158
- },
159
- {
160
- "file": "front/public/images/logo.svg",
161
- "hash": "5934164668360941413"
162
- },
163
- {
164
- "file": "front/public/images/logo128.png",
165
- "hash": "4924117807669085214"
166
- },
167
- {
168
- "file": "front/src/App.vue",
169
- "hash": "9222582619339954604"
170
- },
171
- {
172
- "file": "front/src/Index.vue",
173
- "hash": "6141752239478277683"
174
- },
175
- {
176
- "file": "front/src/analytics.js",
177
- "hash": "492811393913301668"
178
- },
179
- {
180
- "file": "front/src/components/Clock.vue",
181
- "hash": "6241258097645393918"
182
- },
183
- {
184
- "file": "front/src/config.js",
185
- "hash": "17141574776320567044"
186
- },
187
- {
188
- "file": "front/src/entry-client.js",
189
- "hash": "1218837904372604167"
190
- },
191
- {
192
- "file": "front/src/entry-server.js",
193
- "hash": "14873198266209017118"
194
- },
195
- {
196
- "file": "front/src/router.js",
197
- "hash": "16714073484061964064"
198
- },
199
- {
200
- "file": "front/tsconfig.json",
201
- "hash": "6166366661637344199"
202
- },
203
- {
204
- "file": "front/tsconfig.node.json",
205
- "hash": "4208030242441905014"
206
- },
207
- {
208
- "file": "front/vite.config.ts",
209
- "hash": "4804285485121244435"
210
- },
211
- {
212
- "file": "index.js",
213
- "hash": "11269213519712721017"
214
- },
215
- {
216
- "file": "package.json",
217
- "hash": "9866701297062722131"
218
- },
219
- {
220
- "file": "server/app.config.js",
221
- "hash": "11408121016613362286"
222
- },
223
- {
224
- "file": "server/init.js",
225
- "hash": "10527942683746245757"
226
- },
227
- {
228
- "file": "server/page.documentType.js",
229
- "hash": "4319267302010918354"
230
- },
231
- {
232
- "file": "server/security.config.js",
233
- "hash": "6483730663450187822"
234
- },
235
- {
236
- "file": "server/services.list.js",
237
- "hash": "11298407397796835450"
238
- },
239
- {
240
- "file": "server/start.js",
241
- "hash": "3387118482182040319"
242
- }
243
- ]
244
- }
245
- }
@@ -1,6 +0,0 @@
1
- {
2
- "nodes": {},
3
- "externalNodes": {},
4
- "dependencies": {},
5
- "version": "6.0"
6
- }