Hinrich mahler
b83376a3fe
Merge remote-tracking branch 'origin/master' into default_parse_mode
2019-11-15 15:07:59 +00:00
Noam Meltzer
10c9ec2313
workflow: run test-official in its own job ( #1607 )
2019-11-09 22:38:23 +02:00
Noam Meltzer
096a7c3593
Allow PRs to test ( #1606 )
2019-11-09 22:13:02 +02:00
Noam Meltzer
e9d9f01bd4
Fix windows actions ( #1605 )
...
* Stop testing with ujson
* Fix timing issue with test_delete_message
* ignore pip deprecation warning. hopefully it will fix windows+py2.7
* telegram replies to deleteing old messages are not consistent
2019-11-09 20:33:51 +02:00
Hinrich mahler
d073813fb6
Add default_disable_timeout
2019-10-27 13:45:50 +00:00
Jasmin Bom
8b4b22cc89
Implement Github Actions CI ( #1556 )
...
* Add test workflow
* Attempt github grouping
* Improve bot info fetching
- Add support for b64+json encoded github secret with all the vars
- Add bot_name and bot_username since it's needed for a proper get_me test
* Improve test workflow a lot
- Add coverage
- Install ujson
- test_official only run on in single job
- Pass bot info to pytest
* Improve github grouping by having shorter titles
* Run pytest with coverage
* Improve coverage report
* Proper exitcode behaviour for pytest
* Proper test official handling
* Proper error handling
* Skip jobqueue tests on windows
* run coverage tests even if nocoverage ones fail
* Skip messagequeue tests on windows
* Clean up to satisfy flake8
* Run meta tests
2019-10-27 14:28:33 +01:00
Bibo-Joshi
b294c92bad
question template: Add info about users' group ( #1577 )
2019-10-27 14:33:30 +02:00
Hinrich mahler
6ef7d763ae
Add default_disable_web_page_preview
2019-10-27 11:50:48 +00:00
Hinrich mahler
57306ff247
Add default_disable_notification
2019-10-27 11:31:15 +00:00
Poolitzer
264de2b7c1
Github actions - notify maintainers about changed examples ( #1555 )
2019-10-27 01:42:47 +03:00
Julian Ste
ac64027580
Fixed comments in examples ( #1566 )
2019-10-27 01:15:09 +03:00
Bibo-Joshi
34bdbc632a
Add msg_in filter (new) ( #1570 )
...
Closes #1144
2019-10-27 01:12:54 +03:00
Bibo-Joshi
bbcff96804
Doc fixes ( #1572 )
...
Fixes #1576
2019-10-27 01:04:48 +03:00
Bibo-Joshi
93449443b2
Add *args, **kwargs to Message.forward() ( #1574 )
2019-10-27 01:00:27 +03:00
Poolitzer
8cdb20a85a
updating example to V12 ( #1579 )
2019-10-27 00:51:29 +03:00
Hinrich mahler
9f9dc3ebcb
Fix Travis Error
2019-10-26 07:15:10 +00:00
Hinrich mahler
7ad277d929
Fix Codacy
2019-10-26 07:12:10 +00:00
Hinrich mahler
5e6cc254a4
Make @log preserve signature, add bots with defaults to tests
2019-10-26 06:49:27 +00:00
Jannes Höke
6fddb49af5
📝 Update section "Getting help"
2019-10-22 00:04:31 +02:00
Jannes Höke
b0aef0c718
🔀 Update issue templates ( #1569 )
...
* 📝 Update issue templates
* 👌 Update question template
* 🔥 Delete old issue template
2019-10-21 23:51:58 +02:00
Hinrich Mahler
85296c6628
Remove unneeded deletion of kwargs
2019-10-19 07:08:47 +00:00
Iulian Onofrei
88eccc6608
Add MAX_PHOTOSIZE_UPLOAD size limit constant ( #1560 )
...
* Add MAX_PHOTOSIZE_UPLOAD size limit constant
* Add the other source of the constants' values
2019-10-17 22:24:44 +02:00
Hinrich Mahler
c129a95939
Improve handling of def_p_m for Bot methods
2019-10-17 09:14:34 +00:00
Lorenzo Rossi
3d8771bbdf
🔀 Add mutex protection on ConversationHandler ( #1533 )
...
* Add mutex protection on ConversationHandler
* Remove timeout job before child update
* Make locks private
* Add conversation timeout conflict test
2019-10-17 00:03:53 +02:00
Iulian Onofrei
7152b5aaf9
Fix CONTRIBUTING.rst not to install requirements as root ( #1558 )
2019-10-16 21:50:38 +03:00
Bibo-Joshi
0af02eb59d
Merge branch 'master' into default_parse_mode
2019-10-14 21:32:58 +02:00
Hinrich Mahler
8c9fb7cce2
Remove duplicate code in Input* classes
2019-10-14 19:30:09 +00:00
Noam Meltzer
98147fce32
Bump version to v12.2.0
2019-10-14 21:12:13 +03:00
Poolitzer
e54e9f2347
moving flake config to one file ( #1546 )
2019-10-14 11:10:51 +03:00
Poolitzer
3545139dd7
adding to_dict test ( #1544 )
...
fixes #1541
2019-10-12 23:40:42 +03:00
Poolitzer
d0c27e2d46
adding 3.8 to travis and appveyor ( #1543 )
...
Fixes #1542
2019-10-12 16:12:41 +03:00
Paolo Lammens
3318239cf6
tests: refactor `test_commandhandler.py
` ( #1408 )
...
- Improved usage of fixtures
- Replaced fixtures for directly callable factories where
multiple mock objects were needed in the same test function
- Extracted fixtures where possible (in place of literals or
global constants)
- Moved some fixtures to ``conftest.py`` to be used by other
modules
- Made a common base class for both ``TestCommandHandler`` and
``TestPrefixHandler``, extracting common methods, patterns and
signatures
- The extracted patterns in test methods have been named with
leading ``_test``
- Extracted other repeatedly used test utilities into functions
(e.g. ``is_match``) and methods (e.g. ``make_default_handler``)
2019-10-12 16:11:09 +03:00
Bibo-Joshi
aadb6df271
Nested ConversationHandlers ( #1512 )
...
Fixes #405
2019-10-11 22:59:36 +03:00
Noah Evans
2cc9aac7dc
Fix Bot.to_dict to use proper first_name ( #1525 )
...
Fixes #1519
2019-10-11 22:37:28 +03:00
Trainer Jono
1d007b1b60
Fix typos in examples ( #1537 )
2019-10-11 21:10:21 +03:00
Noam Meltzer
3257148d13
travis.yaml: TEST_OFFICIAL removed from allowed_failures
...
it was originally added to allowed_failures until we completed API 4.4
support
2019-10-11 21:02:32 +03:00
Poolitzer
805a798b50
Fix CI failures due to non-backward compat attrs depndency ( #1540 )
2019-10-11 21:01:25 +03:00
Noam Meltzer
e60a42010b
Bump version to v12.1.1
2019-09-17 11:30:52 +03:00
Noam Meltzer
ae88129f0f
Revert accidental change to the git revision of the urllib3 submodule ( #1517 )
...
Fixes #1516
2019-09-17 11:25:54 +03:00
Noam Meltzer
3812251dac
small fix for documentation to compile
2019-09-13 22:31:02 +03:00
Noam Meltzer
e1193425ca
Bump version to v12.1.0
2019-09-13 22:29:06 +03:00
Joscha Götzer
ccf5e6c692
Implemented Tools for deep linking ( #1049 )
2019-09-13 22:09:05 +03:00
zeshuaro
32dd415fb8
Add instance methods to Animation and ChatPhoto ( #1489 )
...
get_file, get_small_file, get_big_file
2019-09-13 22:07:56 +03:00
Bibo-Joshi
f13aeaa2a1
Doc fixes ( #1499 )
2019-09-13 21:49:04 +03:00
Bibo-Joshi
4cd07361d1
Inline Keyboard example ( #1502 )
...
Supersedes. aka. fixes #884
2019-09-13 21:43:03 +03:00
Paolo Lammens
b38a1840b2
docs: Add info on documentation to CONTRIBUTING.rst ( #1500 )
...
I didn't find this information elsewhere in the repository;
I thought it might be useful for new contributors.
2019-09-09 10:01:04 +02:00
Bibo-Joshi
fba3cc90d9
API 4.4 small code cleanup ( #1510 )
2019-09-07 12:42:26 +03:00
Bibo-Joshi
965ad17af8
API 4.4 ( #1464 )
2019-09-06 22:41:43 +03:00
Poolitzer
d5399de99b
raise attribute errors when someone tries to assign values to chat/us… ( #1495 )
...
* raise attribute errors when someone tries to assign values to chat/user_data (closes #1402 )
* fix test
* something something not switching entirely and using a messy patch and no not anymore and argh
2019-09-05 22:48:28 +02:00
Bibo-Joshi
280306d1e9
Remove note about V12b in examples ( #1503 )
2019-09-05 13:51:26 +02:00