Commit Graph

2828 Commits

Author SHA1 Message Date
775dedc338 Cleanup and remove more vars 2022-12-26 16:08:53 -06:00
45c9038954 Fix:Manually updating author image path & realtime update author image #1317 2022-12-26 15:45:42 -06:00
8acf962864 Update:Remove relImagePath from Author entity 2022-12-26 15:29:45 -06:00
c3fc38639e Merge pull request #1297 from Eschguy/master
Add Caddyfile example to readme
2022-12-25 16:24:57 -06:00
b60b75c8da Update readme.md 2022-12-25 11:32:12 -06:00
0f7edec73b Add note in readme about subfolder 2022-12-24 13:32:45 -06:00
321277826f Readme updates 2022-12-24 11:32:40 -06:00
6e752af2c0 Update readme with new docs 2022-12-24 11:29:58 -06:00
0717ae39db Fix music fine file with inode 2022-12-24 11:12:39 -06:00
7bc5902ea8 Merge pull request #1312 from Machou/master
Update fr.json
2022-12-24 06:58:04 -06:00
a28e1ed5e0 Update fr.json 2022-12-24 07:49:22 +01:00
43d9e129a6 Merge pull request #1310 from k9withabone/socket-fixes
Socket fixes
2022-12-23 07:47:32 -06:00
b516019ddd Merge branch 'socket-fixes' of https://github.com/k9withabone/audiobookshelf into socket-fixes 2022-12-23 07:34:15 -06:00
e4c20d677c Update server/controllers/SeriesController.js
Co-authored-by: Paul Nettleton <paulnett7@hotmail.com>
2022-12-23 07:33:33 -06:00
33e183b802 Merge branch 'master' into socket-fixes 2022-12-23 07:27:14 -06:00
b884f8fe11 Laying the groundwork for music media type #964 2022-12-22 16:38:55 -06:00
2cba83f1dd Server socket event fixes 2022-12-22 16:26:11 -06:00
a9ee9031c3 Add rss feed minified 2022-12-22 16:04:42 -06:00
c3717f6979 Merge pull request #1306 from burghy86/patch-7
Update it.json
2022-12-21 07:22:43 -06:00
657d4dd705 Update:Trim whitespace from audio file meta tag values #1305 2022-12-21 07:13:28 -06:00
17356ffd79 Update it.json
fix
2022-12-21 10:46:21 +01:00
c4be75b5bd Fix:Backups cron scheduler modal #1304 2022-12-20 12:35:31 -06:00
57422d0759 Fix:PWA manifest add PNG icon for desktop browsers #1300 2022-12-20 11:57:52 -06:00
d2454201b4 Merge pull request #1302 from Hallo951/master
Update de.json
2022-12-20 09:43:43 -06:00
3a92a69693 Update de.json
- minor fixes
- Item translated with medium or media
2022-12-20 09:36:50 +01:00
d733c9ccc6 Add Caddyfile example to readme
An example Caddyfile based on what I use
2022-12-19 18:10:55 -06:00
3e15e09c07 Fix:Get libraries endpoint #1296 v2.2.11 2022-12-19 17:46:32 -06:00
0592a41d4f Version bump 2.2.11 2022-12-19 17:16:58 -06:00
c32e33f804 Merge branch 'master' of https://github.com/advplyr/audiobookshelf 2022-12-19 17:16:48 -06:00
616ffb8f79 Add:M4b tool configurable options bitrate/channels/codec #1029 #1257 2022-12-19 17:13:04 -06:00
bc771a3a44 Delete DownloadManager.js 2022-12-19 16:20:18 -06:00
539d1a2d4f Merge pull request #1294 from tomazed/translation-fr
Update fr.json regarding new Metadata strings
2022-12-19 16:16:56 -06:00
4d8cea0bb4 Merge pull request #1293 from springsunx/patch-1
Update zh-cn.json
2022-12-19 16:16:37 -06:00
8b46262e93 Merge pull request #1292 from Hallo951/master
Update de.json
2022-12-19 16:16:17 -06:00
eb9a077520 Fix scroll listener for multi select inputs 2022-12-19 16:10:45 -06:00
3d3a224402 Fix:Edit modal dropdown menus hidden #1295 2022-12-19 15:32:17 -06:00
e1397a6dda Update:Author cover image API endpoint to get raw cover image #1291 2022-12-19 15:06:43 -06:00
8f49aae979 Fix:Adding podcast and filename sanitize func #1290 2022-12-19 15:02:31 -06:00
c0a13f01d4 Update fr.json regarding new Metadata strings 2022-12-19 16:39:46 +01:00
efcebc616c Update zh-cn.json 2022-12-19 22:08:54 +08:00
902867c3bc Update de.json 2022-12-19 09:02:17 +01:00
b7abd372e4 Version bump 2.2.10 v2.2.10 2022-12-18 18:38:00 -06:00
147ffc0210 Fix:Cover size widget behind home page arrow #1288 2022-12-18 18:37:03 -06:00
1b2ccb6cee Fix:Series inner input behind details modal #1289 2022-12-18 18:35:05 -06:00
c58a6b9047 Version bump 2.2.9 v2.2.9 2022-12-18 15:50:47 -06:00
b787fb18f3 Merge pull request #1251 from lkiesow/PermissionsStartOnly
No PermissionsStartOnly=true
2022-12-18 15:50:10 -06:00
17cce9c914 Merge pull request #1287 from lkiesow/subpath-detection
Fix Sub-path Detection
2022-12-18 15:48:28 -06:00
90299e348c Fix Sub-path Detection
If the scanner detects new files with a path containing part of the name
of an already existing library item, the new item will incorrectly be
detected as being a parent directory of the already existing item and
the import will be aborted.

You can follow these steps to reproduce the issue:

```
❯ mkdir audiobooks/author/

❯ mv title\ 10 audiobooks/author
[2022-12-18 22:14:12] DEBUG: [Watcher] File Added /home/lars/dev/audiobookshelf/audiobooks/author/title 10/dictaphone.mp3
[2022-12-18 22:14:16] DEBUG: [DB] Library Items inserted 1

❯ mv title\ 1 audiobooks/author
[2022-12-18 22:15:03] DEBUG: [Watcher] File Added /home/lars/dev/audiobookshelf/audiobooks/author/title 1/dictaphone.mp3
[2022-12-18 22:15:07]  WARN: [Scanner] Files were modified in a parent directory of a library item "title 10" - ignoring
```

Since `'title 10'.startsWith('title 1')` is `true`, the current code
makes this false assumption.

This patch fixes the issue by requiring a path separator to be part of
the matching path. This should ensure that only true parent directories
are detected.

This patch requires audiobookshelf to always use Unix file separators.
But that shouldn't be a problem since audiobookshelf always seems to use
these kinds of separators. Even on Windows.
2022-12-18 22:23:50 +01:00
fe25a1bc54 Update item metadata pages sort 2022-12-18 15:16:32 -06:00
edbe1851b5 Add translation strings for item metadata utils #1166 2022-12-18 15:11:48 -06:00