flan
|
59fcf9e8c1
|
Fix ankisyncctl error messages
|
2018-08-28 17:26:08 +02:00 |
|
flan
|
129647cb70
|
Move logging.basicConfig call up to include messages from imported modules
|
2018-08-28 17:16:19 +02:00 |
|
flan
|
5bcb01bd9e
|
Use predefined config locations
|
2018-08-28 17:15:40 +02:00 |
|
flan
|
ec63149d5c
|
Add GUI addon
|
2018-08-25 04:26:40 +02:00 |
|
flan
|
b96f74224b
|
Move pyaudio stuff to the bottom
|
2018-08-23 16:28:27 +02:00 |
|
flan
|
a7c230c4bb
|
Reformat addon instructions a bit
|
2018-08-23 16:19:14 +02:00 |
|
flan
|
45133a0a64
|
Add information about pyaudio
|
2018-08-23 16:10:16 +02:00 |
|
flan
|
08a2b0e779
|
Fix directory name in README
|
2018-08-22 14:45:56 +02:00 |
|
flan
|
b20c69d613
|
Clarify supported Python version
|
2018-08-22 14:45:38 +02:00 |
|
flan
|
47294d1585
|
Add more information about incompatible versions
|
2018-08-22 14:37:46 +02:00 |
|
flan
|
abb2d35bdf
|
Mention the need to have Anki installed
|
2018-08-22 14:30:47 +02:00 |
|
flan
|
5a95b62a74
|
Use python -m ankisyncd in README
|
2018-08-22 14:26:58 +02:00 |
|
flan
|
9fb00c80b9
|
Remove debug print
|
2018-08-22 14:22:54 +02:00 |
|
flan
|
ff8148b6fb
|
Add major fork changes to README
|
2018-08-20 18:51:20 +02:00 |
|
flan
|
ef39c8c385
|
Drop unsupported clients if they try to sync a v2 collection
|
2018-08-20 18:41:36 +02:00 |
|
flan
|
be7d57a1a5
|
Add Anki 2.1 instructions
|
2018-08-20 18:40:03 +02:00 |
|
flan
|
6b9aaa0a6c
|
Check client version in SyncCollectionHandler.meta
When the server sends an error response (4xx/5xx), the desktop
client displays "user friendly" error messages instead of
the actual response body.
|
2018-08-20 18:27:43 +02:00 |
|
flan
|
0b9f30adea
|
Implement applyGraves
|
2018-08-20 18:02:09 +02:00 |
|
flan
|
3e26fab3a3
|
Add methods removed in dae/anki@d6874de8
Reference: d6874de8c8
|
2018-08-20 17:03:47 +02:00 |
|
flan
|
a83e68412d
|
Remove media patch, put usnLim in server code
Since dae/anki@d6874de8, usnLim always returns -1 regardless of the
`server` attribute.
Reference: d6874de8c8
|
2018-08-20 15:44:13 +02:00 |
|
flan
|
c4fad436c1
|
Update anki-bundled to 2.1.1
|
2018-08-20 15:39:59 +02:00 |
|
flan
|
8b9961febc
|
Prefer anki-bundled if it exists
|
2018-08-20 14:44:29 +02:00 |
|
flan
|
c3024ba396
|
Make the server runnable with python3 -m ankisyncd
|
2018-08-20 14:42:40 +02:00 |
|
flan
|
82d7126425
|
Use cwd in ankisyncctl.py for now
|
2018-08-20 04:05:18 +02:00 |
|
flan
|
7ace256e0a
|
Check for protocol version before proceeding
|
2017-11-09 15:56:25 +01:00 |
|
flan
|
de7b6ec22f
|
Remove redundant try/catch block around os.makedirs()
|
2017-11-08 13:49:28 +01:00 |
|
flan
|
aae65cc5d8
|
Remove redundant else blocks
|
2017-11-08 13:43:27 +01:00 |
|
flan
|
c0ea23c307
|
Monkey patch anki at runtime
The server should work fine with /usr/share/anki now, as long as
external Anki version >= 2.1.
|
2017-11-06 23:01:08 +01:00 |
|
flan
|
2a27d78591
|
Use config specified in argv[1]
|
2017-11-06 21:06:45 +01:00 |
|
flan
|
59f28faa1e
|
Use mapping protocol access instead of legacy configparser API
|
2017-11-06 21:06:18 +01:00 |
|
flan
|
354354ca72
|
Make built-in server actually use the "host" config field
|
2017-11-06 17:36:00 +01:00 |
|
flan
|
ca106e6136
|
Clean up imports
|
2017-11-06 17:27:13 +01:00 |
|
flan
|
7d1a222501
|
Remove redundant except block
ValueError is handled in _decode_data() already
|
2017-11-06 17:06:49 +01:00 |
|
flan
|
e97a11edb4
|
Make spacing more consistent
|
2017-11-06 16:56:13 +01:00 |
|
flan
|
9ffd380e64
|
Make it possible to use hooks before and after every sync operation
Excluding media sync.
|
2017-11-05 23:34:49 +01:00 |
|
flan
|
65bef264be
|
Use int instead of str for the response code
|
2017-11-05 22:17:37 +01:00 |
|
flan
|
978b1d7371
|
Make _check_zip_data() and _adopt_media_changes_from_zip() take a ZipFile
|
2017-11-04 18:42:21 +01:00 |
|
flan
|
0e5bbf4f9e
|
Use more with statements
|
2017-11-04 18:41:56 +01:00 |
|
flan
|
1677ed38b9
|
Update comment
|
2017-11-04 17:39:37 +01:00 |
|
flan
|
af8548182b
|
Shorten MockServerConnection.post()
|
2017-11-04 17:38:29 +01:00 |
|
flan
|
c9c02d3253
|
Resolve relative paths and symlinks before opening auth/session DB
|
2017-11-04 04:22:06 +01:00 |
|
flan
|
024e76423d
|
Explicitly convert str and bytes where needed
|
2017-11-04 04:11:48 +01:00 |
|
flan
|
5aff76fee7
|
Update mock server
|
2017-11-04 03:35:55 +01:00 |
|
flan
|
3d6a2a639a
|
Remove explicit inherits from object
|
2017-11-04 02:53:52 +01:00 |
|
flan
|
95eadafb9b
|
Update anki to 7b1747d6504c9091a34793cebaa559b9fb6968df
This is the last commit that still runs on Python 3.5.
|
2017-11-04 02:53:52 +01:00 |
|
flan
|
32b82d5803
|
Fix up some changes made by 2to3
|
2017-11-04 02:53:49 +01:00 |
|
flan
|
0cc21101d7
|
2to3 everything
|
2017-11-04 02:06:42 +01:00 |
|
flan
|
c08fb74d91
|
Enable logging
|
2017-11-04 01:53:44 +01:00 |
|
flan
|
d4f7c87fb4
|
Remove debug prints
|
2017-11-04 01:44:49 +01:00 |
|
flan
|
ec83527fa4
|
Remove unused function
|
2017-11-04 01:41:45 +01:00 |
|