0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-12-22 20:38:22 -05:00
Commit Graph

293 Commits

Author SHA1 Message Date
Milim
1f90b4e15c refactor search route and change default page to 0
that thing was utterly insane, and i am not sorry for saying this
2023-06-29 18:49:38 +02:00
xffxff
ebb9e9ee2b make format happy 2023-06-15 06:48:37 +08:00
zhou fan
b6faa09750
Update src/engines/engine_models.rs
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2023-06-15 06:28:21 +08:00
xffxff
1ebf888085 log the error from engines 2023-06-15 06:27:45 +08:00
xffxff
9a4cf949e4 improve error handling by using error-stack crate 2023-06-14 21:23:00 +08:00
neon_arch
c2280b7349 chore: add source and an appropriate message to different error variants 2023-06-04 11:56:07 +03:00
neon_arch
4460730ca6 chore: make clippy github action happy 2023-06-01 12:21:45 +03:00
neon_arch
975e8a480b
Merge branch 'rolling' into handle-reqwest-errors 2023-05-31 17:20:08 +00:00
neon_arch
5962cca294 chore: provide a better and more standardized way to handle engine errors 2023-05-31 19:54:51 +03:00
neon_arch
13632f1f99 feat: remove random delays when debug is set to true 2023-05-29 21:28:09 +03:00
neon_arch
60317a3b75 chore: make format ci happy 2023-05-29 21:13:07 +03:00
neon_arch
d4df90160d feat: add an option to enable/disable debug mode 2023-05-29 21:09:07 +03:00
neon_arch
8e7dc68d2d feat: add an option to enable or disable logs 2023-05-27 19:50:20 +03:00
neon_arch
dc3308cb5f chore: rename from theme to public 2023-05-25 11:50:37 +03:00
neon_arch
29456650f1 feat: add ability to put the themes folder on different paths 2023-05-24 17:37:41 +03:00
zhou fan
e6bb981133
Merge branch 'rolling' into ability-to-have-config-on-diff-paths 2023-05-24 17:10:07 +08:00
neon_arch
a7a28ed8c6 chore: make websurfx directory and config file names as constants 2023-05-24 12:01:36 +03:00
neon_arch
89796a054f feat: add ability to put config file on different paths 2023-05-23 23:47:36 +03:00
XFFXFF
ea013e718e make format happy 2023-05-23 10:00:35 +00:00
XFFXFF
9773cee38d change the 'aggregator' option to 'production_use' 2023-05-23 10:00:05 +00:00
XFFXFF
05272884ba supports the option to add a random delay 2023-05-23 10:00:03 +00:00
XFFXFF
cecffe4155 make format happy 2023-05-23 09:34:46 +00:00
neon_arch
6e19246cb2 fix: reduce the time to build user-agents 2023-05-22 13:07:37 +03:00
MD AL AMIN TALUKDAR
ae2fdb557c
Removed unnecessary comment 2023-05-20 08:01:24 +05:30
MD AL AMIN TALUKDAR
9a204b2f98 Fix page_url assignment in search route
The page_url variable in the search route was not being properly assigned in certain cases. This commit fixes the issue by ensuring that page_url is assigned the correct value based on the search parameters.

In the match expression, the conditions have been adjusted to correctly handle the page number and construct the appropriate page_url. This ensures that the generated URL for the search page is accurate and reflects the search query and page number.

This change improves the functionality and reliability of the search route by correctly setting the page_url variable based on the provided search parameters.
2023-05-19 17:13:11 +05:30
neon_arch
019b3322e7 chore: add enum to handle different reqwest errors & add timeout to requests 2023-05-16 12:22:00 +03:00
XFFXFF
3c7edb80d0 refactor: reduce connections created with RedisCache 2023-05-15 00:20:43 +00:00
neon_arch
4364310b24 add support for dockerized container hosting 2023-05-09 18:53:12 +03:00
neon_arch
0502a8f551 improve code to evade bot detection and closes #8 2023-05-08 11:47:50 +03:00
neon_arch
c5c1684cc1 optimise code for large scale server use and closes #7 2023-05-07 21:18:19 +03:00
neon_arch
c170de8194 add code to evade ip blocking, improve pagination code and fix documentation 2023-05-02 11:58:21 +03:00
neon_arch
71fae8b496 add more colorschemes, fix tests and improve documentation 2023-04-30 20:04:31 +03:00
neon_arch
4a505fb1d5 add missing documentation in config.lua and application source code 2023-04-30 19:24:16 +03:00
neon_arch
137c62ed5f replace commandline arguments with config.lua & add support for changing themes & coloschemes 2023-04-30 18:16:08 +03:00
neon_arch
cb1edad658 fixing documentation test in lib.rs and adding library documentation 2023-04-28 14:43:02 +03:00
XFFXFF
12bb0eefb8 add a integration test for index page 2023-04-28 10:39:58 +08:00
neon_arch
fc69acea8f Improving source code documentation. 2023-04-27 17:53:28 +03:00
neon_arch
ed13a16ec5 updating and improving README.org 2023-04-27 16:06:59 +03:00
neon_arch
28fee6b10a Adding minor change and implementing Cloning ability. 2023-04-26 17:46:49 +03:00
neon_arch
f94ac503e2 Refactoring code and separating code into files for better maintainability 2023-04-25 16:30:04 +03:00
XFFXFF
3060b01ed9 add logging middleware 2023-04-25 18:57:18 +08:00
neon_arch
0d1213a241 Adds temporary fixes for #1 2023-04-24 13:12:44 +03:00
neon_arch
15fc415301 initial commit 2023-04-22 14:35:07 +03:00