Commit Graph

55 Commits

Author SHA1 Message Date
Daniil Gentili
8ee71afccb Support altervista.org out of the box 2018-03-21 20:29:20 +00:00
c6ae9a9255 Update PrimeModule dependency and finish writing socket interface 2018-03-21 11:59:56 +01:00
7a0153a139
Documentation rework (#349)
* Documentation rework

* Apply fixes from StyleCI

* Documentation fixes

* Login as bot through web/cli API, allow using invite links in joinChannel, full invite links in importChatInvite and checkChatInvite, non-invite links in importChatInvite

* Apply fixes from StyleCI

* Logging fixes

* Build docs

* Add methods to modify start template, bugfix to logging and keyboard conversion

* Add TL documentator

* Document MTProto methods

* Documenting methods...

* 7% documented

* Bugfixes

* Update docs

* Update docs

* Simplify file management

* Implement automatic object conversion for media, and more awesome stuff

* Implement automatic object conversion for media, and more awesome stuff

* Implement event update handler and file upload/download callback

* Auto-detect mime type, duration, width and height of media

* Update docs

* Document new file functions

* Fix links

* Fix links

* Update bot.php to use event loop

* Implement webhook update handler and forking in main loop

* Build docs

* Better docs

* Fixes to secret chats

* Almost finished updating docs

* Bugfixes, implemented infinite loop for loop() method, almost finished docs

* Finish writing docs

* Add automatic documentation builder script

* Finished writing docs
2018-03-20 12:48:05 +01:00
12a1da2015 Implement custom mb_strlen function 2018-03-03 17:55:45 +01:00
Daniil Gentili
f3dbc898b7 Update phpseclib, fix composer.json, PHP 5 fixes, update travis CI script. 2018-02-20 14:49:54 +00:00
Daniil Gentili
38e5b6151a Use the socket extension when possible 2018-02-20 11:24:58 +00:00
Daniil Gentili
8a93db8f30 Update copyrights, and add phar creation script 2018-02-20 11:13:43 +00:00
Daniil Gentili
f2e13cdac1 Fix composer.json syntax 2018-02-18 13:33:17 +00:00
e4a326e552
Http refactor (#307)
* refactor

* Apply fixes from StyleCI

* Implement https and http transport, add support for new req_pq_multi, send pending acks and objects in containers along with the next method call, remove dependency on the socket extension.

* Apply fixes from StyleCI

* Make types with empty constructors optional, fix phar archives (fixes #217)

* Apply fixes from StyleCI

* Update to layer 75

* Update github pages gemfile.lock
2018-02-18 14:18:18 +01:00
18ee579b63
Disable rollbar 2017-12-12 11:59:18 +01:00
Daniil Gentili
ea494c3639 phpseclib bugfix (closes #204) 2017-10-06 15:38:40 +03:00
Daniil Gentili
db992039ef Update phpseclib 2017-10-05 21:27:20 +00:00
Daniil Gentili
5de64b4f61 Update phpseclib, add support for socket streams, fix localization and other bugfixes 2017-10-05 18:53:56 +03:00
danogentili
c791f2bf31 Fixed composer 2017-08-23 15:24:25 +03:00
Savely Krasovsky
64f0562a49 Fix for rollbar-js problem (#160) 2017-07-29 12:13:32 +02:00
Daniil Gentili
4fcf3b0978 Update composer.json 2017-07-24 12:55:17 +02:00
Daniil Gentili
1858b7f8c8 Fixes for windows, added requirements+++ 2017-05-29 18:57:58 +01:00
Daniil Gentili
814c030296 Composer fixes 2017-05-27 22:24:15 +01:00
Daniil Gentili
86c07f705d Performance fixes, bugfixes 2017-05-27 22:21:14 +01:00
Daniil Gentili
ab1bd5330d Add polyfill 2017-05-16 21:19:42 +01:00
Daniil Gentili
915a0cd180 Clickable buttons, thread safety (#119)
* I'll just leave this here

* Threading fixes

* Apply fixes from StyleCI

* Composer fixes

* Lots of threading fixes, included all RSA keys

* Apply fixes from StyleCI

* Updated phpseclib

* fixes

* Apply fixes from StyleCI

* final fixes

* git add -A

* Apply fixes from StyleCI

* bugfix

* Fixes

* Apply fixes from StyleCI

* Small fixes

* Final fixes

* Speed improvements

* speed fixes

* Apply fixes from StyleCI

* This is faster than sanic

* Apply fixes from StyleCI

* Final speed fixes

* Apply fixes from StyleCI

* Less logging

* Speed+++

* Apply fixes from StyleCI

* More fixes

* Bug74586Exception

* Apply fixes from StyleCI

* Fixes

* Lemme fix that dumb-ass bug that broke everything

* Apply fixes from StyleCI

* Updated rollbar token

* Fixes for other tcp_* protocols

* Apply fixes from StyleCI

* No need for phpstruct anymore

* Add a conflict (OH NOES pony warfare)

* Less logs, beginning of clickable buttons

* Apply fixes from StyleCI

* Bugfixes, fixed clickable buttons

* Apply fixes from StyleCI

* Better errors

* Apply fixes from StyleCI

* You can now click text buttons

* Apply fixes from StyleCI
2017-05-16 15:12:04 +02:00
Daniil Gentili
74acdc8810 Bugfixes 2017-05-03 10:03:51 +00:00
Daniil Gentili
e1865b8b53 More fixes 2017-05-03 09:36:55 +02:00
Birger Jarl
4bafa94644 Fixed the phpseclib requirements (#103) 2017-05-03 09:35:09 +02:00
Daniil Gentili
d5b589877a bugfix 2017-04-21 21:24:07 +02:00
Daniil Gentili
1cda4e6e3c bugfix 2017-03-25 01:07:00 +01:00
Daniil Gentili
dfd8bf93da HUGE bugfixes and code reorganization, implemented secret chats and a lua wrapper 2017-03-11 19:54:51 +01:00
danogentili
3154b97763 Bugfixes 2017-02-21 21:04:37 +03:00
Daniil Gentili
2a04787c98 Switched to native html parser 2017-02-16 20:04:57 +01:00
Daniil Gentili
12e8f1c050 Bugfixes to html parsing 2017-02-13 15:14:37 +01:00
Daniil Gentili
85b1345ad9 Switch to vcs for danog/phpseclib 2017-02-13 04:50:35 +01:00
Daniil Gentili
030c03d4b5 Use my fork of html parser 2017-02-13 04:45:12 +01:00
Daniil Gentili
c86e35645e Implemented markdown and html parsing 2017-02-13 04:33:06 +01:00
danogentili
abca755bac Bugfixes 2017-02-11 16:59:38 +03:00
Daniil Gentili
81c1bcd208 HUGE performance improvements (run composer update), started to work on threading 2017-02-11 15:16:57 +01:00
Daniil Gentili
8e9d31f06f Bugfix for php < 7 (yes I know I should make fewer commits but this is kinda urgent) 2017-02-04 00:26:19 +01:00
Daniil Gentili
7a5055c670 We cannot support php < 5.6, sorry 2017-01-28 00:39:07 +01:00
danogentili
c18bdd2793 Fixed tests, adding support for PHP 5.4 2017-01-27 15:19:16 +03:00
Vitor Mattos
36118ee452 Doc (#47)
* Implemented automatic PHPDoc generate

* fix syntax

* fix syntax

* bugfix doc

* bugfix syntax

* bufgix syntax

* Update AnnotationsBuilder.php
2017-01-22 17:40:56 +01:00
danogentili
e469f05d64 Readd support for php 5.6 2017-01-21 18:13:28 +03:00
Vitor Mattos
02c94c4049 Performance increase (#46)
* Upgrade `phpseclib/phpseclib` from `2.0.4` to `dev-master`
2017-01-21 00:20:56 +01:00
Vitor Mattos
e7f642ea4c Changes for use .env file and not a php with sensible data (#37)
* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data
2017-01-15 17:38:04 +01:00
danogentili
96efd18e13 Added first alpha of web version and fixed bugs 2017-01-01 17:12:46 +03:00
Daniil Gentili
1dca7843a9 Added instructions for dependency installation in the docs, trying to fix composer 2016-11-24 23:40:19 +00:00
danogentili
12e2b0ab8d Updated tags 2016-11-17 15:05:31 +03:00
danogentili
5a8e490e6d Updated dependencies 2016-11-17 14:27:21 +03:00
danogentili
67de600bb8 Removed useless dependencies, made logging class static, made access to the PHPStruct class static, added default_dc setting in the settings array 2016-11-15 15:39:42 +03:00
danogentili
e8ba8feb92 Starting to handle acks 2016-08-22 21:24:22 +02:00
danogentili
e7487ab60c Fixed prime module, removed dependencies from repository, adapted for hhvm. 2016-08-10 14:51:28 +02:00
danogentili
4a8826bdad Started to reorganize class 2016-08-07 23:23:10 +02:00