Commit Graph

10 Commits

Author SHA1 Message Date
nyagami 87a9f3c2cb [skip ci] Dev improvement (#1324)
* added ServerSettings for proxy server

* fix: duplicated credentials headers

* simplify settings request

* feat: use user agent

* clean up

* fix: missing status code

* update plugin template
2024-11-17 00:20:47 +07:00
Adam Kemish 4260e95532 Add filters and sort to mvlempyr (#1310)
* Add filters and sort to mvlempyr

* Update version number

* Add filters and sort to mvlempyr

* Update version number

* Faster parsing by reducing amount of html cheerio is given

* Lint rules

* Add dropdown in UI to change fetch mode

* Requested changes

* Small fixes i noticed

* Use program files from env

* Requested changes
2024-11-16 16:06:53 +07:00
Adam Kemish d725bb0240 Add mvlempyr (#1292)
* Add mvlempyr

* only return results for search page if page exists

* Add search functionality to mvlempyr
2024-11-04 22:35:10 +07:00
nyagami 9380542719 Improvement: proxy server (#1225)
* added log for proxy server

* fix: not proxy client server request

* fix: added try catch for proxy server

* fix: added disallow reponse headers
2024-10-16 15:02:44 +07:00
Marcin Majewski b2caf26da3 Move to Zustand and add Filters to web_test (#1077)
* Moved to zustand and started refactored filters

- Move from redux to zustand
- Refactor Filters typings and add some helper types
- Add Filters button and Picker/Switch filter options
- Fixed Syosetu typings

* Add rule consistent-type-definitions

- Add consistent-type-definitions eslint rule to force consistent use of types instead of interfaces
- Run eslint to auto-change every interface to types

https://dev.to/atheodosiou/types-vs-interfaces-in-typescript-making-the-right-choice-48a4
https://www.youtube.com/watch?v=zM9UPcIyyhQ

* Add other filters and refactor

- Move Dialog to FiltersDialog
- CheckboxFilter, TextFilter, XCheckboxFilter added
- Added TripleCheckbox and TripleSwitch as tri-state checkbox/switch items using Mui stylings

* TriStateCheckbox/Switch refactor

- Change name of TripleSwitch and TripleCheckbox to TriState
- Change slightly TriStateSwitch and StyledSwitch styles
- Add option to change into TriStateSwitches via `localStorage` value `useSwitches`

* Refactor code and fix issues

* fix: prettier

---------

Co-authored-by: nyagami <hoangquan05112002@gmail.com>
2024-08-18 22:31:41 +07:00
nyagami 31b1a4eddd [skip ci] Fix: cors issues 2024-07-12 22:55:52 +07:00
nyagami b07678f7cc [skip ci] Fix: browser preflight 2024-07-05 23:41:38 +07:00
Rider21 fae73534dd Add TopLiba (#1003)
* test

* cleanup

deleted unused `fetchFile` import
replaced fetch with `fetchApi`

* eslint

* fix

* fix multi

* Hmm, what to do next.

* test URLSearchParams

* fix
2024-06-30 11:28:11 +07:00
nyagami 829eab9983 [skip ci] Feat: Hot reload for plugins 2024-06-17 22:41:24 +07:00
nyagami d36e8ec85f Feat: Vite + React (#991)
* remove test_web

* integrate reactjs-vite

* update lint-staged

* simple cors proxy server which handles cookies and redirections

* overrider global fetch with proxy call

* simple examples for set cookies and fetch request

* app bar

* add redux

* loadPlugins.
error: cant load urlencode module

* add ts-node for transforming

* plugin search & select

* plugin slice

* accordion components

* path item & popular novel

* optional for filters

* search novel

* parse novel

* parseChapter

* update cookies

* default filters

* fix: import path

* bundler module resolution

* new json_plugins

* fix: generate multisrc (missing filters)

* fix: host scripts

* fix: plugin code path

* remove typechecking action
2024-06-16 18:13:41 +07:00