forked from errbotio/errbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Update to the latest version #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Fix success handling for update_repos As part of the switch to python git, the success case handling was reversed even though `0` was still meant to indicate success (formerly used to represent process exited without error). 89bce02#diff-b279f20d61152a2a99689009a59d70609c92039568c203da8c84bb56ceacd94fR287 This pull request fixes that issue and makes the code a bit more clear by using booleans rather than integers to represent the success state. * docs: Add fixes to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* reproduce bug by unittest * fix lose sub depends * fix unit tests for linux systems * add unit test from #1397 * fix codestyle * docs: Add fixes to CHANGES Co-authored-by: Ivan Novikov <[email protected]> Co-authored-by: Sijis Aviles <[email protected]>
* Reload all plugins in a repo `get_plugin_by_path` would only return the first plugin encountered in a repository. This change adds the method `get_plugins_by_path` which yields plugins as they are found. For backwards compatibility, I have not deleted the original `get_plugin_by_path` method, lest anyone use that method directly outside of this package. * docs: Add fixes to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* refactor: change default backend to Text * fix: setting default list of room occupants This should address issue #1285 * docs: Add backend change to CHANGES
* feat: add send_stream_request stub * fix: room lookup * docs: Add fixes to CHANGES
* chore: remove HipChat backend * docs: remove Hipchat references * docs: Add backend removal to CHANGES
* refactor: logic if storage plugin is open/closed Also address a small typo in attribute check in open_storage() * refactor: split test backend shutdown sequence This should workaround a thread and storage timing problem. * fix: move bot_thread to init * test: disable failed circular dependency test * docs: add test fixes to CHANGES
* Adds ability to divert all to private or thread This adds a `__magic_all__` option that you can add to either the DIVERT_TO_THREAD or DIVERT_TO_PRIVATE configuration options instead of adding each command individually. * Only use one underscore Two underscores looked great and more like the python way to do things until I saw that some fonts were putting the two underscores into a single underscore, and that would be confusing to end-users if the docs said the same thing. By using a single underscore and using the `'str' in str` method both double-underscore and single-underscore values will be acceptable. * Lint fix * style: lint * fix: rename magic string to ALL_COMMANDS * docs: add magic string to config-template * docs: Add info to CHANGES * fix: comment typo * test: add initial basic check Co-authored-by: Kirk Bater <[email protected]>
* fix: remove extra spaces in logging output * fix: formatting response * fix: include plugin name in template logging output * fix: include plugin name in log * fix: remove extra spaces * docs: Add info to CHANGES * style: format files
* Add Typing for some files * Add typing for Backends * Update changes
* style: format templates with black * style: apply formatting to config-template * docs: double quote example config parameters * style: format plugin wizard output * docs: Add info to CHANGES
* Update README.rst * docs: Add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* Adjust python version of plugins for current specs * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* fix: add deprecation notice to Slack backend * fix: add deprecation notice to SlackRTM backend * docs: Add backend deprecation to CHANGES
* chore: remove python 3.6 testing * chore: remove unneeded file * chore: remove python 3.6 support * style: format file * docs: add info to CHANGES
* Add python 3.10 to automated testing * fix: deprecated deamon thread deprecation warnings * test: disable PytestCollectionWarning warnings Co-authored-by: Sijis Aviles <[email protected]>
* Add ACL and backend documentation * Add backends to official documentation. * Update change loghttps://hub.docker.com/r/errbotio/errbot * docs: update docker url Co-authored-by: Sijis Aviles <[email protected]>
* chore: Create issue templates Updating the issue templates in project. * chore: remove old issue template * docs: add info to CHANGES * chore: remove duplicate file
* chore: pin all dependencies * docs: add info to CHANGES
* Use errbot log level with webserver for consistent logging. * Formatting fixes for failing tests. * fix: use correct PR number Co-authored-by: Sijis Aviles <[email protected]>
* Prevent infinite loop when only BOT_PREFIX passed * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* fix: typo in pinned dependency * docs: add info to CHANGES
* chore(deps): bump actions/setup-python from 2 to 3.1.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.1.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v2...v3.1.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * docs: update CHANGES Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sijis Aviles <[email protected]>
* Update Gentoo package manager support * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much. - Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/) Signed-off-by: naveensrinivasan <[email protected]>
* chore(deps): bump actions/setup-python from 3.1.0 to 3.1.2 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.1.0 to 3.1.2. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v3.1.0...v3.1.2) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * ocs: add info to CHANGES Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sijis Aviles <[email protected]>
* Don't use string representation for acl matches. While fixing the documentation, I noticed that rooms are using str(room) for acl matches. `__str__` is meant to be a human-readable object representation which could be something other than the room ID - although as no one spotted this I guess that in most cases it is. This commit makes it so that rooms have an aclattr, just like people do. This can then be used to store a suitable version of the room for ACL matches. I've tried to maintain backwards compatability in two ways: 1. aclattr defaults to the old behaviour str(self) 2. the getter can detect if the room (Occupant) is a room or a str, and if it's a str use that instead. I know for the Matrix backend I'd incorrectly been returning a string and it still worked - if other backends are doing that it'll throw an exception without this mitigation. * fix typo in acl (spotted by unit tests) * code formatting to comply with black's rules * add two tests to show the acl version working * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* test: reproduce bug with wrong circular dependencies Add a new test case reproducing the problem reported in #1397 * chore: fix typos in comment and docstring * fix: activate plugins in deterministic order * test: update test case with latest changes * fix: set while at True * test: re-enable circular testing * fix: pin version * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* chore: update base python to 3.9 * feat: add minimal config * fix: set init config logging level to INFO Setting logging to INFO so it isn't overwhelming for new users. * refactor: install errbot from local, not pypi * docs: add info to CHANGES
Update CHANGES to include unreleased section
* URL not woking in README The link in 'supports markdown extras formatting' (https://pythonhosted.org/Markdown/extensions/extra.html) seems to be not woking. * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* chore(deps): bump actions/setup-python from 3.1.2 to 4.0.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.1.2 to 4.0.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v3.1.2...v4.0.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * docs: add info to CHANGES Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sijis Aviles <[email protected]>
* update telegram_messenger.py * fix: sort imports * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* chore: use py 3.9 as default for ci * chore: include docker build for master branch * docs: add info to CHANGES
* fix: only build docker when running under org * docs: add info to CHANGES
* chore: add docs build to ci * docs: add info to CHANGES * docs: fix docstring formatting warnings * docs: fix formatting in administration * docs: fix formatting in plugin sections * docs: fix pypi url references * docs: remove Google+ meta reference * docs: fix formatting/warnings for plugin dev section * docs: fix broken links * docs: use image syntax for screenshots * fix: add missing doc build deps
* Fix forward references in XMPP backend * isort imports of xmpp backend * Note fix to xmpp backend in CHANGES
* fix: remove campfire references * docs: add info to CHANGES
* Update exception if installing on Python <3.7 * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* docs: Fix a few typos There are small typos in: - docs/_static/fancybox/jquery.fancybox.js - docs/user_guide/configuration/slackv3.rst - errbot/plugin_manager.py Fixes: - Should read `systemctl` rather than `systemclt`. - Should read `subscribed` rather than `subscrbed`. - Should read `necessary` rather than `neccessary`. * docs: add info to CHANGES Co-authored-by: Sijis Aviles <[email protected]>
* feat: add entrypoint plugin lookup * feat: add entrypoint plugins * feat: add entrypoint plugin for backends * fix: ensure cli uses entrypoints to list backend plugins * refactor: use importlib instead of pkg_resources * fix: ensure plugin lookup works for py37 * test: basic entrypoint check * docs: refactor installing plugins section * docs: add info on using entrypoints * docs: add info to CHANGES
* refactor: remove slack backend * refactor: remove slack-rtm backend * test: remove slack tests * docs: remove slack and use slackv3 * chore: add slackv3 build to Dockerfile * feat: enable backend plugins directory on --init * chore: add slackv3 repo to backend image * refactor: simplify the final image * docs: fix slack refs in README * docs: add info to CHANGES
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.