dobefore
4c305dff88
Update sync.py
2021-05-01 13:10:59 +08:00
cecini
5e56a2edcd
Fix client add then delete item then sync issue,
...
deck/card/note item must not been synced to server
after client add and delete
2020-11-17 12:13:57 +08:00
Vikash Kothary
a55d1a35ee
Merge pull request #53 from cecini/confupdatetx
...
Improve: put all config item update in one transaction
2020-11-16 19:55:40 +00:00
Vikash Kothary
77886e9374
Merge pull request #52 from cecini/confsync
...
Fix: conf should be synced to client when server mod time is newer
2020-11-16 19:54:28 +00:00
Vikash Kothary
bf0ad80dbe
Merge pull request #49 from cecini/remshouldgravemax
...
Fix: server side graves's usn need not set as -1
2020-11-16 19:47:32 +00:00
cecini
1ef3685820
Improve: put all config item update in one transaction
2020-11-04 21:16:49 +08:00
cecini
119292be5d
Fix: conf should be synced to client when server
...
mod time is newer
2020-11-04 18:37:58 +08:00
cecini
3d5d27bf6f
Fix: server side graves's usn need not set as -1
...
once client items in graves have been remove
in the server,need update graves usn as maxusn
avoid sync serve log: sanity check failed with
server: graves had usn = -1 such as issue #28
second comment
2020-11-03 17:42:58 +08:00
cecini
1d73376115
Fix the remove deck lead server crash issue #28 ,
...
the change intruduced after 3.1.28 f592672fa
2020-11-03 17:41:15 +08:00
Karsten Lehmann
e9e0645416
Removed unused sync method
2020-09-02 18:53:24 +02:00
Karsten Lehmann
0d8f3c6eea
Removed runHook calls from sync code
...
These hooks were only used on the client.
2020-09-02 18:53:24 +02:00
Karsten Lehmann
c6f82e20cd
Removed unused class MediaSyncer
2020-09-02 18:53:24 +02:00
Karsten Lehmann
471e3aead4
Removed haveDirty check from sync code
...
The dirty field does not exist in the media table anymore.
2020-09-02 18:53:24 +02:00
Karsten Lehmann
4c09c1e248
fix sanity check
2020-09-02 18:53:24 +02:00
Karsten Lehmann
93d37d6ab6
fix chunk in sync
2020-09-02 18:49:45 +02:00
Karsten Lehmann
c97a096e8a
Made sure to use ConfigManager in Syncer
2020-09-02 18:49:45 +02:00
Karsten Lehmann
d0f7d05b44
Ported Python Syncer from Anki source code
2020-08-26 16:44:05 +02:00