Commit graph

50 commits

Author SHA1 Message Date
buzz-lightsnack-2007
3cd5fb2172 use nested module for handling reading of paths only defined via a dictionary or string 2024-05-06 09:04:14 +08:00
buzz-lightsnack-2007
31447db140 Add spaces to delimiters in error messages 2024-05-04 13:19:54 +08:00
buzz-lightsnack-2007
f1b70f7c1f remove redundancies while ensuring PATH can be convertible to an array 2024-05-03 23:57:10 +08:00
buzz-lightsnack-2007
ff318d464b use await to avoid unnecessary throwing error messages 2024-05-03 23:47:53 +08:00
buzz-lightsnack-2007
c65a02b0b8 remove redundant managed data synchronization 2024-05-03 12:10:18 +08:00
buzz-lightsnack-2007
332086b4fb experiment new verification error messages for both global and synchronized data 2024-05-03 11:49:45 +08:00
buzz-lightsnack-2007
1812672f9d Properly delete and write data under shorter pathnames 2024-05-01 11:36:13 +08:00
buzz-lightsnack-2007
50d02b8c06 Refactor secretariat.js to specify data source origin
global.forget() is currently broken in this commit.
2024-04-30 23:29:49 +08:00
buzz-lightsnack-2007
81f3dfe338 Describe the return values of comparisons 2024-04-29 09:35:01 +08:00
buzz-lightsnack-2007
9d0707982c There is no cloud for a session 2024-04-29 08:56:19 +08:00
buzz-lightsnack-2007
2a60c292a6 add comparison for session storage 2024-04-29 08:48:03 +08:00
buzz-lightsnack-2007
81667f3bb4 added silent write option
The silent write option supresses the alerts done when saving the data. Usually, these alerts are necessary to accomodate for devices with a spinning hard drive, but this may become redundant in certain scenarios, such as when updating the filters.
2024-04-28 12:56:41 +08:00
buzz-lightsnack-2007
a226f12645 rename modules after moving to appropriate folders 2024-04-26 21:32:32 +08:00
H. Saw
0b7be21d03 move hash to utilities folder 2024-04-26 03:00:42 +00:00
buzz-lightsnack-2007
2ed7b1212e write initial data intended for session storage management 2024-04-23 21:55:31 +08:00
buzz-lightsnack-2007
d5af9376b9 save data_name for verification 2024-04-18 23:38:48 +08:00
buzz-lightsnack-2007
b4133bb4f8 verify the integrity of the data 2024-04-16 23:50:55 +08:00
buzz-lightsnack-2007
b1cceec7fc Saving, do not close the window…
Add the saving message.
2024-04-16 18:30:15 +08:00
buzz-lightsnack-2007
0bb75abc81 make sure CLOUD = 0 means all data is wiped 2024-04-15 23:34:29 +08:00
buzz-lightsnack-2007
5e0d4bb8e4 properly test for matching website, including via RegEx 2024-04-15 22:22:30 +08:00
buzz-lightsnack-2007
527d7b6835 changed alerts to the logging 2024-04-15 15:42:50 +08:00
buzz-lightsnack-2007
a8324663bc use a for each loop 2024-04-15 15:17:08 +08:00
buzz-lightsnack-2007
1b83298c76 fix the structure returned by search() 2024-04-14 22:30:28 +08:00
buzz-lightsnack-2007
9f9335e248 fix accessing data prior to scraping 2024-04-14 21:33:11 +08:00
buzz-lightsnack-2007
760d7e0f69 fix non-deleting nature of data equivalent to false 2024-04-14 18:03:40 +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
buzzcode2007
2ab50d57f6 make sure to accept "false" values 2024-04-11 16:13:39 +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
buzzcode2007
6a5efb219d Refactor forget function to use async/await 2024-04-08 20:28:27 +08:00
buzzcode2007
5c61411280 make writing async 2024-04-08 16:08:04 +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
buzz-lightsnack-2007
1e9c50dc9e initial attmept to add search 2024-04-02 19:58:08 +08:00
buzzcode2007
fdf69cd9f4 fixed parameter testing 2024-04-02 14:58:44 +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
buzz-lightsnack-2007
94b01ea25b add storage events change handling 2024-03-29 20:25:42 +08:00
buzz-lightsnack-2007
3e475d162a autoformatted syntax 2024-03-28 11:14:52 +08:00
buzz-lightsnack-2007
67dc300562 rewrite data write function 2024-03-27 13:58:43 +08:00
buzz-lightsnack-2007
af69db6cb8 repair reading from db
That was tiring
2024-03-27 09:59:43 +08:00
buzzcode2007
4b2e8db824 update commenting style 2024-03-23 20:35:41 +08:00
buzzcode2007
f27505504c add OOBE and update migration
OOBE can now be triggered every installation, whereas migration is 
trigerred for every update. However, update migration currently can't 
merge new and old, and this is TODO.
2024-03-23 17:18:18 +08:00
buzzcode2007
b2ea655fd3 added initialization feature 2024-03-23 17:03:07 +08:00
buzzcode2007
734a74267b git fucked up again, for some reason 2024-03-22 21:56:44 +08:00
buzzcode2007
0b04f82ece initial completed cache management 2024-03-22 21:19:38 +08:00
buzzcode2007
8614f10860 initial completed cache management 2024-03-22 21:04:24 +08:00
buzzcode2007
a621df9b87 Use less lines
due to the async method import
2024-03-22 19:50:26 +08:00
buzzcode2007
c038ed9812 update reading command
read filters or existing data
2024-03-22 19:19:38 +08:00
buzzcode2007
1505ca7fb2 read filters
can identify an appropriate filter for a website
2024-03-21 23:08:34 +08:00
buzzcode2007
da6f853912 added local cache management 2024-03-20 23:35:33 +08:00