Commit Graph

350 Commits

Author SHA1 Message Date
Vikash Kothary
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 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
Vikash Kothary
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 Kothary
ce1e632fc3
Merge pull request #46 from cecini/enableV2scheduler
Enable  V2 scheduler
2020-11-15 20:49:58 +00:00
Vikash Kothary
a6294997da
Merge pull request #45 from cecini/updatehomepage
Update ankisyncd _homepage
2020-11-15 20:15:08 +00: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
Vikash Kothary
f5dca1f1e2
Merge pull request #38 from cecini/deleteusuedmedia
fix checking media and delete usued media and sync issue#32
2020-11-01 19:36:11 +00:00
Vikash Kothary
24101fd082
Merge pull request #37 from reivilibre/patch-1
Fix AnkiDroid documentation regarding 'Media sync url'
2020-11-01 19:16:16 +00:00
cecini
003e1cb471 fix checking media and delete usued media and sync issue#32 2020-10-30 17:59:34 +08:00
reivilibre
0f62973836
Fix AnkiDroid documentation wrt. Media sync url
It does not work if you do not append `/msync/`.
2020-10-28 10:52:10 +00:00
Vikash Kothary
68776c21b5
Merge pull request #25 from AlexBocken/develop
improved explanation for AnkiDroid setup
2020-09-05 10:55:23 +01:00
Alexander Bocken
4cf05f7162 improved explanation for AnkiDroid setup 2020-09-05 11:42:44 +02:00
Anton Melser
049bb042a8
Merge pull request #20 from kalehmann/patch-issue-13
Updated anki-sync-server to work with the latest version of Anki
2020-09-03 11:37:35 +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
7deda95d77
Removed whole section about ankisyncd without pyaudio from the README 2020-09-02 18:53:24 +02:00
Karsten Lehmann
65e9bbf747
Updated docs about installation of requirements 2020-09-02 18:53:24 +02:00
Karsten Lehmann
3ec37ec80f
Removed artifact from README 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
70bfaa1719
Further clarified configuration for Nginx proxy 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
75c1ea0994
Added emacs temporary files to gitignore 2020-09-02 18:53:24 +02:00
Karsten Lehmann
b0d57d3a02
Use wrapped collection in tests
That way we make sure, our ServerMediaManager is used instead
of the MediaManager
2020-09-02 18:53:24 +02:00
Karsten Lehmann
9831159653
Close whole collection instead of just the database 2020-09-02 18:53:24 +02:00
Karsten Lehmann
60f12cf0a0
file_utils test helper works with new syncer code 2020-09-02 18:53:24 +02:00
Karsten Lehmann
0ef99f3524
mock_servers test helper works with new syncer code 2020-09-02 18:53:24 +02:00
Karsten Lehmann
e2e756dcda
Removed references to unused methods 2020-09-02 18:53:24 +02:00
Karsten Lehmann
5f17eb7db9
server_utils test helper works with non-expose media db 2020-09-02 18:53:24 +02:00
Karsten Lehmann
c5bce6282f
Adapted sync app test to latest changes 2020-09-02 18:53:24 +02:00
Karsten Lehmann
2c1e5936b3
Removed test because of deprecated MediaSyncer 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
94da88a3b2
Updated media test to work with latest changes 2020-09-02 18:53:24 +02:00
Karsten Lehmann
9d67943c11
Marked test to fail because of missing _logChanges Method 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
537bbe89c9
updated readme to reflect latest changes 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