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

Update github ci/cd #2

Open
wants to merge 884 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
884 commits
Select commit Hold shift + click to select a range
83262c5
Merge pull request #135 from webduinoio/improvement/7244
shengyuan Sep 22, 2023
2dcb443
fix: :bug: fixed typo
shengyuan Sep 22, 2023
f13d5f4
Merge pull request #136 from webduinoio/improvement/7244
shengyuan Sep 22, 2023
084aba1
docs: :memo: update changelog
shengyuan Sep 22, 2023
e70a460
docs: :memo: update link
shengyuan Sep 22, 2023
e192a2a
Merge pull request #137 from webduinoio/improvement/7257
shengyuan Sep 22, 2023
0885211
Merge branch 'next' into improvement/7244
shengyuan Sep 27, 2023
97f334d
feat: :wheelchair: modified the messages
shengyuan Sep 27, 2023
f566c0e
Merge pull request #138 from webduinoio/improvement/7244
shengyuan Sep 27, 2023
ff179d0
docs: :memo: update changelog
shengyuan Sep 27, 2023
4c66064
feat: :bookmark: release v1.8.0
GoGoPenguin Sep 28, 2023
8ca94e2
Merge pull request #139 from webduinoio/release/7255
GoGoPenguin Sep 28, 2023
a97bee3
Merge pull request #140 from webduinoio/release/7255
GoGoPenguin Sep 28, 2023
c4310d7
fix: :bug: display black space when width < 960px
shengyuan Oct 2, 2023
40c333f
style: :lipstick: HomeView add rwd
shengyuan Oct 2, 2023
5ae6253
style: :lipstick: update the padding of header
shengyuan Oct 2, 2023
b1e4fe7
Merge remote-tracking branch 'origin/next' into feature/7272
shengyuan Oct 2, 2023
e4c3060
Merge pull request #141 from webduinoio/feature/7272
shengyuan Oct 2, 2023
f5ab76e
fix: :bug: missed button event
shengyuan Oct 2, 2023
d218b9a
docs: :memo: update changelog
shengyuan Oct 2, 2023
d87d453
Merge pull request #142 from webduinoio/feature/7272
shengyuan Oct 2, 2023
bfa9b41
docs: :memo: update changelog
shengyuan Oct 2, 2023
1f97403
style: :lipstick: add rwd to the view, actor creation
shengyuan Oct 3, 2023
7f8e8c2
style: :lipstick: add svg when processing
shengyuan Oct 3, 2023
d11a145
fix: :pencil2: fixed typo
shengyuan Oct 3, 2023
6d32bfb
Merge pull request #143 from webduinoio/feature/7273
shengyuan Oct 3, 2023
c7f581a
docs: :memo: update changelog
shengyuan Oct 3, 2023
ca80bbe
refactor: :recycle: refactor
shengyuan Oct 3, 2023
a9fd705
docs: :memo: update changelog
GoGoPenguin Oct 3, 2023
9bef760
fix: :bug: reset last index after deleting actor
GoGoPenguin Oct 3, 2023
7d5bce4
Merge pull request #144 from webduinoio/bug/7241
GoGoPenguin Oct 3, 2023
db7c70b
feat: :lipstick: modified tye style for rwd and pro icon position
shengyuan Oct 3, 2023
5efa770
Merge remote-tracking branch 'origin/next' into feature/7275
shengyuan Oct 3, 2023
660089e
style: :lipstick: add rwd for title in the view of product plans
shengyuan Oct 3, 2023
dc6e1e0
Merge pull request #145 from webduinoio/feature/7275
shengyuan Oct 3, 2023
aa6cb90
docs: :memo: update changelog
shengyuan Oct 4, 2023
df2ff70
docs: :memo: update changelog
shengyuan Oct 4, 2023
26927dd
docs: :lipstick: update app name
shengyuan Oct 4, 2023
a51c4b1
Merge pull request #146 from webduinoio/task/7266
shengyuan Oct 4, 2023
b539cc7
Merge commit 'a51c4b11b7301b5d46ce103f94e054a80c9b96cf' into feature/…
shengyuan Oct 4, 2023
71d6caa
refactor: :recycle: refactor
shengyuan Oct 4, 2023
7cb8fd7
style: :lipstick: add rwd for studyBuddyQAview
shengyuan Oct 4, 2023
1d9fc7a
feat: :lipstick: hidden some messages when width < 880
shengyuan Oct 4, 2023
dc6321c
feat: :lipstick: add rwd to StudyBuddyQuestionView
shengyuan Oct 4, 2023
70ae546
fix: :lipstick: fixed that some things may be invisible
shengyuan Oct 4, 2023
897a9e4
feat: :lipstick: add rwd to StudyBuddyGoogleSheetView
shengyuan Oct 4, 2023
7320a44
fix: :lipstick: fixed something
shengyuan Oct 4, 2023
acd3e92
fix v-select text-truncate
marty5499 Oct 5, 2023
afae337
feat: tunning ui
Oct 6, 2023
199a16e
fix:
Oct 6, 2023
a0dbf7c
Merge pull request #147 from webduinoio/b7250-load-pdf-unavaiable
marty5499 Oct 6, 2023
519ae92
Merge remote-tracking branch 'origin/next' into feature/7274
shengyuan Oct 6, 2023
7584ddb
Merge pull request #148 from webduinoio/feature/7274
shengyuan Oct 6, 2023
f4e8b9b
fix: pdf loading control
Oct 6, 2023
3b1904a
Merge pull request #149 from webduinoio/b7238-fast-switch-page-error
marty5499 Oct 6, 2023
3242509
fix: :bug: fixed tye style of header in ipad
shengyuan Oct 6, 2023
77b79b1
docs: :memo: update changelog
shengyuan Oct 6, 2023
6b9d112
Merge pull request #150 from webduinoio/bug/7295
shengyuan Oct 6, 2023
526f449
Merge remote-tracking branch 'origin/next' into feature/7272
shengyuan Oct 6, 2023
c1f2be1
style: :lipstick: modifled the style, align data to the left in the l…
shengyuan Oct 6, 2023
e2abf24
Merge pull request #151 from webduinoio/feature/7272
shengyuan Oct 6, 2023
b1aeabb
docs: :memo: update changelog
shengyuan Oct 6, 2023
aff7068
feat: :sparkles: update default prompt
shengyuan Oct 6, 2023
996a1a7
refactor: :recycle: refactor
shengyuan Oct 6, 2023
ba8f7e7
pdfjs use cdn
marty5499 Oct 9, 2023
33969e0
pdfjs use cdn
marty5499 Oct 9, 2023
2827544
style: :lipstick: update style of sweetalert and some messages
shengyuan Oct 11, 2023
fa12ddf
feat: :lipstick: override default theme of sweetalert2
shengyuan Oct 11, 2023
8174b3c
docs: :memo: update changelog
shengyuan Oct 11, 2023
7cbb1c2
Merge pull request #152 from webduinoio/improvement/7289
shengyuan Oct 11, 2023
136c8a3
Merge remote-tracking branch 'origin/next' into feature/7272
shengyuan Oct 11, 2023
4b958f6
style: :lipstick: add missed class
shengyuan Oct 11, 2023
18d354d
fix: :lipstick: refactor and fixed rwd in small view
shengyuan Oct 11, 2023
90aad40
Merge pull request #153 from webduinoio/feature/7272
shengyuan Oct 11, 2023
35b6c8d
style: :lipstick: adjust width to prevent strange initial views
shengyuan Oct 11, 2023
fce3a39
Merge pull request #154 from webduinoio/feature/7272
shengyuan Oct 11, 2023
778c1c9
feat: :bookmark: release v1.9.0
GoGoPenguin Oct 11, 2023
3f9ba61
Merge pull request #155 from webduinoio/release/7297
GoGoPenguin Oct 11, 2023
9d729ec
Merge pull request #156 from webduinoio/release/7297
GoGoPenguin Oct 11, 2023
a6b2b0f
Merge remote-tracking branch 'origin/next' into task/7264
shengyuan Oct 11, 2023
426b8d4
feat: :construction: add button to switch mode
shengyuan Oct 11, 2023
246295e
fix: :construction: fixed no data
shengyuan Oct 12, 2023
3300394
style: :lipstick: add ui
shengyuan Oct 12, 2023
dd22745
style: :lipstick: update the color of switch
shengyuan Oct 12, 2023
92c92d7
feat: :construction: save / load data
shengyuan Oct 13, 2023
8dee242
fix: :bug: fixed data inconsistencies
shengyuan Oct 13, 2023
d928995
feat: :construction: add editActor in store
shengyuan Oct 13, 2023
4d8a154
feat: :construction: use editActor
shengyuan Oct 13, 2023
eaf6f72
feat: :construction: add event to update editActor
shengyuan Oct 13, 2023
c7c81d1
refactor: :recycle: refactor
shengyuan Oct 13, 2023
2ac3346
feat: :sparkles: handle the visibility of toggle button
shengyuan Oct 13, 2023
1cb961b
refactor: :recycle: refactor
shengyuan Oct 13, 2023
aa41691
Merge pull request #157 from webduinoio/task/7264
shengyuan Oct 13, 2023
688c36a
fix: :bug: fix selectItem cause duplicate loading..
marty5499 Oct 14, 2023
339c8b9
Merge pull request #158 from webduinoio/b7243-ref-err-part2
marty5499 Oct 14, 2023
d6a5749
fix keyword trim()
marty5499 Oct 14, 2023
5e674ca
fix ignore spaceChar with search
marty5499 Oct 14, 2023
46e0db9
fix [eng] mark text
marty5499 Oct 14, 2023
22a844a
fix: :bug:
marty5499 Oct 14, 2023
45d9418
Merge pull request #159 from webduinoio/b7318-search-space-char-problem
marty5499 Oct 14, 2023
e1a71b2
fix: :bug: fix NaN Page & img link
Oct 17, 2023
5409ddd
Merge pull request #160 from webduinoio/b7243-click-ref-err
marty5499 Oct 17, 2023
c183542
Merge remote-tracking branch 'origin/next' into task/7264
shengyuan Oct 18, 2023
d598d8f
fix: :bug: fixed the switch button that appeared on incorrect screen
shengyuan Oct 18, 2023
6deadbb
fix: :lipstick: modified the color of switch button
shengyuan Oct 18, 2023
e075216
Merge pull request #161 from webduinoio/task/7264
shengyuan Oct 18, 2023
59b2842
fix: :bug: fix selectItem cause duplicate loading..
marty5499 Oct 14, 2023
9190434
fix keyword trim()
marty5499 Oct 14, 2023
7700a84
fix ignore spaceChar with search
marty5499 Oct 14, 2023
8ca9ec2
fix [eng] mark text
marty5499 Oct 14, 2023
a626df7
fix: :bug:
marty5499 Oct 14, 2023
e10fa8a
fix: :bug: fix NaN Page & img link
Oct 17, 2023
e3ecfee
chore: :speech_balloon: update default prompt
GoGoPenguin Oct 18, 2023
97da5ad
feat: :bookmark: release v1.9.1
GoGoPenguin Oct 18, 2023
f040525
Merge pull request #162 from webduinoio/release/7334
GoGoPenguin Oct 18, 2023
5decfa5
Merge branch 'next' into release/7334
GoGoPenguin Oct 18, 2023
35d9235
chore: :speech_balloon: update default prompt
GoGoPenguin Oct 18, 2023
9ce9bb3
Merge pull request #163 from webduinoio/release/7334
GoGoPenguin Oct 18, 2023
758266d
docs: :memo: update changelog
shengyuan Oct 19, 2023
dc64243
feat: :lipstick: update image
shengyuan Oct 19, 2023
2a26aa3
Merge pull request #164 from webduinoio/task/7332
shengyuan Oct 19, 2023
5177e34
Merge remote-tracking branch 'origin/next' into task/7264
shengyuan Oct 19, 2023
69c15bf
feat: :construction: use promptMode
shengyuan Oct 19, 2023
87fbb22
Merge pull request #165 from webduinoio/task/7264
shengyuan Oct 19, 2023
05d5dcc
feat: :sparkles: modified template
shengyuan Oct 23, 2023
661ee62
Merge pull request #167 from webduinoio/task/7264
shengyuan Oct 23, 2023
999a2c5
docs: :memo: update changelog
shengyuan Oct 23, 2023
b7ce99e
fix: :bug: fixed that tab changed when executing training in tablet
shengyuan Oct 24, 2023
d0c0fe1
Merge pull request #168 from webduinoio/bug/7350
shengyuan Oct 24, 2023
bec71a2
fix: :bug: fixed some strange in tablet
shengyuan Oct 25, 2023
224a6cc
Revert "fix: :bug: fixed that tab changed when executing training in …
shengyuan Oct 25, 2023
8316c0d
Merge pull request #169 from webduinoio/bug/7350
shengyuan Oct 25, 2023
4375c40
docs: :memo: update changelog
shengyuan Oct 25, 2023
bb2295c
fix: :bug: fixed textarea focus not work
shengyuan Oct 25, 2023
d862e0f
feat: :sparkles: show error messages when no response
shengyuan Oct 25, 2023
140a931
feat: :sparkles: show error messages when no response
shengyuan Oct 25, 2023
e4928c4
feat: :sparkles: show error messages when no response
shengyuan Oct 25, 2023
e95933e
Merge pull request #170 from webduinoio/feature/7346
shengyuan Oct 25, 2023
f517acb
style: :lipstick: add some style for error messages
shengyuan Oct 25, 2023
ef31149
Merge pull request #171 from webduinoio/feature/7346
shengyuan Oct 25, 2023
f21e807
fix: :bug: missed some changes
shengyuan Oct 25, 2023
942295f
Merge pull request #172 from webduinoio/feature/7346
shengyuan Oct 25, 2023
1e7b4a5
feat: :bookmark: release v1.10.0
GoGoPenguin Oct 25, 2023
db7132e
docs: :memo: update changelog
shengyuan Oct 25, 2023
23b94bd
Merge pull request #173 from webduinoio/release/7340
GoGoPenguin Oct 25, 2023
5e53e04
Merge pull request #174 from webduinoio/release/7340
GoGoPenguin Oct 25, 2023
1a5be27
fix: :bug: mode was incorrect
shengyuan Oct 25, 2023
6737bbc
Merge branch 'hotfix' into tutor
shengyuan Oct 25, 2023
eaabaf8
Merge commit '1a5be2765546b794a32ea1906e5c318901baf073' into next
shengyuan Oct 25, 2023
6385f18
docs: :memo: update changelog
shengyuan Oct 26, 2023
875d7d3
refactor: :recycle: refactor
shengyuan Oct 26, 2023
70e7cc3
feat: :sparkles: show error messages when no respoinse in 20 seconds
shengyuan Oct 26, 2023
9864028
Merge pull request #175 from webduinoio/feature/7365
shengyuan Oct 26, 2023
9723843
Merge remote-tracking branch 'origin/next' into bug/7311
shengyuan Oct 26, 2023
0f987ce
fix: :bug: fixed messages line break issue
shengyuan Oct 26, 2023
b264106
Merge pull request #176 from webduinoio/bug/7311
shengyuan Oct 26, 2023
71d2a06
fix: :bug: fixed link display anomaly issue
shengyuan Oct 26, 2023
37708e4
Merge pull request #177 from webduinoio/bug/7311
shengyuan Oct 26, 2023
bbfe895
docs: :memo: update changelog
shengyuan Oct 26, 2023
57f347e
docs: :memo: update changelog
shengyuan Oct 27, 2023
4fd315b
fix: :bug: use vee-validate to handle image size
shengyuan Oct 27, 2023
f224e21
Merge pull request #178 from webduinoio/feature/7369
shengyuan Oct 27, 2023
e6c3966
Merge commit 'f224e21eca8647e3af991a1d0313183fc5f01ea5' into feature/…
shengyuan Oct 27, 2023
cc28021
feat: :bookmark: release v1.10.1
GoGoPenguin Oct 27, 2023
e7ce5be
Merge pull request #179 from webduinoio/release/7371
GoGoPenguin Oct 27, 2023
176f3d9
Merge pull request #180 from webduinoio/release/7371
GoGoPenguin Oct 27, 2023
e67e0e6
refactor: :recycle: rewrite the pdf link
shengyuan Oct 27, 2023
2fbfd96
refactor: :recycle: add type
shengyuan Oct 27, 2023
567b784
feat: :lipstick: add like buttons
shengyuan Oct 27, 2023
1e2e2dd
feat: :construction: add dislike component
shengyuan Oct 30, 2023
2b3751e
feat: :construction: add close button
shengyuan Oct 30, 2023
9037b24
fix: :bug: fixed the display of like button
shengyuan Oct 30, 2023
53471c4
feat: :construction: add ui for like buttons
shengyuan Oct 30, 2023
c522304
refactor: :construction: refactor
shengyuan Oct 30, 2023
6536396
refactor: :construction: refactor
shengyuan Oct 30, 2023
edf7a15
feat: :sparkles: add api
shengyuan Nov 1, 2023
29dd005
Merge remote-tracking branch 'origin/next' into feature/7301
shengyuan Nov 1, 2023
c399a48
fix: :bug: fixed type check error
shengyuan Nov 1, 2023
421145c
fix: :bug: fixed some bug and refactor
shengyuan Nov 1, 2023
0e95fc8
feat: :sparkles: add like buttons
shengyuan Nov 1, 2023
03e299f
fix: :bug: check message type to show like buttons
shengyuan Nov 1, 2023
946a6c1
feat: :sparkles: add like buttons
shengyuan Nov 1, 2023
92a2999
style: :lipstick: show like buttons after mqtt loading
shengyuan Nov 1, 2023
068d979
Merge pull request #181 from webduinoio/feature/7301
shengyuan Nov 1, 2023
b6c48f8
feat: :lipstick: hidden like buttons in question and google sheet
shengyuan Nov 2, 2023
8bbb16e
Merge pull request #182 from webduinoio/feature/7301
shengyuan Nov 2, 2023
cde0a1d
style: :lipstick: update some styles
shengyuan Nov 2, 2023
7c850c5
style: :lipstick: update ui
shengyuan Nov 2, 2023
3659100
feat: :recycle: refactor
shengyuan Nov 2, 2023
8ed6093
Merge pull request #183 from webduinoio/feature/7301
shengyuan Nov 2, 2023
02054c9
feat: :speech_balloon: Add localization to form validation messages
shengyuan Nov 6, 2023
6b1a680
feat: :lipstick: Add resetForm function to useForm hook
shengyuan Nov 6, 2023
1767794
Merge pull request #184 from webduinoio/feature/7301
shengyuan Nov 6, 2023
9872edd
fix: :bug: modified the enum
shengyuan Nov 6, 2023
1f8c2a3
Merge pull request #185 from webduinoio/feature/7301
shengyuan Nov 6, 2023
958d23f
docs: :memo: update changelog
shengyuan Nov 6, 2023
f0bbdb5
fix: :bug: Fix role value formatting
shengyuan Nov 6, 2023
586833a
Merge pull request #186 from webduinoio/bug/7379
shengyuan Nov 6, 2023
60404b7
feat: :bookmark: release v1.11.0
GoGoPenguin Nov 7, 2023
1579c13
Merge pull request #187 from webduinoio/release/7383
GoGoPenguin Nov 7, 2023
c600540
Merge pull request #188 from webduinoio/release/7383
GoGoPenguin Nov 7, 2023
6811296
feat: :sparkles: update aiksky data
shengyuan Jan 26, 2024
dbe751a
docs: :memo: update chnagelog
shengyuan Jan 26, 2024
3d41b60
Merge pull request #189 from webduinoio/feature/7608
shengyuan Jan 26, 2024
c431429
docs: :memo: update changelog
shengyuan Feb 19, 2024
41849a5
style: :lipstick: update style of voiceinput
shengyuan Feb 19, 2024
4663a58
Merge pull request #190 from webduinoio/improvement/7630
shengyuan Feb 19, 2024
126de34
docs: :memo: update changelog and package.json
shengyuan Feb 20, 2024
293f2c6
Merge pull request #192 from webduinoio/release/v1.11.1
shengyuan Feb 20, 2024
17d1c52
Merge pull request #191 from webduinoio/release/v1.11.1
shengyuan Feb 20, 2024
1986e38
docs: :memo: update changelog
shengyuan Feb 29, 2024
98155a3
fix: :bug: modified css in ThePDFViewer
shengyuan Feb 29, 2024
532432f
Merge pull request #193 from webduinoio/bug/7652
shengyuan Feb 29, 2024
d283676
docs: :bookmark: v1.11.2
shengyuan Feb 29, 2024
e50ac26
Merge pull request #195 from webduinoio/release/v1.11.2
shengyuan Feb 29, 2024
b897852
Merge pull request #194 from webduinoio/release/v1.11.2
shengyuan Feb 29, 2024
ba0f839
update loading time
May 24, 2024
9be7e42
update response time
marty5499 May 31, 2024
015d77f
MQTT_FIRST_RESPONSE
marty5499 Jun 5, 2024
9d465e1
update loading time
May 24, 2024
9c0ba43
update response time
marty5499 May 31, 2024
84935d5
MQTT_FIRST_RESPONSE
marty5499 Jun 5, 2024
993dd9d
docs: :memo: update changelog
shengyuan Aug 21, 2024
47961e3
chore: optimize actor list search functionality
shengyuan Aug 21, 2024
34910c5
chore: remove unused VS Code extension recommendation
shengyuan Aug 21, 2024
eeea3fb
Merge pull request #197 from webduinoio/feature/8036
shengyuan Aug 21, 2024
c48c8a4
chore: Bump version to 1.12.0
shengyuan Aug 21, 2024
810d248
Merge pull request #198 from webduinoio/release/8093
shengyuan Aug 21, 2024
7e81f06
Merge pull request #199 from webduinoio:release/8093
shengyuan Aug 21, 2024
b256bc4
chore: Update deployment workflow to upload app to custom server
shengyuan Aug 21, 2024
64101ff
Merge pull request #201 from webduinoio/release/8093
shengyuan Aug 21, 2024
7eebbfc
chore: Update deployment workflow to upload app to custom server
shengyuan Aug 21, 2024
fd9be12
chore: Remove unnecessary file during deployment
shengyuan Aug 21, 2024
9e02050
Merge pull request #202 from webduinoio:release/8093
shengyuan Aug 21, 2024
5170463
chore: Update deployment workflow to upload app to custom server
shengyuan Aug 21, 2024
bf59fa8
Merge pull request #203 from webduinoio/release/8093
shengyuan Aug 21, 2024
69cc63c
chore: Update deployment workflow to upload app to custom server
shengyuan Aug 21, 2024
bedc2b5
Merge pull request #204 from webduinoio:release/8093
shengyuan Aug 21, 2024
6927a4e
chore: Update deployment workflow to upload app to custom server
shengyuan Aug 21, 2024
48eb341
Merge pull request #205 from webduinoio:release/8093
shengyuan Aug 21, 2024
bdd4cbd
Merge branch 'release/8093' into next
shengyuan Aug 21, 2024
17411f2
docs: :memo: update changelog
shengyuan Aug 23, 2024
76ddd9e
fix: :bug: load duplicate
shengyuan Aug 23, 2024
f08af1b
Merge pull request #206 from webduinoio/bug/8106
shengyuan Aug 23, 2024
a3c0f2a
Merge pull request #207 from webduinoio/bug/8106
shengyuan Aug 23, 2024
3b553e8
chore: Update package version to 1.12.2 and fix duplicate data loadin…
shengyuan Aug 27, 2024
03a04eb
Merge pull request #209 from webduinoio/bug/8110
shengyuan Aug 27, 2024
aa57708
fix: :bug: show loading when using search
shengyuan Aug 27, 2024
b837945
Merge pull request #210 from webduinoio/bug/8110
shengyuan Aug 27, 2024
9669195
update vite
Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .env.aitsky-production
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
VITE_SERVER_HOST="https://aitsky.nodered.vip"
VITE_OAUTH_SERVER_HOST="https://account.nodered.vip"
VITE_OAUTH_CLIENT_ID="thlp6rstwsl4iqa4"
VITE_OAUTH_THIRD_PARTY_LOGIN=false
VITE_MQTT_TOPIC_KN="kn@aitsky"
VITE_MQTT_TOPIC_CODE=""
VITE_MQTT_TOPIC_PROC="aitsky"
VITE_FAVICON="aitsky.ico"
VITE_HIDE_ACTOR_ID=true
VITE_HIDE_TRAINING_DOCUMENT=true
VITE_HIDE_PLAN_INFORMATION=true
VITE_LOGO_TEXT="立功卓越科技教育"
VITE_TITLE="立功卓越科技教育 - 小助教"
13 changes: 13 additions & 0 deletions .env.aitsky-staging
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
VITE_SERVER_HOST="https://aitsky-staging.nodered.vip"
VITE_OAUTH_SERVER_HOST="https://account-staging.nodered.vip"
VITE_OAUTH_CLIENT_ID="thlp6rstwsl4iqa4"
VITE_OAUTH_THIRD_PARTY_LOGIN=false
VITE_MQTT_TOPIC_KN="kn@chat-staging"
VITE_MQTT_TOPIC_CODE="code@chat-staging"
VITE_MQTT_TOPIC_PROC="chat-staging"
VITE_FAVICON="aitsky.ico"
VITE_HIDE_ACTOR_ID=true
VITE_HIDE_TRAINING_DOCUMENT=true
VITE_HIDE_PLAN_INFORMATION=true
VITE_LOGO_TEXT="立功卓越科技教育"
VITE_TITLE="立功卓越科技教育 - 小助教"
9 changes: 9 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
VITE_SERVER_HOST="https://tutor-staging.webduino.io"
VITE_OAUTH_SERVER_HOST="https://account-staging.webduino.io"
VITE_OAUTH_CLIENT_ID="thlp6rstwsl4iqa4"
VITE_OAUTH_THIRD_PARTY_LOGIN=true
VITE_MQTT_TOPIC_KN="kn@chat-staging"
VITE_MQTT_TOPIC_CODE="code@chat-staging"
VITE_MQTT_TOPIC_PROC="chat-staging"
VITE_FAVICON="favicon.ico"
VITE_TITLE="Webduino AI Study Buddy"
9 changes: 9 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
VITE_SERVER_HOST="https://tutor.webduino.io"
VITE_OAUTH_SERVER_HOST="https://account.webduino.io"
VITE_OAUTH_CLIENT_ID="thlp6rstwsl4iqa4"
VITE_OAUTH_THIRD_PARTY_LOGIN=true
VITE_MQTT_TOPIC_KN="kn@chat"
VITE_MQTT_TOPIC_CODE="code@chat"
VITE_MQTT_TOPIC_PROC="chat"
VITE_FAVICON="favicon.ico"
VITE_TITLE="Webduino AI Study Buddy"
9 changes: 9 additions & 0 deletions .env.staging
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
VITE_SERVER_HOST="https://tutor-staging.webduino.io"
VITE_OAUTH_SERVER_HOST="https://account-staging.webduino.io"
VITE_OAUTH_CLIENT_ID="thlp6rstwsl4iqa4"
VITE_OAUTH_THIRD_PARTY_LOGIN=true
VITE_MQTT_TOPIC_KN="kn@chat-staging"
VITE_MQTT_TOPIC_CODE="code@chat-staging"
VITE_MQTT_TOPIC_PROC="chat-staging"
VITE_FAVICON="favicon.ico"
VITE_TITLE="Webduino AI Study Buddy"
25 changes: 25 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier/skip-formatting'
],
overrides: [
{
files: [
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'
],
'extends': [
'plugin:cypress/recommended'
]
}
],
parserOptions: {
ecmaVersion: 'latest'
}
}
39 changes: 39 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

[redmine issue](https://redmine.kingkit.codes/issues/)

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate)

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
42 changes: 42 additions & 0 deletions .github/workflows/deploy-aitsky-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Deploy to S3 Aitsky Production

on: workflow_dispatch

jobs:
deploy:
runs-on: ubuntu-latest
env:
AWS_S3_BUCKET_NAME: webduino-chat
steps:
- uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".tool-versions"

- name: Cache npm packages
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-

- name: Install Dependencies
run: npm ci

- name: Build Application
run: npm run build:aitsky-production

- uses: jakejarvis/s3-sync-action@master
name: Upload App to S3 Bucket
with:
args: --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ env.AWS_S3_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"
SOURCE_DIR: "dist"
DEST_DIR: "aitsky-prod"
44 changes: 44 additions & 0 deletions .github/workflows/deploy-aitsky-staging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Deploy to S3 Aitsky Staging
on:
push:
branches:
- next

jobs:
deploy:
runs-on: ubuntu-latest
env:
AWS_S3_BUCKET_NAME: webduino-chat
steps:
- uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".tool-versions"

- name: Cache npm packages
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-

- name: Install Dependencies
run: npm ci

- name: Build Application
run: npm run build:aitsky-staging

- uses: jakejarvis/s3-sync-action@master
name: Upload App to S3 Bucket
with:
args: --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ env.AWS_S3_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"
SOURCE_DIR: "dist"
DEST_DIR: "aitsky-stg"
46 changes: 46 additions & 0 deletions .github/workflows/deploy-to-s3-staging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy to S3 Staging
on:
push:
branches:
- develop

jobs:
deploy:
runs-on: ubuntu-latest
env:
AWS_S3_BUCKET_NAME: webduino-chat
steps:
- uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".tool-versions"

- name: Cache npm packages
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-

- name: Install Dependencies
run: npm ci

- name: Build Application
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm run build

- uses: jakejarvis/s3-sync-action@master
name: Upload App to S3 Bucket
with:
args: --follow-symlinks --delete --exclude '.git/*' --exclude 'node_modules/*'
env:
AWS_S3_BUCKET: ${{ env.AWS_S3_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"
SOURCE_DIR: "."
DEST_DIR: "stg"
46 changes: 46 additions & 0 deletions .github/workflows/deploy-to-s3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy to S3
on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
env:
AWS_S3_BUCKET_NAME: webduino-chat
steps:
- uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".tool-versions"

- name: Cache npm packages
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-

- name: Install Dependencies
run: npm ci

- name: Build Application
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm run build

- uses: jakejarvis/s3-sync-action@master
name: Upload App to S3 Bucket
with:
args: --follow-symlinks --delete --exclude '.git/*' --exclude 'node_modules/*'
env:
AWS_S3_BUCKET: ${{ env.AWS_S3_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"
SOURCE_DIR: "."
DEST_DIR: "pro"
44 changes: 44 additions & 0 deletions .github/workflows/deploy-tutor-staging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Deploy to S3 Next
on:
push:
branches:
- next

jobs:
deploy:
runs-on: ubuntu-latest
env:
AWS_S3_BUCKET_NAME: webduino-chat
steps:
- uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".tool-versions"

- name: Cache npm packages
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-

- name: Install Dependencies
run: npm ci

- name: Build Application
run: npm run build:staging

- uses: jakejarvis/s3-sync-action@master
name: Upload App to S3 Bucket
with:
args: --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ env.AWS_S3_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"
SOURCE_DIR: "dist"
DEST_DIR: "next" # TODO: 改成 `tutor-stg`
Loading