neon_arch
9d3a8e065a
Merge branch 'rolling' into patch-csrf-security-with-cors
2023-08-04 12:35:26 +03:00
neon_arch
bef8956da6
🛠️ fix: add code to prevent csrf attacks using cors ( #172 )
2023-08-03 17:44:13 +03:00
neon_arch
e02fafd69c
✨ feat: fix doc tests
2023-08-03 01:03:56 +03:00
neon_arch
4b4dc28cd2
✨ feat: add control check to avoid reinitializing logging & fix tests
2023-08-03 00:12:09 +03:00
neon_arch
11bcf9c98a
✨ feat: remove space from the end of the line
2023-08-02 20:07:29 +03:00
neon_arch
d8bd2feb6e
✨ feat: add new config option to manage threads and improve logging
2023-08-02 20:05:39 +03:00
neon_arch
a8b6a9bce2
Merge branch 'rolling' into patch-searx-results-on-first-page
2023-07-31 13:57:34 +03:00
neon_arch
a8791deb13
🛠️ fix: add & improve code to handle page handling in searx & duckduckgo
2023-07-30 20:14:40 +03:00
neon_arch
9cb582a10d
✨ feat: improve code documentation
2023-07-30 17:08:47 +03:00
neon_arch
25d6af0251
🧹 chore: reformat code to make rustfmt happy
2023-07-30 16:58:19 +03:00
neon_arch
2d47e8d730
✨ feat: provide the functionality to use the new config option
2023-07-30 10:53:48 +03:00
neon_arch
6d3396b6f9
✨ feat: provide functionality to parse the new config option
2023-07-30 10:52:03 +03:00
neon_arch
a28d559426
✨ feat: add documentation for the outputs.iter()
code block
2023-07-17 17:03:50 +03:00
neon_arch
987e667c3d
✨ feat: rename results_json
to results
2023-07-17 13:17:24 +03:00
neon_arch
7e3b59e8c0
✨ feat: remove the empty_result_set option and helper functions
2023-07-17 13:03:20 +03:00
neon_arch
c5fca32553
✨ feat: fix spelling mistake in the comment
2023-07-17 10:50:15 +03:00
neon_arch
cff7de9d0f
✨ feat: rephrase the comment to break it into smaller sentences.
2023-07-17 10:47:29 +03:00
neon_arch
74e4fc6169
Merge branch 'rolling' into improve-async-multithreading
2023-07-15 19:50:31 +03:00
neon_arch
94ef62eec9
✨ feat: add documentation to code
2023-07-15 13:36:46 +03:00
neon_arch
8133de1758
✨ feat: add check to conditionaly pass empty_result_set to true to UI
2023-07-14 21:29:01 +03:00
neon_arch
a3edf70d1e
✨ feat: add code to pass engine errors to the UI
2023-07-14 21:27:23 +03:00
neon_arch
3aeb3b3e73
✨ feat: add setter functions to SearchResults struct
2023-07-14 21:26:29 +03:00
neon_arch
9ee516e9b1
✨ feat: fix code for clippy suggestions
2023-07-14 21:18:26 +03:00
neon_arch
3e6f7867eb
✨ feat: add code to parse cookies and handle engine selection from UI
2023-07-14 17:20:46 +03:00
neon_arch
27247baf0c
✨ feat: define common behaviour for all engines
2023-07-14 17:17:05 +03:00
neon_arch
c223fed394
✨ feat: remove the time crate import
2023-07-14 17:16:13 +03:00
neon_arch
2f01651be0
✨ feat: fix bugs and add code to handle engine selections
...
Co-authored-by: Sabrina Jewson <58880148+SabrinaJewson@users.noreply.github.com>
2023-07-14 12:56:06 +03:00
neon_arch
0781385393
✨ feat: implement async multithreading and engine selection code
2023-07-11 19:44:38 +03:00
neon_arch
897ab0807f
✨ feat: fix the argument type used
2023-07-11 19:43:32 +03:00
neon_arch
f9b9e87a0e
✨ feat: rewrite code by implementing common engine trait SearchEngine
2023-07-11 19:42:17 +03:00
neon_arch
b72af01e0e
✨ feat: implement common engine trait
2023-07-11 19:41:34 +03:00
neon_arch
ff79c1fcfb
✨ feat: code to parse and handle the new config option
2023-07-11 19:38:59 +03:00
Trickshotblaster
99936bcb1a
Rename getter functions
2023-07-04 15:11:30 -07:00
Milim
4cb38b1b54
Fix docs
2023-07-03 19:38:17 +02:00
Milim
440216871d
Rename Things, refactor some code
...
BREAKING: renames `binding_ip_addr` to `binding_ip` and `redis_connection_url` to `redis_url`.
Renames a lot of internals as well, but they are to many to mention.
2023-07-03 19:30:25 +02:00
Milim
dbe5b533d6
fix spelling
2023-06-29 19:40:49 +02:00
Milim
e2907edf6e
refactor config helper function
2023-06-29 19:10:09 +02:00
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