Commit Graph

77 Commits

Author SHA1 Message Date
Vikash Kothary
153ac4227a refactor: Move backward compatible argument handling into config loader 2022-10-14 22:58:50 +01:00
Vikash Kothary
1402321e00 refactor: Move logger into util 2022-10-14 22:49:39 +01:00
Vikash Kothary
3448edf5d7 refactor: move simple server into standalone file 2022-10-14 22:42:35 +01:00
Vikash Kothary
f6a7c21420 refactor: Move imports to the top of the file 2022-10-14 20:55:08 +01:00
Vikash Kothary
ed5d6477d8 refactor: Move main function into cli entrypoint 2022-10-14 20:54:05 +01:00
Vikash Kothary
684b4a2e13 lint: Auto-format code using black 2022-10-14 20:07:21 +01:00
dobefore
16fbf6e27f modification to full_sync.py
add type hint to def upload
2022-03-08 22:18:11 +00:00
dobefore
d8cf779105 modification to sync.py
add a guard case to def finish
remove redundant blank line of def sanityCheck
2022-03-08 22:18:11 +00:00
dobefore
a53d85a75a try to resolve conflicts 2022-03-08 22:18:11 +00:00
dobefore
6f39243bd0 remove commented code 2022-03-08 22:18:11 +00:00
dobefore
a506785273 request change and readme modification 2022-03-08 22:18:11 +00:00
dobefore
744a9641f5 class Requests as decorator to decorate SyncApp 2022-03-08 22:18:11 +00:00
dobefore
03bfd123c7 dec not finished 2022-03-08 22:18:11 +00:00
dobefore
c7b1c0c358 fix_duecounts_not_equal_due_to_diff_deck_selection 2022-03-08 22:18:11 +00:00
dobefore
619f0722ee remove_unnessary_print 2022-03-08 22:18:11 +00:00
dobefore
b9f081af77 fix_col_return_type_mismatch 2022-03-08 22:18:11 +00:00
dobefore
fcc7a0645f replace_deprecated_fn_log 2022-03-08 22:18:11 +00:00
dobefore
0eaf60feca revise_parse_req_to_correctly_parse_chunked_data 2022-03-08 22:18:11 +00:00
dobefore
cdfa5c4191 rewrite_parse_chunked_req 2022-03-08 22:18:11 +00:00
dobefore
443f3b6fe3 api_replace 2022-03-08 22:18:11 +00:00
dobefore
e4e9c51267 sync_seccess_in_44and46 2022-03-08 22:18:11 +00:00
dobefore
92af6e21bf revise_parse_request 2022-03-08 22:18:11 +00:00
dobefore
c95ea86a3b fix_upload_block_process 2022-03-08 22:18:11 +00:00
dobefore
0409ff9592 fix_sanityCheck2_return_params_error 2022-03-08 22:18:11 +00:00
dobefore
078269df88 seems_to_fix_parse_chunked_data 2022-03-08 22:18:11 +00:00
dobefore
dde758857e can_upload_on_ankidroid 2022-03-08 22:18:11 +00:00
dobefore
1e85c11ab0 add_str_method_to_Mdict 2022-03-08 22:18:11 +00:00
dobefore
6a71fc3ca5 fix_repeat_is_list 2022-03-08 22:18:11 +00:00
dobefore
388ca82466 Update sync_app.py 2022-03-08 22:18:11 +00:00
dobefore
9279ccd35d remove_unused_import 2022-03-08 22:18:11 +00:00
dobefore
1c21733ef2 enable_chunked_transfer_encoding_without_browser 2022-03-08 22:18:11 +00:00
Vikash Kothary
83b11079c3 lint: Add line break 2022-02-06 15:40:30 +00:00
Vikash Kothary
07723e9cf6
Merge pull request #83 from dobefore/NoneType_41_ 2021-08-15 14:02:54 +01:00
Vikash Kothary
43f4934de8
Merge pull request #87 from dobefore/add_basiccheck 2021-06-02 21:42:13 +01:00
dobefore
556f46b58a
Update sync_app.py 2021-05-01 13:14:25 +08:00
dobefore
4c305dff88
Update sync.py 2021-05-01 13:10:59 +08:00
dobefore
f59a53ab22
Update sync.py 2021-05-01 12:51:05 +08:00
dobefore
7d8c22c86d
Update sync_app.py 2021-04-27 19:28:37 +08:00
Vikash Kothary
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
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
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
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
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