Skip to content

Commit b03bb6a

Browse files
authored
Merge pull request #318 from victoralvesf/development
Release v0.11.0
2 parents d4d0e6a + da036b4 commit b03bb6a

191 files changed

Lines changed: 4165 additions & 2150 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,30 @@ HIDE_RADIOS_SECTION=false
2828
# Used by the app to adjust some features and improve usability based on the server
2929
# Possible values: subsonic | navidrome | lms
3030
SERVER_TYPE=subsonic
31+
32+
# Specify the app theme
33+
# Possible values: light | dark | black | one-dark | night-owl-light | marmalade-beaver
34+
# | noctis-lilac | material-theme | monokai-pro | github-dark | shades-of-purple
35+
# | bearded-solarized | catppuccin-mocha | nuclear-dark | achiever | dracula
36+
# | discord | tinacious-design | vue-dark | vim-dark-soft
37+
APP_THEME=dark
38+
39+
# Hide Themes Section
40+
# If true, the user will not be able to change the theme.
41+
APP_HIDE_THEMES=false
42+
43+
# Enable or disable image cache
44+
# If true, the app will use the image cache.
45+
IMAGE_CACHE_ENABLED=false
46+
47+
# Disable Image Cache Toggle
48+
# If true, the user will not be able to change the image cache setting.
49+
DISABLE_IMAGE_CACHE_TOGGLE=false
50+
51+
# Disable Downloads
52+
# If true, the user will not be able to download songs.
53+
DISABLE_DOWNLOADS=false
54+
55+
# Disable LRCLIB
56+
# If true, the user will not be able to download lyrics from LRCLIB.
57+
DISABLE_LRCLIB=false

.github/assets/flathub.svg

Lines changed: 1 addition & 0 deletions
Loading

.github/assets/github.svg

Lines changed: 27 additions & 0 deletions
Loading

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ jobs:
103103
if: env.SHOULD_RUN == 'true' && matrix.os == 'ubuntu-latest'
104104
env:
105105
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106-
run: pnpm ci:build:linux
106+
run: pnpm ci:build:linux

.zed/settings.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"project_name": "aonsoku",
3+
"lsp": {
4+
"biome": {
5+
"binary": {
6+
"path": "./node_modules/.bin/biome",
7+
"arguments": ["lsp-proxy"]
8+
},
9+
"settings": {
10+
"config_path": "biome.json",
11+
"require_config_file": true
12+
}
13+
}
14+
},
15+
"languages": {
16+
"TypeScript": {
17+
"formatter": { "language_server": { "name": "biome" } },
18+
"code_actions_on_format": {
19+
"source.fixAll.biome": true,
20+
"source.organizeImports.biome": true
21+
}
22+
},
23+
"TSX": {
24+
"formatter": { "language_server": { "name": "biome" } },
25+
"code_actions_on_format": {
26+
"source.fixAll.biome": true,
27+
"source.organizeImports.biome": true
28+
}
29+
},
30+
"JSON": {
31+
"formatter": { "language_server": { "name": "biome" } },
32+
"code_actions_on_format": {
33+
"source.fixAll.biome": true
34+
}
35+
},
36+
"JSONC": {
37+
"formatter": { "language_server": { "name": "biome" } },
38+
"code_actions_on_format": {
39+
"source.fixAll.biome": true
40+
}
41+
},
42+
"CSS": {
43+
"formatter": { "language_server": { "name": "biome" } },
44+
"code_actions_on_format": {
45+
"source.fixAll.biome": true
46+
}
47+
}
48+
}
49+
}

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2025 Victor Alves
1+
Copyright (c) 2026 Victor Alves
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

README.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
[![React][React.js]][React-url] [![Electron][Electron]][Electron-url]
2222

23-
[![Download][Release-badge]][Release-url]
23+
[![Download][Download-badge]][Download-url] [![Flathub][Flathub-badge]][Flathub-url]
2424
</div>
2525

2626
<!-- TABLE OF CONTENTS -->
@@ -153,6 +153,12 @@ Below is a table describing the environment variables that can be used in this p
153153
| `APP_AUTH_TYPE` | `token` | Specifies the authentication method. </br> **Options:** `token` or `password`. | |
154154
| `SERVER_TYPE` | `subsonic` | Specifies the server name (important for some fixes). </br> **Options:** `subsonic`, `navidrome` or `lms` | |
155155
| `HIDE_RADIOS_SECTION` | `false` | Set to `true` to hide the radios page from the sidebar menu. | |
156+
| `APP_THEME` | `dark` | Specify the app theme. </br> **Possible values:** `light`, `dark`, `black`, `one-dark`, `night-owl-light`, `marmalade-beaver`, `noctis-lilac`, `material-theme`, `monokai-pro`, `github-dark`, `shades-of-purple`, `bearded-solarized`, `catppuccin-mocha`, `nuclear-dark`, `achiever`, `dracula`, `discord`, `tinacious-design`, `vue-dark`, `vim-dark-soft`. | |
157+
| `APP_HIDE_THEMES` | `false` | Set to `true` to hide the themes section so the user cannot change the theme. | |
158+
| `IMAGE_CACHE_ENABLED` | `false` | Set to `true` to enable the image cache. | |
159+
| `DISABLE_IMAGE_CACHE_TOGGLE` | `false` | Set to `true` to prevent the user from changing the image cache setting. | |
160+
| `DISABLE_DOWNLOADS` | `false` | Set to `true` to disable song downloads. | |
161+
| `DISABLE_LRCLIB` | `false` | Set to `true` to disable downloading lyrics from LRCLIB. | |
156162

157163
**Notes:**
158164
- **Automatic Login:** To enable automatic login across devices. This should only be used in secure local environments to avoid password compromise.
@@ -235,6 +241,25 @@ This project uses [Weblate](https://hosted.weblate.org/projects/aonsoku/) for tr
235241

236242
<p align="right">(<a href="#readme-top">back to top</a>)</p>
237243

244+
## Star History
245+
246+
<picture>
247+
<source
248+
media="(prefers-color-scheme: dark)"
249+
srcset="https://api.star-history.com/svg?repos=victoralvesf/aonsoku&type=Date&theme=dark"
250+
/>
251+
<source
252+
media="(prefers-color-scheme: light)"
253+
srcset="https://api.star-history.com/svg?repos=victoralvesf/aonsoku&type=Date"
254+
/>
255+
<img
256+
alt="Star History Chart"
257+
src="https://api.star-history.com/svg?repos=victoralvesf/aonsoku&type=Date"
258+
/>
259+
</picture>
260+
261+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
262+
238263
<!-- LICENSE -->
239264
## License
240265

@@ -248,5 +273,7 @@ Distributed under the MIT License. See `LICENSE.txt` for more information.
248273
[React-url]: https://reactjs.org/
249274
[Electron]: https://img.shields.io/badge/Electron-000000?style=for-the-badge&logo=electron&logoColor=9FEAF9
250275
[Electron-url]: https://www.electronjs.org/
251-
[Release-badge]: https://img.shields.io/github/v/release/victoralvesf/aonsoku?display_name=release&style=for-the-badge&label=Download&labelColor=%23000&color=%2310B77F&logo=rocket&logoColor=%2310B77F&logoSize=auto
252-
[Release-url]: https://github.com/victoralvesf/aonsoku/releases/latest
276+
[Download-badge]: ./.github/assets/github.svg
277+
[Download-url]: https://github.com/victoralvesf/aonsoku/releases/latest
278+
[Flathub-badge]: ./.github/assets/flathub.svg
279+
[Flathub-url]: https://flathub.org/apps/io.github.victoralvesf.aonsoku

cypress/support/component-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html class="dark">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">

cypress/support/component.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,23 @@ import './commands'
2222
// require('./commands')
2323

2424
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
25-
import { mount } from 'cypress/react18'
25+
import { mount } from 'cypress/react'
2626
import { MemoryRouter } from 'react-router-dom'
2727
import { useAppStore } from '@/store/app.store'
2828
import { AuthType } from '@/types/serverConfig'
2929
import 'cypress-real-events'
3030
import '@/index.css'
31+
import '@/themes.css'
3132
import '@/fonts.css'
3233
import '@/i18n'
3334

34-
// Augment the Cypress namespace to include type definitions for
35-
// your custom command.
36-
// Alternatively, can be defined in cypress/support/component.d.ts
37-
// with a <reference path="./component" /> at the top of your spec.
38-
3935
const queryClient = new QueryClient()
4036

4137
useAppStore.setState((state) => ({
4238
...state,
4339
data: {
4440
// fix cy.intercept that wasn't intercepting requests without a base URL
45-
url: 'http://localhost:1420',
41+
url: 'http://localhost:5173',
4642
// set a default authType to avoid errors
4743
authType: AuthType.TOKEN,
4844
},

cypress/support/cypress.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MountOptions, MountReturn } from 'cypress/react18'
1+
import { MountOptions, MountReturn } from 'cypress/react'
22
import { MemoryRouterProps } from 'react-router-dom'
33

44
declare global {

0 commit comments

Comments
 (0)