0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 14:08:23 -05:00
Commit Graph

787 Commits

Author SHA1 Message Date
neon_arch
13ce420642 ⚙️ refactor: add several minor optimizations (#180)(#178) 2023-08-27 21:04:41 +03:00
neon_arch
2885f23ec9 ⚙️ refactor: replace vecs with smallvecs for smaller data sizes & replace to_strings with to_owned (#180)(#178) 2023-08-27 21:02:23 +03:00
neon_arch
2a68081ae2 ⚙️ refactor: remove deprecated intoreport functions & add minor optimizations (#180)(#178) 2023-08-27 21:00:22 +03:00
neon_arch
f5f0488954 ⚙️ refactor: add several optimizations to the engine code (#180)(#178) 2023-08-27 20:59:08 +03:00
neon_arch
4ccd0486e7 ⚙️ refactor: replace oncecell with oncelock from std library (#180)(#178) 2023-08-27 20:57:33 +03:00
neon_arch
7b33744c9d ⚙️ refactor: implement default trait for Style struct (#180)(#178) 2023-08-27 20:56:29 +03:00
neon_arch
e4476aae28 ⚙️ refactor: replace rlua with mlua code implementation (#180)(#178) 2023-08-27 20:55:34 +03:00
neon_arch
5f1a43976f ⚙️ refactor: add error.rs module (#180)(#178) 2023-08-27 20:53:55 +03:00
neon_arch
01d8c7ae4c ⚙️ refactor: add new pooling error type for pooling code (#180)(#178) 2023-08-27 20:52:16 +03:00
neon_arch
db93c31603 ⚙️ refactor: implement async pooling for redis connections (#180)(#178) 2023-08-27 20:50:42 +03:00
neon_arch
4afc0d16f0 ⚙️ refactor: add dhat profiler configuration with feat flag (#180)(#178) 2023-08-27 20:46:19 +03:00
neon_arch
7a8bf022d4
Merge pull request #191 from xffxff/unit_tests
🧹 Unit tests for the function `filter_with_lists`
2023-08-24 15:49:34 +03:00
xffxff
64948b84f1 bump version 2023-08-24 17:11:09 +08:00
xffxff
e5a0227762 put tempfile under dev.dependencies 2023-08-24 17:10:40 +08:00
xffxff
c3a7c917f6 make format happy 2023-08-24 09:50:19 +08:00
xffxff
23ff24bdf3 add a test to check if the regex wildcard .* matches any character 2023-08-24 09:46:01 +08:00
xffxff
a2fc10ca39 add a test for invalid regex 2023-08-24 09:36:08 +08:00
xffxff
4280545e8c add a test for non-existent file 2023-08-24 09:32:22 +08:00
xffxff
5c0397c456 add some comments to filter_with_lists and add a basic test 2023-08-24 09:29:08 +08:00
zhou fan
7f371bf91b
Merge pull request #189 from neon-mmd/feat-error-box-for-engine-errors
 Error box UI to show which engines failed with several UI improvements
2023-08-24 09:11:53 +08:00
zhou fan
2f1fa00f87
Merge branch 'rolling' into feat-error-box-for-engine-errors 2023-08-24 08:16:32 +08:00
zhou fan
11ba09a781
Merge pull request #190 from neon-mmd/feat-content-blocking-using-lists
 Filter user specified content from search results using a `blacklist` and `Allowlist`.
2023-08-24 08:16:22 +08:00
zhou fan
575a7f95ba
Merge branch 'rolling' into feat-error-box-for-engine-errors 2023-08-24 08:02:03 +08:00
neon_arch
d1eea5b0e3 feat: replace no results gif with a new gif (#185) 2023-08-23 18:10:46 +03:00
neon_arch
9f75e258e2 feat: change template name (#185) 2023-08-23 18:09:52 +03:00
neon_arch
d530410e42 feat: rename search_page_search_bar to search_bar (#185) 2023-08-23 18:08:30 +03:00
neon_arch
44216e4d4c feat: optimise search results filtering code (#163) 2023-08-23 13:11:09 +03:00
neon_arch
9c71c9f617 🧹 chore: make rustfmt happy 2023-08-22 19:29:13 +03:00
neon_arch
e8998a4be2 🚀 chore: bump the app & crates version & add regex crate (#163) 2023-08-22 19:23:39 +03:00
neon_arch
b17057471b feat: rename functions (#163) 2023-08-22 19:22:37 +03:00
neon_arch
09227d8c93 feat: move implementation of config file path to reduce duplication (#163) 2023-08-22 19:20:29 +03:00
neon_arch
df09ed9f48 feat: add lists file to filter search results (#163) 2023-08-22 19:19:31 +03:00
neon_arch
fda6c3a9be feat: rename public_paths to paths (#163) 2023-08-22 19:18:43 +03:00
neon_arch
4f28711218 feat: add code to filter aggregated search results using lists (#163) 2023-08-22 19:16:37 +03:00
neon_arch
0e14c7d80f feat: provide a partial (template) for the two search bars (#185) 2023-08-21 17:36:05 +03:00
neon_arch
7a92345bf0 feat: provide seperate search bars for the home & search pages (#185) 2023-08-21 17:35:09 +03:00
neon_arch
4d74b81e95 feat: change the name of the search bar template (#185) 2023-08-21 17:33:50 +03:00
neon_arch
68215efb9f feat: add websurfx heading to allow navigation to the homepage (#185) 2023-08-21 17:31:10 +03:00
neon_arch
f4bcb32cee feat: add the code to allow the button to toggle the error-box (#185) 2023-08-21 17:29:52 +03:00
neon_arch
6bfdc75365 feat: add & change styling for the error-box & the navbar (#185) 2023-08-21 17:28:40 +03:00
alamin655
9d2fb6c946
Merge pull request #188 from MilimTheTrueOne/rolling
🛠️ Some major fixes
2023-08-19 15:50:19 +05:30
Milim
02b8419ad0
Merge pull request #2 from alamin655/rolling
🚀 chore: bump the app version
2023-08-19 10:11:14 +00:00
MD AL AMIN TALUKDAR
160b0db15d Bump app version
Co-Authored-By: Milim <81323548+milimthetrueone@users.noreply.github.com>
2023-08-19 14:57:00 +05:30
Milim
1fa0629465 fix handelbars template 2023-08-19 11:26:53 +02:00
Milim
fe3d5735f2 bump version and remove wild fix wildcard version dependencys 2023-08-19 09:25:58 +02:00
Milim
87e230d731 fix debug level not being set properly 2023-08-19 09:09:09 +02:00
Milim
21403d0a48 fix dumb rustfmt version and bump dependency versions 2023-08-18 22:04:34 +02:00
Milim
5aca5c0d0d Improve aggregation
Adds the EngineHandler struct
Removes vulnerability where an attacker could send requests cookies with fake engine names and crash the server.
Merged RawSearchResult and SearchResult, as they were functionally identical.
2023-08-18 10:43:53 +02:00
Milim
15dfda6ea9 Improve Aggregation function & config parser
Refactor aggregation function
Rename visiting_url to url, as they are always the same (see upstream engine scalping).
Refactor parsing function to be more readable.
2023-08-17 22:48:20 +02:00
Milim
af3b1cb308 Use non-blocking sleep function
std:🧵:sleep blocks the entire thread and thus also forces all other current requests to be halted.
2023-08-17 21:45:48 +02:00