Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3 #28

Merged
merged 57 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
2481497
add swagger static
depocoder Sep 26, 2024
928e79d
refactor Azamat's docker-compose.yaml
depocoder Sep 26, 2024
d6534ac
add static for swagger
depocoder Sep 26, 2024
25438f6
add API event_black for searching without creds in modeus.py
depocoder Sep 26, 2024
531be41
add search Modeus API
depocoder Sep 26, 2024
03d921e
Fix bug with empty list
depocoder Sep 26, 2024
27ab5b1
add get course, rewrite from requests to httpx
depocoder Sep 26, 2024
be89089
mypy fixes
depocoder Sep 26, 2024
85de7b1
add route get calendar #20
depocoder Sep 26, 2024
e297374
rewrite from black sheep to fast api, add Netology routes.
depocoder Sep 27, 2024
b1490fe
delete black-sheep
depocoder Sep 27, 2024
3ed7797
add routes for modeus
depocoder Sep 27, 2024
5e75f8e
remove sg_reg_date from NetologyCookies
depocoder Sep 27, 2024
07b0999
linter fixes
depocoder Sep 27, 2024
651cef3
Add design pages home and login, redirect from home to login
Sep 27, 2024
924d771
Fix Azamat's docker-compose.yaml
depocoder Sep 27, 2024
6088747
rewrite exceptions
depocoder Sep 27, 2024
8e71eea
Merge branch 'frontend_misha' into fastapi-init
depocoder Sep 27, 2024
2e657ac
Fastapi init (#22)
depocoder Sep 27, 2024
9242aa9
Merge branch 'fastapi-init' into frontend_misha
depocoder Sep 27, 2024
b360a71
fix import error
depocoder Sep 27, 2024
938b5c8
Merge branch 'fastapi-init' into frontend_misha
depocoder Sep 27, 2024
4efa26a
Add validator for time_min, time_max
depocoder Sep 27, 2024
ddec6fc
Refactor validators
depocoder Sep 27, 2024
7333010
Mypy refactor
depocoder Sep 27, 2024
7c11fd2
Merge branch 'fastapi-init' into frontend_misha
depocoder Sep 27, 2024
d64d76d
Fix review
depocoder Sep 28, 2024
7def279
Fastapi init (#21)
depocoder Sep 28, 2024
2b71c91
Merge branch 'fastapi-init' into frontend_misha
depocoder Sep 28, 2024
3a0c5f2
Fix cors problem
depocoder Sep 28, 2024
d740b25
delete reload setting
depocoder Sep 28, 2024
8058011
Co-authored-by: Ivan <depocoder@users.noreply.github.com>
Sep 28, 2024
cbd98e3
Add redis cache for JWT tokens
depocoder Sep 28, 2024
185c8d0
Merge remote-tracking branch 'origin/frontend_misha' into frontend_misha
depocoder Sep 28, 2024
b122ae3
Refactor query parameters
depocoder Sep 28, 2024
be4065a
redis cache with decorator
depocoder Sep 28, 2024
99cafd4
Merge branch 'frontend_misha' into dev
depocoder Sep 28, 2024
759a5b5
fix some issues
depocoder Sep 28, 2024
c34cb32
Merge branch 'main' into dev
depocoder Sep 28, 2024
f945dea
Fix merge conflict
depocoder Sep 28, 2024
b5165b8
Compiled a schedule table
Oct 1, 2024
87a2390
Сompiled a schedule table
Oct 1, 2024
a826cc4
redis add clear cache
depocoder Oct 1, 2024
60ce7f4
Merge remote-tracking branch 'origin/dev' into dev
depocoder Oct 1, 2024
e6a2b1c
add volume for frontend service, add run-dev target in Dockerfile
AzamatKomaev Oct 2, 2024
f14b05e
Big update Netology API
depocoder Oct 3, 2024
5969f6b
Merge remote-tracking branch 'origin/dev' into dev
depocoder Oct 3, 2024
d282c8b
add pre-commit
depocoder Oct 3, 2024
9bab53c
bump python version, remove pre-commit
depocoder Oct 3, 2024
c77b583
add lint.yaml workflow
AzamatKomaev Oct 3, 2024
5f62754
Merge branch 'dev' of github.com:depocoder/YetAnotherCalendar into dev
AzamatKomaev Oct 3, 2024
cf7b223
close part of #8
depocoder Oct 3, 2024
8891741
Merge remote-tracking branch 'origin/dev' into dev
depocoder Oct 3, 2024
ceab446
Merge branch 'main' into dev
depocoder Oct 3, 2024
fc01af4
fix Azamat's code
depocoder Oct 3, 2024
436bd56
fix Azamat's code
depocoder Oct 3, 2024
260b48c
fix Ivan's code
depocoder Oct 3, 2024
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
35 changes: 35 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Lint

on:
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12

- name: Configure Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry config virtualenvs.create false

- name: Install dependencies
run: poetry install -C ./backend

- name: Run linters
run: |
cd backend
ruff check yet_another_calendar
mypy yet_another_calendar

2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.4-slim-bullseye as prod
FROM python:3.12.5-slim-bullseye as prod


RUN pip install poetry==1.8.2
Expand Down
159 changes: 2 additions & 157 deletions backend/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintainers = [
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.12"
fastapi = "^0.111.0"
uvicorn = { version = "^0.30.1", extras = ["standard"] }
pydantic = "^2"
Expand All @@ -37,7 +37,6 @@ fastapi-cache2 = "^0.2.2"
pytest = "^8"
ruff = "^0.5.0"
mypy = "^1.10.1"
pre-commit = "^3.7.1"
black = "^24.4.2"
pytest-cov = "^5"
anyio = "^4"
Expand Down
Loading
Loading