Gabriel Horner
70383cd813
fix: stop shadowing vars for rest of frontend
...
Follow up to 5ff364ba1e
2024-09-07 00:13:09 -04:00
Gabriel Horner
20eac03cea
refactor: mv common worker/frontend ns to frontend/common
...
Move common core.async, date and search utils to frontend/common.
Part of LOG-3171
2024-08-09 11:18:32 -04:00
Tienson Qin
b06b01b88b
Merge branch 'master' into feat/db
2024-01-22 12:08:37 +08:00
Tienson Qin
7f0747ca9f
start fix lint warnings and tests
2024-01-10 01:00:17 +08:00
Tienson Qin
8f8acf1d77
wip page rename
2024-01-07 16:27:11 +08:00
Andelf
ab37d30e2d
fix(sync): do not notify when logged out
2024-01-06 15:17:56 +08:00
Tienson Qin
b7d9098e80
Move gp-util and gp-config to the common dep
2024-01-03 16:38:05 +08:00
Gabriel Horner
6517f6f12a
Merge branch 'master' into feat/db
2023-11-29 09:56:12 -05:00
rcmerci
a09d158de5
enhance: validate :file/writes chan
2023-11-22 19:13:34 +08:00
Gabriel Horner
41bd76a704
Merge branch 'master' into feat/db
2023-09-07 17:52:25 -04:00
rcmerci
0cef911069
remove redundant codes
2023-09-07 21:53:26 +08:00
Andelf
c346116639
refactor(sync): start-sync loop
2023-09-07 21:53:26 +08:00
Andelf
0e4e42ac2b
fix(sync): check user refresh-token as well
2023-09-07 21:53:26 +08:00
Andelf
70cb124e8b
fix(sync): avoid check connectivity for non-sync graph
...
Close #10169
2023-09-07 21:53:26 +08:00
rcmerci
f786b6495b
add timestamp to log
2023-09-07 08:20:51 -04:00
Andelf
850bc1a89c
fix(sync): missing cross-origin handling for conn check ( #10163 )
2023-09-07 11:33:42 +08:00
Andelf
cd24919716
enhance(sync): refine network checking ( #10147 )
2023-09-06 00:18:34 +08:00
rcmerci
2d34af9f6a
Enhance(sync): serveral enhancements in sync ( #10134 )
...
* enhance(sync): 1. dont clear-tokens when refresh-token failed
2. log invalid json when fail to parse api json body,
usually, it's returned by firewall (e.g. a XML)
3. handle exceptions carefully in frontend.fs.sync
* enhance(sync): update avoid reentrancy related code
* rename exp to guard-ex
2023-09-04 17:27:51 +08:00
rcmerci
98bff93439
enhance(sync): add connectivity-testing ( #10112 )
...
* enhance(sync): add connectivity-testing
* update connectivity-testing s3 url
2023-08-31 12:20:53 +08:00
Gabriel Horner
5f91e6cf0f
Merge branch 'master' into feat/db
2023-07-24 12:21:19 -04:00
Andelf
b482a8b9b9
fix(sync): avoid alter file twice; clean up logs ( #9840 )
2023-07-18 22:06:21 +08:00
Andelf
56f52272ff
fix(sync): use empty as base when merge
2023-07-14 11:42:44 +08:00
Gabriel Horner
271b074673
Merge branch 'master' into feat/db
2023-06-28 16:16:29 -04:00
Andelf
79093a8bb7
enhance(sync): add feature switch to diff-merge
2023-06-28 00:45:00 +08:00
Andelf
4e1b7dd2c1
fix(sync): code start base of diff-merge
2023-06-27 12:09:55 +08:00
Tienson Qin
23d918dcc2
Merge branch 'master' into feat/db
2023-06-26 20:10:41 +08:00
Andelf
2c41d4a20d
chore: cleanup debug print
2023-06-26 19:20:04 +08:00
rcmerci
e11b72a7c3
fix txid update when remote->local failed, add retry-count to remote->local-full-sync
2023-06-26 19:20:04 +08:00
Andelf
4c527f5c6d
fix: wrong diff compare rules
2023-06-26 19:20:04 +08:00
Andelf
9349f1a994
chore(deps): update rsapi
2023-06-26 19:20:04 +08:00
Andelf
2e9e771387
enhance(sync): deletion handling
2023-06-26 19:20:04 +08:00
Andelf
1cc9bb72aa
feat(sync): impl 2-stage merge for mobile
2023-06-26 19:20:04 +08:00
Andelf
1c6fe4be82
enhance(sync): add merge step to update local
2023-06-26 19:20:04 +08:00
rcmerci
628a8b3826
use atom to replace some high frequency used state vars
2023-06-01 00:14:52 +08:00
Andelf
7f0457f23f
fix(android): apply url decode before fs watcher notifies
2023-05-23 17:56:30 +08:00
rcmerci
adef15d073
fix(sync): validate rsapi upload err
...
when localtime incorrect, aws s3 return "Request is not yet valid" err
2023-05-11 12:22:37 +08:00
Andelf
95c34f34ae
chore: refine error logging
2023-04-19 21:25:18 +08:00
rcmerci
b8b16548d2
fix(sync): config.edn & custom.css overwrite by remote versions ( #9138 )
...
fix(sync): config.edn & custom.css overwrite by remote versions
2023-04-18 18:00:27 +08:00
Gabriel Horner
1e9fac25e4
Add aliase and replace an outdated alias
...
Also start making node-path consistent for frontend
2023-03-30 12:57:22 +08:00
Andelf
e803e2d576
fix(sync): use fs2
2023-03-28 09:14:42 +08:00
Andelf
d666a6d35a
refactor(fs): rework on electron fs
2023-03-28 09:14:42 +08:00
Andelf
31d7c8f836
refactor(fs): use rpath
2023-03-28 09:14:42 +08:00
rcmerci
e27ea05298
enhance(sync): replace <get-remote-graph by <get-remote-txid
2023-03-27 13:52:14 +08:00
rcmerci
de2c1f7445
move all string/join used to construct paths to one place
2023-03-01 11:59:00 -05:00
Zhizhen He
25c15053d6
feat: add typos to GitHub action
...
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com >
2023-02-21 12:01:58 -05:00
rcmerci
89a3012a54
fix(dev): md/stop! will rewrite malli-kondo config.edn with {}
2023-01-31 10:15:51 -05:00
rcmerci
316dc6bc01
enhance: replace sync/sync-events-publication with pubsub/sync-events-pub
2023-01-15 13:54:21 +08:00
rcmerci
08edcb76b4
feat: add frontend.pubsub ns ( #8312 )
...
* feat: add frontend.pubsub ns
* update clj-kondo config
2023-01-12 18:07:05 +08:00
rcmerci
d36b06b171
feat(sync): trigger a remote->local when app awake from sleep
2023-01-10 21:51:17 +08:00
rcmerci
6dba93a0d7
fix(sync): incorrectly ignore unlink events
2023-01-09 22:09:40 +08:00