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

487 Commits

Author SHA1 Message Date
neon_arch
d6350546ea feat: provide new images for the new messages (#201) 2023-09-02 17:53:33 +03:00
neon_arch
0209114859 feat: theme the new messages provided (#201) 2023-09-02 17:52:51 +03:00
neon_arch
dd74a90e6b feat: provide new messages when results are filtered/dissallowed (#201) 2023-09-02 17:51:29 +03:00
neon_arch
05c3e6cc12 feat: implement new search parameter safe_search & code to disallow
users when safe_search is set to 4 (#201)
2023-09-02 17:50:06 +03:00
neon_arch
410257c276 feat: implement new fields, traits and functions (#201) 2023-09-02 17:48:27 +03:00
neon_arch
f4c496c02c feat: implement default trait for style struct (#201) 2023-09-02 17:46:32 +03:00
neon_arch
cbad560139 feat: pass new safe search option in the results function in the
trait (#201)
2023-09-02 17:45:17 +03:00
neon_arch
6fa45ecb12 feat: pass the config option into the results function (#201) 2023-09-02 17:44:05 +03:00
neon_arch
37e650eb8a feat: add code to parse the new config option (#201) 2023-09-02 17:42:55 +03:00
neon_arch
d6463f0872 feat: add condition to filter results only when safe_search level is
set to 3 or above (#201)
2023-09-02 17:38:46 +03:00
neon_arch
8eeaf19cbd feat: add new config option safe_search (#201) 2023-09-02 17:35:58 +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