Commit Graph

50 Commits

Author SHA1 Message Date
abd0ee5f79 wip project structure refact 2023-09-09 16:43:49 +02:00
103646828b lint, comments and interface guards on browsers 2023-09-09 16:08:34 +02:00
f941846098 add notify-send hook for demo purposes 2023-09-09 13:02:52 +02:00
45511ae352 firefox: make bookmark change timestamp calculation more clear 2023-09-09 12:29:54 +02:00
27e8e28920 more nil pointer checks, fix firefox hook calling 2023-09-09 10:32:50 +02:00
c1682e5d18 refactor
refactor
2023-09-08 11:54:42 +02:00
619d06789f firefox: refactor and use helper funcs 2023-09-06 14:24:46 +02:00
94d6880c8e firefox: clean + refactor names 2023-09-05 22:59:36 +02:00
88952a0bd7 first implementation of multi profile watching 2023-09-05 21:11:21 +02:00
7a091c5c9f global flags from global options 2023-09-05 19:45:21 +02:00
848b8ed889 update firefox tests, skip not implmented 2023-09-05 11:59:58 +02:00
511c272582 ff: refactoring 2023-02-21 03:41:07 +01:00
3ca64a016f Merge branch 'ff-profiles' into gosuki 2023-02-20 01:55:21 +01:00
7ea299deaa update doc 2023-02-20 01:55:16 +01:00
e041b65340 Refactoring + doc updates + pass Context to modules
- modules receive on Init() a context with Cli context
- Eval symlinks on profile dir
- WIP handle multiple profiles
2023-02-19 00:27:45 +01:00
95b3c8ff4d gosuki ! 2023-02-19 00:13:23 +01:00
280341d4e0 Refactoring + doc updates + pass Context to modules
- modules receive on Init() a context with Cli context
- Eval symlinks on profile dir
- WIP handle multiple profiles
2023-02-18 23:08:12 +01:00
30c6584b88 cleaned some unused code 2023-02-07 17:10:17 +01:00
1102df001c generic profile commands, modules need to implement ProfileManager
- no need to implement profile management commands for each module
- [todo] profile commands available when ProfileManager interface implemented
2023-01-31 22:21:39 +01:00
7aedcc7ee7 WIP detect modified folders + various bug fixes to folder scanning
- correctly handle spaces in folders
- better node tree traversal to build URL tags from folders/tags
- WIP detect changes in folder names and update that in local bk
2023-01-26 21:54:58 +01:00
7d355383d2 update todos, plan for using user.js for vfs lock 2023-01-11 13:44:12 +01:00
97aa76288a test fixes 2023-01-11 13:29:35 +01:00
29fb93c98a handle modified folder names 2023-01-11 12:45:56 +01:00
6112e4094b firefox modified bookmarks tests 2023-01-11 12:14:10 +01:00
83aeb079f2 wip test finding changed bookmarks and Run() 2023-01-05 22:33:01 +01:00
f8e7e5d7b8 wip load modified bookmarks 2023-01-03 14:33:02 +01:00
53d31f433e make a separate places copy for each Load/Run job, missing tests 2022-12-27 13:24:41 +01:00
45befebb76 fix parsing of bookmark tags 2022-12-26 20:56:28 +01:00
d0817797c2 ff scan bookmarks DONE 2022-12-26 19:15:00 +01:00
9a152edd8c [refactor] more logic moved to shared mozilla package
- embedding sql query files
- dotsqlx loader helper from embedded files
2022-12-15 22:15:11 +01:00
84edf35494 ff fix parent folder in bookmarks 2022-12-15 20:16:11 +01:00
a538541303 wip load ff bookmarks to tree 2022-12-15 03:22:54 +01:00
70e6ecc137 test scan urls into nodes + tag nodes 2022-12-11 23:06:49 +01:00
762414ce20 ff scan folders into tree + tests 2022-12-10 02:49:30 +01:00
5857f7e711 wip ff scan folders 2022-12-05 23:21:23 +01:00
4acef801f8 test bookmark scanning queries 2022-12-05 03:59:22 +01:00
3c317c0a8a wip testing queries 2022-12-04 21:01:53 +01:00
e63fc24289 wip testing sql quries 2022-11-24 21:25:05 +01:00
435baebccf dot sqlx use Select - wip test loading bookmarks 2022-11-22 00:05:24 +01:00
4e7ef2110b better debug/logging usinc cli flag and env variables 2022-11-17 23:03:18 +01:00
71ef7cb991 hide auto exported fields in initial config.toml 2022-11-17 22:59:02 +01:00
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
03332e89cc wip test firefox queries and bookmark loading 2022-11-07 23:17:38 +01:00
d8214566c8 Cleaner way to create new Firefox instance + refactoring 2022-11-07 22:34:01 +01:00
cc27b01b50 modules can export cli commands 2022-11-07 21:58:35 +01:00
7aa6611bd1 working FF module init/load/watch 2022-11-07 20:07:13 +01:00
00e01eaaa3 todo load ff config hooks before ff init 2022-11-01 23:17:46 +01:00
324803ed10 wip firefox as loadable module 2022-11-01 14:27:19 +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