summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.cpp
AgeCommit message (Collapse)Author
2019-08-21Discord: support for offline file transfersGeorge Hazan
2019-07-24massive warning fixGeorge Hazan
2019-06-27manual access to CList/Group restrictedGeorge Hazan
2019-04-23fixes #1925 ([Discord] Guildchat information for "general" chat is stored in ↵George Hazan
the "Server" contact, resulting in history retrieval issues)
2019-03-16Discord: UseGroupChats shall be enabled by default, but disabled for new ↵George Hazan
accounts
2019-03-14fixes #1893 ([Discord] Make option to DISABLE at all group chats/channels)George Hazan
2019-03-06related to #1863 ([Discord] Make option to turn off group chats/channels ; & ↵George Hazan
add manual history sync from IMs/DMs (private chat))
2019-01-08fixes #1715 (by default account's destructor doesn't free network handle)George Hazan
2019-01-04Update copyrightsdartraiden
2018-12-28User added notifications:George Hazan
- old obsoleted ICQ-related junk like PF4_FORCEADDED & PF1_ADDED removed; - appropriate controls removed from auth dialogs and menus; - fixes #1680 (ICQ10: disable "Auth request" and "Send you are added" in "Add contact" dialog)
2018-11-27fixes #1638 ([Discord] Direct messages from temporary contacts cause the ↵George Hazan
contact to be shown as if it were a regular friend)
2018-11-23Discord:George Hazan
- fixes #1641 ([Discord] In some cases, sending a link in own message can cause that message to be attributed to conversation partner) - old perversion with storing last user id dropped; - class CDiscordMessage dropped as well, only message id is stored now; - old useless handler OnReceiveMessage also dropped; - version bump
2018-10-31Discord: subgroups usage is enabled for the new accounts onlyGeorge Hazan
2018-10-31Discord: additional option to use special sub-groups for guildsGeorge Hazan
2018-10-29Discord:George Hazan
- crash fix on exit; - fix for calling KillTimer from the worker process; - fix for disconnecting whole account when server orders to reset the gateway connection
2018-10-17Discord: fix for assigning message ids to own messagesGeorge Hazan
2018-10-13group chats:George Hazan
- GC_SHAREDUSERS removed; - SESSION_INFO::pParent used instead to collect data about shared user info - fix for SESSION_INFO::pMe calculation - Discord chats now go offline when proto goes offline
2018-10-13chat api:George Hazan
- GC_SHAREDUSERS flag added to share the same array of users for all group chats; - USERINFO.next removed; - MODULEINFO.arUsers & SESSION_INFO.arUsers introduced to maintain user lists; - MM_AddModule removed; - memory allocation model changed for MODULEINFO & SESSION_INFO - MM_CreateModule & SM_CreateSession members are added to g_chatApi
2018-10-01centralized system of processing message ids. also fixes #1375George Hazan
2018-09-21old crutch removed: error messages to go in UnicodeGeorge Hazan
2018-09-20creepy crutch removed that was adding message ids after the binary zero in ↵George Hazan
message text
2018-09-20fix for the proper return type of PROTO<>::RecvMsgGeorge Hazan
2018-04-22OnEvent(EV_PROTO_ONCONTACTDELETED) => PROTO_INTERFACE::OnContactDeletedGeorge Hazan
2018-04-21code cleaning:George Hazan
- in conformance to C++'11 rules, we don't declare a method as virtual if it's declared as override; - cause this code isn't visible in Pascal anymore, there's no need to use __cdecl calling convention for virtual methods; - since PROTO_INTERFACE is a regular C++ class, there's no need to use old style service declarations for virtual methods like OnModulesLoaded / OnShutdown
2018-04-19EV_PROTO_ONOPTIONS removed and replaced with the call of ↵George Hazan
CallObjectEventHook(pa->ppro, ME_OPT_INITIALIZE) this eliminates the possibility of making a mistake in hand-written code also fixes #1280 (Tox: "Confugure" menu item is broken)
2018-04-18g_hInstance incapulated into PLUGIN<>, no need in the separate variableGeorge Hazan
2018-04-13fixes #1262 ([Discord] Database migration causes duplication of discord ↵George Hazan
contacts)
2018-04-07Proto_GetStatus is used everywhere instead of PS_GETSTATUSGeorge Hazan
2018-03-28PFLAG_UNIQUEIDSETTING removed, its functionality transferred to ↵George Hazan
Proto_SetUniqueId / Proto_GetUniqueId
2018-03-23Clist_GroupCreate() to be called inside OnModulesLoaded, not inside the ↵George Hazan
protocol's constructor
2018-03-16entities' names to be started with capital lettersGeorge Hazan
2018-03-16always hated these long expressions: contact_iter makes them much shorterGeorge Hazan
2018-01-31useless wrappers removed & replaced with PROTO_INTERFACE method callsGeorge Hazan
2018-01-01massive copyright updatedartraiden
2017-12-29PROTO_INTERFACE::setAllContactStatuses - common code moved to the coreGeorge Hazan
2017-12-06convert all files exept curl and new_gpg to utf-8 BOM (reverted from commit ↵Kirill Volinsky
62202ed10617927d5429bc59898e12a366abe744)
2017-12-06convert all files exept curl and new_gpg to utf-8 BOMKirill Volinsky
2017-11-28Source files converted to utf-8Kirill Volinsky
2017-10-16the whole idea of customizable colors in chat considered totally uselessGeorge Hazan
2017-09-27Discord: option to hide guild chats on startupGeorge Hazan
2017-09-25fixes #766 (Discord doesn't support metacontacts)George Hazan
2017-09-21Discord: two more fixed comparisonsGeorge Hazan
2017-09-21Discord: fix for guild sorting orderGeorge Hazan
2017-08-25useless condition removedGeorge Hazan
2017-08-25fixes #845 ([Discord] Adding a new contact causes "Only bots can use this ↵George Hazan
endpoint" error)
2017-06-05minor fixes for Discord protocolGeorge Hazan
2017-06-05Discord: attempt to fix problems with unauthorized http requestsGeorge Hazan
2017-02-22Discord:George Hazan
- support for channel creation & destruction on the fly - code cleaning
2017-02-22major rework of Discord:George Hazan
- CDiscordGuild - a class to utilize all guild-related activity; - all guild related code moved to the separate module; - fix for online guild channel creation; - version bump;
2017-02-22Discord: a rusty crutch to receive updates for sent messagesGeorge Hazan