Commit Graph

74 Commits

Author SHA1 Message Date
schroda
0ef4de3543 Fix disabled "download ahead" setting visualization
The setting is disabled in case the value is 0.
Due to "toConstrainedValue" this was not possible anymore which lead to the disabled setting to still be shown as enabled.

Regression 56f01efc1e
2025-06-28 03:30:18 +02:00
schroda
523071906c Handle metadata array value conversion
Avoid deep merging for arrays to prevent them from being converted into plain objects.
2025-06-25 00:58:35 +02:00
schroda
cb74984659 Fix constraining logic of stored client metadata
By the time the constraining function was called, the stored values were still of type string and were not converted to the correct type yet.
2025-06-25 00:38:01 +02:00
schroda
56f01efc1e Ensure stored client metadata values respect constraints 2025-06-24 22:45:40 +02:00
schroda
7b9d51142b Save selected source languages on the server 2025-06-23 02:30:29 +02:00
schroda
6c47f58ca9 Make manga chapter list "excludeScanlators" a global metadata setting 2025-06-23 02:20:40 +02:00
schroda
7897bac2d6 Make source "isEnabled" a global metadata setting 2025-06-23 02:18:31 +02:00
schroda
f3c479fe32 Add option to disable sources of an extension 2025-06-23 01:51:14 +02:00
schroda
7c0ffe9bd3 Add scanlator filter to chapter list
closes #937
2025-06-10 00:15:44 +02:00
schroda
7885bcda98 Improve global search
Add options to show only searches for
- pinned sources
- all sources
- sources with results
2025-05-18 01:08:02 +02:00
schroda
e327849a19 Show last used source 2025-05-17 23:37:00 +02:00
schroda
bf90d95266 Improve metadata value conversion
The current approach has issues with numbers of type long
2025-05-17 23:17:36 +02:00
schroda
822e47084e Add functionality to pin sources 2025-05-17 22:17:15 +02:00
schroda
18ddf46f17 Save appearance settings on server
- app theme
- theme mode
- pure black mode
- manga grid item width
2025-05-17 21:31:24 +02:00
schroda
afdaf1f429 Move chapter types and constants to corresponding files 2025-05-05 01:54:44 +02:00
schroda
f0f740f4af Add option to disable transition pages
The previous/next transition page of the first/last chapter will still be shown to indicate that there is no previous/next chapter
2025-05-05 01:26:27 +02:00
schroda
beda5096d1 Add option to disable "infinite chapter scroll" 2025-04-26 23:19:01 +02:00
schroda
4c1a493cf5 Save "showNsfw" setting on server 2025-04-21 19:21:06 +02:00
schroda
4a9f90b746 Introduce "sources" util class 2025-04-21 17:02:51 +02:00
schroda
a48febeda5 Save selected extension languages on the server 2025-04-21 16:19:35 +02:00
schroda
0733c930d4 Save chapter list options on server 2025-04-20 21:45:26 +02:00
schroda
7a7a0dfa9c Fix tsc error 2025-04-02 01:25:20 +02:00
schroda
ae29904ed2 Make "hideHistory" settings global 2025-03-23 04:04:09 +01:00
schroda
6ebf13d328 Properly log errors 2025-03-03 23:59:58 +01:00
schroda
a81c3c6afa Use dynamic color schemes on manga page 2025-01-26 04:21:00 +01:00
schroda
abc3908b1e Only commit metadata changes of applied migrations
One of the errors that were caused by this was that everytime a new migration was applied, keys of previous migrations got deleted
2025-01-11 16:00:16 +01:00
schroda
6c8df33a13 Delete outdated metadata after committing updated ones
In case the outdated metadata get successfully deleted and the updated metadata fail to commit, metadata gets lost, due to not being able to apply the migrations again since the outdated metadata have already been deleted
2025-01-11 03:24:15 +01:00
schroda
338fb96de3 Prevent possible TypeError 2025-01-11 03:14:41 +01:00
schroda
07aeb53fa1 Commit metadata value migrations 2025-01-11 03:12:48 +01:00
schroda
7901961821 Add "auto" progress bar position
Automatically choose the progress bar position based on the available space.
Previously it was only possible to automatically switch from a horizontal to a vertical position but not the other way around
2025-01-11 03:09:10 +01:00
schroda
054e837139 Move "readerType" "Webtoon" value migration to 3rd migration
Does not matter since it will only affect stable users which haven't had these migrations applied yet anyway
2025-01-06 12:51:43 +01:00
schroda
feebd93555 Properly delete metadata during key deletion migration 2025-01-06 12:39:39 +01:00
schroda
6e0d1cfd3d Simplify metadata app key prefix migration 2025-01-06 12:23:41 +01:00
schroda
3d7a4146e4 Handle metadata key deletion early exit
In case no keys had to be deleted it always returned an empty object which broke the whole metadata migration and resulted in the final metadata to always fall back to the default values
2025-01-06 01:58:49 +01:00
schroda
9f42b75eee Prevent applying already applied metadata migrations again
The "appliedMigrationId" was converted to it's index of the "METADATA_MIGRATIONS" and then was compared to the "migration id" which starts at 1 instead of 0
2025-01-06 01:45:46 +01:00
schroda
724319b6c5 Only commit metadata migration changes of newly applied migration
Changes got commited everytime regardless off if the migration had already been applied
2025-01-06 01:42:42 +01:00
schroda
d87fa3721e Migrate old reader settings II 2025-01-05 15:29:56 +01:00
schroda
05ce572c67 Add logic to delete metadata on migration 2025-01-05 15:29:56 +01:00
schroda
bb473276a7 Handle multiple prefixes in metadata key migration
Was never updated after the change that made it possible that metadata can have multiple prefixes (e.g. device names)
2025-01-05 15:29:55 +01:00
schroda
ab2b1b2218 Handle multiple prefixes in metadata value migration
Was never updated after the change that made it possible that metadata can have multiple prefixes (e.g. device names)
2025-01-05 15:29:54 +01:00
schroda
d657ad3999 Commit new metadata after migration 2025-01-05 15:29:51 +01:00
schroda
040584989e Migrate metadata once instead of when reading a value 2025-01-05 14:54:37 +01:00
schroda
258b26f837 Remove unnecessary function exports 2025-01-05 14:54:20 +01:00
schroda
65da9db123 Correctly read last applied migration id from metadata 2025-01-05 14:53:52 +01:00
schroda
1533e37623 Add "migration" to global metadata keys 2025-01-04 21:31:47 +01:00
schroda
a51d81d267 Extract "MetadataReader" functions 2025-01-04 21:28:26 +01:00
schroda
b7971f5183 Move "getAppMetadataFrom" to "MetadataMigrations" 2025-01-04 21:27:51 +01:00
schroda
3782091601 Remove metadata "applyMigration" option 2025-01-04 21:23:05 +01:00
schroda
8ae8cfa140 Fix tsc issues 2025-01-04 20:59:18 +01:00
schroda
2944252d91 Make chapter transition warnings optional 2025-01-01 17:24:36 +01:00