187 Commits

Author SHA1 Message Date
cf08be1ddc Update sge-backend/pom.xml
Some checks failed
sgeUpdated CI/CD / deploy (pull_request) Failing after 5s
2025-10-30 18:54:48 +03:00
4a9b65cc30 Update .gitea/workflows/sgeupdated.yml
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s
2025-10-30 18:46:25 +03:00
472a5daf09 Update sge-frontend/src/views/Communication.js
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 2m51s
2025-10-28 19:00:41 +03:00
dcdc1bf43a Update sge-frontend/src/views/Areas/Areas.js 2025-10-28 18:59:54 +03:00
c9b5ebf80e Update sge-backend/pom.xml
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 58s
2025-10-28 18:56:54 +03:00
caa0549983 Update sge-frontend/package.json
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 1m31s
2025-10-28 18:46:42 +03:00
4400572a45 Update sge-frontend/package.json
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 2m54s
2025-10-28 18:41:04 +03:00
04ee05a96b Update sge-frontend/package.json
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 13s
2025-10-28 18:20:22 +03:00
7580bf7cdb Update sge-frontend/README.md
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s
2025-10-28 18:06:28 +03:00
0d017c0a4b Update sge-frontend/package.json
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 2m46s
2025-10-28 18:02:59 +03:00
1eeb91c91c Update sge-backend/README.md 2025-10-28 18:02:18 +03:00
cd18444b08 Update sge-backend/pom.xml 2025-10-28 18:01:05 +03:00
1354d01878 Update sge-frontend/README.md 2025-10-28 17:14:39 +03:00
9856c1f9aa Update sge-frontend/package.json 2025-10-28 17:03:05 +03:00
b1ea7bf736 Update sge-frontend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-10-28 16:42:50 +03:00
8b82b44591 Update sge-backend/pom.xml
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-10-28 16:41:26 +03:00
5c534314df Update sge-backend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-10-28 16:40:53 +03:00
dde5fece3b Update sge-backend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 38s
2025-10-28 16:31:43 +03:00
f3b893f05c Update sge-backend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 38s
2025-10-28 16:19:26 +03:00
08e8badae2 Update sge-backend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 7s
2025-10-28 16:02:04 +03:00
dd1083db82 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 12s
2025-10-28 15:33:14 +03:00
fad8037371 Update sgeupdated pipeline v25+
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 7s
2025-10-28 15:04:50 +03:00
61faf1bf46 Update sge-backend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 7s
2025-10-27 18:39:50 +03:00
230c4bcb6e Update sge-backend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-10-27 17:53:46 +03:00
cbe2660080 Update sgeupdated pipeline v25
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 9s
New script to call the deploy.sh file in the server
2025-10-27 17:29:31 +03:00
cf38f431a8 Update sge-frontend/src/views/Communication.js
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-10-25 23:53:46 +03:00
f585763563 Update .gitea/workflows/sgeupdated.yml
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s
2025-10-25 23:52:38 +03:00
7bee15a901 Update sge-frontend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 9s
2025-10-24 18:04:13 +03:00
1ae3d76781 Update sgeupdated pipeline v22-+
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 6s
2025-10-24 18:03:14 +03:00
53d5bf2e77 Update sge-frontend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 3m1s
2025-10-24 17:57:15 +03:00
60e50dc9e8 Update .gitea/workflows/sgeupdated.yml
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s
2025-10-24 17:50:36 +03:00
aaf116ca71 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-10-24 17:47:44 +03:00
061c0cb376 Update sgeupdated pipeline v22-
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 9s
2025-10-24 17:46:55 +03:00
bd155fadb2 Update sge-backend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 42s
2025-10-24 17:32:23 +03:00
11541714f5 Update sge-frontend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 3m56s
2025-10-24 17:07:27 +03:00
91559134cd Update sge-backend/README.md
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 49s
2025-10-24 17:03:16 +03:00
d26ca12e0c Update sgeupdated pipeline v22-
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s
2025-10-24 15:35:57 +03:00
18c8c49a3d Update sge-frontend/README.md
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s
2025-10-24 15:28:43 +03:00
97253a54eb Update sge-backend/README.md
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 8s
2025-10-24 15:26:53 +03:00
f411f44006 Update sgeupdated pipeline v22
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 8s
2025-10-24 15:21:53 +03:00
f4f4fb976b Update sgeupdated pipeline v22+
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 16s
2025-10-24 15:19:57 +03:00
385eda2132 Update sgeupdated pipeline v22
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 6s
2025-10-24 15:13:23 +03:00
23a3d8252e Update sge-backend/pom.xml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 26s
2025-10-24 15:11:40 +03:00
eeda227698 Update sgeupdated pipeline v24
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 26s
2025-10-24 15:09:18 +03:00
871bcf9651 Update sgeupdated pipeline v23++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-10-23 13:04:06 +03:00
614cbe8b04 Update sgeupdated pipeline v23+++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 9s
2025-10-23 13:01:17 +03:00
ce19adb1a0 Update sgeupdated pipeline v23++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 15s
2025-10-23 12:56:52 +03:00
5471db463f Update sgeupdated pipeline v23+
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-23 12:47:17 +03:00
845417ee49 Update sgeupdated pipeline v23
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 20s
2025-10-23 12:41:49 +03:00
1c12ac1e16 Update sge-frontend/package.json
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s
2025-10-23 12:08:16 +03:00
eb2ec01d28 Update sgeupdated pipeline v22
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s
new script for gitea
2025-10-23 12:06:40 +03:00
4d40015fd1 Update sge-frontend/package.json
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 19:24:33 +03:00
c55f5ce7d1 Update sge-frontend/package.json
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 19:17:57 +03:00
07a8973b92 Update for pipeline testing Back-end +
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-10-22 19:07:18 +03:00
54b47eee05 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 18:46:53 +03:00
3f0550f9f2 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 18:45:08 +03:00
6499c9471e Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 18:42:07 +03:00
71e507c21b Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 18:39:28 +03:00
737fd6da53 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-10-22 18:34:24 +03:00
490f3b539e Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 18:32:24 +03:00
9c0c4c4828 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 18:29:51 +03:00
b28a73b4ff Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-10-22 18:27:20 +03:00
f087b6eb88 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-10-22 18:23:55 +03:00
d07932cc1e Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-10-22 18:21:17 +03:00
76d37d6038 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 18:11:36 +03:00
50abcab358 Update sgeupdated pipeline v21++++++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
Commented the backend section
2025-10-22 17:55:10 +03:00
445f9256a1 Update sgeupdated pipeline v21+++++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 23s
Commented the backend section
2025-10-22 17:53:16 +03:00
4d1a82fe92 Update for pipeline testing Front-end v099
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 2m33s
2025-10-22 17:12:00 +03:00
6d6e935b52 Update sgeupdated pipeline v21++++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
commenting the frontend dependencies installation
2025-10-22 17:10:24 +03:00
a51a81ce7c Update sgeupdated pipeline v21+++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 2m30s
Paused the concurrency check temporally
2025-10-22 16:05:33 +03:00
3b6000bc40 Update sgeupdated pipeline v21++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-10-22 15:52:38 +03:00
78ed73acc6 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 2m29s
2025-10-22 15:47:39 +03:00
7f8a7b1bf8 Update sgeupdated pipeline v21++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 2m31s
2025-10-22 15:39:57 +03:00
8c6e37ad72 Update sgeupdated pipeline v21+++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 15:38:04 +03:00
85151e536d Update sgeupdated pipeline v21++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 15:08:02 +03:00
573db7fee9 Update sgeupdated pipeline v21+
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-10-22 14:49:07 +03:00
a11f9614ed Update sgeupdated pipeline v21
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 20s
new condition to be added
2025-10-22 14:29:27 +03:00
02bd570573 Update sge-backend/pom.xml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 3m19s
2025-10-21 16:12:15 +03:00
5da26152a9 update to sgeupdated pipeline v20++++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 23s
2025-09-05 23:07:35 +03:00
4f4c2e2ce5 Update .gitea/workflows/sgeupdated.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 1m5s
2025-09-05 23:01:04 +03:00
79ddbf2207 Update docker-compose.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 45s
2025-09-05 22:59:28 +03:00
23d9e65a7f update to sgeupdated pipeline v20+++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 51s
2025-09-05 22:55:07 +03:00
c8f9abe5e9 update to sgeupdated pipeline v20+++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 56s
changing in npm installation
2025-09-05 22:49:34 +03:00
fa96969bc7 update to sgeupdated pipeline v20++++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 16s
2025-09-05 22:37:40 +03:00
dc67f75027 Update sge-frontend/nginx.conf
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 9m42s
2025-09-05 22:01:33 +03:00
e22c880673 Update sge-backend/Dockerfile
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 16s
2025-09-05 21:57:44 +03:00
b37ed8797b update to sgeupdated pipeline v20+++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 10m22s
2025-09-01 05:14:58 +03:00
04ed88e45e Update for pipeline testing Back-end
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-09-01 05:11:10 +03:00
5f8de8105b update to sgeupdated pipeline v21
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-09-01 05:09:20 +03:00
8fb923a4db Update for pipeline testing Back-end
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-09-01 05:01:57 +03:00
a088889a67 update to sgeupdated pipeline v20+++
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 10m21s
2025-09-01 04:50:38 +03:00
b3de688265 update to sgeupdated pipeline v20++
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-09-01 04:41:12 +03:00
080924f788 update to sgeupdated pipeline v20+
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-09-01 03:57:59 +03:00
e43199f086 Update sge-frontend/nginx.conf
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-09-01 03:52:57 +03:00
49e2020455 update to sgeupdated pipeline v20
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 21s
2025-09-01 03:33:42 +03:00
876227286c Update for pipeline testing Front-end v00
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
2025-09-01 03:28:59 +03:00
af518cef20 Update for pipeline testing Back-end
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 23s
2025-09-01 03:27:48 +03:00
2e5bf41ed9 update to sgeupdated pipeline v19
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
changes the concept of rebuilding
2025-09-01 03:26:26 +03:00
f61199cedb Update for pipeline testing Front-end
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-09-01 03:06:55 +03:00
5001a44406 Update for pipeline testing
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 2m15s
2025-09-01 03:03:47 +03:00
87487510ce update to sgeupdated pipeline v18
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 23s
added some feature to avoid failing when nothing is changed
2025-09-01 03:02:23 +03:00
547ade53ae update to sgeupdated pipeline v17
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
2025-09-01 02:57:34 +03:00
95afe7b877 Back to sgeupdated pipeline v16
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
2025-09-01 02:46:07 +03:00
ae0e112572 Delete smoke file
All checks were successful
SgeUpdated Deploy / deploy-frontend (push) Has been skipped
SgeUpdated Deploy / deploy-backend (push) Has been skipped
2025-09-01 02:41:02 +03:00
b35eac74a1 Update sgeupdated pipeline v17
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
SgeUpdated Deploy / deploy-frontend (push) Has been skipped
SgeUpdated Deploy / deploy-backend (push) Has been skipped
a clone of the aypos yml file to test it
2025-09-01 02:40:20 +03:00
20aabd605c Update for pipeline testing Front-end
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 20s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 21:12:44 +03:00
517d4d499b Update for pipeline testing
Some checks failed
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
2025-08-30 21:12:22 +03:00
1aa745ebf5 Update sgeupdated pipeline v16
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-08-30 21:11:03 +03:00
88a312d37c Update sgeupdated pipeline v15
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 23s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
forgot to add the dependencies installation
2025-08-30 21:04:54 +03:00
b1019b21cf Update for pipeline testing Front-end
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 20s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 21:02:37 +03:00
57c28e4a90 Update for pipeline testing
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-08-30 21:02:19 +03:00
b1cf711420 Update sgeupdated pipeline v14
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 21s
multiple changes applied to make the workflows works over ssh
2025-08-30 20:58:45 +03:00
1d6b026710 Update for pipeline testing
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 21s
2025-08-30 20:21:33 +03:00
02e4993c2c Update for pipeline testing Front-end
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 21s
2025-08-30 20:20:37 +03:00
be71b59a3e Update for pipeline testing Front-end
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 20:11:43 +03:00
7e5761993b Update for pipeline testing Front-end
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
sgeUpdated CI/CD / deploy (push) Successful in 20s
2025-08-30 04:20:34 +03:00
66bd7b5a68 Update for pipeline testing
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 21s
sgeUpdated CI/CD / deploy (push) Successful in 23s
2025-08-30 04:20:16 +03:00
206d8a2bbf Update sgeupdated pipeline v13
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 23s
2025-08-30 04:14:36 +03:00
6fbca1c29a Update for pipeline testing Front-end
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 10s
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-08-30 03:41:56 +03:00
1f6b06260c Update for pipeline testing
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 29s
2025-08-30 03:38:28 +03:00
b00a8e1bf1 Update Front-End after pipeline v10
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Successful in 9s
2025-08-30 03:11:38 +03:00
0f01ddefe9 Update Back-End after pipeline v12
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-08-30 03:11:13 +03:00
2116b0f28a Update Front-End after pipeline v9
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-08-30 03:02:45 +03:00
5161286279 Update Back-End after pipeline v11
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-08-30 03:02:19 +03:00
29963d5388 Update sgeupdated pipeline v12
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 7s
sgeUpdated CI/CD / deploy (push) Successful in 27s
2025-08-30 03:00:47 +03:00
990b98c171 Update sgeupdated pipeline v12
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 8s
2025-08-30 02:58:54 +03:00
f2d5182215 Update sgeupdated pipeline v12
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 02:57:42 +03:00
e9a361489e Update sgeupdated pipeline v12
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
a new update that fixed the docker files problem, it deletes the old ones then builds the new accordingly
2025-08-30 02:56:08 +03:00
37873ad091 Update Dockerfile
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
sgeUpdated CI/CD / deploy (push) Successful in 21s
2025-08-30 01:58:28 +03:00
cac67b815c Update Front-End after pipeline v8
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 01:38:03 +03:00
28fc21e9f2 Update Back-End after pipeline v10
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-08-30 01:37:40 +03:00
98a2515735 Update sgeupdated pipeline v11
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 23s
2025-08-30 01:36:21 +03:00
4503d7c319 Update sgeupdated pipeline v11
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 01:33:48 +03:00
e2a1b6f940 Update sgeupdated pipeline v11
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 01:33:02 +03:00
d25a7975c7 Update sgeupdated pipeline v11
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 01:29:50 +03:00
926c6b0b66 Update sgeupdated pipeline v11
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 01:28:12 +03:00
986bec559b Update Front-End after pipeline v7
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 01:14:28 +03:00
77d5c94cf7 Update Back-End after pipeline v9
Some checks failed
sgeUpdated CI/CD / deploy (push) Successful in 23s
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
2025-08-30 01:14:02 +03:00
75c2f7ff19 Update sgeupdated pipeline v10
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 23s
new code updated changes in fornt-end and back-end structure
2025-08-30 01:09:38 +03:00
55577469de Update Front-End after pipeline v6
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-30 01:02:15 +03:00
f50803f469 Update Back-End after pipeline v8
Some checks failed
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
2025-08-30 01:01:47 +03:00
adce8cddd8 Update sgeupdated pipeline v9
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-08-29 20:17:14 +03:00
c2ddc08802 Update Front-End after pipeline v5
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-29 20:11:39 +03:00
2c79300663 Update Back-End after pipeline v7
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-08-29 20:11:17 +03:00
a6bb799caa Update sgeupdated pipeline v8
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-08-29 20:05:03 +03:00
a4791d6a57 Update Front-End after pipeline v4
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 20s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-29 19:40:12 +03:00
168cfaa8a7 Update Back-End after pipeline v6
Some checks failed
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
2025-08-29 19:39:45 +03:00
710655c1fd Update docker-compose.yml
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-29 19:37:41 +03:00
6f445f205a Update sgeupdated pipeline v7
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 21s
2025-08-29 19:35:49 +03:00
32b9533a33 Update docker-compose.yml
Some checks failed
sgeUpdated CI/CD / deploy (push) Has been cancelled
sgeUpdated Smoke Test / smoke-test (push) Successful in 7s
2025-08-29 19:27:28 +03:00
62829194e2 Update Front-End after pipeline v3
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-29 19:24:43 +03:00
87a80f63ed Update Back-End after pipeline v5
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 16s
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
2025-08-29 19:24:21 +03:00
f12c5cb8d4 Update sgeupdated pipeline v6
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 29s
Some mistakes in directory
2025-08-29 19:20:39 +03:00
7148bdf834 Update Front-End after pipeline v2
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
2025-08-29 19:12:06 +03:00
9eb903a450 Update Back-End after pipeline v4
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 16s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-29 19:11:38 +03:00
991aef0417 Update sgeupdated pipeline v5
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 22s
working on updating the docker
2025-08-29 19:09:11 +03:00
a1c0f71fbf Update Front-End after pipeline
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
2025-08-29 00:21:02 +03:00
64c36cb617 Update Back-End after pipeline v3
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-08-29 00:20:41 +03:00
0f2bf5a800 Update Front-End after pipeline
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
2025-08-29 00:17:33 +03:00
d6375c320a Update Back-End after pipeline v3
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
sgeUpdated CI/CD / deploy (push) Successful in 21s
2025-08-29 00:17:07 +03:00
3d440798e3 Update sgeupdated pipeline v4
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
Made a force for rebuilding the docker
2025-08-29 00:16:07 +03:00
8cdc00f921 Update sgeupdated pipeline v3
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
sgeUpdated CI/CD / deploy (push) Successful in 21s
2025-08-29 00:11:13 +03:00
593e5ceb6a Update Front-End after pipeline
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
problem with dockerizing
2025-08-29 00:07:10 +03:00
b2eebfce64 Update Back-End after pipeline v2
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
problem with not dockerizing
2025-08-29 00:06:18 +03:00
c3ed359103 Update sgeupdated pipeline v3
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
a typo in docker names for front-end and back-end
2025-08-29 00:02:27 +03:00
7b4143ba52 Update sgeupdated pipeline v3
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 21s
problem in restarting docker
2025-08-28 23:56:54 +03:00
0322235404 Update Back-End after pipeline
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 22s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-28 23:48:21 +03:00
95a344a7a6 Update Front-End after CI/CD
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 21s
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
2025-08-28 23:45:33 +03:00
c477143b30 Update sgeupdated pipeline v2
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
sgeUpdated CI/CD / deploy (push) Failing after 16s
2025-08-28 23:42:13 +03:00
6202f7ec26 Update sgeupdated pipeline
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Successful in 5s
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-08-28 23:28:23 +03:00
8eb9835e13 Update sgeupdated pipeline
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 22s
2025-08-28 19:09:57 +03:00
08941cc7d5 Update sgeupdated pipeline
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 35s
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
2025-08-28 19:01:37 +03:00
994e81b1fb Add sgeupdated pipeline
Some checks failed
sgeUpdated Smoke Test / smoke-test (push) Has been cancelled
sgeUpdated CI/CD / deploy (push) Has been cancelled
2025-08-28 18:47:24 +03:00
0c03a110e5 DELETE
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-28 17:56:30 +03:00
7c5eb3a210 Delete .gitea/workflows/deploy.yml
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-28 17:55:52 +03:00
a943925325 Add a Smoke test workflow
Some checks failed
CI/CD Pipeline / deploy_testing (push) Has been skipped
CI/CD Pipeline / deploy_production (push) Failing after 43s
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
2025-08-28 17:53:33 +03:00
5bd98fb09d update a Smoke test workflow
Some checks failed
CI/CD Pipeline / deploy_testing (push) Has been skipped
CI/CD Pipeline / deploy_production (push) Failing after 40s
2025-08-27 03:42:02 +03:00
cdb6d98ae7 Add a Smoke test workflow
Some checks failed
CI/CD Pipeline / deploy_testing (push) Has been skipped
CI/CD Pipeline / deploy_production (push) Failing after 15s
2025-08-27 03:40:09 +03:00
243f89457f Add test workflow
Some checks failed
CI/CD Pipeline / deploy_testing (push) Has been skipped
CI/CD Pipeline / deploy_production (push) Failing after 40s
2025-08-27 03:34:14 +03:00
03875dde53 Add test workflow updated name
Some checks failed
CI/CD Pipeline / deploy_testing (push) Has been skipped
CI/CD Pipeline / deploy_production (push) Failing after 16s
2025-08-27 03:32:21 +03:00
e695d06f5b Add CI/CD deploy workflows
Some checks failed
CI/CD Pipeline / deploy_testing (push) Has been skipped
CI/CD Pipeline / deploy_production (push) Failing after 56s
2025-08-27 03:04:15 +03:00
837353bc45 Add test workflow
Some checks failed
CI/CD Pipeline / deploy_production (push) Failing after 16s
CI/CD Pipeline / deploy_testing (push) Has been skipped
2025-08-27 03:02:45 +03:00
2459ba092b Add CI/CD deploy workflow update
Some checks failed
CI/CD Pipeline / deploy_testing (push) Has been skipped
CI/CD Pipeline / deploy_production (push) Failing after 1m48s
2025-08-27 03:00:10 +03:00
4bfd2ee1f8 Add CI/CD deploy workflow 2025-08-27 02:45:09 +03:00
95fbbc340e Add .gitea/workflows/deploy.yml 2025-08-27 02:43:00 +03:00
78ffa4fe7e Merge pull request 'multi-emission-feature' (#14) from multi-emission-feature into main
Reviewed-on: BLC/sgeUpdated#14
2025-08-19 09:26:46 +03:00
3245040274 Merge pull request 'Multi Emission Sources Feature' (#10) from multi-emission-feature into main
Reviewed-on: BLC/sgeUpdated#10
2025-08-18 08:09:49 +03:00
9 changed files with 1209 additions and 1182 deletions

View File

@@ -0,0 +1,29 @@
name: sgeUpdated CI/CD
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup SSH
run: |
mkdir -p ~/.ssh/
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan ${{ secrets.SERVER_HOST }} >> ~/.ssh/known_hosts
- name: Run deploy script on server
run: |
ssh ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} << 'EOF'
echo "✅ Connected to server. Running deploy script..."
cd /home/ubuntu/Bgreen/sgeUpdated
./deploy.sh
EOF

View File

@@ -1,5 +1,5 @@
services: services:
backend: bgreen-backend:
build: build:
context: ./sge-backend context: ./sge-backend
dockerfile: Dockerfile dockerfile: Dockerfile
@@ -13,7 +13,7 @@ services:
- database - database
restart: unless-stopped restart: unless-stopped
frontend: bgreen-frontend:
build: build:
context: ./sge-frontend context: ./sge-frontend
dockerfile: Dockerfile dockerfile: Dockerfile

1
sge-backend/README.md Normal file
View File

@@ -0,0 +1 @@
## CI/CD Pipeline Check v23

View File

@@ -6,7 +6,7 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.4</version> <version>2.5.5</version>
<relativePath /> <relativePath />
</parent> </parent>
<groupId>com.sgs</groupId> <groupId>com.sgs</groupId>

View File

@@ -1,104 +1,108 @@
# SGE System Frontend # SGE System Frontend
## Overview ## Overview
The frontend of the SGE System is a modern web application built with **React**, providing an interactive and user-friendly interface. It communicates with the backend API to deliver a seamless experience for users. The frontend of the SGE System is a modern web application built with **React**, providing an interactive and user-friendly interface. It communicates with the backend API to deliver a seamless experience for users.
## Technology Stack ## Technology Stack
- **React** UI library - **React** UI library
- **React Router** Routing - **React Router** Routing
- **i18n** Internationalization - **i18n** Internationalization
- **Docker** Containerization - **Docker** Containerization
## Repository Structure ## Repository Structure
``` ```
SGE/ SGE/
├── sge-backend/ # Backend source code ├── sge-backend/ # Backend source code
├── sge-frontend/ # Frontend source code ├── sge-frontend/ # Frontend source code
├── config.conf # Centralized configuration file (see below) ├── config.conf # Centralized configuration file (see below)
├── docker-compose.yml # Docker Compose file (see below) ├── docker-compose.yml # Docker Compose file (see below)
``` ```
## Setup and Installation ## Setup and Installation
### Prerequisites ### Prerequisites
- **Node.js** (v14.0.0 required) and npm - **Node.js** (v14.0.0 required) and npm
- **Docker** (for containerized deployment) - **Docker** (for containerized deployment)
#### Node.js Version Management #### Node.js Version Management
If you need to switch Node versions, use nvm: If you need to switch Node versions, use nvm:
```sh ```sh
nvm install v14.0.0 nvm install v14.0.0
nvm use v14.0.0 nvm use v14.0.0
unset NODE_OPTIONS unset NODE_OPTIONS
``` ```
### Frontend Setup ### Frontend Setup
#### Local Development #### Local Development
1. Clone the repository and navigate to the frontend directory: 1. Clone the repository and navigate to the frontend directory:
```sh ```sh
git clone <repository-url> git clone <repository-url>
cd SGE/sge-frontend cd SGE/sge-frontend
``` ```
2. Ensure `config.conf` is in the project root (`SGE/`). 2. Ensure `config.conf` is in the project root (`SGE/`).
You can either: You can either:
- Manually set environment variables from `config.conf` - Manually set environment variables from `config.conf`
- Or configure your IDE to load variables from `config.conf` - Or configure your IDE to load variables from `config.conf`
3. Install dependencies: 3. Install dependencies:
```sh ```sh
npm install npm install
``` ```
4. Start the development server: 4. Start the development server:
```sh ```sh
npm start npm start
``` ```
#### Docker Deployment #### Docker Deployment
1. Ensure both `config.conf` and `docker-compose.yml` are in the project root (`SGE/`). 1. Ensure both `config.conf` and `docker-compose.yml` are in the project root (`SGE/`).
2. From the root directory, build and run the frontend (and backend) using Docker: 2. From the root directory, build and run the frontend (and backend) using Docker:
```sh ```sh
docker-compose up --build docker-compose up --build
``` ```
## Configuration Management ## Configuration Management
The SGE System uses a centralized `config.conf` file for all environment variables. The SGE System uses a centralized `config.conf` file for all environment variables.
**Location:** Place `config.conf` in the root directory of your project, alongside `docker-compose.yml`. **Location:** Place `config.conf` in the root directory of your project, alongside `docker-compose.yml`.
This file contains environment variables for both backend and frontend components, including: This file contains environment variables for both backend and frontend components, including:
- API connection settings - API connection settings
- Mail configuration - Mail configuration
- Application URLs - Application URLs
When running with Docker, environment variables are automatically loaded from `config.conf` via the `env_file` directive in `docker-compose.yml`. When running with Docker, environment variables are automatically loaded from `config.conf` via the `env_file` directive in `docker-compose.yml`.
For local development, you can either: For local development, you can either:
- Use the same `config.conf` file and manually set the environment variables - Use the same `config.conf` file and manually set the environment variables
- Configure your IDE to load these variables from the file - Configure your IDE to load these variables from the file
Refer to the backend README for more details on configuration options and structure. Refer to the backend README for more details on configuration options and structure.
## Integration with Backend ## Integration with Backend
The frontend expects the backend API to be available at the host and port specified in `config.conf` (`API_PROTOCOL`, `API_HOST`, `SERVER_PORT`). The frontend expects the backend API to be available at the host and port specified in `config.conf` (`API_PROTOCOL`, `API_HOST`, `SERVER_PORT`).
Ensure both services are configured consistently. Ensure both services are configured consistently.
## License ## License
[Insert your license information here] [Insert your license information here]
## CI/CD Testing v20

View File

@@ -1,39 +1,32 @@
server { server {
listen 80; listen 80;
server_name bgreen.blc-css.com; server_name bgreen.blc-css.com;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; index index.html index.htm;
location / { location / {
try_files $uri /index.html; try_files $uri /index.html;
} }
location /api/v1/graphql { location /api/v1/graphql {
proxy_pass http://bgreen-backend:8080/api/v1/graphql; proxy_pass http://bgreen-backend:8080/api/v1/graphql;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
} }
location /api/v1/upload { location /api/v1/upload {
proxy_pass http://bgreen-backend:8080/upload; proxy_pass http://bgreen-backend:8080/upload;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
} }
# location /api/v1/datacenter { # location /api/v1/datacenter {
# proxy_pass http://backend:8080/api/v1/datacenter; # proxy_pass http://backend:8080/api/v1/datacenter;
# proxy_set_header Host $host; # proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr; # proxy_set_header X-Real-IP $remote_addr;
# } # }
# Hata durumlarında da index.html'i sun # Hata durumlarında da index.html'i sun
error_page 404 /index.html; error_page 404 /index.html;
gzip on; gzip on;
gzip_vary on; gzip_vary on;
gzip_min_length 10240; gzip_min_length 10240;
gzip_proxied any; gzip_proxied any;
gzip_types text/plain text/css text/xml text/javascript application/javascript application/json application/xml application/rss+xml application/atom+xml image/svg+xml; gzip_types text/plain text/css text/xml text/javascript application/javascript application/json application/xml application/rss+xml application/atom+xml image/svg+xml;
gzip_comp_level 5; gzip_comp_level 5;
} }

View File

@@ -1,131 +1,131 @@
{ {
"name": "sgs-web", "name": "sgs-web",
"version": "1.0.0", "version": "1.0.1",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@apollo/client": "^3.13.8", "@apollo/client": "^3.13.8",
"@casl/react": "4.0.0", "@casl/react": "4.0.0",
"@emotion/react": "^11.11.1", "@emotion/react": "^11.11.1",
"@emotion/styled": "^11.10.6", "@emotion/styled": "^11.10.6",
"@mui/icons-material": "^5.2.4", "@mui/icons-material": "^5.2.4",
"@mui/material": "^5.2.4", "@mui/material": "^5.2.4",
"animate.css": "4.1.1", "animate.css": "4.1.1",
"axios": "^0.21.1", "axios": "^0.21.1",
"bootstrap": "4.5.2", "bootstrap": "4.5.2",
"chart.js": "^4.3.0", "chart.js": "^4.3.0",
"chartjs-plugin-datalabels": "^2.2.0", "chartjs-plugin-datalabels": "^2.2.0",
"classnames": "2.2.6", "classnames": "2.2.6",
"dotenv": "^14.3.2", "dotenv": "^14.3.2",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"graphql": "^16.11.0", "graphql": "^16.11.0",
"html2canvas": "^1.4.1", "html2canvas": "^1.4.1",
"i18next": "^22.4.14", "i18next": "^22.4.14",
"i18next-browser-languagedetector": "^7.0.1", "i18next-browser-languagedetector": "^7.0.1",
"i18next-http-backend": "^2.2.0", "i18next-http-backend": "^2.2.0",
"jquery": "^3.7.1", "jquery": "^3.7.1",
"jspdf": "^2.5.1", "jspdf": "^2.5.1",
"jwt-decode": "^3.1.2", "jwt-decode": "^3.1.2",
"leaflet": "^1.6.0", "leaflet": "^1.6.0",
"material-react-table": "^1.14.0", "material-react-table": "^1.14.0",
"moment": "2.29.1", "moment": "2.29.1",
"notistack": "^2.0.8", "notistack": "^2.0.8",
"postcss-rtl": "1.5.0", "postcss-rtl": "1.5.0",
"prop-types": "15.7.2", "prop-types": "15.7.2",
"react": "17.0.1", "react": "17.0.1",
"react-bootstrap": "^2.10.6", "react-bootstrap": "^2.10.6",
"react-chartjs-2": "^5.2.0", "react-chartjs-2": "^5.2.0",
"react-color": "^2.19.3", "react-color": "^2.19.3",
"react-data-table-component": "^7.5.0", "react-data-table-component": "^7.5.0",
"react-datepicker": "^4.16.0", "react-datepicker": "^4.16.0",
"react-dom": "17.0.1", "react-dom": "17.0.1",
"react-feather": "~2.0.3", "react-feather": "~2.0.3",
"react-i18next": "^12.2.0", "react-i18next": "^12.2.0",
"react-intl": "6.0.5", "react-intl": "6.0.5",
"react-leaflet": "^3.2.5", "react-leaflet": "^3.2.5",
"react-paginate": "8.2.0", "react-paginate": "8.2.0",
"react-perfect-scrollbar": "^1.5.5", "react-perfect-scrollbar": "^1.5.5",
"react-redux": "7.2.2", "react-redux": "7.2.2",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"react-scroll-up": "1.3.7", "react-scroll-up": "1.3.7",
"react-select": "4.0.2", "react-select": "4.0.2",
"react-toastify": "^7.0.3", "react-toastify": "^7.0.3",
"reactstrap": "9.2.3", "reactstrap": "9.2.3",
"redux": "4.0.5", "redux": "4.0.5",
"redux-debounced": "0.5.0", "redux-debounced": "0.5.0",
"redux-thunk": "2.3.0", "redux-thunk": "2.3.0",
"styled-components": "^5.3.6", "styled-components": "^5.3.6",
"sweetalert2": "11.0.0", "sweetalert2": "11.0.0",
"sweetalert2-react-content": "4.2.0", "sweetalert2-react-content": "4.2.0",
"swiper": "6.0.4", "swiper": "6.0.4",
"uuid": "^9.0.0", "uuid": "^9.0.0",
"web-vitals": "^1.0.1", "web-vitals": "^1.0.1",
"websocket": "^1.0.34", "websocket": "^1.0.34",
"wnumb": "1.2.0", "wnumb": "1.2.0",
"xlsx": "^0.18.5", "xlsx": "^0.18.5",
"yarn": "1.21.1", "yarn": "1.21.1",
"yup": "0.32.8" "yup": "0.32.8"
}, },
"scripts": { "scripts": {
"start": "react-app-rewired start", "start": "react-app-rewired start",
"build:dev": "react-app-rewired build --mode development", "build:dev": "react-app-rewired build --mode development",
"build:prod": "react-app-rewired build --mode production", "build:prod": "react-app-rewired build --mode production",
"build": "react-app-rewired build", "build": "react-app-rewired build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"lint": "eslint src/**/*.js src/**/*.jsx", "lint": "eslint src/**/*.js src/**/*.jsx",
"lint:fix": "eslint src/**/*.js --fix" "lint:fix": "eslint src/**/*.js --fix"
}, },
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [
"react-app", "react-app",
"react-app/jest" "react-app/jest"
] ]
}, },
"browserslist": { "browserslist": {
"production": [ "production": [
">0.2%", ">0.2%",
"not dead", "not dead",
"not op_mini all" "not op_mini all"
], ],
"development": [ "development": [
"last 1 chrome version", "last 1 chrome version",
"last 1 firefox version", "last 1 firefox version",
"last 1 safari version" "last 1 safari version"
] ]
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.27.1", "@babel/core": "^7.27.1",
"@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.27.1", "@babel/preset-env": "^7.27.1",
"@babel/preset-react": "^7.27.1", "@babel/preset-react": "^7.27.1",
"@craco/craco": "^7.1.0", "@craco/craco": "^7.1.0",
"@swc/core": "^1.11.24", "@swc/core": "^1.11.24",
"@types/leaflet": "^1.7.5", "@types/leaflet": "^1.7.5",
"@types/sortablejs": "^1.10.6", "@types/sortablejs": "^1.10.6",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-loader": "^10.0.0", "babel-loader": "^10.0.0",
"babel-plugin-styled-components": "^2.1.4", "babel-plugin-styled-components": "^2.1.4",
"core-js": "^3.42.0", "core-js": "^3.42.0",
"eslint": "^8.48.0", "eslint": "^8.48.0",
"eslint-config-react-app": "^7.0.1", "eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.27.5", "eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.0", "eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"react-app-rewire-postcss": "^3.0.2", "react-app-rewire-postcss": "^3.0.2",
"react-app-rewired": "^2.2.1", "react-app-rewired": "^2.2.1",
"react-error-overlay": "^6.0.9", "react-error-overlay": "^6.0.9",
"react-loadable": "^5.5.0", "react-loadable": "^5.5.0",
"react-scripts": "^5.0.1", "react-scripts": "^5.0.1",
"sass": "^1.81.0", "sass": "^1.81.0",
"sass-loader": "^8.0.2", "sass-loader": "^8.0.2",
"swc-loader": "^0.2.6", "swc-loader": "^0.2.6",
"typescript": "^4.9.5", "typescript": "^4.9.5",
"webpack": "^5.96.1" "webpack": "^5.96.1"
}, },
"resolutions": { "resolutions": {
"react-error-overlay": "6.0.9" "react-error-overlay": "6.0.9"
}, },
"homepage": "" "homepage": ""
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,218 +1,218 @@
import React, { useEffect, useState } from "react"; import React, { useEffect, useState } from "react";
import { import {
Button, Button,
Card, Card,
CardHeader, CardHeader,
CardTitle, CardTitle,
Col, Col,
Modal, Modal,
ModalBody, ModalBody,
ModalHeader, ModalHeader,
Row, Row,
UncontrolledTooltip, // Add UncontrolledTooltip import UncontrolledTooltip, // Add UncontrolledTooltip import
} from "reactstrap"; } from "reactstrap";
import { Edit, Mail, Phone, MapPin } from "react-feather"; // Import Mail, Phone, MapPin import { Edit, Mail, Phone, MapPin } from "react-feather"; // Import Mail, Phone, MapPin
import { useSnackbar } from "notistack"; import { useSnackbar } from "notistack";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { useDispatch, useSelector } from "react-redux"; import { useDispatch, useSelector } from "react-redux";
import { permissionCheck } from "../components/permission-check"; import { permissionCheck } from "../components/permission-check";
import { import {
getMailSettings, getMailSettings,
clearMailSuccess, clearMailSuccess,
clearMailError, clearMailError,
} from "../redux/actions/mailSettings"; } from "../redux/actions/mailSettings";
import MailSettings from "./MailSettings"; import MailSettings from "./MailSettings";
import SpinnerComponent from "../@core/components/spinner/Fallback-spinner"; import SpinnerComponent from "../@core/components/spinner/Fallback-spinner";
// Import custom styles for the communication page // Import custom styles for the communication page
import "../assets/scss/pages/communication.scss"; import "../assets/scss/pages/communication.scss";
function Communication() { function Communication() {
const { t } = useTranslation(); const { t } = useTranslation();
const dispatch = useDispatch(); const dispatch = useDispatch();
const { enqueueSnackbar } = useSnackbar(); const { enqueueSnackbar } = useSnackbar();
const { currentSettings, loading, success, error } = useSelector( const { currentSettings, loading, success, error } = useSelector(
// Add loading to useSelector // Add loading to useSelector
(state) => state.mailSettings (state) => state.mailSettings
); );
const [showMailModal, setShowMailModal] = useState(false); const [showMailModal, setShowMailModal] = useState(false);
useEffect(() => { useEffect(() => {
// Load mail settings once when component mounts // Load mail settings once when component mounts
dispatch(getMailSettings()); dispatch(getMailSettings());
}, [dispatch]); }, [dispatch]);
useEffect(() => { useEffect(() => {
if (success) { if (success) {
enqueueSnackbar(t("Warnings.updatedSuccessfully"), { enqueueSnackbar(t("Warnings.updatedSuccessfully"), {
variant: "success", variant: "success",
}); });
dispatch(clearMailSuccess()); dispatch(clearMailSuccess());
} }
}, [success, enqueueSnackbar, t, dispatch]); }, [success, enqueueSnackbar, t, dispatch]);
useEffect(() => { useEffect(() => {
if (error) { if (error) {
const errorMessage = const errorMessage =
error?.graphQLErrors?.[0]?.message || error?.graphQLErrors?.[0]?.message ||
error?.message || error?.message ||
t("Warnings.genericUpdateFailed"); t("Warnings.genericUpdateFailed");
enqueueSnackbar(errorMessage, { enqueueSnackbar(errorMessage, {
variant: "error", variant: "error",
}); });
dispatch(clearMailError()); dispatch(clearMailError());
} }
}, [error, enqueueSnackbar, t, dispatch]); }, [error, enqueueSnackbar, t, dispatch]);
// Get email address from settings or use default from environment variable // Get email address from settings or use default from environment variable
const defaultEmail = process.env.REACT_APP_DEFAULT_EMAIL || ""; const defaultEmail = process.env.REACT_APP_DEFAULT_EMAIL || "";
// Use default email if currentSettings is null or emailAddress is null // Use default email if currentSettings is null or emailAddress is null
const emailAddress = currentSettings?.emailAddress || defaultEmail; const emailAddress = currentSettings?.emailAddress || defaultEmail;
const handleEmailClick = () => { const handleEmailClick = () => {
if (emailAddress) { if (emailAddress) {
window.location.href = `mailto:${emailAddress}`; window.location.href = `mailto:${emailAddress}`;
} }
}; };
const handleCloseModal = () => { const handleCloseModal = () => {
setShowMailModal(false); setShowMailModal(false);
}; };
return ( return (
<div style={{ marginTop: "2%" }}> <div style={{ marginTop: "2%" }}>
{loading && !currentSettings ? ( {loading && !currentSettings ? (
<div <div
style={{ style={{
display: "flex", display: "flex",
justifyContent: "center", justifyContent: "center",
alignItems: "center", alignItems: "center",
minHeight: 200, minHeight: 200,
}} }}
> >
<SpinnerComponent /> <SpinnerComponent />
</div> </div>
) : ( ) : (
<> <>
{permissionCheck("settings_access") && ( {permissionCheck("settings_access") && (
<> <>
<Modal <Modal
isOpen={showMailModal} isOpen={showMailModal}
toggle={handleCloseModal} toggle={handleCloseModal}
className="modal-dialog-centered" className="modal-dialog-centered"
size="lg" size="lg"
> >
<ModalHeader toggle={handleCloseModal}> <ModalHeader toggle={handleCloseModal}>
{t("MailSettings.editMailInfo")} {t("MailSettings.editMailInfo")}
</ModalHeader> </ModalHeader>
<ModalBody> <ModalBody>
<MailSettings closeModal={handleCloseModal} /> <MailSettings closeModal={handleCloseModal} />
</ModalBody> </ModalBody>
</Modal> </Modal>
</> </>
)} )}
<Card className="border-bottom"> <Card className="border-bottom">
<CardHeader className="border-bottom"> <CardHeader className="border-bottom">
<CardTitle tag="h2" className="row ml-md-2 align-items-center"> <CardTitle tag="h2" className="row ml-md-2 align-items-center">
{t("Contact.contactInfo")} {t("Contact.contactInfo")}
</CardTitle> </CardTitle>
</CardHeader> </CardHeader>
<Row> <Row>
<Col className="pl-md-5 pl-2 col-md-6 col-12"> <Col className="pl-md-5 pl-2 col-md-6 col-12">
<Row className="mx-0 mt-1"> <Row className="mx-0 mt-1">
<Col sm="6" md="5" className="mr-2"> <Col sm="6" md="5" className="mr-2">
<div className="email-container d-flex align-items-center justify-content-between"> <div className="email-container d-flex align-items-center justify-content-between">
<div> <div>
<h4> <h4>
<Mail size={16} className="mr-1" />{" "} <Mail size={16} className="mr-1" />{" "}
{t("Contact.contactEmail")} {t("Contact.contactEmail")}
</h4>{" "} </h4>{" "}
{/* Add Mail icon */} {/* Add Mail icon */}
<p <p
style={{ style={{
color: emailAddress ? "blue" : "inherit", color: emailAddress ? "blue" : "inherit",
textDecoration: emailAddress ? "underline" : "none", textDecoration: emailAddress ? "underline" : "none",
cursor: emailAddress ? "pointer" : "default", cursor: emailAddress ? "pointer" : "default",
}} }}
onClick={handleEmailClick} onClick={handleEmailClick}
> >
{emailAddress || {emailAddress ||
defaultEmail || defaultEmail ||
t("MailSettings.notConfigured")} t("MailSettings.notConfigured")}
</p> </p>
</div> </div>
{permissionCheck("settings_access") && ( {permissionCheck("settings_access") && (
<> <>
{" "} {" "}
{/* Wrap button and tooltip in fragment */} {/* Wrap button and tooltip in fragment */}
<Button <Button
color="flat-primary" color="flat-primary"
className="btn-icon" className="btn-icon"
onClick={() => setShowMailModal(true)} onClick={() => setShowMailModal(true)}
id="edit-email-btn" // Add id for tooltip id="edit-email-btn" // Add id for tooltip
> >
<Edit size={18} /> <Edit size={18} />
</Button> </Button>
<UncontrolledTooltip <UncontrolledTooltip
placement="top" placement="top"
target="edit-email-btn" // Target the button id target="edit-email-btn" // Target the button id
timeout={150} // Add timeout prop to fix the warning timeout={150} // Add timeout prop to fix the warning
> >
{t("MailSettings.editMailInfo")}{" "} {t("MailSettings.editMailInfo")}{" "}
{/* Tooltip text */} {/* Tooltip text */}
</UncontrolledTooltip> </UncontrolledTooltip>
</> </>
)} )}
</div> </div>
</Col> </Col>
<Col sm="6" md="5" className="mr-2"> <Col sm="6" md="5" className="mr-2">
<div className="telephone-container"> <div className="telephone-container">
<h4> <h4>
<Phone size={16} className="mr-1" />{" "} <Phone size={16} className="mr-1" />{" "}
{t("Contact.contactPhoneNumber")} {t("Contact.contactPhoneNumber")}
</h4>{" "} </h4>{" "}
{/* Add Phone icon */} {/* Add Phone icon */}
<p>+90 507 750 00 41</p> <p>+90 507 750 00 41</p>
</div> </div>
</Col> </Col>
</Row> </Row>
<Row className="mx-0 mt-4"> <Row className="mx-0 mt-4">
<Col sm="6" md="5" className="mr-2"> <Col sm="6" md="5" className="mr-2">
<div className="address-container"> <div className="address-container">
<h4> <h4>
<MapPin size={16} className="mr-1" />{" "} <MapPin size={16} className="mr-1" />{" "}
{t("Contact.contactAddress")} {t("Contact.contactAddress")}
</h4>{" "} </h4>{" "}
{/* Add MapPin icon */} {/* Add MapPin icon */}
<address> <address>
Central Office: 4995 sokak no:3, Alacaatlı Mahallesi, Central Office: 4995 sokak no:3, Alacaatlı Mahallesi,
Daire No: A2 06810 Çankaya/Ankara Daire No: A2 06820 Çankaya/Ankara
</address> </address>
</div> </div>
</Col> </Col>
</Row> </Row>
</Col> </Col>
<Col className="pl-md-5 pl-2 col-md-6 col-12 pb-2 border-left"> <Col className="pl-md-5 pl-2 col-md-6 col-12 pb-2 border-left">
<Row className="mx-0 mt-1"> <Row className="mx-0 mt-1">
<div className="address-map w-100"> <div className="address-map w-100">
<div className="responsive-map-container"> <div className="responsive-map-container">
<iframe <iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3063.1752741150003!2d32.658217075858445!3d39.847904971536735!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14d33eef6ee44755%3A0x77faea5f08f32c60!2zTUVBIEfDnFpFTEJBSMOHRU0!5e0!3m2!1sen!2str!4v1741165773414!5m2!1sen!2str" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3063.1752741150003!2d32.658217075858445!3d39.847904971536735!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14d33eef6ee44755%3A0x77faea5f08f32c60!2zTUVBIEfDnFpFTEJBSMOHRU0!5e0!3m2!1sen!2str!4v1741165773414!5m2!1sen!2str"
allowFullScreen="" allowFullScreen=""
loading="lazy" loading="lazy"
referrerPolicy="no-referrer-when-downgrade" referrerPolicy="no-referrer-when-downgrade"
></iframe> ></iframe>
</div> </div>
</div> </div>
</Row> </Row>
</Col> </Col>
</Row> </Row>
</Card> </Card>
</> </>
)} )}
</div> </div>
); );
} }
export default Communication; export default Communication;