Skip to content

Commit bd324c2

Browse files
authored
Version 0.44.0
2 parents e2cec4c + 5614d8e commit bd324c2

File tree

13 files changed

+674
-264
lines changed

13 files changed

+674
-264
lines changed

.scrutinizer.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
filter:
2+
excluded_paths: [tests/*]
3+
4+
checks:
5+
php:
6+
remove_extra_empty_lines: true
7+
remove_php_closing_tag: true
8+
remove_trailing_whitespace: true
9+
fix_use_statements:
10+
remove_unused: true
11+
preserve_multiple: false
12+
preserve_blanklines: true
13+
order_alphabetically: true
14+
fix_php_opening_tag: true
15+
fix_linefeed: true
16+
fix_line_ending: true
17+
fix_identation_4spaces: true
18+
fix_doc_comments: true

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ matrix:
2525
notifications:
2626
on_success: never
2727
on_failure: always
28+
webhooks:
29+
on_success: always
30+
urls:
31+
secure: rnvenRUkORTYn2zdE9g0yzLZp3PtnmdL+8Dbf5tmykPsVrihYBm0h7V/A76AnNM3ZF5BiubKnu0hJ3unm0TBJMCd5HCBq2zVKKcgRqZD2AvObo52I5Z8KIc+IVujbQdEmiktgSs5R7zQSqx5VuamlVlW8anEL52t0Iwqo7/UCMa3cdMuunOZ1W9zVkhsrqJGVdSHfv7NRdXftUngUtg6CQIt/274ECL+sjdhpEZvj8qow0OUFB7heXZu11BnkPSoMkytXpGwBAN3aKiT4Of9gpvEq9mQo/7qviLEDgsy57CJiRFJj9Gc3rD5LYpGWtmIMYQYnJpY8esUxe9t/lQCfqRi6eR9PTr8XS1LYxNNaB5iifgHdKhPAXYwcxg1GFKFNTL6O1UDSe72xQmqRtdyegvWRY7ALerBLXoCl5LiwnkRtZ+4J6JaXotEcPjzypHQe7w+xn4zBA0RnX2P2XPu3zXCBM4bL63N/PzKl2UKv0gJB0rW/fTXF5of1z2lQTkDfp7tsdn2nXwH7W0y17MHKe4U9HfknrHNFwWn0gXkhBDdCo2hd25ovjJd3j4utAKPPQyl7iKsyNLlqe3xbe+TV2lfddDORFgKGrVQMZt+exGq0HdmuLimSxfutPSCHCOUHzYuddaBeh0LjF7E/6+OvJXDiJN4afyBj2Ti5A2UCG8=
2832

2933
git:
3034
depth: 1
@@ -35,14 +39,14 @@ install:
3539

3640
before_script:
3741
- mysql -u root -e 'create database telegrambot; use telegrambot; source ./vendor/longman/telegram-bot/structure.sql;'
42+
- if [[ "$COVERAGE" == "1" ]] && [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then CODECOV="1"; fi
3843

3944
script:
4045
- composer check-code
41-
- if [[ "$COVERAGE" == "1" ]] ; then composer test-cov-live; fi
42-
- if [[ "$COVERAGE" != "1" ]] ; then composer test; fi
46+
- if [[ "$CODECOV" == "1" ]]; then composer test-cov-live; else composer test; fi
4347

4448
after_success:
45-
- if [[ "$COVERAGE" == "1" ]]; then composer test-cov-upload; fi
49+
- if [[ "$CODECOV" == "1" ]]; then composer test-cov-upload; fi
4650

4751
env:
4852
global:

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
11
# Changelog
22
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
33

4+
Exclamation symbols (:exclamation:) note something of importance e.g. breaking changes. Click them to learn more.
5+
46
## [Unreleased]
7+
### Added
8+
### Changed
9+
### Deprecated
10+
### Removed
11+
### Fixed
12+
### Security
13+
14+
## [0.44.0] - 2017-05-05
15+
### Added
16+
- Ability to define custom valid IPs to access webhook.
17+
- Execute commands via cron, using `cron` action and `g` parameter.
18+
### Changed
19+
- [:exclamation:][0.44.0-bc-parameter-structure] Remodelled the parameter array to a more flexible structure.
20+
- `bot_username` and `secret` are no longer vital parameters.
21+
### Fixed
22+
- Initialise loggers before anything else, to allow logging of all errors.
23+
### Security
24+
- Enforce non-empty secret when using webhook.
525

626
## [0.43.0] - 2017-04-17
727
### Added
@@ -56,3 +76,5 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
5676
## [0.1] - 2016-08-20
5777
### Added
5878
- First minor version that contains the basic functionality.
79+
80+
[0.44.0-bc-parameter-structure]: https://github.com/php-telegram-bot/telegram-bot-manager/wiki/Breaking-backwards-compatibility#parameter-structure-changed "Parameter structure changed"

0 commit comments

Comments
 (0)