Skip to content

Commit

Permalink
bump deps 2024-10-13 (#175)
Browse files Browse the repository at this point in the history
* wip

* wip

* wip

* wip
  • Loading branch information
rodlukas authored Oct 13, 2024
1 parent 9e097a6 commit a139fa9
Show file tree
Hide file tree
Showing 18 changed files with 916 additions and 920 deletions.
20 changes: 10 additions & 10 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ django = "~=3.2.25"
djangorestframework = "~=3.14.0"
djangorestframework-simplejwt = "~=5.3.1"
django-debug-toolbar = "~=3.2.4"
django-environ = "~=0.9.0"
django-environ = "~=0.11.2"
django-filter = "~=23.5"
gunicorn = "~=20.1.0"
gunicorn = "~=23.0.0"
"psycopg2-binary" = "~=2.9.3"
pyyaml = "~=6.0.2"
requests = "==2.32.3"
requests = "~=2.32.3"
sentry-sdk = "~=1.14.0"
uritemplate = "~=4.1.1"
vulture = "2.13.0"
whitenoise = "~=6.3.0"
vulture = "~=2.13.0"
whitenoise = "~=6.7.0"
django-csp = "~=3.8.0"
urllib3 = "~=1.26.20"
urllib3 = "==1.26.20"

[dev-packages]
behave-django = "~=1.4.0"
black = "~=22.12.0"
black = "~=24.10.0"
coverage = "~=6.3.3"
selenium = "~=3.141.0"
mypy = "~=0.991"
django-stubs = "~=1.13.2"
djangorestframework-stubs = "~=1.8.0"
mypy = "~=1.11.2"
django-stubs = "~=1.16.0"
djangorestframework-stubs = "~=1.10.0"
types-requests = "~=2.28.11.8"

[requires]
Expand Down
555 changes: 300 additions & 255 deletions Pipfile.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions README.cs.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Aplikace je rozdělena na **frontend a backend**, ty spolu komunikují přes **R

Obsahuje veškerou logiku a pro klienta vystavuje **REST API**, postaven na těchto technologiích:

- [Python 3.10](https://www.python.org/),
- [Python 3.11](https://www.python.org/),
- [Django 3](https://www.djangoproject.com/),
- [Django REST framework 3](https://www.django-rest-framework.org/),
- [djangorestframework-simplejwt](https://github.com/davesque/django-rest-framework-simplejwt),
Expand All @@ -135,7 +135,7 @@ Responzivní JS _([TypeScript](https://www.typescriptlang.org/))_ webová aplika
technologiích:

- [React 17](https://reactjs.org/),
- [TypeScript 4](https://www.typescriptlang.org/),
- [TypeScript 5](https://www.typescriptlang.org/),
- [Bootstrap 4](https://getbootstrap.com/) (s [Reactstrap](https://reactstrap.github.io/)em),
- [React Router 5](https://reacttraining.com/react-router/),
- [FontAwesome 5 PRO](https://fontawesome.com/) (publikované do privátních Github Package
Expand All @@ -147,7 +147,7 @@ Vývoj frontendu je postaven především na:
- [Webpack 5](https://webpack.js.org/) s vlastní konfigurací (lokální i produkční) +
[Webpack DevServer](https://webpack.js.org/configuration/dev-server/),
- [Babel 7](https://babeljs.io/),
- [Typescript 4](https://www.typescriptlang.org/) – pro statickou typovou kontrolu,
- [Typescript 5](https://www.typescriptlang.org/) – pro statickou typovou kontrolu,
- [ESlint 8](https://eslint.org/) a [stylelint](https://stylelint.io/) – lintery pro statickou
analýzu kódu,
- [husky](https://github.com/typicode/husky) a
Expand Down Expand Up @@ -466,4 +466,4 @@ instalaci a spuštění, která nyní zabere jen pár řádků.

Licencováno pod [MIT](LICENSE) licencí.

Copyright (c) 2018–2023 [Lukáš Rod](https://lukasrod.cz/)
Copyright (c) 2018–2024 [Lukáš Rod](https://lukasrod.cz/)
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ database.

Includes all the logic and exposes a **REST API** for a client, built on these technologies:

- [Python 3.10](https://www.python.org/),
- [Python 3.11](https://www.python.org/),
- [Django 3](https://www.djangoproject.com/),
- [Django REST framework 3](https://www.django-rest-framework.org/),
- [djangorestframework-simplejwt](https://github.com/davesque/django-rest-framework-simplejwt),
Expand All @@ -140,7 +140,7 @@ Responsive JS _([TypeScript](https://www.typescriptlang.org/))_ web app, specifi
technologies:

- [React 17](https://reactjs.org/),
- [TypeScript 4](https://www.typescriptlang.org/),
- [TypeScript 5](https://www.typescriptlang.org/),
- [Bootstrap 4](https://getbootstrap.com/) (with [Reactstrap](https://reactstrap.github.io/)),
- [React Router 5](https://reacttraining.com/react-router/),
- [FontAwesome 5 PRO](https://fontawesome.com/) (published to a private Github Package Registry)
Expand All @@ -151,7 +151,7 @@ Main tools used for the frontend development:
- [Webpack 5](https://webpack.js.org/) with custom configuration (local and production) +
[Webpack DevServer](https://webpack.js.org/configuration/dev-server/),
- [Babel 7](https://babeljs.io/),
- [Typescript 4](https://www.typescriptlang.org/) – static type checking,
- [Typescript 5](https://www.typescriptlang.org/) – static type checking,
- [ESlint 8](https://eslint.org/) and [stylelint](https://stylelint.io/) – linters for static code
analysis,
- [husky](https://github.com/typicode/husky) and
Expand Down Expand Up @@ -470,4 +470,4 @@ instruction could also be rapidly simplified and the app can be launched with a
Licensed under the [MIT](LICENSE) license.
Copyright (c) 2018–2023 [Lukáš Rod](https://lukasrod.cz/)
Copyright (c) 2018–2024 [Lukáš Rod](https://lukasrod.cz/)
1 change: 1 addition & 0 deletions admin/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Konfigurace Django aplikace admin.
"""

from django.apps import AppConfig


Expand Down
1 change: 1 addition & 0 deletions admin/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Modely - reprezentují entity z databáze.
"""

from typing import Any

from django.db import models
Expand Down
1 change: 1 addition & 0 deletions api/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Konfigurace Django aplikace api.
"""

from django.apps import AppConfig


Expand Down
1 change: 1 addition & 0 deletions api/filters.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Filtry pro pokročilé filtrování ve views.
"""

from django.db.models.query import QuerySet
from django_filters import rest_framework as filters

Expand Down
1 change: 1 addition & 0 deletions api/mixins.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Mixins použité pro sdílení funkcionality napříč třídami (views).
"""

from rest_framework import status
from rest_framework.response import Response

Expand Down
1 change: 1 addition & 0 deletions api/tokens.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Vlastní definice způsobu serializace JWT tokenů.
"""

from rest_framework_simplejwt.serializers import TokenObtainSlidingSerializer
from rest_framework_simplejwt.models import TokenUser
from rest_framework_simplejwt.tokens import SlidingToken
Expand Down
1 change: 1 addition & 0 deletions api/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Definice mapování URL na jednotlivá view pro API.
"""

from django.urls import include, path
from rest_framework import routers
from rest_framework_simplejwt.views import TokenRefreshSlidingView
Expand Down
1 change: 1 addition & 0 deletions api/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Views - na základě requestu vrátí příslušnou response.
"""

from typing import Any

from django.db.models import Prefetch
Expand Down
Loading

0 comments on commit a139fa9

Please sign in to comment.