buzz-lightsnack-2007
760d7e0f69
fix non-deleting nature of data equivalent to false
2024-04-14 18:03:40 +08:00
buzz-lightsnack-2007
569bcfbde2
update the condition in checking valid entry
2024-04-14 17:26:08 +08:00
buzz-lightsnack-2007
f4743908b4
add function to fix updater when update interval is changed
2024-04-14 13:24:53 +08:00
buzz-lightsnack-2007
dd83ba45fe
ensure reading from synced settings
2024-04-14 13:23:47 +08:00
buzz-lightsnack-2007
afd7fe1ee8
fix filter removal
2024-04-14 13:07:21 +08:00
buzz-lightsnack-2007
7eb0b86640
fix import method to support service worker
2024-04-14 13:01:12 +08:00
buzz-lightsnack-2007
0f4f2f58f1
address the inability to recall when undecided
...
The issue appears to be with a modified DATA_NAME after using it. By not directly using it, it can be mitigated.
2024-04-14 10:11:59 +08:00
buzz-lightsnack-2007
78bed4dd0c
increase efficiency
...
an attempt to clear up the issue when `CLOUD = 0`
2024-04-13 23:34:11 +08:00
buzz-lightsnack-2007
137d57a408
add autoupdater
2024-04-13 23:33:07 +08:00
buzz-lightsnack-2007
f2e9869965
put queue in another module instead
...
for future reusability
2024-04-13 23:24:08 +08:00
buzz-lightsnack-2007
9ee327c90b
remove unused line
2024-04-13 21:14:21 +08:00
buzz-lightsnack-2007
902da8f8fc
address parsing of product
...
Google Gemini always wants to return in MarkDown, so let's fix that.
2024-04-13 21:14:14 +08:00
buzz-lightsnack-2007
586578fe45
Include AI system prompt and analyzer function
2024-04-11 18:39:52 +08:00
buzzcode2007
809c5ac093
add analyzer function
2024-04-11 17:50:15 +08:00
buzzcode2007
c063a21530
add message when API keys are missing
2024-04-11 17:20:34 +08:00
buzzcode2007
a6d894026f
rewrite the request location
2024-04-11 17:04:59 +08:00
buzzcode2007
563d6243e5
add product saving feature
...
Require attachment prior to saving
2024-04-11 16:56:55 +08:00
buzzcode2007
2ab50d57f6
make sure to accept "false" values
2024-04-11 16:13:39 +08:00
H. Saw
0ae1a831f8
create product analyzer function
2024-04-11 06:36:25 +00:00
H. Saw
33f13a237a
add API version flag
...
I'm not sure what exactly is the name of that thing (the one with v1beta).
2024-04-11 06:35:25 +00:00
H. Saw
9f5dc33ce8
relocate AI scripts to a dedicated folder
2024-04-11 06:09:11 +00:00
buzz-lightsnack-2007
0c07d26983
an example of how this rewrite becomes quite useful
2024-04-10 23:12:16 +08:00
buzz-lightsnack-2007
e842ad576f
rewrite the forget function to allow removing a particular nested data
...
No need to manually look through everything, although that's what the extension does for now.
2024-04-10 23:11:45 +08:00
buzz-lightsnack-2007
8229db8a3a
use the unofficial API for Google Gemini
...
Self-built from https://codeberg.org/buzzcode2007/GoogleGeminiAPI_Test/src/branch/js/gemini.js
2024-04-10 22:18:28 +08:00
buzz-lightsnack-2007
dbb8b47b38
Add a constructor to create a message.
...
This is similar to that run executed in .log().
2024-04-10 22:16:09 +08:00
buzz-lightsnack-2007
9a9acf2440
make the imports universal
2024-04-08 23:36:44 +08:00
buzzcode2007
6a5efb219d
Refactor forget function to use async/await
2024-04-08 20:28:27 +08:00
buzzcode2007
921dae135b
initial attempt for a removal function
2024-04-08 20:26:11 +08:00
buzzcode2007
5c61411280
make writing async
2024-04-08 16:08:04 +08:00
buzzcode2007
ddce5b4320
use different method to download filters
...
Only the first one was previously seen.
2024-04-08 15:42:23 +08:00
buzz-lightsnack-2007
749fb12698
allow synchronizing the downloaded filters
2024-04-05 12:30:05 +08:00
buzzcode2007
37a85f2841
make sure to remove empty fields when scraping website data
2024-04-05 09:50:34 +08:00
buzzcode2007
c34b3df700
Fix bug in login functionality***
...
***Refactor code for better performance***
***Add new feature to search functionality***
***Update UI design for better user experience***
***Fix typo in variable name***
***Implement error handling for edge case scenario***
***Optimize database queries for faster response time***
***Add unit tests for improved code coverage***
***Update dependencies to latest versions***
***Remove unused code and files
2024-04-03 15:27:39 +08:00
buzzcode2007
1bef8fb268
Refactor error handling in download function
2024-04-03 15:26:10 +08:00
buzzcode2007
cd788b8e32
improve filters error handling
2024-04-03 10:15:14 +08:00
buzzcode2007
1ce691bec6
Allow strict file checking
...
If the file is unexpected, an unstrict file checking will only warn the user that the file is unexpected, and it should pass it off anyway.
2024-04-03 10:13:52 +08:00
buzzcode2007
e152034eeb
improve error handling
...
Make sure all errors are able to return their traces to be displayed, and that only the code appears in the pop-up, not a mix with the actual content.
2024-04-02 22:49:04 +08:00
buzz-lightsnack-2007
76bf6cefaa
the fallback is always text
2024-04-02 19:59:26 +08:00
buzz-lightsnack-2007
1e9c50dc9e
initial attmept to add search
2024-04-02 19:58:08 +08:00
buzz-lightsnack-2007
fe41352afd
parse download as JSON
...
Since filters are supposed to be in JSON
2024-04-02 18:14:21 +08:00
buzzcode2007
52f7a29969
Fix import error and update standby state recording
2024-04-02 16:39:46 +08:00
buzzcode2007
b5c0f7ac68
make filters async
...
since most of its content is async anyway
2024-04-02 16:36:24 +08:00
buzzcode2007
532295a610
add OOP scraping
2024-04-02 15:47:20 +08:00
buzzcode2007
1bcea261fb
update to the fact that filters is now a default class
2024-04-02 15:01:39 +08:00
buzzcode2007
72498563b5
follows up 917266d
2024-04-02 15:01:02 +08:00
buzzcode2007
fdf69cd9f4
fixed parameter testing
2024-04-02 14:58:44 +08:00
buzzcode2007
917266dfd2
work on filter selection as OOP
...
Initializing the filters set its object to the filters stored in memory. To select one, first run select and then you can access it via "one" key.
2024-04-02 14:33:34 +08:00
buzzcode2007
65e8b9686b
Add optional parameter to verify file only
...
Not all the time you'd actually want the file content, just the fact that it's over there and that I can open it again.
2024-04-01 14:59:06 +08:00
buzzcode2007
4fc588f018
convert to indent using tabs
2024-04-01 14:17:26 +08:00
buzz-lightsnack-2007
543fe2f913
fixed class referencing
2024-03-31 15:43:28 +08:00