Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
245d3f9
feat(backend): add Semana challenge scoring
r0liveir Sep 29, 2026
37968d5
refactor(users): scope usernames to Semana
r0liveir Sep 29, 2026
41d8672
feat(frontend-auth): connect Semana auth flow
r0liveir Sep 30, 2026
62192f8
feat(semana-ui): refresh event branding
r0liveir Sep 30, 2026
d2e2f46
feat(semana-ui): simplify landing actions
r0liveir Sep 30, 2026
66a2b26
feat(challenges): add FastAPI challenge flow
r0liveir Sep 30, 2026
59a6e0f
feat(semana-ui): add event leaderboard
r0liveir Sep 30, 2026
3160e77
fix(dev): stabilize local event flows
r0liveir Sep 30, 2026
921abdd
feat(frontend): refine authenticated navigation
r0liveir Sep 30, 2026
b00962b
feat(admin): add event administration panel
r0liveir Sep 30, 2026
a937cbc
refactor(semana): generate nicknames on demand
r0liveir Sep 30, 2026
139c3bd
feat(atividades): add semana attendance registration
r0liveir Sep 30, 2026
39f3a24
feat(admin): manage semana activities
r0liveir Sep 30, 2026
c63a5bf
feat(admin): record activity attendance manually
r0liveir Sep 30, 2026
5f69db4
fix(admin): derive attendance name from account
r0liveir Sep 30, 2026
1a558f0
feat(admin): add activity attendance view
r0liveir Sep 30, 2026
7a0e73d
feat(profile): show attendance participation
r0liveir Sep 30, 2026
50565ff
feat(schedule): connect activities to cronograma
r0liveir Sep 30, 2026
3d13754
feat(semana): add about us page
SaraAbe06 Sep 30, 2026
641b679
fix(schedule): define the Semana edition year
SaraAbe06 Sep 30, 2026
12041cb
feat(semana): rewrite about page for 2026
SaraAbe06 Sep 30, 2026
e364794
fix(backend): restore lint and test suite on dev
SaraAbe06 Sep 30, 2026
0fee885
feat(semana): add projects and YouTube to about page
SaraAbe06 Sep 30, 2026
4c50098
feat(semana): use SymComp visual identity on about page
SaraAbe06 Sep 30, 2026
a57d84d
Merge pull request #63 from SymComp-USP/feat/semana-sobre
r0liveir Sep 30, 2026
c25c4f2
feat(semana): add sponsors page
SaraAbe06 Sep 30, 2026
4a24aa0
feat(semana): restyle sponsors page from Figma
SaraAbe06 Sep 30, 2026
f7a5897
fix(semana): align sponsors page layout with Figma
SaraAbe06 Sep 30, 2026
0985378
fix(semana): match sponsor dialog to Figma
SaraAbe06 Sep 30, 2026
90a13ef
feat(backend): new "input" model for input challenges | refs #64
igor-nasciment0 Oct 2, 2026
aa24b1c
refactor(backend): organize admin panel code, challenges can be edite…
igor-nasciment0 Oct 2, 2026
a60be91
feat(frontend+backend): "description" field in challenge model
igor-nasciment0 Oct 2, 2026
11bcc9e
feat(frontend): minor fixes in admin panel
igor-nasciment0 Oct 2, 2026
7a52c7c
feat(backend + frontend): challenge manual score attribution
igor-nasciment0 Oct 2, 2026
d414011
fix(semana): promote event home route
r0liveir Oct 2, 2026
6895f30
feat(backend): script that creates mock data for testing
igor-nasciment0 Oct 2, 2026
dba91d4
fix(frontend + backend): manual presences are accepted
igor-nasciment0 Oct 2, 2026
baef7a2
feat(backend + frontend): filters in score adjusting section
igor-nasciment0 Oct 2, 2026
4d7fc57
Merge branch 'dev' of https://github.com/SymComp-USP/symcomp-website …
igor-nasciment0 Oct 2, 2026
043849f
fix(semana): polish sponsors page header, CTA, logo shape and footer
SaraAbe06 Oct 2, 2026
abde98e
fix: formatting and tests
igor-nasciment0 Oct 2, 2026
421cae9
Merge pull request #66 from igor-nasciment0/dev
igor-nasciment0 Oct 2, 2026
75f87b6
Merge pull request #65 from SymComp-USP/feat/semana-patrocinadores
igor-nasciment0 Oct 2, 2026
f008ffa
feat: nicknames are shown in the profile page
igor-nasciment0 Oct 2, 2026
4511814
fix(backend): challenges accept many attempts
igor-nasciment0 Oct 2, 2026
576f4e5
feat(frontend): challenge listing page
igor-nasciment0 Oct 2, 2026
88670b6
fix: formating and testing
igor-nasciment0 Oct 2, 2026
c66711c
fix(backend): linting
igor-nasciment0 Oct 2, 2026
0d8ce71
Merge pull request #67 from igor-nasciment0/dev
igor-nasciment0 Oct 2, 2026
ef6c4fc
feat(frontend): refresh Semana 2026 theme
r0liveir Oct 3, 2026
a812011
feat(backend): add rate limiting and three workers
r0liveir Oct 3, 2026
d1eacf2
feat(backend + frontend): challenge starts_at attribute
igor-nasciment0 Oct 3, 2026
b08dbb2
fix: minor bugs in admin panel
igor-nasciment0 Oct 3, 2026
cafe4ce
fix(frontend): activity operations take visual effect immediately
igor-nasciment0 Oct 3, 2026
7c76fb8
fix: formatting and testing
igor-nasciment0 Oct 3, 2026
250433e
Merge pull request #74 from igor-nasciment0/dev
igor-nasciment0 Oct 3, 2026
abf7297
feat(admin): add attendance raffle button
r0liveir Oct 3, 2026
a3361e8
feat(auth): adiciona login e cadastro com Google e Github
dlmeneguin Oct 3, 2026
d25905a
fix(auth): Conserta a ultrapassagem dos rates limits durante testes
dlmeneguin Oct 3, 2026
17ad1f4
fix(auth): block oauth account collisions
r0liveir Oct 3, 2026
c5ae20c
Merge pull request #73 from SymComp-USP/feat/oauth-login
r0liveir Oct 3, 2026
e304372
fix(auth): identify returning oauth users
r0liveir Oct 3, 2026
0b8d1cf
Merge pull request #75 from SymComp-USP/fix/oauth-subject-identity
r0liveir Oct 3, 2026
b754aed
feat(backend): script for filling 2026 data
igor-nasciment0 Oct 3, 2026
5dfd64f
fix(frontend): small fixes
igor-nasciment0 Oct 4, 2026
0b76329
fix: score for palestras
igor-nasciment0 Oct 4, 2026
4c4b376
feat: implementada a feature de alteracao de nome de perfil
taveez Oct 4, 2026
ac1399f
Merge pull request #76 from igor-nasciment0/dev
igor-nasciment0 Oct 4, 2026
b173523
fix(auth): require email scope for profile update
r0liveir Oct 4, 2026
7e6f85c
Merge pull request #77 from SymComp-USP/feat/profile-name-change
r0liveir Oct 4, 2026
610ce16
feat(semana): embed privacy policy
r0liveir Oct 4, 2026
8d6c187
feat(frontend): update favicon
r0liveir Oct 4, 2026
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
4 changes: 4 additions & 0 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
reverse_proxy backend:8000
}

handle /media/* {
reverse_proxy backend:8000
}

handle {
reverse_proxy frontend:3000
}
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ Development uses its own Compose project and database volume; it requires no
`.env` file. Existing volumes from the old default development stack are not
migrated automatically.

Seed the local Semana event and an input challenge:

```bash
docker compose -f docker-compose.dev.yml exec backend python -m scripts.seed_dev
```

```bash
docker compose -f docker-compose.dev.yml exec backend ruff check .
docker compose -f docker-compose.dev.yml exec backend ruff format --check .
Expand All @@ -35,3 +41,9 @@ backups, and the firewall before running:
```bash
docker compose up -d --build
```

To fill up the initial semana data (after confirming it right):

```bash
docker compose exec backend python -m scripts.seed_semana_data
```
12 changes: 11 additions & 1 deletion backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,14 @@ SECRET_KEY=change_this_to_a_secure_random_key_in_production

# JWT access/id tokens fields
ISSUER=http://localhost:8000
AUDIENCE=symcomp-frontend
AUDIENCE=symcomp-frontend

#oAuth
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

OAUTH_REDIRECT_BASE=http://localhost:8000
FRONTEND_BASE_URL=http://localhost:3000
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ RUN chown -R app:app /app

USER app

CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "3"]
10 changes: 10 additions & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,13 @@ $ uv run alembic upgrade head
5. Commit your changes.

Commit together: SQLAlchemy model changes, migration files (under `alembic/versions/`) and tests for new behaviour. In new environments, `alembic upgrade head` builds the full schema from zero.

### Login social (Google e GitHub)

Defina no ambiente do backend `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`,
`GITHUB_CLIENT_ID`, `GITHUB_CLIENT_SECRET`, `OAUTH_REDIRECT_BASE` (origem pública
que encaminha `/api` ao backend) e `FRONTEND_BASE_URL`. Cadastre nos consoles OAuth
as callbacks `/api/v1/auth/oauth/google/callback` e
`/api/v1/auth/oauth/github/callback` sob essa origem. Execute `alembic upgrade head`
para adicionar `users.oauth_provider`. O login exige e-mail verificado; e-mails já
associados a contas com senha não são vinculados automaticamente.
3 changes: 2 additions & 1 deletion backend/alembic/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
from app.auth import models as auth_models # noqa: F401 noqa
from app.users import models as user_models # noqa: F401 noqa
from app.challenges import models as challenges_models # noqa: F401 noqa
from app.users.username import models as usernames_user_models # noqa: F401 noqa
from app.semana import models as semana_models # noqa: F401 noqa
from app.atividade import models as atividade_models # noqa: F401 noqa

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
Expand Down
28 changes: 28 additions & 0 deletions backend/alembic/versions/4f21ac9d7b30_add_challenge_description.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"""add description to challenges

Revision ID: 4f21ac9d7b30
Revises: 7e2b0a1c4d5f
"""

from collections.abc import Sequence

import sqlalchemy as sa

from alembic import op

revision: str = "4f21ac9d7b30"
down_revision: str | Sequence[str] | None = "7e2b0a1c4d5f"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None


def upgrade() -> None:
op.add_column(
"challenges",
sa.Column("description", sa.Text(), server_default="", nullable=False),
)
op.alter_column("challenges", "description", server_default=None)


def downgrade() -> None:
op.drop_column("challenges", "description")
Loading
Loading