Skip to content

Commit

Permalink
Merge pull request #71 from reAudioPlayer/next
Browse files Browse the repository at this point in the history
0.10.3
  • Loading branch information
dxstiny authored May 4, 2023
2 parents 56b521a + 798a1a9 commit 3a3a5ea
Show file tree
Hide file tree
Showing 320 changed files with 11,792 additions and 2,227 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: executable

on:
push:
paths:
- 'src/server/**'
workflow_dispatch:

jobs:
Expand All @@ -11,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.11"
- name: Install dependencies
working-directory: ./src/server
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: mypy

on:
push:
paths:
- 'src/server/**'
workflow_dispatch:

jobs:
Expand All @@ -11,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.11"
- name: Install dependencies
working-directory: ./src/server
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: pylint

on:
push:
paths:
- 'src/server/**'
workflow_dispatch:

jobs:
Expand All @@ -11,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.11"
- name: Install dependencies
working-directory: ./src/server
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ src/ui/dist/assets/img/covers/*.png
src/usr
src/cache
.idea
.vscode
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-alpine
FROM python:3.11-alpine

RUN apk add --no-cache ffmpeg nginx git && \
mkdir /opt/reAudioPlayer && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.11

RUN apt-get update && apt-get upgrade -y && \
apt-get install -y ffmpeg nginx
Expand Down
9 changes: 9 additions & 0 deletions build/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ server {
proxy_set_header Host $host;
}

# websocket
location /download/ws {
proxy_pass http://localhost:1234;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}

# static files
location / {
try_files $uri $uri/ /index.html;
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.9"
services:
reap-one:
image: "ghcr.io/reaudioplayer/reap-one:0.10.2"
image: "ghcr.io/reaudioplayer/reap-one:0.10.3"
ports:
- "1234:80"
volumes:
Expand Down
67 changes: 67 additions & 0 deletions docs/assets/cardEffect.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
@property --grid-gradient-angle {
syntax: "<angle>";
initial-value: 30deg;
inherits: false;
}

/* !prefers reduced motion */
@media (prefers-reduced-motion: no-preference) {
.about__grid__item, .card {
position: relative;
}

:where(.card, .about__grid__item):hover::before {
content: "";
position: absolute;
inset: 0;
background: var(--fg-secondary);
transition: all .2s ease-in-out;
z-index: -2;
border-radius: inherit;
filter: blur(7px);
opacity: .2;
}

@keyframes grid-rotate-gradient {
0% {
--grid-gradient-angle: 0deg;
}
100% {
--grid-gradient-angle: 360deg;
}
}

:where(.card, .about__grid__item)::after {
content: "";
position: absolute;
inset: -2px;
transition: all .2s ease-in-out;
z-index: -1;
border-radius: inherit;
--colour: var(--fg-secondary);
--max-opacity: .5;

opacity: 0;
transition: all .5s;

background: conic-gradient(
from var(--grid-gradient-angle),
transparent 0deg,
var(--colour) 30deg 60deg,
transparent 120deg 150deg,
var(--colour) 210deg 240deg,
transparent 300deg 330deg
);
animation: grid-rotate-gradient 7s linear infinite;
}

@media (prefers-color-scheme: light) {
:where(.card, .about__grid__item)::after {
--max-opacity: .3;
}
}

:where(.card, .about__grid__item):hover::after {
opacity: var(--max-opacity);
}
}
19 changes: 19 additions & 0 deletions docs/assets/colours.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
:root {
--fg-base: #181c2f;
--fg-base-dk: #8b8c91;
--fg-secondary: #18a74b;
--bg-base: white;
--bg-base-lt: #f3f7fb;
--border: #E3E7EB;
}

@media (prefers-color-scheme: dark) {
:root {
--fg-base: white;
--fg-base-dk: #a7a7a7;
--fg-secondary: #1ed760;
--bg-base: #121212;
--bg-base-lt: #181818;
--border: hsla(0,0%,100%,0.1);
}
}
12 changes: 12 additions & 0 deletions docs/assets/fancyImage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.features__feature img {
transform:
perspective(5000px)
rotateY(var(--rotateY))
rotateX(var(--rotateX));
}

@media (prefers-reduced-motion: reduce) {
.features__feature img {
transform: none;
}
}
30 changes: 30 additions & 0 deletions docs/assets/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 400;
font-display: swap;
}

@font-face {
font-family: 'Fira Mono';
font-style: normal;
font-display: swap;
}

body {
font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-display: swap;
}

.mono {
font-family: 'Fira Mono', monospace;
font-display: swap;
}

.material-symbols-rounded {
font-variation-settings:
'FILL' 0,
'wght' 400,
'GRAD' 0,
'opsz' 48
}
Binary file added docs/assets/img/reapOneArtist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/reapOneArtist2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/reapOneBigPlayer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/reapOneHome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/reapOnePlaylist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/reapOneShowcase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/reapOneSmartPlaylist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/reapOneTrack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3a3a5ea

Please sign in to comment.