* beta host
* Refactor: url -> path (#944)
* refactor: url -> pathr
* fix: pluginId
* page support (#947)
* add new fields
* minor fix
* pages for novel
* render novel pages with drawer
* support real paginated novels
* descending novel chapter list
* update when has new latest chapter
* set hasUpdate for all pages after update
* fix: insert pageIndex
* fix: refreshChapters
* minor refactor: pageIndex
* fix: update page logic
* fix: order by pageIndex
* refactor: Chapter.pageindex -> index (position in page)
* Revert "refactor: Chapter.pageindex -> index (position in page)"
This reverts commit 109298e0ccfa4a0d3d369087e05cb6f307a786b4.
* refactor: pageindex -> position
* fix: reader drawer
* temporary fix migration
* fix: Serialize plugins into one file (#949)
* serialize plugins into one file
* fix typo
* Fix: insertChapters (#950)
* Fix: re-renders in novel screen(#951)
* remove unnecessary wrap
* fix: add local novel back to local category
* fix: use variables for default states
* fix: do not re-render when no FAB
* close drawer if pages length = 1
* add Portal.Host
* Cheaper useNovel hook (#952)
* fix: using pure state for novel and chapters
* fix: remove latestChapter mmkv hook
* shorter key
* fix: bookmark
* fix: save chapter progress in db
* minor refactor: chapterProgressElement
* Fix: Error/Empty actions (#956)
* fix: reader error handler
* fix: opacity for novel summary
* fix: library empty view
* fix: upsert and pages logic
* fix: update novel logic
* fix: import epub
* fix: plugin site in global search
* fix: scrollbar font size
* minor fix
* add remote zip/unzip
* reimplement: remote backup
* fix: close backup request
* get response for remote zip
* add zip drive backup
* add zip drive restore
* fix: categories are not restored
* change scope to drive.file
* add description for backup action
* refactor: Backup types
* fix: not allow to delete local category
* fix: throw github cache issue
* refactor: use english key
* minor: native language details
* add translatable strings
* fix: wrong version checker, update lastused
* fix: only show update dialog if newer version
* fix: remove chapter id in chapter item
* fix: date in chapter drawer
* fix: decode uri for local epub
* fix: simpler SetCategoriesModal
* fix: not allow local as default
* fix: no delay on selfhost backup/restore
* add exports variable
* fix: remove pinned and lasteUsed after uninstall
* fix: language filter for installed plugin
* create index for Chapter in novelId
* reorder headers parame in fetchApi
* remove Language from plugin libs
* fix: not backup empty cover
* feat: backup app version
* fix: chapter index
* feat: checkAppVersion when restoring
* update: using normal exports instead of default
move fetchFile into fetch.ts
* defaultCoverUri -> defaultCover
* fetch prev&next chapter and text at the same time.
* typescript for Main and Reader (and some related screens)
* fix: update time order
* feat: three dots button for browse
* fix: reader got wrong minscroll
* remove unused package drawer
* fix: seekbar bottom position
* add data-set in script (Reader)
* feat: remote backup (novel, category)
* feat: full backup
* fix: throw when downloading without installed plugin
* update: using websocket to tranfer data
* remote restore
* error handler for restore
* normalize code by recursion
* Not backuping tracker.
Because users can share their backup.
And tracker setting cotains their own token.
* fix: not create .nomedia in download dir
* fix: 2 children have same key in filter input
* fix: 2 children have same key in Picker Item
* remove AsyncStorage, disable hermes
* init
* update logic
* update libs for plugins
* move interface to types
* refactor, add language type
* small refactor of languages
* getPlugin
* update alias
* collect plugin on launch
* update interface Plugin
* move lang to PluginItem
* implement install plugins
* fix plugins reference
* fix fetching logic
* fix empty list
* refactor Browscreen
* implement searchNovels
* refactor plugin reducer
* try to remove old sources
* try to refactor
* tabview with theme, remove rn-fetch-blob
* update lib for plugin, temp fix for browse
* try to replace source by plugin in db
* many updates
* update db
* fix queries error
* update db
* update db
* update History table
* update db types
* format table name
* rename service
* rename field
* refactor interfaces
* update constrait
* update novel queries
* update constrait
* update novel and category queries
* more flexible category
* update library queris
* create category trigger, add constraints
* sync variables name with js rule :(
* setup database 90%
* updates queries
* queries to add novel to lib
* remove delete updates => delete download
* minor
* app work 20%
* query default one time
* createdb first
* remove 90% sources
* fix library queries
* temporary fix
* remove all source
* remove old languages constant
* update trigger
* update types
* refactor types, update trigger, refactor queries
* at least can go to novel screen
* update novel redux
* can go to novel screen
* remove generator
* change sourceId to pluginId
* can read chapter :(
* minor fix
* can use history screen
* unique key in historyscreen
* remove never use hook
* at least can use reader
* minor
* fix download queries
* fix history and chapterDrawer doenst need setNovel
* fix last read
* update click heart to follow novel
* insertNovel
* long press novels in library,
* change default category by move up
* update edit category, fix foreign constrait
* loading before get novel done
* fix categories were added.
Dont know why trigger didnt work.
So I decide to use normal queries
* fix errors when edit infos
* shorter init plugin
* fix stats screen
* minor fix for seekbar
* set re-request, fix download chapter
* hard fix:), maybe refactor it later
* must use sum to count :D
* update query
* fix migrate screen
* minor fix
* fix migrate screen and global search display
* minor
* quick fix for update screen
* update plugin props
* lol :D
* Backup work now.
But need to install plugins
* restore error backup
* If get novel without chapters. Fetch it again
* if all error novels are restored, remove error file
* minor fix
* remove never used packages.
* Complete plugin feature. Bump to RN 0.69.
I will write a changelog soon
* fetchFile for app side
* Fix: transparent bottem sheet, undefined index.
hideNavigationBar causes transparent bottem sheet (still opening but invisible.
Hope to find an actual fix later
* newUpdateDialog without markdown
* fix: Browse plugins behaviors
* fix: reader screen crashs when plugin is not installed
* Minor fix: undefined variables when updating
* minor fix: fetchFile return base64
* only update newversion
* fix: buildReleas succesfully but app crashes when opening.
from: https://github.com/facebook/react-native/issues/34114
* fix: webview send correct body height
* Refactor: remove HistoryTable.
remove PluginStatus
* Refactor: Migrate Update and History into Chapter.
- remove nerver used hook: useChapter
* fix: edit categories modal in novel screen
* minor: LL date format
* minor: remove html2text lib
* minor: migrate inlibrary novel
* Migrate novel and clean up
* small fix for migrate function
* Database Diagram
* optimise: O(1) to determine if lastread is read
* fix: position could be undefined
* refactor: change prop name. postion.position -> postion.offsetY
* fix filter
* fix: missing param in parseChapterNumber
* not a good fix, but it works xD
* fix: Text trunct almost title, should find a better fix later.
* enable feature: migrate from browse screen
* add data-plugin-id tag
* no `ghost` novel (which has no category)
* minor fix: detele all novel categories when removing novel form lib
* minor: deleteDownloadsSnackbar
* edit warning
* add chapter tag on preview
* add id for plugin, novel, chapter. smaller padding
* Use BottomSheetModal
* implement cookies bypass
* default language filter
* change default user agent
* shorter langue native name
* missing NOVEL_ERROR
* add filterInputs
* correct spelling :)
* add dayjs
* minor: remove console.log
* update site for pluginItem
* update icon,
* minor: remove unnecessary things
* default language for browse source.
To test this. please clear all all app data
* fix: for some reason, locale from expo is uncorrect
* bypass some sites with referer in header.
* update logic for loading img on reader.
some sources should have headers when fetch image data
* minor fix
* fix warning: 2 childs have the same key
* fix(download): Download chapter image fixes
- Saving images in binary form, not utf-8 base64 so that gallery etc can see them
- Downloads work with new WebViewReader's image loading features
- Added loading icons when images are loading asynchronusely
* fix(dq.ts): DownloadQueries type
* fix(img): remove delayed-src from downloaded imgs
* fix(download): Fix promise rejection and css issue
- Fix promise rejection when trying to overwrite image file (shouldn't happen in production, but it miraculously did in dev)
- Fix CSS class 'loadIcon' not being applied to downladed chapter image loader icons and loader spinners not spinning
- Made loader spinners smaller. Now they look "a bit better" (according to my friend whom I showed the spinners)
* fix(loadimg): Change loadImage to smaller one
* fix(loadImg): change the class to load-img
* minor fix
* fix hako source: popular novels and novel cover
* update sendHeight logic
---------
Co-authored-by: SkillGG <skilletssgames@gmail.com>
* fix(delete_chapter): fix delete all not working
Sometimes there would be "Excessive number of pending callbacks" warn shown.
Removing chapters in batches of 10 (I tried 30 but it was still an issue) seems to work fine now.
TODO: Add some icon about deletion status and make it not lag the entire app.
* fix(delete_chapter): always-coccurent deletion
Make deleting chapters do 3 coccurent deletion at a time making it work similarly to bluebird's `Promise.map(,{coccurent:3})` and removing the `Excessive number of pending callbacks` warn gone.
* Remove unnecesarry console.log
* Added following sources Zetro Translation, Nocturne, Asada Translation and Sugar Babies
* added time stamp to backup file
* fixed: updates tab sort as data displayed is wrong when release datetime similar
* Added following sources Zetro Translation, Nocturne, Asada Translation and Sugar Babies
* added time stamp to backup file
* tweaks updated chapter sort order in Updates Tab