Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
e4e62a3
Chess Game (#67)
thrxpt Feb 17, 2025
7afb51c
Merge remote-tracking branch 'origin/main' into register
beambeambeam Feb 17, 2025
2699d28
chore: clean main
beambeambeam Feb 17, 2025
6117437
feat: init supabase
beambeambeam Feb 17, 2025
769f2b3
fix: font to var
beambeambeam Feb 17, 2025
80ae06c
feat: policy init
beambeambeam Feb 17, 2025
d33bbb3
chore: clean more
beambeambeam Feb 17, 2025
4df38c0
feat: check changed
beambeambeam Feb 17, 2025
2e8ca85
feat: update policy
beambeambeam Feb 17, 2025
1479207
feat: file uploader #29
beambeambeam Feb 18, 2025
89f33ee
style: select match our
beambeambeam Feb 18, 2025
5475673
feat: popover
beambeambeam Feb 18, 2025
ef7a81b
style: button new
beambeambeam Feb 18, 2025
e7b766d
chore: clean register
beambeambeam Feb 18, 2025
f64b3b5
style: input
beambeambeam Feb 18, 2025
e94da59
feat: radio-group
beambeambeam Feb 18, 2025
f1383b1
feat: change prisma schema
SupeemAFK Feb 18, 2025
1271035
feat: add service test for app controller
SupeemAFK Feb 18, 2025
3f77bb7
feat: create users resource, fix schema and add class validator
SupeemAFK Feb 18, 2025
3e18a5d
feat: create users resource, fix schema and add class validator
SupeemAFK Feb 18, 2025
a3b4929
Register route (#111)
beambeambeam Feb 18, 2025
d8871ae
feat: user service and controller
SupeemAFK Feb 18, 2025
baf9ca0
Merge branch 'register' of https://github.com/kmutt-cpe-student/comca…
SupeemAFK Feb 18, 2025
1c69a57
refactor: wrap lists inside <Article>
N0TAW00D Feb 18, 2025
ffa98c5
refactor: <Article> text alignment
N0TAW00D Feb 18, 2025
0a9cebd
Merge branch 'register' of https://github.com/kmutt-cpe-student/comca…
SupeemAFK Feb 18, 2025
d731566
feat: del register route merge to user route, create seperate file ro…
SupeemAFK Feb 18, 2025
84a1761
fix: generate prisma client in production
SupeemAFK Feb 18, 2025
35d32a9
feat: scroll smooth (#113)
thrxpt Feb 18, 2025
98a2cc3
feat: add auth route and auth guard
SupeemAFK Feb 18, 2025
4e05040
Merge branch 'register' of https://github.com/kmutt-cpe-student/comca…
SupeemAFK Feb 18, 2025
1acd3fd
ApplyFort(Wait For Design) (#114)
beambeambeam Feb 19, 2025
24c93de
feat: update components json
beambeambeam Feb 19, 2025
f273003
chore: remove privacy
beambeambeam Feb 21, 2025
6465697
feat: add auth
SupeemAFK Feb 21, 2025
5f07ab5
feat: add auth
SupeemAFK Feb 21, 2025
378afaa
fix: page error
SupeemAFK Feb 21, 2025
e804246
feat: add edge to non static
SupeemAFK Feb 21, 2025
1611feb
Form (#120)
beambeambeam Feb 22, 2025
d69a2e4
feat: add logout btn
SupeemAFK Feb 22, 2025
23ec7e2
Form info (#121)
beambeambeam Feb 22, 2025
d3cd0bd
fix: use official name for p1 and p7 in files
gxjakkap Feb 22, 2025
fce75ad
fix: navbar
beambeambeam Feb 22, 2025
ca415a3
feat: base how to play chess
beambeambeam Feb 22, 2025
77e026e
fix: navbar
beambeambeam Feb 22, 2025
dc739b8
style: fix color form stepper
beambeambeam Feb 22, 2025
d969a04
feat: add separator component
thrxpt Feb 22, 2025
12c0cc4
feat: register page
thrxpt Feb 22, 2025
46894e5
feat: add middleware and change auth guard and config s3
SupeemAFK Feb 22, 2025
a01f339
fix: auth redirect on front
SupeemAFK Feb 22, 2025
03810bb
feat: redirect auth on front
SupeemAFK Feb 22, 2025
74c0197
fix: datepicker color
gxjakkap Feb 22, 2025
3ce2d57
fix: datepicker color (pt.2)
gxjakkap Feb 22, 2025
9185af4
fix: redirect on register with client way
SupeemAFK Feb 22, 2025
8fa89f7
fix: make signin page edge
SupeemAFK Feb 22, 2025
d9e9ac1
fix: responsive design in register/info
gxjakkap Feb 22, 2025
490acff
chore: merge branch 'register' of https://github.com/kmutt-cpe-studen…
gxjakkap Feb 22, 2025
c4db32a
chore: add watchtower for api (#119)
gxjakkap Feb 22, 2025
1d6f82c
feat: sonner
beambeambeam Feb 22, 2025
d9b59fa
feat: update more on main register
beambeambeam Feb 22, 2025
5cfda44
feat: extra
beambeambeam Feb 22, 2025
240f2ac
feat: auth button
beambeambeam Feb 22, 2025
e011dc1
fix: replace input with textarea for `chess_notation` field
thrxpt Feb 22, 2025
2430219
feat: add status to user
SupeemAFK Feb 22, 2025
bd80ae1
feat: status update
beambeambeam Feb 22, 2025
6981ba7
feat: update files
beambeambeam Feb 22, 2025
d26ac44
feat: radio group
beambeambeam Feb 22, 2025
bf2c585
refactor: ui-editing_form1_how-to-play
N0TAW00D Feb 22, 2025
2913549
feat: change form and prisma schema
SupeemAFK Feb 22, 2025
b929dfd
Merge branch 'register' of https://github.com/kmutt-cpe-student/comca…
SupeemAFK Feb 22, 2025
4f4c612
refactor: ui-editing_form1_how-to-play
N0TAW00D Feb 22, 2025
4fea274
Merge remote-tracking branch 'refs/remotes/origin/register' into regi…
N0TAW00D Feb 22, 2025
0868ac3
Merge branch 'register' of https://github.com/kmutt-cpe-student/comca…
SupeemAFK Feb 22, 2025
288d79a
feat: change form radio
SupeemAFK Feb 22, 2025
7fdc2b3
fix: fix middleware
SupeemAFK Feb 22, 2025
4be00a3
feat: add init form and mutate and blobs file route
SupeemAFK Feb 22, 2025
b8ce62d
feat: staff web base (#126)
gxjakkap Feb 23, 2025
622dead
chore: resolve merge conflict
gxjakkap Feb 23, 2025
cfaf375
chore: resolve merge conflict
gxjakkap Feb 23, 2025
f361a92
fix: friendship ended with sqlite i only hangout with postgres
gxjakkap Feb 23, 2025
00a7334
fix: data volume undefined
gxjakkap Feb 23, 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
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apps/web/**
**/node_modules/
.husky
.turbo
supabase
.git
2 changes: 2 additions & 0 deletions .github/workflows/build-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/comcamp36-server
CI: true

jobs:
publish-docker-image:
runs-on: ubuntu-latest
Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/build-staff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build Staff App Docker Image
on:
push:
paths:
- 'apps/staff/**/*'
- 'packages/**/*'
- '.github/workflows/build-staff.yml'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/comcamp36-staff
CI: true


jobs:
publish-docker-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
file: apps/staff/Dockerfile
build-args: |
- CI=true
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:

- name: "Create env file"
run: |
touch .env.local
echo NEXT_PUBLIC_POSTHOG_KEY="NEXT_PUBLIC_POSTHOG_KEY" >> .env.local
echo NEXT_PUBLIC_POSTHOG_HOST="NEXT_PUBLIC_POSTHOG_HOST" >> .env.local
echo NEXT_PUBLIC_SERVER_URL="NEXT_PUBLIC_SERVER_URL" >> .env.local
echo SERVER_URL="SERVER_URL" >> .env.local
cat .env.local
touch .env
echo NEXT_PUBLIC_POSTHOG_KEY="NEXT_PUBLIC_POSTHOG_KEY" >> .env
echo NEXT_PUBLIC_POSTHOG_HOST="NEXT_PUBLIC_POSTHOG_HOST" >> .env
echo NEXT_PUBLIC_SERVER_URL="NEXT_PUBLIC_SERVER_URL" >> .env
echo SERVER_URL="SERVER_URL" >> .env
cat .env

- uses: pnpm/action-setup@v4
name: Install pnpm
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

staff.db

# Dependencies
node_modules
.pnp
Expand Down
Loading