Commit graph

176 commits

Author SHA1 Message Date
734e710d8f Merge pull request 'dev' (#4) from dev into main
Reviewed-on: #4
2025-03-24 20:57:41 +00:00
1f52901885 Merge branch 'main' into dev 2025-03-24 20:56:53 +00:00
f0356e9d0c Merge pull request 'Add CompareWare link to Readme' (#3) from readme-link into main
Reviewed-on: #3
2025-03-21 13:33:17 +00:00
69430fae8a fix(db): clean up property deletion to be scoped per url 2025-03-21 16:21:19 +03:00
fe98c56872 fix(db): check if the global_item_id column exists before trying to add it. 2025-03-21 01:45:16 +03:00
12f4043e83 feat(db): add global_item_id to track items accross urls 2025-03-21 01:32:32 +03:00
9a7a8e575c Add CompareWare link to Readme 2025-03-20 12:29:44 +00:00
3126d90f5a fix(auto search): retrace my steps to resolve ownership errors 2025-03-18 23:47:47 +03:00
8c1cab3615 Merge branch 'dev' of forge.ftt.gmbh:ryanmwangi/Compware into dev 2025-03-17 22:41:42 +03:00
85dce655e4 feat(auto-search): remove search button and have autosearch while typing 2025-03-17 22:41:23 +03:00
cdca9e7faa Merge branch 'main' of forge.ftt.gmbh:ryanmwangi/Compware into main 2025-03-15 16:53:56 +03:00
5465811781 docs(README): update readme with steps of docker deployment. 2025-03-15 16:53:18 +03:00
d6d0ab18ec Merge pull request 'dev' (#2) from dev into main
Reviewed-on: #2
2025-03-15 13:33:30 +00:00
d806c0c5dc Merge branch 'main' into dev 2025-03-15 13:33:10 +00:00
3ef759e5c2 buid(docker): add deckerfile and docker-compose.toml from dev 2025-03-15 16:31:23 +03:00
f87f88db2d build(docker): update Dockerfile to use Debian Bullseye and Rust 1.83.0.
-switch from Alpine to Debian for runtime
-add wasm-bindgen-cli
-update cargo-leptos version
2025-03-14 17:35:12 +03:00
947d244326 build(docker): dockerize compareware 2025-03-13 18:04:34 +03:00
db15e33ebd docs(README): update README to reflect changes in storage of name and description input 2025-03-12 14:41:21 +03:00
32e79ea609 fix(db): don't update item_order when updating an item 2025-03-12 02:22:00 +03:00
11e4935055 fix(db): retain name and description values upon refresh 2025-03-12 01:46:17 +03:00
7e5f3400ef feat(db): store name and description inputs in the properties table other than the items table 2025-03-11 23:27:52 +03:00
414e91a825 fix(db): preserve original item_order during updates 2025-03-10 20:48:17 +03:00
896de305cc fix(db): fix the issue of order preservation.
-Added CTE (Common Table Expression) to first get ordered items
-Changed result collection from HashMap to Vec to preserve order
-Process rows sequentially while maintaining item order
2025-03-10 17:39:39 +03:00
47c87159ae feat(db): add item_order to track the order that items are saved in 2025-03-10 17:00:38 +03:00
8ac1d77e06 test(db): add logging to tests 2025-03-06 15:09:28 +03:00
6c2442a82b fix(db): edit add_selected_property fn to Insert URL if it does not exists. 2025-03-06 14:32:52 +03:00
04457fef62 build(cargo.toml): remove unused dependencies 2025-03-05 19:15:08 +03:00
db29d1e05a test(db): test for selected properties addition, retrieval and duplicate prevention. 2025-03-05 16:50:26 +03:00
c96dacaaeb test(db): add url management test and use INSERT or IGNORE to handle url duplicates 2025-03-04 23:49:05 +03:00
aa9743fd2b test(db): test existence of selected properties table 2025-03-04 23:25:29 +03:00
88c6acd7e4 test(db): add test for property management. 2025-03-04 23:17:55 +03:00
505647b432 test(db): implement database layer tests.
-set up test structure
-implement item lifetime tests
2025-03-04 18:05:18 +03:00
1b99027dbf build(test): add testing dependencies to Cargo.toml 2025-03-03 16:18:07 +03:00
d77a806fe7 docs(db): document Database schema in README.md 2025-02-27 16:27:16 +03:00
5a14111db7 fix(properties): correct property saving and fetching 2025-02-26 02:18:32 +03:00
7e288b3a82 fix(url): fix url routing 2025-02-25 19:59:52 +03:00
f51d40a4d0 docs(nostr): comment out nostr integration in app.rs 2025-02-25 17:08:39 +03:00
a47d6b2e3a fix(db): fix property and item deletion 2025-02-25 16:47:58 +03:00
0a05b41ffa fix(db): improve property handling 2025-02-25 15:07:28 +03:00
197e7be2a8 feat(db): replace item insertion with upsert operation. 2025-02-25 02:18:19 +03:00
2e0b038e2a fix(db): add transaction handling and logging for database operations. 2025-02-25 01:38:32 +03:00
b9f3214a38 fix(url): remove manual url decoding 2025-02-24 19:49:20 +03:00
bca34d1ebc fix(api): enhance the error handling in api get_items endpoint 2025-02-24 17:46:21 +03:00
c9b24faad7 fix(404 error): enhance the logging in the item loading process to diagnose the 404 error 2025-02-24 17:42:07 +03:00
03ffeb10fc fix(url): fix URL encoding mismatch 2025-02-24 15:28:47 +03:00
b3ac709526 fix(missing url): handle missing URLs gracefully 2025-02-24 10:46:13 +03:00
de14061b9a fix(item saving): fix Item Saving Error (400 Bad Request) 2025-02-24 10:27:40 +03:00
fd39e3b967 feat(url): update api calls in items_list.rs 2025-02-22 02:27:34 +03:00
ad9942a44f feat(routes): edit API routes to use URL parameter 2025-02-21 16:43:45 +03:00
585a4a6eb7 fix(debug): add logging to solve db saving issues 2025-02-21 15:11:11 +03:00