Commit Graph

  • 6c830acf27
    Update ClientManager.cpp Luckydonald 2020-12-12 13:30:33 +01:00
  • ac7594cc53 Add getInactiveChats method code1mountain 2020-12-12 04:26:49 -08:00
  • 2982dc9426 Add getCommonChats Method code1mountain 2020-12-12 01:43:33 -08:00
  • 9e2edb4283 Optimized that for loop a bit. luckydonald 2020-12-12 05:23:15 +01:00
  • 2a9cf05910 Made that function name same for both custom vector functions. luckydonald 2020-12-12 04:56:56 +01:00
  • 4d27624fc6 Implemented the stats in the array. luckydonald 2020-12-12 04:56:17 +01:00
  • abff7003dd Applied some Clang-Tidy recommended changes. luckydonald 2020-12-12 04:35:38 +01:00
  • 1593fde9d4 Applied a patch to fix the pointer hell with std::move() luckydonald 2020-12-12 04:32:41 +01:00
  • 41f744075f Fixed some foreach loops. luckydonald 2020-12-12 03:39:26 +01:00
  • e9c71310b3 Fixed the token's string not working on some systems. luckydonald 2020-12-12 03:09:26 +01:00
  • 43da3df1f1 Fixed the cast throwing warnings because it was missing the const. luckydonald 2020-12-12 03:08:36 +01:00
  • 5572111479 Cherry picked --stats-hide-sensible-data code: "Documented the new parameter, and made it settable in the conatiners via $TELEGRAM_STAT_HIDE_SENSIBLE_DATA=1, too." luckydonald 2020-12-11 19:07:28 +01:00
  • 115d5aea10 Cherry picked --stats-hide-sensible-data code: "Finally the CLI flag for stats_hide_sensible_data." luckydonald 2020-12-11 16:04:49 +01:00
  • 741e46c32a Cherry picked --stats-hide-sensible-data code: "The webhook might have sensible data as well, let's hide it." luckydonald 2020-12-11 16:00:24 +01:00
  • 0d292144cc Cherry picked --stats-hide-sensible-data code: "stats_hide_sensible_data is a better name." luckydonald 2020-12-11 15:57:29 +01:00
  • 41de636e51 Cherry picked --stats-hide-sensible-data code: "Prepared a toggle for hiding the token from the stats." luckydonald 2020-12-11 02:02:57 +01:00
  • d0cff09c5d Cherry picked --stats-hide-sensible-data code: "Started implementing the json stats." luckydonald 2020-12-12 02:45:25 +01:00
  • 1a1be91d8c A bit of cleanup. luckydonald 2020-12-12 01:36:25 +01:00
  • b6961d29d1 This todo is now solved. luckydonald 2020-12-11 20:46:48 +01:00
  • fd887b2fe3 Documented the new parameter, and made it settable in the conatiners via $TELEGRAM_STAT_HIDE_SENSIBLE_DATA=1, too. luckydonald 2020-12-11 19:07:28 +01:00
  • 9a1bcbd81b Fixed the rename of that function. luckydonald 2020-12-11 16:55:36 +01:00
  • 2de8b3cdec Null the memory segment if there's an error. luckydonald 2020-12-11 16:23:51 +01:00
  • eef3685381 Finally the CLI flag for stats_hide_sensible_data. luckydonald 2020-12-11 16:04:49 +01:00
  • 95040333a2 The webhook might have sensible data as well, let's hide it. luckydonald 2020-12-11 16:00:24 +01:00
  • 29b62cf263 Fixed that boolean ending up there. luckydonald 2020-12-11 15:59:19 +01:00
  • cea3e0a357 stats_hide_sensible_data is a better name. luckydonald 2020-12-11 15:57:29 +01:00
  • 044ffbef17 Implemented the bot display. luckydonald 2020-12-11 15:56:32 +01:00
  • 3195de1a91 Reset the json buffer if unused. luckydonald 2020-12-11 12:59:22 +01:00
  • fe516629c3 Return the correct buffer depending on what format is needed. luckydonald 2020-12-11 12:57:54 +01:00
  • ba55a238d7 /json now returs json, everything else returns the normal text. luckydonald 2020-12-11 12:00:59 +01:00
  • 1e8cf51170 Fixed the json not cleanly ending with a }. luckydonald 2020-12-11 11:46:01 +01:00
  • 9bf1598580 Added memory and connection stats to the json. luckydonald 2020-12-11 11:45:30 +01:00
  • 752ead1832 The bots are now only a list of objects representing a score and an internal id. luckydonald 2020-12-11 11:45:04 +01:00
  • 573758a1b1 WIP for jsoning the bots. luckydonald 2020-12-11 11:24:20 +01:00
  • 6629046f50 Added a whole lot of fun stuff to get json stats working. luckydonald 2020-12-11 03:57:11 +01:00
  • 757517b323 Prepared a toggle for hiding the token from the stats. luckydonald 2020-12-11 02:02:57 +01:00
  • a73828c05b Started implementing the json stats. luckydonald 2020-12-10 23:07:18 +01:00
  • 100a7cc846
    Allow Users to use the bot api (#19) Jannik 2020-12-12 00:45:36 +01:00
  • f87fc61080 Documented --verbose. luckydonald 2020-12-12 00:33:54 +01:00
  • 0402f8d2d9 fix 2fa login code1mountain 2020-12-11 13:20:34 -08:00
  • f2ac46a347 Applied camelcase to methods, also added a subsection for commands and flags. luckydonald 2020-12-11 19:55:44 +01:00
  • f7219a7fa1 Applied camelcase to methods, also added a subsection for commands and flags. luckydonald 2020-12-11 19:17:03 +01:00
  • 86426bb624 deleting database entry when logging out code1mountain 2020-12-11 07:04:13 -08:00
  • 242d408450 fix webhook firing when upgrading code1mountain 2020-12-11 06:37:47 -08:00
  • 14bf658b86
    Documented what to do if you forgot the --recursive flag, (#21) Luckydonald 2020-12-10 22:23:16 +01:00
  • e0801649a0 Documented what to do if you forgot the --recursive flag, added code highlighting to the code blocks. luckydonald 2020-12-10 22:12:47 +01:00
  • 8cc6d61d39 Add the field InlineQuery.chat_type, which can be sent by the server in the distant future. levlam 2020-12-08 03:57:25 +03:00
  • e184e6c117 Update TDLib. Support can_manage_voice_chats administrator right. levlam 2020-12-08 03:29:19 +03:00
  • 54593deec8 fix method not allowed error code1mountain 2020-12-05 11:20:26 -08:00
  • 9448d621b8 fix check for correct api endpoint code1mountain 2020-12-05 09:21:46 -08:00
  • f5d1150965
    Remove debug commands from GitHub Actions workflow file Marco Aceti 2020-12-05 15:19:16 +01:00
  • 10c56e160d changing the name in the docs to User Mode code1mountain 2020-12-05 06:10:25 -08:00
  • 4040bca5a2 reverting unwanted changes code1mountain 2020-12-05 06:06:03 -08:00
  • 914fb29cd7 reverting unwanted changes code1mountain 2020-12-05 06:03:27 -08:00
  • efa1ca6e84 reverting unwanted changes code1mountain 2020-12-05 05:59:43 -08:00
  • 1f517ae7ac Revert "Make sure last_name is never empty" code1mountain 2020-12-05 04:58:41 -08:00
  • 1a452d634d Make sure last_name is never empty code1mountain 2020-12-05 04:00:31 -08:00
  • cf5640b923 Make user registration controllable code1mountain 2020-12-05 03:56:42 -08:00
  • bb47e5da36 Registering new user accounts with the api Jannik 2020-12-05 03:35:52 -08:00
  • 4e4bd15410 Improving docs Jannik 2020-12-05 02:04:56 -08:00
  • db95e5f98f Improving docs and reverting unwanted changes Jannik 2020-12-05 01:02:30 -08:00
  • 815d546c02 update docker entrypoint Jannik 2020-12-04 14:03:15 -08:00
  • cfe7089bc9 Merge branch 'master' of https://github.com/tdlight-team/tdlight-telegram-bot-api into user Jannik 2020-12-04 13:16:56 -08:00
  • c08b2f7759 Update Readme Jannik 2020-12-04 13:12:21 -08:00
  • 7dd6c59a12 Update Readme Jannik 2020-12-04 13:10:01 -08:00
  • 909c017e92 Restrict access to certain methods for some users if not supported. Jannik 2020-12-04 12:55:40 -08:00
  • 7e1ba7091e Restrict access to certain methods for some users if not supported. Jannik 2020-12-04 12:52:09 -08:00
  • 37b2c0c1a3 Implement --allow-users command line option Jannik 2020-12-04 12:31:00 -08:00
  • af7490a975 User support Jannik 2020-12-04 12:22:07 -08:00
  • 8f0f343203 Merge commit 'e2ae8dad02a7c0046e162e12bc0c0c077fff5d14' Andrea Cavalli 2020-12-02 23:34:56 +01:00
  • 2b034de608
    td_api::seconds::ID Jannik 2020-12-01 10:52:09 +01:00
  • a26cb469da Undo some unwanted changes Jannik 2020-11-30 12:52:59 -08:00
  • 76d7381300 Restrict access to not supported methods for users Jannik 2020-11-30 12:38:27 -08:00
  • 994863a8fc
    Password note Jannik 2020-11-30 15:15:36 +01:00
  • ca48e90c41
    Typo Fix Jannik 2020-11-30 10:37:15 +01:00
  • 27e79b7f47
    Add user-mode Jannik 2020-11-29 17:52:23 +01:00
  • 099d981aca Command-line option for User Mode Jannik 2020-11-29 06:25:11 -08:00
  • e2ae8dad02 Update version to 5.0.1. levlam 2020-11-28 21:10:53 +03:00
  • 03a8573a03 Do not update ServerCpuStat too often. levlam 2020-11-28 21:10:19 +03:00
  • 67a477f471 Update TDLib. levlam 2020-11-28 19:47:44 +03:00
  • 81b2334a31 Fix media_group_id of messages automatically forwarded to discussion group. levlam 2020-11-26 19:31:07 +03:00
  • 72b3f6ea4d Improve webhook updates delaying. levlam 2020-11-26 19:11:04 +03:00
  • 1f8116b21d Improve log messages. levlam 2020-11-26 18:09:18 +03:00
  • 8b2fc7ceda Added user support Jannik 2020-11-26 07:06:52 -08:00
  • a833e5b494
    Fix temp dir permissions Marco Aceti 2020-11-25 15:51:11 +01:00
  • ec95b6a5aa
    Hard fix docker permission (#16) matteo bocci aka matteob99 2020-11-25 15:39:54 +01:00
  • d7fffea390
    Hard fix docker permission matteo 2020-11-25 15:33:54 +01:00
  • a01dc149c4
    Merge branch 'master' of github.com:tdlight-team/tdlight-telegram-bot-api matteo 2020-11-25 15:29:55 +01:00
  • 19c38c61b3
    Various Dockerfile fixes and enhancements (#13) matteo bocci aka matteob99 2020-11-25 08:32:01 +01:00
  • 8943f285a7
    Hotfix: GitHub workflow not uploading images Marco Aceti 2020-11-25 00:29:28 +01:00
  • 1a04acb878
    fix Readme matteo 2020-11-25 00:15:27 +01:00
  • c088e45d3b
    fix docker file and add in readme matteo 2020-11-24 23:25:08 +01:00
  • 3ff813c6b5
    Merge pull request #12 from MarcoBuster/issue-7 Andrea Cavalli 2020-11-24 15:30:03 +01:00
  • 265941a12a
    Fix image exporting Marco Aceti 2020-11-24 15:23:00 +01:00
  • f047ece20c
    Don't push Docker images if the event is a pull request Marco Aceti 2020-11-24 15:15:34 +01:00
  • 9b14e5c1b8
    Merge pull request #10 from tdlight-team/issue#9 andrew-ld 2020-11-24 09:42:00 +01:00
  • 55ee7aed4a
    Skip check only if not supergroup Giuseppe Marino 2020-11-24 09:22:16 +01:00
  • fda54d44dc
    Fix build Giuseppe Marino 2020-11-24 01:12:39 +01:00
  • b99c85a726
    Allow check_message for non-member channels/SGs Giuseppe Marino 2020-11-23 23:44:34 +01:00
  • 537ccf2148 Update tdlib Andrea Cavalli 2020-11-23 17:29:55 +01:00