Кабинет

Посты канала MadelineProto | Official Channel

сначала новые

#810Текст
Просмотры334−76%к среднему
Пересылки—
Реакции—
Комментарии—
#808Текст
Просмотры1 880+37%к среднему
Пересылки—
Реакции—
Комментарии—
#802Текст
Просмотры1 620+18%к среднему
Пересылки—
Реакции—
Комментарии—
#781Видео
Просмотры1 580+16%к среднему
Пересылки—
Реакции—
Комментарии—
#779Файл
Просмотры1 850+35%к среднему
Пересылки—
Реакции—
Комментарии—
#771Текст

MadelineProto 8.11.0 https://github.com/danog/MadelineProto/releases/tag/8.11.0 Phar: https://t.me/madelineprotophar/282 What's Changed Features • Autostart the IPC server on Windows by @danog in https://github.com/danog/MadelineProto/pull/1820 • Support fake TLS MTProxy secrets (ee) (#1723) by @danog in https://github.com/danog/MadelineProto/pull/1804 Fixes • Don't block RPC errors on their report, announce our video state only when it changes by @danog in https://github.com/danog/MadelineProto/pull/1818 • Don't hang the auth key binding after a late duplicate DH answer by @danog in https://github.com/danog/MadelineProto/pull/1816 • Fix replyToMsgId of the messages we send (#1663) by @danog in https://github.com/danog/MadelineProto/pull/1790 • Fix loading sessions saved before 8.4.7 (Undefined property MTProto::$authorized) by @danog in https://github.com/danog/MadelineProto/pull/1822 • Self-restarts: use the server of a session that is served, don't wait for its lock by @danog in https://github.com/danog/MadelineProto/pull/1823 • Resolve min peers through the min database, and cached usernames that can't be used again by @danog in https://github.com/danog/MadelineProto/pull/1821 • IPC: don't spin on a dying server, close the fds of worker startups by @danog in https://github.com/danog/MadelineProto/pull/1813 • Don't bypass the proxies with direct connections when they fail by @danog in https://github.com/danog/MadelineProto/pull/1825 • Fix replaced loggers truncating logs and FLOOD_WAITs copying authorizations by @danog in https://github.com/danog/MadelineProto/pull/1828 • Require AsyncOrm 1.1.6 by @danog in https://github.com/danog/MadelineProto/pull/1826 Full Changelog: https://github.com/danog/MadelineProto/compare/8.10.0...8.11.0

Открыть в Telegram
Просмотры1 240−9%к среднему
Пересылки—
Реакции—
Комментарии—
#770Текст

MadelineProto Layer 231 https://github.com/danog/MadelineProto/releases/tag/8.10.0 What's Changed Layer • Automatic build (layer 231) by @madelineproto-autobuild[bot] in https://github.com/danog/MadelineProto/pull/1809 Features • Web UI v3: liquid glass (includes #1761) by @danog in https://github.com/danog/MadelineProto/pull/1767 • Expose location, live location and venue messages (#1593) by @danog in https://github.com/danog/MadelineProto/pull/1802 • Allow cancelling getUpdates (#1654) by @danog in https://github.com/danog/MadelineProto/pull/1801 Fixes • IPC: redundant workers exit quietly by @danog in https://github.com/danog/MadelineProto/pull/1777 • Wrap messageEntityFormattedDate, and entity types from newer layers by @danog in https://github.com/danog/MadelineProto/pull/1779 • IPC: clients wait while the session is loading by @danog in https://github.com/danog/MadelineProto/pull/1778 • Don't keep or act on calls and group calls this session never took part in by @danog in https://github.com/danog/MadelineProto/pull/1763 • Fix the conversion of Telegram Desktop sessions (#1647) by @danog in https://github.com/danog/MadelineProto/pull/1794 • Fix stale user statuses in getInfo (#1547) by @danog in https://github.com/danog/MadelineProto/pull/1793 • Fix downloadToBrowser continuing after the browser closed the connection (#1219) by @danog in https://github.com/danog/MadelineProto/pull/1798 • Fix the speed and time passed to upload and download progress callbacks (#1553) by @danog in https://github.com/danog/MadelineProto/pull/1797 • Don't reconnect from DataCenter::__wakeup by @danog in https://github.com/danog/MadelineProto/pull/1781 • Restore inherited readonly properties from their declaring class by @danog in https://github.com/danog/MadelineProto/pull/1805 • Fix IPC startup fibers doing file I/O after the client exits (UVLoop handle is already closed) by @danog in https://github.com/danog/MadelineProto/pull/1807 • Leave group calls that ended while we weren't told, like TDLib by @danog in https://github.com/danog/MadelineProto/pull/1808 • Support telegram-entities 1.1.0 (Bot API 10 entity names and whitespace) by @danog in https://github.com/danog/MadelineProto/pull/1799 Full Changelog: https://github.com/danog/MadelineProto/compare/8.9.0...8.10.0

Открыть в Telegram
Просмотры817−40%к среднему
Пересылки—
Реакции—
Комментарии—
#769Текст

• The properties removed since a session was saved are dropped when loading it, instead of being kept forever as dynamic properties (deprecated since PHP 8.2): every private call carried the state of the old libtgvoip engine. Private calls restored as running from those versions are ended. • Copying the authorization to another DC exports it again when the import fails with AUTH_BYTES_INVALID (another process of the same account exporting at the same time). • IPC: a callback returning after its call returned no longer logs "The channel was already closed!" as an error. • Plugins referenced more than once no longer cause "Undefined array key" errors, by @junwei-qu in https://github.com/danog/MadelineProto/pull/1769 • No empty hint in the 2FA password prompt when the account has none. Internal: • CI: the session tests run in parallel lanes, each with its own authorizations; the phar is built at once with the tests and released once all of them passed; the bot logs in with an exported authorization instead of its token (the build of 8.8.9 hit a FLOOD_WAIT). What's Changed Features • Add support for thumbnail to media class by @mtalaeii in https://github.com/danog/MadelineProto/pull/1594 Fixes • Fix Bot API keyboard markup conversion for MTProto Layer 231 by @xcgu in https://github.com/danog/MadelineProto/pull/1759 • Phar: give every build its own alias, so php-fpm's opcache can't run the previous release by @danog in https://github.com/danog/MadelineProto/pull/1760 • Web: end the request that starts a bot even after output was sent by @danog in https://github.com/danog/MadelineProto/pull/1765 • Drop the state of removed properties when unserializing old sessions by @danog in https://github.com/danog/MadelineProto/pull/1762 • EventHandler: plugin's internalStart returns empty array by @junwei-qu in https://github.com/danog/MadelineProto/pull/1769 • MTProto: unserialize with the default format again, so the objects of the session see it when they wake up by @danog in https://github.com/danog/MadelineProto/pull/1768 New Contributors • @junwei-qu made their first contribution in https://github.com/danog/MadelineProto/pull/1769 Full Changelog: https://github.com/danog/MadelineProto/compare/8.8.9...8.9.0

Открыть в Telegram
Просмотры780−43%к среднему
Пересылки—
Реакции—
Комментарии—
#768Текст

MadelineProto 8.9.0 https://github.com/danog/MadelineProto/releases/tag/8.9.0 MadelineProto 8.9.0 makes the thumbnails of every media downloadable, sandboxes the files served to browsers, hides the secrets typed in the CLI login, and fixes clicking keyboard buttons, the forum topic methods, the phar updates on php-fpm and several session, update loop and IPC issues. Features: • Thumbnails are media: Media::$thumbs and Media::$videoThumbs now hold Thumbnail and VideoThumbnail objects, which can be downloaded, streamed, linked with getDownloadLink() and reused as upload sources or as thumb:, with bot API file IDs, by @mtalaeii in https://github.com/danog/MadelineProto/pull/1594 and @danog. The stripped or cached size of a media, and the thumbnail of secret chat media, is an InlineThumbnail in $thumbs too, served from memory without contacting Telegram (it replaces $thumb, $thumbWidth and $thumbHeight). Photos get width and height, and sticker thumbnails are WEBP. • New Files::setSandboxDownloads() setting, to turn off the sandboxing of the files served to browsers (see below), for websites serving trusted files that must be shown as their pages (HTML, SVG, PDF...). • The CLI login hides the bot token, API hash, 2FA password and login code as they're typed (bot tokens only show their bot ID), like the web login, which now also hides the token, the code and the API hash. Fixes: • Files served to browsers can't run as pages of the website serving them: the download script (getDownloadLink()) and downloadToResponse() used the MIME type and the name given by whoever sent the file on Telegram, or by the query string of the download script, so a link could serve HTML with scripts from the website hosting the download script, and a quote in the name broke out of the Content-Disposition header. Every file is now served with Content-Security-Policy: sandbox, X-Content-Type-Options: nosniff and a normalized MIME type; only media (images but SVG, video, audio) and plain text are shown inline, everything else is downloaded as an attachment, and the name is escaped. • Clicking the buttons of received keyboards works again: since layer 229 (8.8.8), buttons carry their action in their type, and Button::click() did nothing. • Bot API keyboards are converted correctly by @xcgu in https://github.com/danog/MadelineProto/pull/1759 and @danog: games, poll requests without a type, forward_text, the rows after the first one, and inline buttons without an action (now refused with an explicit error). • createTopic(), editTopic(), openTopic(), closeTopic() and deleteTopic() of group messages always failed: they called forum methods that left the layer. Calls of the old channels.* forum methods are now sent as the messages.* ones. DialogSetChatWallPaper gets the right $same and a new $forBoth, and the peer of help.promoData is extracted. • Phar updates on php-fpm with opcache.validate_timestamps=0: once a new release was downloaded, opcache kept running the code of the previous one, which saw that an update was required on every request, until php-fpm was restarted. Every phar build now has its own alias, and madeline.php is invalidated in opcache once rewritten. • The phar no longer waits up to 18 seconds at startup when phar.madelineproto.xyz can't be reached. • The web request that starts a bot is ended even when something was output before (an echo in onStart(), a warning with display_errors=On): the client waited for as long as the bot ran, in https://github.com/danog/MadelineProto/pull/1765. • A timeout of help.getCdnConfig in the update loops no longer ends the process. • Sessions saved while waiting for the state of a connection failed after loading with "Typed property AsyncWaiter::$waitFor must not be accessed before initialization", and a state reached twice during a wait threw "Operation is no longer pending".

Открыть в Telegram
Просмотры847−38%к среднему
Пересылки—
Реакции—
Комментарии—
#761Текст
Просмотры1 360−1%к среднему
Пересылки—
Реакции—
Комментарии—