Commit Graph
61 Commits
Author SHA1 Message Date
Vikash KotharyandGitHub 07723e9cf6 Merge pull request #83 from dobefore/NoneType_41_ 2021-08-15 14:02:54 +01:00
Vikash KotharyandGitHub 43f4934de8 Merge pull request #87 from dobefore/add_basiccheck 2021-06-02 21:42:13 +01:00
dobeforeandGitHub 556f46b58a Update sync_app.py 2021-05-01 13:14:25 +08:00
dobeforeandGitHub 4c305dff88 Update sync.py 2021-05-01 13:10:59 +08:00
dobeforeandGitHub f59a53ab22 Update sync.py 2021-05-01 12:51:05 +08:00
dobeforeandGitHub 7d8c22c86d Update sync_app.py 2021-04-27 19:28:37 +08:00
Vikash Kothary f9d5d93024 Remove pyaudio dependency 2021-02-07 16:03:38 +00:00
Vikash KotharyandGitHub 44ab07fa04 Merge pull request #68 from upsuper-forks/ankisyncctl-python3
Make ankisyncctl use python3 in shebang
2021-01-05 00:35:02 +00:00
Xidorn Quan 1956986c21 Make ankisyncctl use python3 in shebang 2021-01-01 19:42:39 +11:00
Xidorn Quan afff3516c4 Comment out the first line of requirements.txt files 2021-01-01 19:38:59 +11:00
Vikash Kothary b0a62702d9 Run lock script to update requirements.txt files with webtest dependency 2020-12-23 23:30:56 +00:00
Vikash Kothary a9343028db Run lock requirements script 2020-12-23 22:46:01 +00:00
Vikash KotharyandGitHub 71a074f8f2 Merge pull request #51 from cecini/afterremshouldgravemax
Fix client add then delete item then sync issue
2020-12-23 22:21:45 +00:00
Vikash KotharyandGitHub bd3ce51d78 Merge pull request #57 from samyak-jain/arch-bug-fix 2020-12-23 22:19:30 +00:00
Vikash KotharyandGitHub f8a1fb0f9c Merge pull request #47 from cecini/upgradedepend 2020-12-06 16:58:08 +00:00
samyak-jain caf5c71b88 Fix issue with arch linux client 2020-11-29 21:23:24 +05:30
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
cecini 7639329289 Update dep anki ankirspy to 2.1.36
fix the requirements file create
2020-11-17 11:53:20 +08:00
Vikash KotharyandGitHub 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 KotharyandGitHub 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 KotharyandGitHub 1c64dc928c Merge pull request #50 from cecini/ensuremediadirexsit
Ensure mediadir exsit in the case full sync from client should be ok after delete server collection dir
2020-11-16 19:51:45 +00:00
Vikash KotharyandGitHub 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
Vikash KotharyandGitHub b3cf7ce5e5 Merge pull request #48 from cecini/remdeckcrash
Fix the remove deck lead server crash issue #28
2020-11-15 21:02:25 +00:00
Vikash KotharyandGitHub ce1e632fc3 Merge pull request #46 from cecini/enableV2scheduler
Enable  V2 scheduler
2020-11-15 20:49:58 +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 8448c6586d Enable V2 scheduler 2020-11-03 18:07:10 +08:00
cecini a8f26a5a34 Update ankisyncd _homepage 2020-11-03 18:05:32 +08:00
cecini 7a01c14729 Ensure mediadir exsit in the case
full sync ok after delete server collection dir
2020-11-03 17:48:40 +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
cecini 003e1cb471 fix checking media and delete usued media and sync issue#32 2020-10-30 17:59:34 +08:00
Karsten Lehmann f51005032a Removed explicit object parent from FullSyncManager 2020-09-02 18:53:24 +02: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 614f209f98 Removed unused post- and prehooks 2020-09-02 18:53:24 +02:00
Karsten Lehmann 6f29fce600 replaced relative with absolute import 2020-09-02 18:53:24 +02:00
Karsten Lehmann 9da0eb7773 Added anki to dependencies 2020-09-02 18:53:24 +02:00
Karsten Lehmann 75c9267ecc Fix parent initialization of SyncCollectionHandler 2020-09-02 18:53:24 +02:00
Karsten Lehmann 89dcfd6ecd ServerMediaManager extends MediaManager 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 7eff3815a4 Always downgrade the database before sync
This prevents the missing collation unicase error on the client
2020-09-02 18:53:17 +02:00
Karsten Lehmann e18e86e809 Log sanity check errors 2020-09-02 18:49:45 +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 8358b092a3 Hide the media managers db 2020-08-26 21:06:57 +02:00
Karsten Lehmann b566e32597 Removed call to load method of anki.collection.Collection
This method was removed in
a2b7a3084131f747fb476cc8a24f96a00c654859
2020-08-26 18:27:05 +02:00
Karsten Lehmann 3857f15c06 Read hostkey from GET or POST
This commit applies the fix from
https://github.com/tsudoko/anki-sync-server/pull/60/files

However it using a shorter version by utilizing the params attribute of
the webob request. The params attribute combines the get and post params
2020-08-26 18:04:29 +02:00