Commit Graph

26 Commits

Author SHA1 Message Date
d03cbaee50 ff: use sqlx struct scan and enhanced merged table query
- use a single query on places.sqlite to retrieve all necessary info to
  organize and parse bookmarks

- orangized queries using dotsql(x)
- test loading query using dotsql
- Parse bk last modified timestamp + test from places.sqlite millisecond epoch
2022-11-17 00:06:02 +01:00
7aa6611bd1 working FF module init/load/watch 2022-11-07 20:07:13 +01:00
7c615ad136 WIP modular way to add browser + big refactoring
- Move every browser to it's own package
- Stop using inheritance style embedding of structs
- Use as much interfaces everywhere
- WIP: firefox package needs extensive tests
2022-10-28 00:33:20 +02:00
03d30e6704 VERY MUCH WIP big refactoring into browser modules
- inspired from golang database package and caddyserver modules
- Migrating from class style to interfaces
- FIX: browser provisioning is broken, config is not ready when the
  browser module is registered.
2022-10-23 15:08:06 +02:00
732e050058 refactoring 2022-10-07 22:17:00 +02:00
5267e5b9e6 small refactor + sqlmanager file 2022-09-20 12:11:16 +02:00
e5e38af55c fix build .com to .xyz 2020-11-06 18:50:36 +01:00
5825356f2e [firefox] partially working places.sqlite copy strategy
- when file change is detected on places.sqlite* the
sqlite files are copied to a tmp directory and bookmark
parsing happens from there.

This commit covers the base functionnality, the bookmark parsing seems
broken from the sqlx side but new bookmarks are effectivly detected.
2020-09-09 14:07:29 +01:00
8989d757f8 wip migrate to module 2020-08-12 19:14:27 +01:00
69585c2b3a move base browser to its own package 2019-03-01 19:41:44 +01:00
1641ab4e4a update todos 2019-02-22 19:52:13 +01:00
1f6db4c4aa wip unlocking locked db 2018-12-04 18:06:30 +01:00
bd5b8ee815 unit-test return the right errors for locked DBs 2018-12-04 05:02:47 +01:00
77a48ca9cb wip unlocking locked db 2018-12-04 04:34:30 +01:00
dc7b9f4b60 WIP handle locked database + unit test 2018-12-03 19:55:28 +01:00
f40de3bf8d Refactoring and interfaces for unit testing 2018-12-01 18:16:46 +01:00
80a1edc7bc wip testing DB.Init() for blocking files 2018-11-30 20:04:54 +01:00
c582337f53 wip start UnitTest and handle sqlite file lock 2018-11-30 04:15:08 +01:00
d6f7c1d3f9 unused func 2018-11-30 03:46:30 +01:00
98a0079d69 WIP use sqlx and refactor 2018-11-23 04:40:10 +01:00
2cd45617cb fix WAL journal mode after go-sqlite update 2018-11-21 11:01:15 +01:00
81798d3393 wip firefox places disk I/O bug 2018-11-20 18:33:37 +01:00
56b597a600 Doc and refactoring 2018-11-13 18:21:02 +01:00
0982d0fb6a Firefox bookmark syncing to cache 2018-11-13 17:11:16 +01:00
ea08c87f21 Pretty print debug sql 2018-11-11 18:27:56 +01:00
083ac7537a wip refactoring in packages 2018-11-09 18:25:50 +01:00