neon_arch
36e2ac93be
Merge branch 'rolling' into FIX/463_results_from_different_search_engines_get_cached_as_the_same_key
2024-01-02 12:29:54 +03:00
ddotthomas
db1115f19e
fix: add comma separator and format macro
2024-01-01 19:36:18 -07:00
Леонтий Вартанян
5020f36c90
♻️ refactor: standardize the content-type
header by using an enum value over typing it manually ( #474 )
...
* ♻️ refactor: change content-type
* 🐛 fix: change parameters that were passed to the settings function
---------
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2023-12-31 13:31:07 +03:00
ddotthomas
4f4cb220cc
fix: changed dereferencing
2023-12-30 22:18:15 -07:00
ddotthomas
286bcf1bd3
fix: added a config parse backup
2023-12-30 22:12:43 -07:00
ddotthomas
bfeb81270c
fix: modify cache key with engines used for search
2023-12-30 19:19:22 -07:00
alamin655
7f84c6346d
Merge branch 'rolling' into CHORE/461_display-the-user-provided-settings-from-the-config-or-the-ui-in-the-settings-page
2023-12-30 12:23:47 +05:30
ddotthomas
d073aa247a
♻️ refactor: start tracking page numbers from 0 instead of 1 in the backend ( #467 )
...
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2023-12-29 21:20:38 +03:00
neon_arch
d8943709c7
🚨 chore: make cargo format checks happy ( #461 )
2023-12-28 21:08:42 +03:00
neon_arch
93afb6b8c9
Merge branch 'rolling' into CHORE/461_display-the-user-provided-settings-from-the-config-or-the-ui-in-the-settings-page
2023-12-28 21:04:21 +03:00
neon_arch
26aa345f06
🚸 chore: pass the safe_search_level
& upstream_search_engines
as a hashmap in the settings
view function ( #461 )
2023-12-28 19:58:18 +03:00
maokwen
9f5213cf42
🐛 fix: explicit content-type
header for the search page response ( #458 )
2023-12-28 07:05:21 +03:00
maokwen
43357493d5
🐛 fix: explicit Content-Type header for HTTP response ( #457 )
2023-12-27 11:24:44 +03:00
neon_arch
1a2a833597
✨ feat: pass the new animation config option ( #424 )
2023-12-12 15:04:44 +03:00
Ashwin Vinod
e704c26ed3
♻️ Refactor cache system ( #399 )
...
* ♻️ Refactor cache system
* 🐛 Fix cache not getting set
This patch also makes it that cookies are eagerly evaluated. This is
done to figure out the safe search level set by the user. The
performance hit wouldn't be much of a deal as the cookie is a small
json string
* 🔖 chore: bump the app version (#399 )
* 🔖 chore: bump the app version (#399 )
---------
Co-authored-by: alamin655 <mdalamin655@outlook.com>
2023-11-28 09:17:35 +03:00
víctor
5e2669b6de
♻️ Clean some code, fix bug ( #396 )
...
* ♻️ Improve src/handler
Removes unnecessary submoduling & adjusts some weird code
* ♻️ Cleaner code
* 🐛 Fixed issue where code would overflow if page=0
2023-11-27 09:45:28 +03:00
neon_arch
03d649b97b
🔥 chore: remove the debug macro from the code ( #302 )
2023-11-18 21:51:21 +03:00
neon_arch
eee2f110b8
🚨 chore: make cargo clippy linter happy ( #302 )
2023-11-18 21:50:37 +03:00
neon_arch
38ba4bd6cb
♻️ refactor(routes): serve the new maud file for search page and remove unwanted functions and pass values to the maud html template directly ( #302 )
2023-11-17 22:16:17 +03:00
neon_arch
64c4d2c23a
♻️ refactor(routes): serve new the maud files instead of handlebars files ( #302 )
2023-11-17 22:12:25 +03:00
Zsombor Gegesy
75a77d25f0
Create separate search_result_parser
2023-10-07 00:33:44 +02:00
neon_arch
3d489208db
🧹 chore: make github actions happy ( #227 )
2023-09-23 15:03:48 +03:00
alamin655
017036ed00
Merge branch 'rolling' into feat-inform-user-when-no-engines-are-selected
2023-09-23 17:12:58 +05:30
neon_arch
173c6ba821
✨ feat: add code to handle aggregation when no engines are selected ( #227 )
2023-09-23 12:50:36 +03:00
neon_arch
72fec47892
✨ feat: implement code to fetch results based on parameters, cookies & config ( #210 )
2023-09-22 19:54:26 +03:00
neon_arch
fcfd112e59
🛠️ fix: improve the documentation & move code in the correct files ( #244 )
2023-09-17 12:51:32 +03:00
Zsombor Gegesy
320f5f4720
Remove unnecessary clones
2023-09-15 23:21:19 +02:00
Zsombor Gegesy
519ebe0fd8
Instead of caching jsons, we can cache the original structure
2023-09-15 23:21:19 +02:00
Zsombor Gegesy
996ff84c5b
Cache refactor - add an in-memory cache, so redis is not needed
2023-09-15 23:21:19 +02:00
neon_arch
ca4447fcdf
Merge branch 'rolling' into reorganize-code-and-restructure-the-codebase
2023-09-13 18:31:37 +03:00
neon_arch
c60fdb8366
🧹 chore: make github actions happy ( #205 )
2023-09-12 18:53:32 +03:00
neon_arch
1a222217c4
🧹 chore: make github actions happy ( #205 )
2023-09-12 17:59:33 +03:00
neon_arch
fb231de416
Merge branch 'rolling' into change-document-style-with-linter-warnings
2023-09-12 17:49:46 +03:00
neon_arch
12bfc5276a
🧹 chore: make clippy happy ( #201 )
2023-09-10 18:56:54 +03:00
alamin655
60b2fcc27a
Merge branch 'rolling' into feat-disallow-user-to-search-via-lists
2023-09-10 20:51:10 +05:30
neon_arch
82a78e3b42
Merge branch 'rolling' into optimize-and-make-code-idiomatic
2023-09-10 18:11:12 +03:00
neon_arch
8dfe2e1b2d
Merge branch 'rolling' into optimize-and-make-code-idiomatic-3
2023-09-10 17:58:28 +03:00
neon_arch
493c56bd02
⚙️ refactor: reorganize code & restructure codebase for better maintainability ( #207 )
2023-09-03 20:50:50 +03:00
neon_arch
049b1c1ddd
⚙️ refactor: change & add documentation to the code based on the lints ( #205 )
2023-09-03 19:23:34 +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
a799af3125
🧹 chore: add fixes to code & make rustfmt & clippy happy ( #180 )( #178 )
2023-08-30 18:09:58 +03:00
neon_arch
4c298ce18c
⚙️ refactor: add code to initialize redis cache struct only once ( #180 )( #178 )
2023-08-29 20:15:06 +03:00
neon_arch
b2c72bdfc3
⚙️ refactor: replace pass by value with pass by reference ( #180 )( #178 )
2023-08-27 21:06:25 +03:00
neon_arch
9c71c9f617
🧹 chore: make rustfmt happy
2023-08-22 19:29:13 +03:00
neon_arch
b17057471b
✨ feat: rename functions ( #163 )
2023-08-22 19:22:37 +03: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
neon_arch
a596c07547
🔧 chore: add code to cache the previous & next pages ( #160 )
2023-08-06 20:31:30 +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
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