Commit Graph

33 Commits

Author SHA1 Message Date
23rd 69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
23rd b9c64499bd Moved code for api participants to separated file. 2021-11-26 18:00:21 +04:00
John Preston aaae5b0553 Support invite link label editing. 2021-10-29 18:31:07 +04:00
John Preston eb82664452 Use recent requester userIds from API. 2021-10-29 18:31:07 +04:00
John Preston f839c7f2bb Update API scheme on layer 134. 2021-10-29 18:31:07 +04:00
John Preston ab60628386 Usage limit and requests are mutually exclusive. 2021-10-29 18:31:06 +04:00
John Preston 8618f6d7eb Push recent requests from requests box to the bar. 2021-10-29 18:31:06 +04:00
John Preston 0dfbd5fa6e Allow processing requests from full list. 2021-10-29 18:31:06 +04:00
John Preston b4895ef730 Allow to accept / reject requests by link. 2021-10-29 18:31:06 +04:00
John Preston 3af3f85f82 Allow creating approve-only invite links. 2021-10-29 18:31:06 +04:00
John Preston 185523f66f Update API scheme to layer 134. 2021-10-29 18:31:06 +04:00
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
Ilya Fedin f25b2a2094 Apply autofixes from clazy 2021-03-13 15:25:47 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston c1fde61e03 Add admin log events about links, volumes, ttl. 2021-02-22 23:42:41 +04:00
John Preston d188ab6719 Fix other admins links management. 2021-02-22 23:42:40 +04:00
John Preston 9262b773cb Fix invite link updates handling. 2021-02-22 23:42:40 +04:00
John Preston 4153603d09 Add ability to see invite links of other admins. 2021-02-22 23:42:40 +04:00
John Preston 9d3edb785c Return rich invite links section. 2021-02-22 23:42:40 +04:00
John Preston 502a3ca70f Update API scheme to layer 124. 2021-02-22 23:42:40 +04:00
John Preston fa8dd61b02 All invite links are permanent right now. 2021-01-26 12:24:54 +04:00
John Preston 36ad24bfcd Update API scheme. 2021-01-25 17:42:02 +04:00
John Preston 50c07bfc98 Update API scheme, add view link box. 2021-01-25 16:50:58 +04:00
John Preston 819cd4a099 Allow deleting revoked invite links. 2021-01-25 16:50:58 +04:00
John Preston 144bad6c74 Update link rows in Manage Invite Links. 2021-01-25 16:50:58 +04:00
John Preston 97fb310f54 Move CalendarBox and ChooseDateTimeBox to td_ui. 2021-01-25 16:50:56 +04:00
John Preston 01ecf0ca93 Show invite links list with context menu. 2021-01-25 16:47:41 +04:00
John Preston c7b1a37722 Implement revoke of permanent link. 2021-01-25 16:47:41 +04:00
John Preston be1afb4781 Show recently joined by permanent link userpics. 2021-01-25 16:47:41 +04:00
John Preston 754dedc40e Improve permanent link edit design. 2021-01-25 16:47:40 +04:00
John Preston e5320b4b4e Implement new permanent invite link management. 2021-01-25 16:47:40 +04:00
John Preston 02ad5f2772 Update API scheme and start invite links. 2021-01-25 16:47:40 +04:00