You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Patrick Peng Sun bf877b2a46 remove debug test stuff 8 anni fa
.vscode initial commit 8 anni fa
media_for_test add music thumb for test 8 anni fa
sample_data add calendar and meeting sample data. 8 anni fa
.gitignore ignore wechat_hitxy 8 anni fa
accessToken.go added networking access fatal error message 8 anni fa
accessToken_test.go using global setup for all test cases introducing TestMain 8 anni fa
chatSession.go check expired session. 8 anni fa
chatSession_test.go chat session re-invented. 8 anni fa
chatState.go change test user to 刘建明 8 anni fa
chatState_test.go remove outdated test 8 anni fa
common_test.go signature for intra api using token signature and nonance timestamp , TestGetAccessToken worked. 8 anni fa
config.go read CRM wechat API from different config file 8 anni fa
configCRM.go comments for cache 8 anni fa
configIntraApi.go signature for intra api using token signature and nonance timestamp , TestGetAccessToken worked. 8 anni fa
crmAttachment.go crmd prefix for all crm related data structure 8 anni fa
crmAttachment_test.go crmd prefix for all crm related data structure 8 anni fa
crmEntity.go common field for crmLead removed from structure. 8 anni fa
crmEntityBase.go common field for crmLead removed from structure. 8 anni fa
crmEntityBase_test.go EntityBase is described as base element for all other custom elements. 8 anni fa
crmEntitySubscribe.go subscribe, customer entity basic field, openID and subscribed, test passed 8 anni fa
crmEntitySubscribe_test.go testing timeing format convert function. 8 anni fa
crmEntity_test.go using non-matching email to avoid conflicts with existing record. 8 anni fa
crmLead.go import existing Wechat User 8 anni fa
crmLeadStream.go centralize URL building for CRM API 8 anni fa
crmLeadStream_test.go centralize URL building for CRM API 8 anni fa
crmLead_test.go import existing Wechat User 8 anni fa
crm_config.json Attachment local cache path has been renamed from PathConfig to AttachmentCache in CRMConfig 8 anni fa
crmpixel.go remove debug test stuff 8 anni fa
crmpixel_test.go redirect handler tested. 8 anni fa
customMenu.go added home page and changed click to scan and photo command 8 anni fa
customMenu_test.go using global setup for all test cases introducing TestMain 8 anni fa
download.go download file get correct suffix 8 anni fa
download_test.go material count download is successful 8 anni fa
encrypt_test.go using global setup for all test cases introducing TestMain 8 anni fa
errorHttp.go error http can detect duplicate crm records now. 8 anni fa
errorHttp_test.go test analysis reason 8 anni fa
eventSubscribe.go registerUser signature changed to simple openID 8 anni fa
eventSubscribe_test.go registerUser signature changed to simple openID 8 anni fa
fileinfo.go crmd prefix for all crm related data structure 8 anni fa
fileinfo_test.go test mime type 8 anni fa
inEvent.go first test case passed 8 anni fa
inMsg.go added scancode-Info and scan-Pics-info for event scan and upload pics. 8 anni fa
inMsg_test.go using global setup for all test cases introducing TestMain 8 anni fa
intrapi_config.json signature for intra api using token signature and nonance timestamp , TestGetAccessToken worked. 8 anni fa
kfsend.go try nick name test 8 anni fa
kfsend_test.go using global setup for all test cases introducing TestMain 8 anni fa
kfuser.go kf user nick name to acc id has been tested. 8 anni fa
kfuser_test.go using global setup for all test cases introducing TestMain 8 anni fa
latlong.go all longtitude latitude functions 8 anni fa
main.go move redirec to crmpixel ,as they both emphasis on auth cookies. 8 anni fa
material.go article test case nexted structure worked. 8 anni fa
material_test.go using global setup for all test cases introducing TestMain 8 anni fa
mediaID.go added TODO tag 8 anni fa
menu.json default menu in json 8 anni fa
messageEncrypt.go first test case passed 8 anni fa
outMsg.go download file get correct suffix 8 anni fa
outMsg_test.go using global setup for all test cases introducing TestMain 8 anni fa
outTemplateMsg.go 12 template, tests all done. 8 anni fa
outTemplateMsg_test.go using global setup for all test cases introducing TestMain 8 anni fa
procDummy.go added unique procname identifier for each procedure 8 anni fa
procEcho.go added voice command 8 anni fa
procGetBasicUserInfo.go added unique procname identifier for each procedure 8 anni fa
procedure.go revise proc interface to include sessionData 8 anni fa
qrcode.go qrcode generating tested. and worked 8 anni fa
qrcode_test.go using global setup for all test cases introducing TestMain 8 anni fa
randomstring.go random string facility moved to standalone file. 8 anni fa
serveCommand.go remove duplicate reply test. 8 anni fa
serveEvents.go create qr api call tested. 8 anni fa
server.go test url with abc 8 anni fa
server_config.json move public account id to config 8 anni fa
server_test.go qrcode generating tested. and worked 8 anni fa
sessionManager.go remove debug msg 8 anni fa
sync_wechat_token.sh bug fix in startJob, we should not assign s back to m.sessions[openID] as it conflicts with sessionmanager with 'counter' attribute. 8 anni fa
todo.tasks added API call error message retrieval (not tested) 8 anni fa
upload.go crmSearchLead -> crmdSearchLead 8 anni fa
upload_test.go using global setup for all test cases introducing TestMain 8 anni fa
uploadwechathitxy.sh build and upload to wechat_hitxy location 8 anni fa
wechatApiError.go change test user to 刘建明 8 anni fa
wechatMsg.go safeguard more than 1 reply panic 8 anni fa