Commit Graph

29 Commits

Author SHA1 Message Date
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
Karsten Lehmann
bc889958dc
Added missing fields to meta endpoint 2020-08-26 16:58:36 +02:00
Karsten Lehmann
d0f7d05b44
Ported Python Syncer from Anki source code 2020-08-26 16:44:05 +02:00
Karsten Lehmann
26d16b698a
Removed unused import 2020-08-26 16:25:03 +02:00
Karsten Lehmann
f7ae69f4e6
Removed embedded anki submodule 2020-08-26 16:22:47 +02:00
Vikash Kothary
58441cffbd Add webob as a dependency to pyproject 2020-07-30 22:18:52 +01:00
Vikash Kothary
5430b729f9 Add anki-bundled requirements to pyproject 2020-07-30 22:17:56 +01:00
Vikash Kothary
7df362bb2c Add script to lock and export requirements 2020-07-30 21:49:34 +01:00
Vikash Kothary
c4ee2da949 Move anki submodule into src folder 2020-07-30 19:59:37 +01:00
Vikash Kothary
09da3d7337 Move packages into src folder 2020-07-30 19:21:40 +01:00
jdoe0
5fe057961e Changed module name to ankisyncd 2013-10-19 00:46:55 -05:00
jdoe0
f6acc0dafb Renamed AnkiServer folder to src 2013-10-13 16:12:25 -05:00