40 Commits

Author SHA1 Message Date
dependabot[bot]
50fee9ed9f Bump axios from 0.27.2 to 1.6.0 in /frontend
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 05:24:50 +00:00
50d46ab835 updating deps
All checks were successful
Build and push image / deploy (push) Has been cancelled
2023-10-13 10:17:44 +01:00
Peter Dwyer
40bd6f7e7f fixing build
All checks were successful
Build and push image / deploy (push) Successful in 3m30s
2023-08-29 11:54:46 +01:00
Peter Dwyer
d46517745e fixing build 2023-08-29 11:43:54 +01:00
Peter Dwyer
a7206bb7f8 fixing build
All checks were successful
Build and push image / deploy (push) Successful in 26m40s
2023-08-29 10:56:58 +01:00
Peter Dwyer
df0caf709e updating deps
Some checks failed
Build and push image / deploy (push) Failing after 19m14s
2023-08-29 08:53:37 +01:00
Peter Dwyer
7049f3fa3b updating deps
Some checks failed
Build and push image / deploy (push) Failing after 19m14s
2023-08-28 16:22:37 +01:00
Peter Dwyer
a540cb7efd updating deps
Some checks failed
Build and push image / deploy (push) Failing after 3m15s
2023-08-28 15:54:11 +01:00
Peter Dwyer
7531e5b1fc updating deps 2023-08-28 15:53:50 +01:00
Peter Dwyer
8e5654db11 updating deps
Some checks failed
Build and push image / deploy (push) Failing after 4m46s
2023-08-28 15:42:25 +01:00
Peter Dwyer
4e45374365 updating deps
All checks were successful
Build and push image / deploy (push) Has been cancelled
2023-08-28 15:33:45 +01:00
Peter Dwyer
c303bca9d5 updating deps 2023-08-28 15:33:26 +01:00
Peter Dwyer
4d20e6042a updating deps 2023-08-28 15:32:27 +01:00
Peter Dwyer
3a3fd3c560 updating deps 2023-08-28 15:26:17 +01:00
Peter Dwyer
53e75ae660 working on builds
All checks were successful
Build and push image / deploy (push) Successful in 24m14s
2023-08-28 14:40:10 +01:00
Peter Dwyer
c3f2cb94aa working on builds
All checks were successful
Build and push image / deploy (push) Successful in 1m3s
2023-08-28 14:36:56 +01:00
Peter Dwyer
dad9c78344 working on builds
All checks were successful
Build and push image / deploy (push) Successful in 1m21s
2023-08-28 14:34:56 +01:00
Peter Dwyer
9e361381ba working on builds
All checks were successful
Build and push image / deploy (push) Successful in 1m7s
2023-08-28 14:27:48 +01:00
Peter Dwyer
be293bf90f working on builds
Some checks failed
Build and push image / deploy (push) Failing after 4m33s
2023-08-28 14:09:09 +01:00
Peter Dwyer
bfa768405b working on builds
Some checks failed
Build and push image / deploy (push) Failing after 4m0s
2023-08-28 14:02:42 +01:00
Peter Dwyer
95f3900089 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 4m8s
2023-08-28 13:55:14 +01:00
Peter Dwyer
cd5ac1ce56 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 3m19s
2023-08-28 13:46:34 +01:00
Peter Dwyer
d71a4e6f8d working on builds
Some checks failed
Build and push image / deploy (push) Failing after 36s
2023-08-28 13:44:49 +01:00
Peter Dwyer
b39342f751 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 3m32s
2023-08-28 13:40:00 +01:00
Peter Dwyer
c115d0bb82 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 7s
2023-08-28 13:39:25 +01:00
Peter Dwyer
55093e9a28 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 8s
2023-08-28 13:36:32 +01:00
Peter Dwyer
8a69766d5d working on builds
Some checks failed
Build and push image / deploy (push) Failing after 11s
2023-08-28 13:34:52 +01:00
Peter Dwyer
c3671944d2 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 12s
2023-08-28 13:33:29 +01:00
Peter Dwyer
5788f7d7e0 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 9s
2023-08-28 13:28:13 +01:00
Peter Dwyer
7c7c3623d4 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 7s
2023-08-28 13:26:44 +01:00
Peter Dwyer
33bf7eca90 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 10s
2023-08-28 13:24:23 +01:00
Peter Dwyer
899d021c63 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 10s
2023-08-28 13:17:16 +01:00
Peter Dwyer
9dac8304ec working on builds
Some checks failed
Build and push image / deploy (push) Failing after 1m57s
2023-08-28 13:10:17 +01:00
Peter Dwyer
dda5bf31b2 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 2m29s
2023-08-28 13:04:49 +01:00
Peter Dwyer
3d8dac206e working on builds
All checks were successful
Build and push image / deploy (push) Successful in 24m18s
2023-08-28 12:14:14 +01:00
Peter Dwyer
26cd40b47c working on builds
Some checks failed
Build and push image / deploy (push) Failing after 30s
2023-08-28 12:01:15 +01:00
Peter Dwyer
4f79d58442 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 8s
2023-08-28 11:40:36 +01:00
Peter Dwyer
6155919514 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 9s
2023-08-28 11:38:03 +01:00
Peter Dwyer
fdc577d33e working on builds
Some checks failed
Build and push image / deploy (push) Failing after 22s
2023-08-28 11:35:40 +01:00
Peter Dwyer
c092b0c9b2 working on builds
Some checks failed
Build and push image / deploy (push) Failing after 59s
2023-08-28 11:31:03 +01:00
11 changed files with 2490 additions and 2565 deletions

View File

@@ -2,15 +2,35 @@ name: Build and push image
on:
push:
branches: [main]
branches: [master]
jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
run: git pull
- name: Build
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: install pip
run: apt update && apt install -y python3-pip
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
- uses: actions/setup-node@v3
- uses: actions/checkout@v3
# Extract version from Poetry
- name: Get version
run: echo "POETRY_VERSION=$(poetry version --short)" >> $GITHUB_ENV
- name: Build and push Docker image
run: |
docker build . --no-cache -t ajurna/cbwebreader
docker build -t ajurna/cbwebreader:latest -t ajurna/cbwebreader:${{ env.POETRY_VERSION }} .
docker push ajurna/cbwebreader:${{ env.POETRY_VERSION }}
docker push ajurna/cbwebreader:latest

View File

@@ -9,7 +9,7 @@ repos:
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/python-poetry/poetry
rev: '1.2.1' # add version here
rev: '1.6.1' # add version here
hooks:
- id: poetry-check
- id: poetry-export

View File

@@ -1,4 +1,4 @@
FROM python:3.10-slim-bullseye
FROM python:3.12-slim-bookworm
ENV PYTHONFAULTHANDLER=1 \
PYTHONHASHSEED=random \
@@ -15,18 +15,14 @@ WORKDIR /src
COPY . /src/
RUN apt update \
&& apt install -y software-properties-common \
&& apt-add-repository non-free \
&& apt update \
&& apt install -y npm cron unrar libmariadb-dev libpq-dev \
&& apt install -y npm cron unrar-free libmariadb-dev libpq-dev pkg-config swig \
&& pip install --upgrade pip \
&& pip install -r requirements.txt \
&& cd frontend \
&& npm install \
&& npm run build \
&& apt remove -y npm software-properties-common \
&& apt remove -y npm software-properties-common pkg-config swig \
&& rm -r node_modules \
&& apt -y auto-remove \
&& apt clean \

View File

@@ -1,4 +1,4 @@
poetry export --without-hashes -f requirements.txt --output requirements.txt
$version=poetry version -s
docker build . --no-cache -t ajurna/cbwebreader -t ajurna/cbwebreader:$version
docker build . -t ajurna/cbwebreader -t ajurna/cbwebreader:$version
docker push ajurna/cbwebreader --all-tags

View File

@@ -191,10 +191,13 @@ BOOTSTRAP4 = {
},
}
CSP_DEFAULT_SRC = ("'none'",)
CSP_STYLE_SRC = ("'self'", "'sha256-MBVp6JYxbC/wICelYC6eULCRpgi9kGezXXSaq/TS2+I='")
CSP_STYLE_SRC = (
"'self'",
"'unsafe-inline'"
)
CSP_IMG_SRC = ("'self'", "data:")
CSP_FONT_SRC = ("'self'",)
CSP_SCRIPT_SRC = ("'self'",)
CSP_SCRIPT_SRC = ("'self'", "'sha256-IYBrMxCTJ62EwagLTIRncEIpWwTmoXcXkqv3KZm/Wik='")
CSP_CONNECT_SRC = ("'self'",)
CSP_INCLUDE_NONCE_IN = ['script-src']
CSP_SCRIPT_SRC_ATTR = ("'self'",) # "'unsafe-inline'")

View File

@@ -13,7 +13,7 @@ services:
expose:
- 8000
volumes:
- ${COMIC_BOOK_VOLUME}:${COMIC_BOOK_VOLUME}
- ${COMIC_BOOK_VOLUME}:/comics
# - c:/comics:/comics
- static_files:/static
- media_files:/media
@@ -35,7 +35,7 @@ services:
# command: /bin/bash entrypoint-cron.sh
database:
image: postgres:14-alpine
image: postgres:16-alpine
expose:
- 5432
volumes:

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"serve": "webpack-dev-server --config webpack.dev.js",
@@ -11,14 +11,14 @@
"@fortawesome/fontawesome-svg-core": "^6.1.2",
"@fortawesome/free-solid-svg-icons": "^6.1.2",
"@fortawesome/vue-fontawesome": "^3.0.1",
"axios": "^0.27.2",
"axios": "^1.6.0",
"bootstrap": "^5.2.0",
"hammerjs": "^2.0.8",
"jwt-decode": "^3.1.2",
"pdfvuer": "^2.0.1",
"reveal.js": "^4.3.1",
"timeago.js": "^4.0.2",
"vue": "^3.2.13",
"vue": "^3.2.26",
"vue-router": "^4.0.3",
"vue-toast-notification": "3.0",
"vuejs-paginate-next": "^1.0.2",
@@ -37,12 +37,12 @@
"eslint-plugin-vue": "^8.0.3",
"jshint": "^2.13.5",
"mini-css-extract-plugin": "^2.6.1",
"terser-webpack-plugin": "^5.3.6",
"webpack-bundle-analyzer": "^4.6.1",
"webpack-cli": "^4.10.0",
"webpack-bundle-tracker": "^1.6.0",
"style-loader": "^3.3.1",
"vue-loader": "^17.0.0"
"terser-webpack-plugin": "^5.3.6",
"vue-loader": "^17.0.0",
"webpack-bundle-analyzer": "^4.6.1",
"webpack-bundle-tracker": "^1.6.0",
"webpack-cli": "^4.10.0"
},
"eslintConfig": {
"root": true,

1779
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,36 +3,36 @@ line_length = 119
[tool.poetry]
name = "cbwebreader"
version = "1.1.5"
version = "1.1.7"
description = "CBR/Z Web Reader"
authors = ["ajurna <ajurna@gmail.com>"]
license = "Creative Commons Attribution-ShareAlike 4.0 International License"
[tool.poetry.dependencies]
python = "^3.10"
python = "^3.12"
Django = "^4.1"
gunicorn = "^20.0.4"
dj-database-url = "^1.3.0"
gunicorn = "^21.2.0"
dj-database-url = "^2.1.0"
python-dotenv = "^1.0.0"
loguru = "^0.7.0"
django-silk = "^5.0.0"
mysqlclient = "^2.0.1"
psycopg2 = "^2.9.6"
psycopg2-binary = "^2.9.6"
rarfile = "^4.0"
django-extensions = "^3.2.1"
Pillow = "^9.3.0"
django-imagekit = "^4.0.2"
Pillow = "^10.0.1"
django-imagekit = "^5.0.0"
PyMuPDF = "~1.20.2"
django-bootstrap4 = "^23.1"
django-csp = "^3.7"
django-boost = "^2.1"
django-sri = "^0.5.0"
django-sri = "^0.7.0"
django-permissions-policy = "^4.15.0"
djangorestframework = "^3.13.1"
django-filter = "^23.1"
django-cors-headers = "^3.14.0"
django-cors-headers = "^4.2.0"
djangorestframework-simplejwt = "^5.2.0"
django-webpack-loader = "^1.6.0"
django-webpack-loader = "^2.0.1"
drf-yasg = "^1.20.0"
drf-extensions = "^0.7.1"

View File

@@ -1,60 +1,46 @@
asgiref==3.6.0 ; python_version >= "3.10" and python_version < "4.0"
autopep8==2.0.2 ; python_version >= "3.10" and python_version < "4.0"
beautifulsoup4==4.12.2 ; python_version >= "3.10" and python_version < "4.0"
certifi==2022.12.7 ; python_version >= "3.10" and python_version < "4"
charset-normalizer==3.1.0 ; python_version >= "3.10" and python_version < "4"
colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32"
coreapi==2.3.3 ; python_version >= "3.10" and python_version < "4.0"
coreschema==0.0.4 ; python_version >= "3.10" and python_version < "4.0"
dj-database-url==1.3.0 ; python_version >= "3.10" and python_version < "4.0"
django-appconf==1.0.5 ; python_version >= "3.10" and python_version < "4.0"
django-boost==2.1 ; python_version >= "3.10" and python_version < "4.0"
django-bootstrap4==23.1 ; python_version >= "3.10" and python_version < "4.0"
django-cors-headers==3.14.0 ; python_version >= "3.10" and python_version < "4.0"
django-csp==3.7 ; python_version >= "3.10" and python_version < "4.0"
django-extensions==3.2.1 ; python_version >= "3.10" and python_version < "4.0"
django-filter==23.1 ; python_version >= "3.10" and python_version < "4.0"
django-imagekit==4.1.0 ; python_version >= "3.10" and python_version < "4.0"
django-permissions-policy==4.15.0 ; python_version >= "3.10" and python_version < "4.0"
django-silk==5.0.3 ; python_version >= "3.10" and python_version < "4.0"
django-sri==0.5.0 ; python_version >= "3.10" and python_version < "4.0"
django-webpack-loader==1.8.1 ; python_version >= "3.10" and python_version < "4.0"
django==4.2 ; python_version >= "3.10" and python_version < "4.0"
djangorestframework-simplejwt==5.2.2 ; python_version >= "3.10" and python_version < "4.0"
djangorestframework==3.14.0 ; python_version >= "3.10" and python_version < "4.0"
drf-extensions==0.7.1 ; python_version >= "3.10" and python_version < "4.0"
drf-yasg==1.21.5 ; python_version >= "3.10" and python_version < "4.0"
gprof2dot==2022.7.29 ; python_version >= "3.10" and python_version < "4.0"
gunicorn==20.1.0 ; python_version >= "3.10" and python_version < "4.0"
idna==3.4 ; python_version >= "3.10" and python_version < "4"
inflection==0.5.1 ; python_version >= "3.10" and python_version < "4.0"
itypes==1.2.0 ; python_version >= "3.10" and python_version < "4.0"
jinja2==3.1.2 ; python_version >= "3.10" and python_version < "4.0"
loguru==0.7.0 ; python_version >= "3.10" and python_version < "4.0"
markupsafe==2.1.2 ; python_version >= "3.10" and python_version < "4.0"
mysqlclient==2.1.1 ; python_version >= "3.10" and python_version < "4.0"
packaging==23.1 ; python_version >= "3.10" and python_version < "4.0"
pilkit==2.0 ; python_version >= "3.10" and python_version < "4.0"
pillow==9.5.0 ; python_version >= "3.10" and python_version < "4.0"
psycopg2==2.9.6 ; python_version >= "3.10" and python_version < "4.0"
pycodestyle==2.10.0 ; python_version >= "3.10" and python_version < "4.0"
pyjwt==2.6.0 ; python_version >= "3.10" and python_version < "4.0"
pymupdf==1.20.2 ; python_version >= "3.10" and python_version < "4.0"
python-dotenv==1.0.0 ; python_version >= "3.10" and python_version < "4.0"
pytz==2023.3 ; python_version >= "3.10" and python_version < "4.0"
rarfile==4.0 ; python_version >= "3.10" and python_version < "4.0"
requests==2.28.2 ; python_version >= "3.10" and python_version < "4"
ruamel-yaml-clib==0.2.7 ; platform_python_implementation == "CPython" and python_version < "3.11" and python_version >= "3.10"
ruamel-yaml==0.17.21 ; python_version >= "3.10" and python_version < "4.0"
setuptools==67.6.1 ; python_version >= "3.10" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.10" and python_version < "4.0"
soupsieve==2.4.1 ; python_version >= "3.10" and python_version < "4.0"
sqlparse==0.4.3 ; python_version >= "3.10" and python_version < "4.0"
tomli==2.0.1 ; python_version >= "3.10" and python_version < "3.11"
typing-extensions==4.5.0 ; python_version >= "3.10" and python_version < "4.0"
tzdata==2023.3 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32"
ua-parser==0.16.1 ; python_version >= "3.10" and python_version < "4.0"
uritemplate==4.1.1 ; python_version >= "3.10" and python_version < "4.0"
urllib3==1.26.15 ; python_version >= "3.10" and python_version < "4"
user-agents==2.2.0 ; python_version >= "3.10" and python_version < "4.0"
win32-setctime==1.1.0 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32"
asgiref==3.7.2 ; python_version >= "3.12" and python_version < "4.0"
autopep8==2.0.4 ; python_version >= "3.12" and python_version < "4.0"
beautifulsoup4==4.12.2 ; python_version >= "3.12" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.12" and python_version < "4.0" and sys_platform == "win32"
dj-database-url==2.1.0 ; python_version >= "3.12" and python_version < "4.0"
django-appconf==1.0.5 ; python_version >= "3.12" and python_version < "4.0"
django-boost==2.1 ; python_version >= "3.12" and python_version < "4.0"
django-bootstrap4==23.2 ; python_version >= "3.12" and python_version < "4.0"
django-cors-headers==4.2.0 ; python_version >= "3.12" and python_version < "4.0"
django-csp==3.7 ; python_version >= "3.12" and python_version < "4.0"
django-extensions==3.2.3 ; python_version >= "3.12" and python_version < "4.0"
django-filter==23.3 ; python_version >= "3.12" and python_version < "4.0"
django-imagekit==5.0.0 ; python_version >= "3.12" and python_version < "4.0"
django-permissions-policy==4.17.0 ; python_version >= "3.12" and python_version < "4.0"
django-silk==5.0.4 ; python_version >= "3.12" and python_version < "4.0"
django-sri==0.7.0 ; python_version >= "3.12" and python_version < "4.0"
django-webpack-loader==2.0.1 ; python_version >= "3.12" and python_version < "4.0"
django==4.2.5 ; python_version >= "3.12" and python_version < "4.0"
djangorestframework-simplejwt==5.3.0 ; python_version >= "3.12" and python_version < "4.0"
djangorestframework==3.14.0 ; python_version >= "3.12" and python_version < "4.0"
drf-extensions==0.7.1 ; python_version >= "3.12" and python_version < "4.0"
drf-yasg==1.21.7 ; python_version >= "3.12" and python_version < "4.0"
gprof2dot==2022.7.29 ; python_version >= "3.12" and python_version < "4.0"
gunicorn==21.2.0 ; python_version >= "3.12" and python_version < "4.0"
inflection==0.5.1 ; python_version >= "3.12" and python_version < "4.0"
loguru==0.7.2 ; python_version >= "3.12" and python_version < "4.0"
mysqlclient==2.2.0 ; python_version >= "3.12" and python_version < "4.0"
packaging==23.2 ; python_version >= "3.12" and python_version < "4.0"
pilkit==3.0 ; python_version >= "3.12" and python_version < "4.0"
pillow==10.0.1 ; python_version >= "3.12" and python_version < "4.0"
psycopg2-binary==2.9.9 ; python_version >= "3.12" and python_version < "4.0"
pycodestyle==2.11.0 ; python_version >= "3.12" and python_version < "4.0"
pyjwt==2.8.0 ; python_version >= "3.12" and python_version < "4.0"
pymupdf==1.20.2 ; python_version >= "3.12" and python_version < "4.0"
python-dotenv==1.0.0 ; python_version >= "3.12" and python_version < "4.0"
pytz==2023.3.post1 ; python_version >= "3.12" and python_version < "4.0"
pyyaml==6.0.1 ; python_version >= "3.12" and python_version < "4.0"
rarfile==4.1 ; python_version >= "3.12" and python_version < "4.0"
soupsieve==2.5 ; python_version >= "3.12" and python_version < "4.0"
sqlparse==0.4.4 ; python_version >= "3.12" and python_version < "4.0"
typing-extensions==4.8.0 ; python_version >= "3.12" and python_version < "4.0"
tzdata==2023.3 ; python_version >= "3.12" and python_version < "4.0" and sys_platform == "win32"
ua-parser==0.18.0 ; python_version >= "3.12" and python_version < "4.0"
uritemplate==4.1.1 ; python_version >= "3.12" and python_version < "4.0"
user-agents==2.2.0 ; python_version >= "3.12" and python_version < "4.0"
win32-setctime==1.1.0 ; python_version >= "3.12" and python_version < "4.0" and sys_platform == "win32"