Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
579188f
Update maven.yml
Siyuan106 Nov 27, 2024
e6d1cab
Update maven.yml
Siyuan106 Nov 27, 2024
0652e79
Update pom.xml
Siyuan106 Nov 27, 2024
161707e
Update maven.yml
Siyuan106 Nov 27, 2024
1e2a4ac
Update pom.xml
Siyuan106 Nov 27, 2024
eba3745
Update maven.yml
Siyuan106 Nov 27, 2024
6577e46
Update maven.yml
Siyuan106 Nov 27, 2024
09b9d51
Update pom.xml
Siyuan106 Nov 27, 2024
0e83769
chore: delete old arcitechture diagram
yi23484 Nov 27, 2024
d6b2dfe
chore: Rename architecture_diagram2.png to architecture_diagram.png
yi23484 Nov 27, 2024
532fe43
chore: Update architecture_diagram.drawio
yi23484 Nov 27, 2024
0ff836f
feature: create-Dockerfile
GerardChabaBristol Nov 27, 2024
21ac02a
chore: Update README.md
yi23484 Nov 27, 2024
ee95c26
Merge pull request #107 from spe-uob/bugfix/issue-106/add-pr-template
vladislav-k1 Nov 27, 2024
65fa38c
Update Cookie.vue
Liuwf4319 Jan 3, 2025
47a6c93
从spe-uob/separate-BuildingAndTesting合并取请求#109
Liuwf4319 Jan 13, 2025
36f252c
Update HistorySidebar.vue
RainBOY-ZZX Jan 15, 2025
6341d13
Add files via upload
Liuwf4319 Jan 15, 2025
6220d8e
Update main.js
Liuwf4319 Jan 15, 2025
6dd118b
Update SettingSidebar.vue
Liuwf4319 Jan 15, 2025
269ef6e
Update App.vue
RainBOY-ZZX Jan 15, 2025
57b96c4
Update MainView.vue
RainBOY-ZZX Jan 15, 2025
45597ee
Update HistorySidebar.vue
RainBOY-ZZX Jan 15, 2025
384808a
Update MainContent.vue
RainBOY-ZZX Jan 15, 2025
673601d
Delete frontend/src directory
Liuwf4319 Jan 15, 2025
0786b8d
Delete frontend/api directory
Liuwf4319 Jan 15, 2025
5100622
feature: Create deploy-ghcr.yml
GerardChabaBristol Jan 16, 2025
b041dba
feature: Update deploy-ghcr.yml
GerardChabaBristol Jan 16, 2025
d5c3c8a
fix: resolve merge conflict.
vladislav-k1 Jan 16, 2025
0f2a173
Merge pull request #116 from spe-uob/frontend
RainBOY-ZZX Jan 16, 2025
1d095f8
Merge pull request #122 from spe-uob/feature/issue-110/update-fronten…
vladislav-k1 Jan 17, 2025
6b3d2e7
Merge pull request #121 from spe-uob/feature/issue-120/deploy-to-ghcr
vladislav-k1 Jan 17, 2025
6ca6162
Merge pull request #118 from spe-uob/feature/issue-104/docker-impleme…
vladislav-k1 Jan 17, 2025
460a80c
bugfix: fix openjdk distribution error
GerardChabaBristol Jan 17, 2025
9888417
refactor: Change formatting to match the style in documentation.
vladislav-k1 Jan 17, 2025
d952eaa
Merge pull request #126 from spe-uob/bugfix/issue-125/distribution-er…
GerardChabaBristol Jan 17, 2025
42639e8
bugfix: fix lowercase tag error
GerardChabaBristol Jan 17, 2025
3dec344
Merge pull request #128 from spe-uob/bugfix/issue-127/fix-lowercase-e…
GerardChabaBristol Jan 17, 2025
78fc3ce
feature: Create pull-from-ghcr.sh
GerardChabaBristol Jan 17, 2025
8535782
hotfix: Add .env to gitignore
GerardChabaBristol Jan 17, 2025
543e9ac
feature: Update pull-from-ghcr.sh
GerardChabaBristol Jan 17, 2025
44e3d33
feature: Update pull-from-ghcr.sh
GerardChabaBristol Jan 17, 2025
0af1522
Merge pull request #130 from spe-uob/feature/issue-119/pull-from-ghcr
GerardChabaBristol Jan 17, 2025
c598dbe
Update SpringController.java
yi23484 Jan 17, 2025
19137da
Update and rename AiLearningToolApplicationTests.java to SpringContro…
yi23484 Jan 17, 2025
eae9766
Merge pull request #103 from spe-uob/bugfix/issue-102/readmeOpenAI
vladislav-k1 Jan 19, 2025
c96fb3d
The issue was that I forgot to add the service annotation to the Data…
yi23484 Jan 20, 2025
80cd765
Commented out tests
yi23484 Jan 20, 2025
9944179
testRevokeConsent and testNewUserCreated work, but I need to change t…
yi23484 Jan 21, 2025
55d2c67
changed the code for createChat so that it only fetches the user and …
yi23484 Jan 21, 2025
5b678e8
Merge pull request #131 from spe-uob/feature/issue-90/SpringControlle…
GerardChabaBristol Jan 22, 2025
b650c0b
fix: changed vue 3 link to the correct one
yi23484 Jan 22, 2025
ff5f65a
feature: add Docker instructions
GerardChabaBristol Jan 22, 2025
decc1b0
Merge pull request #135 from spe-uob/bugfix/issue-134/fix-vue-3-hyper…
Siyuan106 Jan 22, 2025
fd09cfe
Merge pull request #136 from spe-uob/feature/issue-132/update-dev-ins…
GerardChabaBristol Jan 22, 2025
451761c
chore: Fix the folder structure.
Liuwf4319 Jan 22, 2025
4f7d454
feature: add button for color blind mode
Siyuan106 Jan 22, 2025
bbfb3b0
feat: check if keystore.p12 file exists in /src/main/resources/ . If…
yi23484 Jan 22, 2025
d658a3a
feature: update App.vue
Siyuan106 Jan 22, 2025
121c22f
feature: update SettingSidebar.vue
Siyuan106 Jan 22, 2025
4c2aed6
refactor: deleted enable_https.sh as it is now redundant
yi23484 Jan 22, 2025
608f801
Rename pull_request_template.md to pull_request_template.md
GerardChabaBristol Jan 22, 2025
e201abe
feature: update SettingSidebar.vue
GerardChabaBristol Jan 22, 2025
0f8e2c6
feature: update App.vue
GerardChabaBristol Jan 22, 2025
d86179d
feature: update App.vue
GerardChabaBristol Jan 22, 2025
bca6f10
feature: add new file color.js in directory assets
Siyuan106 Jan 22, 2025
db4c6e2
Merge pull request #140 from spe-uob/feature/issue-139/move-pr-template
GerardChabaBristol Jan 22, 2025
745c1c0
feature: create bug_report.md
GerardChabaBristol Jan 23, 2025
e6e3b63
feature: create feature_request.md
GerardChabaBristol Jan 23, 2025
a897d81
feature: create custom_template.md
GerardChabaBristol Jan 23, 2025
71a4ae5
fix: removed block of code which looked for keystore.p12 in project r…
yi23484 Jan 23, 2025
faa6fcd
Merge pull request #143 from spe-uob/feature/issue-141/create-issue-t…
GerardChabaBristol Jan 24, 2025
16ddc13
chore: change URLs to localhost addresses for local debugging.
vladislav-k1 Jan 24, 2025
fc9d0c4
feat: added code to main that allows the backend to launch without ht…
yi23484 Jan 24, 2025
9e98da4
fix: Changed the code so that the backend starts without SSL if keyst…
yi23484 Jan 24, 2025
f2cca04
fix: Changed keystorepath to src/main/resources/keystore.p12, as it i…
yi23484 Jan 24, 2025
9b8ecd7
chore: Update .gitignore and developer instructions.
vladislav-k1 Jan 26, 2025
0ac0eff
Merge branch 'dev' into optimisation/issue-124/simplify-security-cert…
vladislav-k1 Jan 26, 2025
be20a1a
feature: update color.js
GerardChabaBristol Jan 26, 2025
e944226
feature: update SettingSidebar.vue
GerardChabaBristol Jan 26, 2025
86fe25c
feeature: update App.vue
GerardChabaBristol Jan 26, 2025
b1f0de0
feature: update MainContent.vue
GerardChabaBristol Jan 27, 2025
c19fb7d
feature: update ImportantSidebar.vue
GerardChabaBristol Jan 27, 2025
33b91e8
feature: update HistorySidebar.vue
GerardChabaBristol Jan 27, 2025
0a8db12
Update HistorySidebar.vue
Siyuan106 Jan 27, 2025
525e8af
Update SettingSidebar.vue
Siyuan106 Jan 27, 2025
b9430da
fix: Fix the minor bug in SpringController, GET /signup now works.
vladislav-k1 Jan 28, 2025
1a97d47
Merge pull request #138 from spe-uob/optimisation/issue-124/simplify-…
yi23484 Jan 28, 2025
4ebb323
feature: update ImportantSidebar.vue
Siyuan106 Jan 28, 2025
15d21db
feat: Fix 'add chat' button
Liuwf4319 Jan 29, 2025
0c36d2f
feature: update color.js
Siyuan106 Jan 29, 2025
2444790
feature: update color.js
Siyuan106 Jan 29, 2025
4257a19
feature: update color.js
Siyuan106 Jan 29, 2025
a45c80d
chore: fix merge conflicts
Liuwf4319 Jan 29, 2025
cd83425
feature: update SettingSidebar.vue
Siyuan106 Jan 29, 2025
af28260
feature: update color.js
GerardChabaBristol Jan 29, 2025
a4b0dc4
fix: Fix chat creation
Liuwf4319 Jan 29, 2025
47d6e13
feature: update SettingSidebar.vue
Siyuan106 Jan 29, 2025
3647e6c
feature: update color.js
GerardChabaBristol Jan 29, 2025
9fbdb8c
Update SettingSidebar.vue
Siyuan106 Jan 29, 2025
a31a1b6
bugfix: update SettingSidebar.vue
GerardChabaBristol Jan 29, 2025
1e0098e
Merge pull request #144 from spe-uob/feature/issue-105/adapt-color-sc…
Siyuan106 Jan 29, 2025
25d18cd
feature: update MainContent.vue
GerardChabaBristol Jan 29, 2025
067dfd1
bugfix: update MainContent.vue
GerardChabaBristol Jan 29, 2025
dd06859
feature: update HistorySidebar.vue
GerardChabaBristol Jan 29, 2025
0a150c1
bugfix: update HistorySidebar.vue
GerardChabaBristol Jan 29, 2025
f192f60
Merge pull request #146 from spe-uob/bugfix/issue-145/fix-sidebars
GerardChabaBristol Jan 29, 2025
e866d0b
bugfix: update README.md
GerardChabaBristol Jan 29, 2025
de8f5ce
Merge pull request #148 from spe-uob/bugfix/issue-147/fix-broken-link…
GerardChabaBristol Jan 29, 2025
930345d
Merge pull request #149 from spe-uob/main
GerardChabaBristol Jan 29, 2025
8eae350
feature: update SettingSidebar.vue
GerardChabaBristol Jan 29, 2025
e83e202
feature: update color.js
GerardChabaBristol Jan 29, 2025
fc691b6
feature: update SettingSidebar.vue
GerardChabaBristol Jan 29, 2025
9e190ae
feature: update HistorySidebar.vue
GerardChabaBristol Jan 29, 2025
4b781c6
feature: update ImportantSidebar.vue
GerardChabaBristol Jan 29, 2025
4151abb
feature: update App.vue
GerardChabaBristol Jan 29, 2025
6321cbc
bugfix: update App.vue
GerardChabaBristol Jan 29, 2025
0894889
feature: update color.js
GerardChabaBristol Jan 29, 2025
c551fb6
feature: update color.js
GerardChabaBristol Jan 29, 2025
7ba3751
feature: update color.js
GerardChabaBristol Jan 29, 2025
ae32177
feature: update color.js
GerardChabaBristol Jan 29, 2025
ff4edee
feature: update color.js
GerardChabaBristol Jan 29, 2025
f648c8e
Merge pull request #151 from spe-uob/feature/issue-150/high-contrast-…
Siyuan106 Jan 29, 2025
8978e88
feature: update HistorySidebar.vue
Siyuan106 Jan 29, 2025
5593891
fix: Refactor MainContent, debug chat history parsing, add TODOs.
vladislav-k1 Jan 30, 2025
8bf1364
fix: 'Add Chat' button now reverts MainContent to initial state.
vladislav-k1 Jan 30, 2025
9643c50
fix: Fix the HistorySidebar component.
vladislav-k1 Jan 30, 2025
cda5f20
chore: Reorganise directories, refactor Github runner and Dockerfile
vladislav-k1 Jan 31, 2025
2996eee
chore: Revert Dockerfile change
vladislav-k1 Jan 31, 2025
e00c3ef
Merge pull request #155 from spe-uob/hotfix/issue-154/repo-structure-…
vladislav-k1 Jan 31, 2025
8c0faf0
bugfix: update Dockerfile
GerardChabaBristol Jan 31, 2025
e9633c1
Merge pull request #157 from spe-uob/bugfix/issue-156/fix-target
GerardChabaBristol Jan 31, 2025
2e135f5
bugfix: update deploy-ghcr.yml
GerardChabaBristol Jan 31, 2025
a1f6d20
Merge pull request #159 from spe-uob/bugfix/issue-158/fix-github-action
GerardChabaBristol Jan 31, 2025
215349e
feature: update ImportantSidebar.vue
GerardChabaBristol Jan 31, 2025
ef22371
bugfix: update SettingSidebar.vue
GerardChabaBristol Jan 31, 2025
685aefd
chore: Fix merge conflict.
vladislav-k1 Jan 31, 2025
ed0f3f8
chore: Fix another merge conflict
vladislav-k1 Jan 31, 2025
b074796
Merge pull request #153 from spe-uob/bugfix/issue-137/fix-api-calls
vladislav-k1 Jan 31, 2025
2117ea9
feature: update MainView.vue
GerardChabaBristol Jan 31, 2025
8c76eae
feature: delete ImportantSidebar.vue
GerardChabaBristol Jan 31, 2025
e623276
refactor: update MainContent.vue
GerardChabaBristol Jan 31, 2025
972aefb
Delete frontend/src/components/ImportantSidebar.vue
RainBOY-ZZX Jan 31, 2025
a0091ba
Merge pull request #160 from spe-uob/feature/issue-152/delete-sidebar
GerardChabaBristol Jan 31, 2025
e050e5d
Update MainView.vue
RainBOY-ZZX Jan 31, 2025
cba9be3
Update App.vue
RainBOY-ZZX Jan 31, 2025
4449b6e
Update HistorySidebar.vue
RainBOY-ZZX Jan 31, 2025
38868e0
Update MainContent.vue
RainBOY-ZZX Jan 31, 2025
57e6f6d
Create App.vue
RainBOY-ZZX Jan 31, 2025
693849d
Delete frontend/src/components/App.vue
RainBOY-ZZX Jan 31, 2025
482b7e0
Update main.js
RainBOY-ZZX Jan 31, 2025
db2c24d
Update Cookie.vue
RainBOY-ZZX Jan 31, 2025
ed1c962
Update Cookie.vue
RainBOY-ZZX Jan 31, 2025
292a94d
Merge pull request #168 from spe-uob/feature/issue-161/UI-redesign-ba…
RainBOY-ZZX Jan 31, 2025
063b6cc
feature: add Login.vue
Siyuan106 Feb 3, 2025
45ed6a5
feature: update Login.vue
Siyuan106 Feb 3, 2025
05dfc1b
feature: update HistorySidebar.vue
GerardChabaBristol Feb 4, 2025
b524eb7
feature: update SpringController.java
Siyuan106 Feb 4, 2025
86b1e5f
fix Login.vue
Siyuan106 Feb 4, 2025
bb3f8df
Update SettingSidebar.vue
Siyuan106 Feb 4, 2025
7fe96d6
Update main.js
Siyuan106 Feb 4, 2025
68a4714
Update App.vue
Siyuan106 Feb 4, 2025
21df2ba
Update SettingSidebar.vue
Siyuan106 Feb 4, 2025
c062a3d
Delete frontend/src/router directory
Liuwf4319 Feb 4, 2025
5024bfe
feature: update HistorySidebar.vue
GerardChabaBristol Feb 4, 2025
9623671
feature: update Login.vue
Siyuan106 Feb 4, 2025
4d9ec86
Update Cookie.vue
Siyuan106 Feb 4, 2025
33bfb57
feature: update HistorySidebar.vue
GerardChabaBristol Feb 4, 2025
af78c63
Add files via upload
Siyuan106 Feb 4, 2025
c2ac9ef
Update Login.vue
Siyuan106 Feb 4, 2025
b7466d7
Add files via upload
Siyuan106 Feb 4, 2025
bfe2f22
Delete frontend/src/components/Login.vue
Siyuan106 Feb 4, 2025
abdb139
Update main.js
Siyuan106 Feb 4, 2025
d41220f
Update HistorySidebar.vue
RainBOY-ZZX Feb 4, 2025
569bd5b
Update SettingSidebar.vue
RainBOY-ZZX Feb 4, 2025
8500cb6
Update MainContent.vue
RainBOY-ZZX Feb 4, 2025
f0e5500
Update Login.vue
Liuwf4319 Feb 4, 2025
b5890b4
Delete frontend/src/router directory
Liuwf4319 Feb 4, 2025
7a33d90
Update SpringController.java
Liuwf4319 Feb 4, 2025
cf05f17
Delete frontend/api/CookieAPI.js
Liuwf4319 Feb 4, 2025
44647ff
Update Cookie.vue
Liuwf4319 Feb 4, 2025
834294d
Update main.js
Liuwf4319 Feb 4, 2025
5d22116
fix: change the instructions for keystore.p12 to prevent error when l…
yi23484 Feb 4, 2025
aca32ed
Update Cookie.vue
Liuwf4319 Feb 5, 2025
973e2fe
Update SettingSidebar.vue
Liuwf4319 Feb 5, 2025
977fa73
feature: update HistorySidebar.vue
GerardChabaBristol Feb 5, 2025
253fece
Merge pull request #178 from spe-uob/bugfix/issue-176/Ensure-consiste…
RainBOY-ZZX Feb 5, 2025
cb5a3e8
bugfix: update HistorySidebar.vue
GerardChabaBristol Feb 5, 2025
e34b959
bugfix: update HistorySidebar.vue
GerardChabaBristol Feb 5, 2025
d12c8cb
bugfix: update HistorySidebar.vue
GerardChabaBristol Feb 5, 2025
0b57238
bugfix: update HistorySidebar.vue
GerardChabaBristol Feb 5, 2025
3e6a355
bugfix: update HistorySidebar.vue
GerardChabaBristol Feb 5, 2025
8d679fb
feature: update HistorySidebar.vue
GerardChabaBristol Feb 5, 2025
3f0dc79
Update Login.vue
Liuwf4319 Feb 5, 2025
c32ba98
Update Cookie.vue
Liuwf4319 Feb 5, 2025
70988a9
Update Login.vue
Siyuan106 Feb 5, 2025
486e698
Update Cookie.vue
Siyuan106 Feb 5, 2025
498d1a1
Update Login.vue
Liuwf4319 Feb 5, 2025
dff47f1
Update SettingSidebar.vue
Liuwf4319 Feb 5, 2025
6cd5e58
Update Login.vue
Liuwf4319 Feb 5, 2025
c931f1c
Update HistorySidebar.vue
RainBOY-ZZX Feb 5, 2025
3013eb4
Update SettingSidebar.vue
Liuwf4319 Feb 5, 2025
975e020
Update SettingSidebar.vue
RainBOY-ZZX Feb 5, 2025
4ed8b15
bugfix: center Settings emoji
GerardChabaBristol Feb 5, 2025
36dd2c3
bugfix: fix high contrast for "New Conversation"
GerardChabaBristol Feb 5, 2025
697fe5a
Update HistorySidebar.vue
RainBOY-ZZX Feb 5, 2025
58c7bd6
Merge branch 'dev' into feature/issue-175/enhance-historysidebar-ui
RainBOY-ZZX Feb 5, 2025
33c95ab
Merge pull request #180 from spe-uob/feature/issue-164/create-registr…
Liuwf4319 Feb 5, 2025
e32a578
feat: integrate maven frontend build into maven
yi23484 Feb 6, 2025
f177e77
Merge branch 'dev' into feature/issue-175/enhance-historysidebar-ui
Siyuan106 Feb 6, 2025
5e37789
Merge pull request #182 from spe-uob/feature/issue-175/enhance-histor…
RainBOY-ZZX Feb 7, 2025
8a1e0ec
fix: Add lock to 3 chat initialisation buttons
vladislav-k1 Feb 7, 2025
79b43c5
fix: Add locks to history sidebar buttons and 'send' button.
vladislav-k1 Feb 7, 2025
87aa70a
Merge pull request #177 from spe-uob/bugfix/issue-163/Keystore-integr…
vladislav-k1 Feb 7, 2025
573e512
Update MainContent.vue
RainBOY-ZZX Feb 7, 2025
4ccc188
chore: Resolve merge conflict.
vladislav-k1 Feb 7, 2025
4582509
refactor: Remove unnecessary selectedChatID variable.
vladislav-k1 Feb 7, 2025
22e7133
refactor: Add SettingSidebar English rendering. Need to fix language …
vladislav-k1 Feb 8, 2025
d338845
Merge pull request #185 from spe-uob/bugfix/issue-165/lock-buttons
vladislav-k1 Feb 8, 2025
7b8e6e7
feat: Implement language support across entire app.
vladislav-k1 Feb 9, 2025
918e75f
fix: Fix one phraseCode in languages.js
vladislav-k1 Feb 9, 2025
b9f1595
chore: Add the new logo.
vladislav-k1 Feb 9, 2025
1702cb9
chore: Fix readme logo.
vladislav-k1 Feb 9, 2025
8b1b454
Update language.js
RainBOY-ZZX Feb 9, 2025
13145db
bugfix: ensure that the plugins are explicitly installed in the front…
yi23484 Feb 10, 2025
0dcc5d4
feature: install axios plugin to frontend
yi23484 Feb 10, 2025
5751daa
feature: add axios plugin to frontend
Feb 10, 2025
9df6e56
fix: merge conflict resolved
Feb 10, 2025
37dbf11
chore: Fix merge conflict
vladislav-k1 Feb 11, 2025
9768f7b
Merge pull request #186 from spe-uob/feature/issue-167/add-multiple-l…
vladislav-k1 Feb 11, 2025
dff672a
fix: changed frontend directory in pom.xml to the correct one
yi23484 Feb 12, 2025
6311ffa
fix: deleted frontend/node to allow the backend to download it
yi23484 Feb 12, 2025
90f35e2
bugfix: update sendInitialMessage
GerardChabaBristol Feb 12, 2025
39b8fa0
refactor: Removed redundant code.
vladislav-k1 Feb 12, 2025
552e608
bugfix: revert changes to sendIntialMessage
GerardChabaBristol Feb 12, 2025
28794f5
Update MainContent.vue
RainBOY-ZZX Feb 12, 2025
fa0b473
feature: install axios plugin to frontend
yi23484 Feb 10, 2025
e922d9a
fix: changed frontend directory in pom.xml to the correct one
yi23484 Feb 12, 2025
7ea665d
fix: deleted frontend/node to allow the backend to download it
yi23484 Feb 12, 2025
791fa87
refactor: Removed redundant code.
vladislav-k1 Feb 12, 2025
83f0036
Merge branch 'dev' into feature/issue-179/enhance-chat-page
GerardChabaBristol Feb 12, 2025
96058a0
bugfix: updated formatting
GerardChabaBristol Feb 12, 2025
1759eec
Update MainContent.vue
RainBOY-ZZX Feb 12, 2025
8daac1d
Merge pull request #189 from spe-uob/feature/issue-179/enhance-chat-page
GerardChabaBristol Feb 12, 2025
74c880e
feature: implement scrollToBottom
GerardChabaBristol Feb 12, 2025
8e377ae
Update MainContent.vue
RainBOY-ZZX Feb 12, 2025
d9c8366
Merge pull request #191 from spe-uob/feature/issue-181/automatic-scroll
Siyuan106 Feb 12, 2025
6697dcd
Merge branch 'optimisation/issue-129/automate-vue-js-code-building' o…
vladislav-k1 Feb 13, 2025
4ea9029
Removed redundant assembled file.
vladislav-k1 Feb 13, 2025
5f91f98
Merge pull request #190 from spe-uob/optimisation/issue-129/automate-…
yi23484 Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Bug Report
about: Help us identify and fix issues by reporting a bug
title: "[Bug] Brief description of the issue"
labels: bug
assignees: ''
---

## Description
Provide a detailed and clear description of the bug. What is happening, and what is the expected behavior?

## Steps to Reproduce
Outline the steps to replicate the issue:
1. Go to '...'
2. Perform '...'
3. Observe '...'

## Expected Behavior
What should have happened if the bug were not present?

## Actual Behavior
What actually happened instead?

## Environment Details
Include specific details about the environment where the bug occurred:
- **Operating System**: (e.g., Windows 10, macOS Ventura, Ubuntu 22.04)
- **Browser**: (e.g., Chrome 112, Firefox 99)
- **Device**: (e.g., Desktop, Mobile, Tablet)
- **Version/Build**: (e.g., App version 1.2.3, Commit Hash)

## Screenshots or Logs
If applicable, attach screenshots, error logs, or any other relevant information to help us better understand the issue.

## Additional Context
Provide any other context about the problem here. For example:
- Is this bug intermittent or consistent?
- Was any workaround attempted?

## Severity Level
Please indicate how severe this bug is:
- [ ] Blocker: Prevents usage entirely
- [ ] Critical: Major issue affecting key functionality
- [ ] Minor: Affects non-essential features
- [ ] Enhancement: Improvement opportunity, not a defect
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/custom_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Custom Issue
about: Use this template for any issues not covered by bugs or feature requests
title: "[Custom Issue]: Brief title summarizing the issue"
labels: ''
assignees: ''
---

## Overview
Provide a clear and concise summary of the issue or topic you want to address.

## Purpose
Explain why this issue is important. What is the goal or outcome you hope to achieve by addressing it?

## Details
Share any relevant information, background, or context. If applicable, include references, links, or examples that help explain the issue.

## Suggested Action
Describe what you think should be done to address this issue. If you don’t have a suggestion, feel free to leave this blank.

## Additional Information
Include any extra details, screenshots, diagrams, or other materials that may help clarify the issue.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Feature Request
about: Propose a new feature or improvement
title: "[Feature] Brief description of the feature"
labels: enhancement
assignees: ''
---

## Summary
Provide a concise overview of the feature or enhancement you'd like to see implemented.

## Problem Statement
Is this feature addressing a specific problem or gap? If so, describe the problem in detail and explain why it needs to be solved.

## Proposed Solution
Describe your proposed solution. How would the feature work? What are the key components or functionality it would involve?

## Benefits
Explain how this feature would improve the project. What advantages does it bring to the users or developers?

## Alternatives Considered
If applicable, mention any alternative solutions or approaches you’ve thought about and explain why they may or may not be suitable.

## Additional Context
Add any other information, screenshots, diagrams, or references that help explain the request.

## Priority Level
Please indicate the importance of this feature:
- [ ] High: Crucial to the project’s success
- [ ] Medium: Useful but not critical
- [ ] Low: Nice-to-have, no urgency
18 changes: 18 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### Issue(s):
#issueNumber

### Type of change: (choose required ones)
- Bug fix
- New feature
- Breaking change
- Documentation update
- Refactor/Optimization

### Description:
One or more sentences of description.

### Additional context:
Some additional, important things about the code (eg. the code contains a temporary solution that will soon be refactored).

### Testing instructions:
Commands and other guidance on how to test your new code.
41 changes: 41 additions & 0 deletions .github/workflows/deploy-ghcr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Deploy the Docker image to GHCR
name: CD Deployment

on:
push:
branches:
- dev
- build-system-overhaul

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3

# Step 2: Set up Java 21
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'

# Step 3: Build the JAR file with Maven
- name: Build JAR
run: mvn clean package
working-directory: backend

# Step 4: Log in to GitHub Container Registry
- name: Log in to GHCR
run: echo "${{ secrets.CONTAINER_REGISTRY_PAT }}" | docker login ghcr.io -u GerardChabaBristol --password-stdin

# Step 5: Build and push the Docker image
- name: Publish Docker image to GHCR
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: ghcr.io/spe-uob/2024-ailearningtool:latest
5 changes: 4 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B clean compile --file backend/pom.xml
- name: Test with Maven
run: mvn -B test --file backend/pom.xml

11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
target
backend/target
backend/.idea
backend/src/main/resources/keystore.p12
backend/src/main/resources/static

frontend/dist
frontend/node_modules

.idea
.env
keystore.p12
target

11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Use an official OpenJDK runtime as a base image.
FROM openjdk:21-jdk-slim

# Specify the JAR file's build location.
ARG JAR_FILE=backend/target/*.jar

# Copy the JAR file into the container.
COPY ${JAR_FILE} app.jar

# Define the command to run your application.
ENTRYPOINT ["java", "-jar", "/app.jar"]
39 changes: 29 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# 2024-AILearningTool

<div align="center">

![logo](frontend/src/assets/logo.png)

</div>

## Table of Contents
- [Project Brief](#project-brief)
- [Stakeholders](#stakeholders)
Expand Down Expand Up @@ -92,24 +99,25 @@ Below is an overview of the key components of the system:
- [api](/frontend/api): Includes the cookies API.
- [public](/frontend/public): Includes some front-end documents.
- [src](/frontend/src): Includes the front-end code.
- [src](/src): Contains all of the back-end code (in Java) and documents:
- [main](/src/main): Includes the back-end code.
- [static](/src/main/resources/static): Includes all static documents, including index.html of the front-end.
- [test/java/com/UoB/AILearningTool](/src/test/java/com/UoB/AILearningTool): Includes all of the unit tests.
- [backend](/backend): Contains all of the back-end code (in Java), Maven config and documents:
- [src/main](/backend/src/main): Includes the back-end Java code.
- [src/main/static](/backend/src/main/resources/static): Includes all static documents, including index.html of the front-end.
- [src/test/java/com/UoB/AILearningTool](/backend/src/test/java/com/UoB/AILearningTool): Includes all backend Java the unit tests.
- [mvnw]((/backend/mvnw)), [mvnw.cmd]((/backend/mvnw.cmd)) and [pom.xml](/backend/pom.xml): Documents for Maven.
- [LICENSE](/LICENSE): Includes the project's MIT license file.
- [mvnw](/mvnw) and [pom.xml](/pom.xml): Documents for Maven.

## Tech Stack:
### Frontend
The front end is a JavaScript Vue 3-based web application. It makes requests to the backend using HTTP requests.
### Backend
The backend is based on Spring Boot (open-source Java framework).
Data will be stored in a MariaDB database.
User prompts for the chatbot will be sent using API requests from the Spring Boot backend to the IBM Watsonx language model.
User prompts for the chatbot will be sent using API requests from the Spring Boot backend to the OpenAI language model.

![Architecture diagram, showing the technologies used in the project.](/docs/architecture_diagram.png)
![architecture_diagram](/docs/architecture_diagram.png)

## User Instructions:

1. **Open the Web App**:

Using any device with internet access (smartphone, tablet, laptop, etc.), open a web browser and navigate to the provided link [insert URL here].
Expand Down Expand Up @@ -172,15 +180,26 @@ To get started with developing or contributing to this project, follow the steps

5. **Install Vue and Yarn**:
The front end of this project is built using Vue 3 and Yarn, so make sure you have them installed:
- Vue 3 installation guide [here](https://v3.ru.vuejs.org/guide/installation.html)
- Vue 3 installation guide [here](https://vuejs.org/guide/quick-start.html)
- Yarn installation guide [here](https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable)

6. **Open the Project in Your IDE**:
Open the cloned repository in your preferred Integrated Development Environment (IDE) (we recommend IntelliJ) for further development.

7. **Test and Run the Server**:
7. **Add keystore.p12 file to backend/src/main/resources in the cloned repository**:
Keystore has to contain both private key and full certificate chain files.
Not adding the keystore file will result in unencrypted (non-HTTPS) connection.

8. **Test and Run the Server**:
- To run the unit tests, use the command ```mvn test```
- To start the server, use the command ```mvn spring-boot:run```
- To start the server, use the script ```startServer.sh```

9. **Continuous Deployment (CD) with Docker and GHCR**:
Our project includes Continuous Deployment (CD) with Docker and GitHub Container Registry (GHCR). Every time changes are pushed to the dev branch, a new Docker image is automatically built and pushed to our [GHCR repository](https://ghcr.io/spe-uob/2024-ailearningtool:latest).
To pull the latest Docker image from GHCR and update the application on the server, follow these steps:
- Start the Docker service: ```sudo systemctl start docker```
- Run the pull script: ```./pull-from-ghcr.sh```


## Team Members:

Expand Down
File renamed without changes.
File renamed without changes.
Loading
Loading