Commit graph

3933 commits

Author SHA1 Message Date
bsiegert
f6095694fd Revbump all Go packages after go115 update 2021-03-19 17:36:46 +00:00
nia
91ee2cee2f srain: update to 1.2.0
2021-02-28 Version 1.2.0
========================

- Features:

  - Switch build system from Make to Meson
  - Add FreeBSD implementations for ``srn_get_executable_{path,dir}``,
    thanks to :people:`wahjava`
  - Add ``/quote`` command for sending special IRC commands,
    thanks to :people:`hno`
  - Add support for hiding server buffer


- Bug fixes:

   - Fix an use-after-free BUG
   - Fix implicit declaration error on some systems,
     thanks to :people:`lgbaldoni`
2021-03-17 15:32:24 +00:00
kleink
cc4e92d640 ircII: PLIST: Add missing refresh_window_lastlog help (from 20210314). 2021-03-15 16:40:15 +00:00
mrg
a6252c7435 update to ircii 20210314. changes include:
o  fix two memory leaks, one from michael ortmann <ortmann@posteo.de>
  o  fixes for various issues by michael ortmann <ortmann@posteo.de>
  o  new --with-sanitizer=<asan|ubsan|lsan> configure support
  o  many fixes for fuzzer and sanitizer found issues
  o  the $IRCSERVERS variable no longer triggers some library asserts
  o  avoid displaying negative hours/minutes
  o  fix a potential messages goes to wrong window issue in numerics
2021-03-15 05:30:14 +00:00
js
51f0ef68f6 Update chat/matrix-synapse to 1.29.0
Synapse 1.29.0 (2021-03-08)
===========================

Note that synapse now expects an `X-Forwarded-Proto` header when used with a reverse proxy. Please see [UPGRADE.rst](UPGRADE.rst#upgrading-to-v1290) for more details on this change.


No significant changes.


Synapse 1.29.0rc1 (2021-03-04)
==============================

Features
--------

- Add rate limiters to cross-user key sharing requests. ([\#8957](https://github.com/matrix-org/synapse/issues/8957))
- Add `order_by` to the admin API `GET /_synapse/admin/v1/users/<user_id>/media`. Contributed by @dklimpel. ([\#8978](https://github.com/matrix-org/synapse/issues/8978))
- Add some configuration settings to make users' profile data more private. ([\#9203](https://github.com/matrix-org/synapse/issues/9203))
- The `no_proxy` and `NO_PROXY` environment variables are now respected in proxied HTTP clients with the lowercase form taking precedence if both are present. Additionally, the lowercase `https_proxy` environment variable is now respected in proxied HTTP clients on top of existing support for the uppercase `HTTPS_PROXY` form and takes precedence if both are present. Contributed by Timothy Leung. ([\#9372](https://github.com/matrix-org/synapse/issues/9372))
- Add a configuration option, `user_directory.prefer_local_users`, which when enabled will make it more likely for users on the same server as you to appear above other users. ([\#9383](https://github.com/matrix-org/synapse/issues/9383), [\#9385](https://github.com/matrix-org/synapse/issues/9385))
- Add support for regenerating thumbnails if they have been deleted but the original image is still stored. ([\#9438](https://github.com/matrix-org/synapse/issues/9438))
- Add support for `X-Forwarded-Proto` header when using a reverse proxy. ([\#9472](https://github.com/matrix-org/synapse/issues/9472), [\#9501](https://github.com/matrix-org/synapse/issues/9501), [\#9512](https://github.com/matrix-org/synapse/issues/9512), [\#9539](https://github.com/matrix-org/synapse/issues/9539))


Bugfixes
--------

- Fix a bug where users' pushers were not all deleted when they deactivated their account. ([\#9285](https://github.com/matrix-org/synapse/issues/9285), [\#9516](https://github.com/matrix-org/synapse/issues/9516))
- Fix a bug where a lot of unnecessary presence updates were sent when joining a room. ([\#9402](https://github.com/matrix-org/synapse/issues/9402))
- Fix a bug that caused multiple calls to the experimental `shared_rooms` endpoint to return stale results. ([\#9416](https://github.com/matrix-org/synapse/issues/9416))
- Fix a bug in single sign-on which could cause a "No session cookie found" error. ([\#9436](https://github.com/matrix-org/synapse/issues/9436))
- Fix bug introduced in v1.27.0 where allowing a user to choose their own username when logging in via single sign-on did not work unless an `idp_icon` was defined. ([\#9440](https://github.com/matrix-org/synapse/issues/9440))
- Fix a bug introduced in v1.26.0 where some sequences were not properly configured when running `synapse_port_db`. ([\#9449](https://github.com/matrix-org/synapse/issues/9449))
- Fix deleting pushers when using sharded pushers. ([\#9465](https://github.com/matrix-org/synapse/issues/9465), [\#9466](https://github.com/matrix-org/synapse/issues/9466), [\#9479](https://github.com/matrix-org/synapse/issues/9479), [\#9536](https://github.com/matrix-org/synapse/issues/9536))
- Fix missing startup checks for the consistency of certain PostgreSQL sequences. ([\#9470](https://github.com/matrix-org/synapse/issues/9470))
- Fix a long-standing bug where the media repository could leak file descriptors while previewing media. ([\#9497](https://github.com/matrix-org/synapse/issues/9497))
- Properly purge the event chain cover index when purging history. ([\#9498](https://github.com/matrix-org/synapse/issues/9498))
- Fix missing chain cover index due to a schema delta not being applied correctly. Only affected servers that ran development versions. ([\#9503](https://github.com/matrix-org/synapse/issues/9503))
- Fix a bug introduced in v1.25.0 where `/_synapse/admin/join/` would fail when given a room alias. ([\#9506](https://github.com/matrix-org/synapse/issues/9506))
- Prevent presence background jobs from running when presence is disabled. ([\#9530](https://github.com/matrix-org/synapse/issues/9530))
- Fix rare edge case that caused a background update to fail if the server had rejected an event that had duplicate auth events. ([\#9537](https://github.com/matrix-org/synapse/issues/9537))


Improved Documentation
----------------------

- Update the example systemd config to propagate reloads to individual units. ([\#9463](https://github.com/matrix-org/synapse/issues/9463))


Internal Changes
----------------

- Add documentation and type hints to `parse_duration`. ([\#9432](https://github.com/matrix-org/synapse/issues/9432))
- Remove vestiges of `uploads_path` configuration setting. ([\#9462](https://github.com/matrix-org/synapse/issues/9462))
- Add a comment about systemd-python. ([\#9464](https://github.com/matrix-org/synapse/issues/9464))
- Test that we require validated email for email pushers. ([\#9496](https://github.com/matrix-org/synapse/issues/9496))
- Allow python to generate bytecode for synapse. ([\#9502](https://github.com/matrix-org/synapse/issues/9502))
- Fix incorrect type hints. ([\#9515](https://github.com/matrix-org/synapse/issues/9515), [\#9518](https://github.com/matrix-org/synapse/issues/9518))
- Add type hints to device and event report admin API. ([\#9519](https://github.com/matrix-org/synapse/issues/9519))
- Add type hints to user admin API. ([\#9521](https://github.com/matrix-org/synapse/issues/9521))
- Bump the versions of mypy and mypy-zope used for static type checking. ([\#9529](https://github.com/matrix-org/synapse/issues/9529))
2021-03-14 21:21:13 +00:00
adam
3436d66515 Use Pillow as versioned dependency 2021-03-10 18:49:06 +00:00
jperkin
7689c70e25 ejabberd: Install bash completion correctly. 2021-03-10 16:44:21 +00:00
wiz
f2600ea46c libpurple: adapt for nss change 2021-03-10 11:50:26 +00:00
leot
c8b222afaf py-hangups: Update to 0.4.13
Changes:
0.4.13
------
 - add --keep-emoticons
 - drop support for Python 3.5
 - add support for Python 3.9
 - show message when image is not found
 - return ConversationEvent from Conversation methods
 - add new Conversation methods
 - add group link sharing support to Conversation
 - add canonical_email to user.User
2021-03-08 21:28:27 +00:00
js
b395d9852b Update chat/matrix-synapse to 1.28.0
Synapse 1.28.0 (2021-02-25)
===========================

Note that this release drops support for ARMv7 in the official Docker images, due to repeated problems building for ARMv7 (and the associated maintenance burden this entails).

This release also fixes the documentation included in v1.27.0 around the callback URI for SAML2 identity providers. If your server is configured to use single sign-on via a SAML2 IdP, you may need to make configuration changes. Please review [UPGRADE.rst](UPGRADE.rst) for more details on these changes.


Internal Changes
----------------

- Revert change in v1.28.0rc1 to remove the deprecated SAML endpoint. ([\#9474](https://github.com/matrix-org/synapse/issues/9474))


Synapse 1.28.0rc1 (2021-02-19)
==============================

Removal warning
---------------

The v1 list accounts API is deprecated and will be removed in a future release.
This API was undocumented and misleading. It can be replaced by the
[v2 list accounts API](https://github.com/matrix-org/synapse/blob/release-v1.28.0/docs/admin_api/user_admin_api.rst#list-accounts),
which has been available since Synapse 1.7.0 (2019-12-13).

Please check if you're using any scripts which use the admin API and replace
`GET /_synapse/admin/v1/users/<user_id>` with `GET /_synapse/admin/v2/users`.


Features
--------

- New admin API to get the context of an event: `/_synapse/admin/rooms/{roomId}/context/{eventId}`. ([\#9150](https://github.com/matrix-org/synapse/issues/9150))
- Further improvements to the user experience of registration via single sign-on. ([\#9300](https://github.com/matrix-org/synapse/issues/9300), [\#9301](https://github.com/matrix-org/synapse/issues/9301))
- Add hook to spam checker modules that allow checking file uploads and remote downloads. ([\#9311](https://github.com/matrix-org/synapse/issues/9311))
- Add support for receiving OpenID Connect authentication responses via form `POST`s rather than `GET`s. ([\#9376](https://github.com/matrix-org/synapse/issues/9376))
- Add the shadow-banning status to the admin API for user info. ([\#9400](https://github.com/matrix-org/synapse/issues/9400))


Bugfixes
--------

- Fix long-standing bug where sending email notifications would fail for rooms that the server had since left. ([\#9257](https://github.com/matrix-org/synapse/issues/9257))
- Fix bug introduced in Synapse 1.27.0rc1 which meant the "session expired" error page during SSO registration was badly formatted. ([\#9296](https://github.com/matrix-org/synapse/issues/9296))
- Assert a maximum length for some parameters for spec compliance. ([\#9321](https://github.com/matrix-org/synapse/issues/9321), [\#9393](https://github.com/matrix-org/synapse/issues/9393))
- Fix additional errors when previewing URLs: "AttributeError 'NoneType' object has no attribute 'xpath'" and "ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.". ([\#9333](https://github.com/matrix-org/synapse/issues/9333))
- Fix a bug causing Synapse to impose the wrong type constraints on fields when processing responses from appservices to `/_matrix/app/v1/thirdparty/user/{protocol}`. ([\#9361](https://github.com/matrix-org/synapse/issues/9361))
- Fix bug where Synapse would occasionally stop reconnecting to Redis after the connection was lost. ([\#9391](https://github.com/matrix-org/synapse/issues/9391))
- Fix a long-standing bug when upgrading a room: "TypeError: '>' not supported between instances of 'NoneType' and 'int'". ([\#9395](https://github.com/matrix-org/synapse/issues/9395))
- Reduce the amount of memory used when generating the URL preview of a file that is larger than the `max_spider_size`. ([\#9421](https://github.com/matrix-org/synapse/issues/9421))
- Fix a long-standing bug in the deduplication of old presence, resulting in no deduplication. ([\#9425](https://github.com/matrix-org/synapse/issues/9425))
- The `ui_auth.session_timeout` config option can now be specified in terms of number of seconds/minutes/etc/. Contributed by Rishabh Arya. ([\#9426](https://github.com/matrix-org/synapse/issues/9426))
- Fix a bug introduced in v1.27.0: "TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType." related to the user directory. ([\#9428](https://github.com/matrix-org/synapse/issues/9428))


Updates to the Docker image
---------------------------

- Drop support for ARMv7 in Docker images. ([\#9433](https://github.com/matrix-org/synapse/issues/9433))


Improved Documentation
----------------------

- Reorganize CHANGELOG.md. ([\#9281](https://github.com/matrix-org/synapse/issues/9281))
- Add note to `auto_join_rooms` config option explaining existing rooms must be publicly joinable. ([\#9291](https://github.com/matrix-org/synapse/issues/9291))
- Correct name of Synapse's service file in TURN howto. ([\#9308](https://github.com/matrix-org/synapse/issues/9308))
- Fix the braces in the `oidc_providers` section of the sample config. ([\#9317](https://github.com/matrix-org/synapse/issues/9317))
- Update installation instructions on Fedora. ([\#9322](https://github.com/matrix-org/synapse/issues/9322))
- Add HTTP/2 support to the nginx example configuration. Contributed by David Vo. ([\#9390](https://github.com/matrix-org/synapse/issues/9390))
- Update docs for using Gitea as OpenID provider. ([\#9404](https://github.com/matrix-org/synapse/issues/9404))
- Document that pusher instances are shardable. ([\#9407](https://github.com/matrix-org/synapse/issues/9407))
- Fix erroneous documentation from v1.27.0 about updating the SAML2 callback URL. ([\#9434](https://github.com/matrix-org/synapse/issues/9434))


Deprecations and Removals
-------------------------

- Deprecate old admin API `GET /_synapse/admin/v1/users/<user_id>`. ([\#9429](https://github.com/matrix-org/synapse/issues/9429))


Internal Changes
----------------

- Fix 'object name reserved for internal use' errors with recent versions of SQLite. ([\#9003](https://github.com/matrix-org/synapse/issues/9003))
- Add experimental support for running Synapse with PyPy. ([\#9123](https://github.com/matrix-org/synapse/issues/9123))
- Deny access to additional IP addresses by default. ([\#9240](https://github.com/matrix-org/synapse/issues/9240))
- Update the `Cursor` type hints to better match PEP 249. ([\#9299](https://github.com/matrix-org/synapse/issues/9299))
- Add debug logging for SRV lookups. Contributed by @Bubu. ([\#9305](https://github.com/matrix-org/synapse/issues/9305))
- Improve logging for OIDC login flow. ([\#9307](https://github.com/matrix-org/synapse/issues/9307))
- Share the code for handling required attributes between the CAS and SAML handlers. ([\#9326](https://github.com/matrix-org/synapse/issues/9326))
- Clean up the code to load the metadata for OpenID Connect identity providers. ([\#9362](https://github.com/matrix-org/synapse/issues/9362))
- Convert tests to use `HomeserverTestCase`. ([\#9377](https://github.com/matrix-org/synapse/issues/9377), [\#9396](https://github.com/matrix-org/synapse/issues/9396))
- Update the version of black used to 20.8b1. ([\#9381](https://github.com/matrix-org/synapse/issues/9381))
- Allow OIDC config to override discovered values. ([\#9384](https://github.com/matrix-org/synapse/issues/9384))
- Remove some dead code from the acceptance of room invites path. ([\#9394](https://github.com/matrix-org/synapse/issues/9394))
- Clean up an unused method in the presence handler code. ([\#9408](https://github.com/matrix-org/synapse/issues/9408))


Synapse 1.27.0 (2021-02-16)
===========================

Note that this release includes a change in Synapse to use Redis as a cache ─ as well as a pub/sub mechanism ─ if Redis support is enabled for workers. No action is needed by server administrators, and we do not expect resource usage of the Redis instance to change dramatically.

This release also changes the callback URI for OpenID Connect (OIDC) and SAML2 identity providers. If your server is configured to use single sign-on via an OIDC/OAuth2 or SAML2 IdP, you may need to make configuration changes. Please review [UPGRADE.rst](UPGRADE.rst) for more details on these changes.

This release also changes escaping of variables in the HTML templates for SSO or email notifications. If you have customised these templates, please review [UPGRADE.rst](UPGRADE.rst) for more details on these changes.


Bugfixes
--------

- Fix building Docker images for armv7. ([\#9405](https://github.com/matrix-org/synapse/issues/9405))


Synapse 1.27.0rc2 (2021-02-11)
==============================

Features
--------

- Further improvements to the user experience of registration via single sign-on. ([\#9297](https://github.com/matrix-org/synapse/issues/9297))


Bugfixes
--------

- Fix ratelimiting introduced in v1.27.0rc1 for invites to respect the `ratelimit` flag on application services. ([\#9302](https://github.com/matrix-org/synapse/issues/9302))
- Do not automatically calculate `public_baseurl` since it can be wrong in some situations. Reverts behaviour introduced in v1.26.0. ([\#9313](https://github.com/matrix-org/synapse/issues/9313))


Improved Documentation
----------------------

- Clarify the sample configuration for changes made to the template loading code. ([\#9310](https://github.com/matrix-org/synapse/issues/9310))


Synapse 1.27.0rc1 (2021-02-02)
==============================

Features
--------

- Add an admin API for getting and deleting forward extremities for a room. ([\#9062](https://github.com/matrix-org/synapse/issues/9062))
- Add an admin API for retrieving the current room state of a room. ([\#9168](https://github.com/matrix-org/synapse/issues/9168))
- Add experimental support for allowing clients to pick an SSO Identity Provider ([MSC2858](https://github.com/matrix-org/matrix-doc/pull/2858)). ([\#9183](https://github.com/matrix-org/synapse/issues/9183), [\#9242](https://github.com/matrix-org/synapse/issues/9242))
- Add an admin API endpoint for shadow-banning users. ([\#9209](https://github.com/matrix-org/synapse/issues/9209))
- Add ratelimits to the 3PID `/requestToken` APIs. ([\#9238](https://github.com/matrix-org/synapse/issues/9238))
- Add support to the OpenID Connect integration for adding the user's email address. ([\#9245](https://github.com/matrix-org/synapse/issues/9245))
- Add ratelimits to invites in rooms and to specific users. ([\#9258](https://github.com/matrix-org/synapse/issues/9258))
- Improve the user experience of setting up an account via single-sign on. ([\#9262](https://github.com/matrix-org/synapse/issues/9262), [\#9272](https://github.com/matrix-org/synapse/issues/9272), [\#9275](https://github.com/matrix-org/synapse/issues/9275), [\#9276](https://github.com/matrix-org/synapse/issues/9276), [\#9277](https://github.com/matrix-org/synapse/issues/9277), [\#9286](https://github.com/matrix-org/synapse/issues/9286), [\#9287](https://github.com/matrix-org/synapse/issues/9287))
- Add phone home stats for encrypted messages. ([\#9283](https://github.com/matrix-org/synapse/issues/9283))
- Update the redirect URI for OIDC authentication. ([\#9288](https://github.com/matrix-org/synapse/issues/9288))


Bugfixes
--------

- Fix spurious errors in logs when deleting a non-existant pusher. ([\#9121](https://github.com/matrix-org/synapse/issues/9121))
- Fix a long-standing bug where Synapse would return a 500 error when a thumbnail did not exist (and auto-generation of thumbnails was not enabled). ([\#9163](https://github.com/matrix-org/synapse/issues/9163))
- Fix a long-standing bug where an internal server error was raised when attempting to preview an HTML document in an unknown character encoding. ([\#9164](https://github.com/matrix-org/synapse/issues/9164))
- Fix a long-standing bug where invalid data could cause errors when calculating the presentable room name for push. ([\#9165](https://github.com/matrix-org/synapse/issues/9165))
- Fix bug where we sometimes didn't detect that Redis connections had died, causing workers to not see new data. ([\#9218](https://github.com/matrix-org/synapse/issues/9218))
- Fix a bug where `None` was passed to Synapse modules instead of an empty dictionary if an empty module `config` block was provided in the homeserver config. ([\#9229](https://github.com/matrix-org/synapse/issues/9229))
- Fix a bug in the `make_room_admin` admin API where it failed if the admin with the greatest power level was not in the room. Contributed by Pankaj Yadav. ([\#9235](https://github.com/matrix-org/synapse/issues/9235))
- Prevent password hashes from getting dropped if a client failed threepid validation during a User Interactive Auth stage. Removes a workaround for an ancient bug in Riot Web <v0.7.4. ([\#9265](https://github.com/matrix-org/synapse/issues/9265))
- Fix single-sign-on when the endpoints are routed to synapse workers. ([\#9271](https://github.com/matrix-org/synapse/issues/9271))


Improved Documentation
----------------------

- Add docs for using Gitea as OpenID provider. ([\#9134](https://github.com/matrix-org/synapse/issues/9134))
- Add link to Matrix VoIP tester for turn-howto. ([\#9135](https://github.com/matrix-org/synapse/issues/9135))
- Add notes on integrating with Facebook for SSO login. ([\#9244](https://github.com/matrix-org/synapse/issues/9244))


Deprecations and Removals
-------------------------

- The `service_url` parameter in `cas_config` is deprecated in favor of `public_baseurl`. ([\#9199](https://github.com/matrix-org/synapse/issues/9199))
- Add new endpoint `/_synapse/client/saml2` for SAML2 authentication callbacks, and deprecate the old endpoint `/_matrix/saml2`. ([\#9289](https://github.com/matrix-org/synapse/issues/9289))


Internal Changes
----------------

- Add tests to `test_user.UsersListTestCase` for List Users Admin API. ([\#9045](https://github.com/matrix-org/synapse/issues/9045))
- Various improvements to the federation client. ([\#9129](https://github.com/matrix-org/synapse/issues/9129))
- Speed up chain cover calculation when persisting a batch of state events at once. ([\#9176](https://github.com/matrix-org/synapse/issues/9176))
- Add a `long_description_type` to the package metadata. ([\#9180](https://github.com/matrix-org/synapse/issues/9180))
- Speed up batch insertion when using PostgreSQL. ([\#9181](https://github.com/matrix-org/synapse/issues/9181), [\#9188](https://github.com/matrix-org/synapse/issues/9188))
- Emit an error at startup if different Identity Providers are configured with the same `idp_id`. ([\#9184](https://github.com/matrix-org/synapse/issues/9184))
- Improve performance of concurrent use of `StreamIDGenerators`. ([\#9190](https://github.com/matrix-org/synapse/issues/9190))
- Add some missing source directories to the automatic linting script. ([\#9191](https://github.com/matrix-org/synapse/issues/9191))
- Precompute joined hosts and store in Redis. ([\#9198](https://github.com/matrix-org/synapse/issues/9198), [\#9227](https://github.com/matrix-org/synapse/issues/9227))
- Clean-up template loading code. ([\#9200](https://github.com/matrix-org/synapse/issues/9200))
- Fix the Python 3.5 old dependencies build. ([\#9217](https://github.com/matrix-org/synapse/issues/9217))
- Update `isort` to v5.7.0 to bypass a bug where it would disagree with `black` about formatting. ([\#9222](https://github.com/matrix-org/synapse/issues/9222))
- Add type hints to handlers code. ([\#9223](https://github.com/matrix-org/synapse/issues/9223), [\#9232](https://github.com/matrix-org/synapse/issues/9232))
- Fix Debian package building on Ubuntu 16.04 LTS (Xenial). ([\#9254](https://github.com/matrix-org/synapse/issues/9254))
- Minor performance improvement during TLS handshake. ([\#9255](https://github.com/matrix-org/synapse/issues/9255))
- Refactor the generation of summary text for email notifications. ([\#9260](https://github.com/matrix-org/synapse/issues/9260))
- Restore PyPy compatibility by not calling CPython-specific GC methods when under PyPy. ([\#9270](https://github.com/matrix-org/synapse/issues/9270))
2021-03-06 19:00:43 +00:00
js
337587d4ec Update chat/element-web to 1.7.22
Changes in [1.7.22](https://github.com/vector-im/element-web/releases/tag/v1.7.22) (2021-03-01)
===============================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.22-rc.1...v1.7.22)

## Security notice

Element Web 1.7.22 fixes (by upgrading to matrix-react-sdk 3.15.0) a low
severity issue (CVE-2021-21320) where the user content sandbox can be abused to
trick users into opening unexpected documents. The content is opened with a
`blob` origin that cannot access Matrix user data, so messages and secrets are
not at risk.  Thanks to @keerok for responsibly disclosing this via Matrix's
Security Disclosure Policy.

## All changes

 * Upgrade to React SDK 3.15.0 and JS SDK 9.8.0

Changes in [1.7.22-rc.1](https://github.com/vector-im/element-web/releases/tag/v1.7.22-rc.1) (2021-02-24)
=========================================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.21...v1.7.22-rc.1)

 * Upgrade to React SDK 3.15.0-rc.1 and JS SDK 9.8.0-rc.1
 * Translations update from Weblate
   [\#16529](https://github.com/vector-im/element-web/pull/16529)
 * Add hostSignup config for element.io clients
   [\#16515](https://github.com/vector-im/element-web/pull/16515)
 * VoIP virtual rooms, mkII
   [\#16442](https://github.com/vector-im/element-web/pull/16442)
 * Jitsi widget: Read room name from query parameters
   [\#16456](https://github.com/vector-im/element-web/pull/16456)
 * fix / sso: make sure to delete only loginToken after redirect
   [\#16415](https://github.com/vector-im/element-web/pull/16415)
 * Disable Countly
   [\#16433](https://github.com/vector-im/element-web/pull/16433)

Changes in [1.7.21](https://github.com/vector-im/element-web/releases/tag/v1.7.21) (2021-02-16)
===============================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.21-rc.1...v1.7.21)

 * Upgrade to React SDK 3.14.0 and JS SDK 9.7.0

Changes in [1.7.21-rc.1](https://github.com/vector-im/element-web/releases/tag/v1.7.21-rc.1) (2021-02-10)
=========================================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.20...v1.7.21-rc.1)

 * Upgrade to React SDK 3.14.0-rc.1 and JS SDK 9.7.0-rc.1
 * Translations update from Weblate
   [\#16427](https://github.com/vector-im/element-web/pull/16427)
 * Add RegExp dotAll feature test
   [\#16408](https://github.com/vector-im/element-web/pull/16408)
 * Fix Electron type merging
   [\#16405](https://github.com/vector-im/element-web/pull/16405)
 * README: remove Jenkins reference
   [\#16381](https://github.com/vector-im/element-web/pull/16381)
 * Enable PostCSS Calc in webpack builds
   [\#16307](https://github.com/vector-im/element-web/pull/16307)
 * Add configuration security best practices to the README.
   [\#16367](https://github.com/vector-im/element-web/pull/16367)
 * Upgrade matrix-widget-api
   [\#16347](https://github.com/vector-im/element-web/pull/16347)

Changes in [1.7.20](https://github.com/vector-im/element-web/releases/tag/v1.7.20) (2021-02-04)
===============================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.19...v1.7.20)

 * Upgrade to React SDK 3.13.1

Changes in [1.7.19](https://github.com/vector-im/element-web/releases/tag/v1.7.19) (2021-02-03)
===============================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.19-rc.1...v1.7.19)

 * Upgrade to React SDK 3.13.0 and JS SDK 9.6.0
 * [Release] Upgrade matrix-widget-api
   [\#16348](https://github.com/vector-im/element-web/pull/16348)

Changes in [1.7.19-rc.1](https://github.com/vector-im/element-web/releases/tag/v1.7.19-rc.1) (2021-01-29)
=========================================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.18...v1.7.19-rc.1)

 * Upgrade to React SDK 3.13.0-rc.1 and JS SDK 9.6.0-rc.1
 * Translations update from Weblate
   [\#16314](https://github.com/vector-im/element-web/pull/16314)
 * Use history replaceState instead of redirect for SSO flow
   [\#16292](https://github.com/vector-im/element-web/pull/16292)
 * Document the mobile guide toast option
   [\#16301](https://github.com/vector-im/element-web/pull/16301)
 * Update widget-api to beta.12
   [\#16303](https://github.com/vector-im/element-web/pull/16303)
 * Upgrade deps 2021-01
   [\#16294](https://github.com/vector-im/element-web/pull/16294)
 * Move to newer base image for Docker builds
   [\#16275](https://github.com/vector-im/element-web/pull/16275)
 * Docs for the VoIP translate pattern option
   [\#16236](https://github.com/vector-im/element-web/pull/16236)
 * Fix Riot->Element in permalinkPrefix docs
   [\#16227](https://github.com/vector-im/element-web/pull/16227)
 * Supply server_name for optional federation-capable Jitsi auth
   [\#16215](https://github.com/vector-im/element-web/pull/16215)
 * Fix Widget API version confusion
   [\#16212](https://github.com/vector-im/element-web/pull/16212)
 * Add Hebrew language
   [\#16210](https://github.com/vector-im/element-web/pull/16210)
 * Update widget-api to beta 11
   [\#16177](https://github.com/vector-im/element-web/pull/16177)
 * Fix develop Docker builds
   [\#16192](https://github.com/vector-im/element-web/pull/16192)
 * Skip the service worker for Electron
   [\#16157](https://github.com/vector-im/element-web/pull/16157)
 * Use isolated IPC API
   [\#16137](https://github.com/vector-im/element-web/pull/16137)

Changes in [1.7.18](https://github.com/vector-im/element-web/releases/tag/v1.7.18) (2021-01-26)
===============================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.17...v1.7.18)

 * Upgrade to React SDK 3.12.1 and JS SDK 9.5.1

Changes in [1.7.17](https://github.com/vector-im/element-web/releases/tag/v1.7.17) (2021-01-18)
===============================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.17-rc.1...v1.7.17)

 * Upgrade to React SDK 3.12.0 and JS SDK 9.5.0

Changes in [1.7.17-rc.1](https://github.com/vector-im/element-web/releases/tag/v1.7.17-rc.1) (2021-01-13)
=========================================================================================================
[Full Changelog](https://github.com/vector-im/element-web/compare/v1.7.16...v1.7.17-rc.1)

 * Upgrade to React SDK 3.12.0-rc.1 and JS SDK 9.5.0-rc.1
 * Translations update from Weblate
   [\#16131](https://github.com/vector-im/element-web/pull/16131)
 * webplatform: Fix notification closing
   [\#16028](https://github.com/vector-im/element-web/pull/16028)
 * Stop building code and types for Element layer
   [\#15999](https://github.com/vector-im/element-web/pull/15999)
2021-03-06 18:44:05 +00:00
nia
8a623542af mumble: Update to 1.3.4
Client

Fixed: Don't use outdated (non-existent) notification icon names on Linux (#4705)
Fixed: Security vulnerability caused by allowing non http/https URL schemes in public server list (#4733)

Server

Fixed: Exit status for actions like --version or --supw was always set to non-zero ( #3998)

General

Fixed: Packet loss & audio artifacts caused by OCB2 XEX* mitigation (#4720)
2021-03-05 09:57:20 +00:00
nia
8b16c0efab bitlbee-facebook: Update to 1.2.2
bitlbee-facebook-1.2.2 (2021-02-13):
  - Fix id assertion in fb_api_cb_publish_mst()
  - Increase sync_interval from 5 to 1440 ("The action attempted has been
    deemed abusive or is otherwise disallowed")
  - Bump the FB_ORCA_AGENT version once again
2021-02-16 09:53:37 +00:00
triaxx
bfdcd5d6fc ejabberd: Update to 21.01
upstream changes:
-----------------
Miscellaneous:

    log_rotate_size option: Fix handling of ‘infinity’ value
    mod_time: Fix invalid timezone
    Auth JWT: New check_decoded_jwt hook runs the default JWT verifier
    MUC: Allow non-occupant non-subscribed service admin send private MUC message
    MUC: New max_password and max_captcha_whitelist options
    OAth: New oauth_cache_rest_failure_life_time option
    PEP: Skip reading pep nodes that we know won’t be requested due to caps
    SQL: Add sql script to migrate mysql from old schema to new
    SQL: Don’t use REPLACE for upsert when there are “-” fields.
    Shared Rosters LDAP: Add multi-domain support (and flexibility)
    Sqlite3: Fix dependency version
    Stun: Block loopback addresses by default
    Several documentation fixes and clarifications

Commands:

    decide_room: Use better fallback value for room activity time when skipping room
    delete_old_message: Fix when using sqlite spool table
    module_install: Make ext_mod compile module with debug_info flags
    room_unused_*: Don’t fetch subscribers list
    send_message: Don’t include empty in messages
    set_room_affiliation: Validate affiliations

Running:

    Docker: New Dockerfile and devcontainer.json
    New ‘ejabberdctl foreground-quiet’
    Systemd: Allow for listening on privileged ports
    Systemd: Integrate nicely with systemd

Translations:

    Moved gettext PO files to a new ejabberd-po repository
    Improved several translations: Catalan, Chinese, German, Greek, Indonesian, Norwegian, Portuguese (Brazil), Spanish.
2021-02-08 07:51:42 +00:00
ryoon
bee3953c45 *: Recursive revbump from audio/pulseaudio-14.2.nb1 2021-02-07 06:30:06 +00:00
dbj
fca08c276e chat/jabberd2: use htons instead of non-portable htobe16 2021-02-06 15:20:15 +00:00
nia
8cc2628312 weechat: Update to 3.0.1
== Version 3.0.1 (2021-01-31)

Bug fixes::

  * exec: fix search of command by identifier
  * spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586)
  * spell: fix crash with IRC color codes in command line (issue #1589)
2021-02-05 13:25:57 +00:00
js
43788c12b0 Update chat/matrix-synapse to 1.26.0
Synapse 1.26.0 (2021-01-27)
===========================

This release brings a new schema version for Synapse and rolling back to a previous
version is not trivial. Please review [UPGRADE.rst](UPGRADE.rst) for more details
on these changes and for general upgrade guidance.

No significant changes since 1.26.0rc2.


Synapse 1.26.0rc2 (2021-01-25)
==============================

Bugfixes
--------

- Fix receipts and account data not being sent down sync. Introduced in v1.26.0rc1. ([\#9193](https://github.com/matrix-org/synapse/issues/9193), [\#9195](https://github.com/matrix-org/synapse/issues/9195))
- Fix chain cover update to handle events with duplicate auth events. Introduced in v1.26.0rc1. ([\#9210](https://github.com/matrix-org/synapse/issues/9210))


Internal Changes
----------------

- Add an `oidc-` prefix to any `idp_id`s which are given in the `oidc_providers` configuration. ([\#9189](https://github.com/matrix-org/synapse/issues/9189))
- Bump minimum `psycopg2` version to v2.8. ([\#9204](https://github.com/matrix-org/synapse/issues/9204))


Synapse 1.26.0rc1 (2021-01-20)
==============================

This release brings a new schema version for Synapse and rolling back to a previous
version is not trivial. Please review [UPGRADE.rst](UPGRADE.rst) for more details
on these changes and for general upgrade guidance.

Features
--------

- Add support for multiple SSO Identity Providers. ([\#9015](https://github.com/matrix-org/synapse/issues/9015), [\#9017](https://github.com/matrix-org/synapse/issues/9017), [\#9036](https://github.com/matrix-org/synapse/issues/9036), [\#9067](https://github.com/matrix-org/synapse/issues/9067), [\#9081](https://github.com/matrix-org/synapse/issues/9081), [\#9082](https://github.com/matrix-org/synapse/issues/9082), [\#9105](https://github.com/matrix-org/synapse/issues/9105), [\#9107](https://github.com/matrix-org/synapse/issues/9107), [\#9109](https://github.com/matrix-org/synapse/issues/9109), [\#9110](https://github.com/matrix-org/synapse/issues/9110), [\#9127](https://github.com/matrix-org/synapse/issues/9127), [\#9153](https://github.com/matrix-org/synapse/issues/9153), [\#9154](https://github.com/matrix-org/synapse/issues/9154), [\#9177](https://github.com/matrix-org/synapse/issues/9177))
- During user-interactive authentication via single-sign-on, give a better error if the user uses the wrong account on the SSO IdP. ([\#9091](https://github.com/matrix-org/synapse/issues/9091))
- Give the `public_baseurl` a default value, if it is not explicitly set in the configuration file. ([\#9159](https://github.com/matrix-org/synapse/issues/9159))
- Improve performance when calculating ignored users in large rooms. ([\#9024](https://github.com/matrix-org/synapse/issues/9024))
- Implement [MSC2176](https://github.com/matrix-org/matrix-doc/pull/2176) in an experimental room version. ([\#8984](https://github.com/matrix-org/synapse/issues/8984))
- Add an admin API for protecting local media from quarantine. ([\#9086](https://github.com/matrix-org/synapse/issues/9086))
- Remove a user's avatar URL and display name when deactivated with the Admin API. ([\#8932](https://github.com/matrix-org/synapse/issues/8932))
- Update `/_synapse/admin/v1/users/<user_id>/joined_rooms` to work for both local and remote users. ([\#8948](https://github.com/matrix-org/synapse/issues/8948))
- Add experimental support for handling to-device messages on worker processes. ([\#9042](https://github.com/matrix-org/synapse/issues/9042), [\#9043](https://github.com/matrix-org/synapse/issues/9043), [\#9044](https://github.com/matrix-org/synapse/issues/9044), [\#9130](https://github.com/matrix-org/synapse/issues/9130))
- Add experimental support for handling `/keys/claim` and `/room_keys` APIs on worker processes. ([\#9068](https://github.com/matrix-org/synapse/issues/9068))
- Add experimental support for handling `/devices` API on worker processes. ([\#9092](https://github.com/matrix-org/synapse/issues/9092))
- Add experimental support for moving off receipts and account data persistence off master. ([\#9104](https://github.com/matrix-org/synapse/issues/9104), [\#9166](https://github.com/matrix-org/synapse/issues/9166))


Bugfixes
--------

- Fix a long-standing issue where an internal server error would occur when requesting a profile over federation that did not include a display name / avatar URL. ([\#9023](https://github.com/matrix-org/synapse/issues/9023))
- Fix a long-standing bug where some caches could grow larger than configured. ([\#9028](https://github.com/matrix-org/synapse/issues/9028))
- Fix error handling during insertion of client IPs into the database. ([\#9051](https://github.com/matrix-org/synapse/issues/9051))
- Fix bug where we didn't correctly record CPU time spent in `on_new_event` block. ([\#9053](https://github.com/matrix-org/synapse/issues/9053))
- Fix a minor bug which could cause confusing error messages from invalid configurations. ([\#9054](https://github.com/matrix-org/synapse/issues/9054))
- Fix incorrect exit code when there is an error at startup. ([\#9059](https://github.com/matrix-org/synapse/issues/9059))
- Fix `JSONDecodeError` spamming the logs when sending transactions to remote servers. ([\#9070](https://github.com/matrix-org/synapse/issues/9070))
- Fix "Failed to send request" errors when a client provides an invalid room alias. ([\#9071](https://github.com/matrix-org/synapse/issues/9071))
- Fix bugs in federation catchup logic that caused outbound federation to be delayed for large servers after start up. Introduced in v1.8.0 and v1.21.0. ([\#9114](https://github.com/matrix-org/synapse/issues/9114), [\#9116](https://github.com/matrix-org/synapse/issues/9116))
- Fix corruption of `pushers` data when a postgres bouncer is used. ([\#9117](https://github.com/matrix-org/synapse/issues/9117))
- Fix minor bugs in handling the `clientRedirectUrl` parameter for SSO login. ([\#9128](https://github.com/matrix-org/synapse/issues/9128))
- Fix "Unhandled error in Deferred: BodyExceededMaxSize" errors when .well-known files that are too large. ([\#9108](https://github.com/matrix-org/synapse/issues/9108))
- Fix "UnboundLocalError: local variable 'length' referenced before assignment" errors when the response body exceeds the expected size. This bug was introduced in v1.25.0. ([\#9145](https://github.com/matrix-org/synapse/issues/9145))
- Fix a long-standing bug "ValueError: invalid literal for int() with base 10" when `/publicRooms` is requested with an invalid `server` parameter. ([\#9161](https://github.com/matrix-org/synapse/issues/9161))


Improved Documentation
----------------------

- Add some extra docs for getting Synapse running on macOS. ([\#8997](https://github.com/matrix-org/synapse/issues/8997))
- Correct a typo in the `systemd-with-workers` documentation. ([\#9035](https://github.com/matrix-org/synapse/issues/9035))
- Correct a typo in `INSTALL.md`. ([\#9040](https://github.com/matrix-org/synapse/issues/9040))
- Add missing `user_mapping_provider` configuration to the Keycloak OIDC example. Contributed by @chris-ruecker. ([\#9057](https://github.com/matrix-org/synapse/issues/9057))
- Quote `pip install` packages when extras are used to avoid shells interpreting bracket characters. ([\#9151](https://github.com/matrix-org/synapse/issues/9151))


Deprecations and Removals
-------------------------

- Remove broken and unmaintained `demo/webserver.py` script. ([\#9039](https://github.com/matrix-org/synapse/issues/9039))


Internal Changes
----------------

- Improve efficiency of large state resolutions. ([\#8868](https://github.com/matrix-org/synapse/issues/8868), [\#9029](https://github.com/matrix-org/synapse/issues/9029), [\#9115](https://github.com/matrix-org/synapse/issues/9115), [\#9118](https://github.com/matrix-org/synapse/issues/9118), [\#9124](https://github.com/matrix-org/synapse/issues/9124))
- Various clean-ups to the structured logging and logging context code. ([\#8939](https://github.com/matrix-org/synapse/issues/8939))
- Ensure rejected events get added to some metadata tables. ([\#9016](https://github.com/matrix-org/synapse/issues/9016))
- Ignore date-rotated homeserver logs saved to disk. ([\#9018](https://github.com/matrix-org/synapse/issues/9018))
- Remove an unused column from `access_tokens` table. ([\#9025](https://github.com/matrix-org/synapse/issues/9025))
- Add a `-noextras` factor to `tox.ini`, to support running the tests with no optional dependencies. ([\#9030](https://github.com/matrix-org/synapse/issues/9030))
- Fix running unit tests when optional dependencies are not installed. ([\#9031](https://github.com/matrix-org/synapse/issues/9031))
- Allow bumping schema version when using split out state database. ([\#9033](https://github.com/matrix-org/synapse/issues/9033))
- Configure the linters to run on a consistent set of files. ([\#9038](https://github.com/matrix-org/synapse/issues/9038))
- Various cleanups to device inbox store. ([\#9041](https://github.com/matrix-org/synapse/issues/9041))
- Drop unused database tables. ([\#9055](https://github.com/matrix-org/synapse/issues/9055))
- Remove unused `SynapseService` class. ([\#9058](https://github.com/matrix-org/synapse/issues/9058))
- Remove unnecessary declarations in the tests for the admin API. ([\#9063](https://github.com/matrix-org/synapse/issues/9063))
- Remove `SynapseRequest.get_user_agent`. ([\#9069](https://github.com/matrix-org/synapse/issues/9069))
- Remove redundant `Homeserver.get_ip_from_request` method. ([\#9080](https://github.com/matrix-org/synapse/issues/9080))
- Add type hints to media repository. ([\#9093](https://github.com/matrix-org/synapse/issues/9093))
- Fix the wrong arguments being passed to `BlacklistingAgentWrapper` from `MatrixFederationAgent`. Contributed by Timothy Leung. ([\#9098](https://github.com/matrix-org/synapse/issues/9098))
- Reduce the scope of caught exceptions in `BlacklistingAgentWrapper`. ([\#9106](https://github.com/matrix-org/synapse/issues/9106))
- Improve `UsernamePickerTestCase`. ([\#9112](https://github.com/matrix-org/synapse/issues/9112))
- Remove dependency on `distutils`. ([\#9125](https://github.com/matrix-org/synapse/issues/9125))
- Enforce that replication HTTP clients are called with keyword arguments only. ([\#9144](https://github.com/matrix-org/synapse/issues/9144))
- Fix the Python 3.5 / old dependencies build in CI. ([\#9146](https://github.com/matrix-org/synapse/issues/9146))
- Replace the old `perspectives` option in the Synapse docker config file template with `trusted_key_servers`. ([\#9157](https://github.com/matrix-org/synapse/issues/9157))
2021-01-31 19:23:28 +00:00
triaxx
778fae0b24 ejabberd: Fix invalid log and spool directories
The localstatedir was not configured on VARBASE which produced an
inconsistency in ejabberdctl.
2021-01-27 19:47:04 +00:00
wiz
d05efd30fb loudmouth: remove hacks.mk, configure checks for correct symbol now 2021-01-26 00:25:31 +00:00
wiz
41268334c5 loudmouth: update to 1.5.4.
This is a bug fix release.
2021-01-25 23:10:00 +00:00
nia
6ce241eb92 unrealircd: Update to 5.0.8
UnrealIRCd 5.0.8 Release Notes
===============================

The main purpose of this release is to enhance the
[reputation](https://www.unrealircd.org/docs/Reputation_score)
functionality. There have also been some other changes and minor
bug fixes. For more information, see below.

Enhancements:
* Support for [security groups](https://www.unrealircd.org/docs/Security-group_block),
  of which four groups always exist by default: known-users, unknown-users,
  tls-users and tls-and-known-users.
* New extended ban ```~G:securitygroupname```. Typical usage would be
  ```MODE #chan +b ~G:unknown-users``` which will ban all users from the
  channel that are not identified to services and have a reputation
  score below 25 (by default). The exact settings can be tweaked in the
  [security group block](https://www.unrealircd.org/docs/Security-group_block).
* The reputation command (IRCOp-only) has been extended to make it
  easier to look for potential troublemakers:
  * ```REPUTATION Nick``` shows reputation about the nick name
  * ```REPUTATION IP``` shows reputation about the IP address
  * ```REPUTATION #channel``` lists users in channel with their reputation score
  * ```REPUTATION <NN``` lists users with reputation scores below value NN
* Only send the first 1000 matches on ```STATS gline``` or a
  similar command. This to prevent the IRCOp from being flooded off.
  This value can be changed via
  [set::max-stats-matches](https://www.unrealircd.org/docs/Set_block#set::max-stats-matches)
* Warn when the SSL/TLS server certificate is expired or expires soon
  (within 7 days).
* New option allow::options::reject-on-auth-failure if you want to
  stop matching on a passworded allow block, see the
  [allow password documentation](https://www.unrealircd.org/docs/Allow_block#password)
  for more information. Note that most people won't use this.

Fixes:
* The ```WHO``` command searched on nick name even if it was told
  to search on a specific account name via WHOX options.
* Some typos in the Config script and a warning
* Counting clients twice in some circumstances

Changes:
* Support for $(DESTDIR) in 'make install' if packaging for a distro
* Mention the ban reason in Q-line server notices
* Add self-test to module manager and improve the error message in case
  the IRCd source directory does not exist.
* Print out a more helpful error if you run the unrealircd binary
  rather than the unrealircd script with an argument like 'mkpasswd' etc.
* On *NIX create a symlink 'source' to the UnrealIRCd source

Module coders / Developers:
* The [Doxygen module API docs](https://www.unrealircd.org/api/5/index.html)
  have been improved, in particular the
  [Hook API](https://www.unrealircd.org/api/5/group__HookAPI.html)
  is now 100% documented.
2021-01-25 11:17:36 +00:00
nia
6da34ebeba mcabber: Update to 1.1.2
mcabber (1.1.2)

 * Fix display when sending message to a full JID (Frank Zschockelt)

 -- Mikael, 2020-09-19

mcabber (1.1.1)

 * Fix compilation with GCC 10 or -fno-common in CFLAGS (Andrey Utkin)
 * Link against tinfo _or_ tinfow (Frank Zschockelt)
 * Fix otr disconnected message for otrv4, remove support for libotr 3.x
   (Frank Zschockelt)
 * Fix exiting from verbatim multiline mode (Michał Kępień)
 * Add support for displaying the number of unread messages for each roster
   entry (Michał Kępień)
 * Fix roster colors (Frank Zschockelt)
 * Add colorcli theme (Jonas Jared Jacek)
 * Hide the log window when log_win_height <= 0 (Frank Zschockelt)
 * Refactor carbon message handling
 * Other misc. bugfixes and cleanups

 -- Mikael, 2020-09-06
2021-01-24 16:54:15 +00:00
bsiegert
9956fb746f Revbump all Go packages after go115 update 2021-01-23 14:22:52 +00:00
nia
96bb27a670 profanity: Use OpenSSL certificates directory
Requested by leot
2021-01-23 13:08:11 +00:00
nia
eb91cf0588 profanity: Add explicit dependency on mozilla-rootcerts
Point profanity at the certificates directory installed by the package.

Should help with PR pkg/55949
2021-01-23 11:43:40 +00:00
wiz
450d26920e loudmouth: add upstream patch fixing an SSL problem
Requested by Adrian Immanuel Kiess in PR 55944.

New release requested upstream (https://github.com/mcabber/loudmouth/issues/42)

Bump PKGREVISION.
2021-01-23 09:08:07 +00:00
nia
640ab6c668 dino: set sqlite3 requirement 2021-01-19 22:44:26 +00:00
fox
3e8473bca9 chat/ircd-hybrid: Updates to 8.2.38
Changes since 8.2.37:

-- Noteworthy changes in version 8.2.38 (2021-01-17)
* Backwards compatibility mode for ircd-hybrid 8.2.22 and below has been removed
* Minimum supported version of the Anope IRC services is now 2.0.8
* Fixed displaying issue with channel MODE messages
* Characters valid for user names for local clients are now [A-Za-z0-9._-]. 'Special'
  characters like }|{'^]\[$, that were allowed previously, are no longer valid.
  Also user names may not begin with '.', '_', or '-'.
* The 'general::dots_in_ident' configuration directive has been renamed to
  'general::specials_in_ident' and now covers the '-' and '_' characters in
  addition to '.'
* Fixed issue with clients connected from IPv6 localhost that, depending on the
  system's getaddrinfo() implementation, could lead to a crash of remote servers
2021-01-18 09:45:53 +00:00
triaxx
8906079b52 ejabberd: Fix spool directory for ejabberdctl
pkgsrc changes:
---------------
  * The spool directory is set to ${VARBASE}/spool/ejabberd by pkgsrc but
    ejabberdctl used ${VARBASE}/lib/ejabberd
  * Bump revision
2021-01-16 21:19:32 +00:00
triaxx
6549cc43a0 ejabberd: Update to 20.12
pkgsrc changes:
---------------
  * This update is mainly justified by the fact that OTS 23 breaks a lot
    of dependencies which are very old.

upstream changes:
-----------------
Version 20.12

    Add support for SCRAM-SHA-{256,512}-{PLUS} authentication
    Don't use same value in cache for user don't exist and wrong password
    outgoing_s2s_ipv*_address: New options to set ipv4/ipv6 outbound s2s out interface
    s2s_send_packet: this hook now filters outgoing s2s stanzas
    start_room: new hook runs when a room process is started
    check_decoded_jwt: new hook to check decoded JWT after success authentication

    Admin

    Docker: Fix DB initialization
    New sql_odbc_driver option: choose the mssql ODBC driver
    Rebar3: Fully supported. Enable with ./configure --with-rebar=/path/to/rebar3
    systemd: start ejabberd in foreground

    Modules:

    MAM: Make sure that jid used as base in mam xml_compress is bare
    MAM: Support for MAM Flipped Pages
    MUC: Always show MucSub subscribers nicks
    MUC: Don't forget not-persistent rooms in load_permanent_rooms
    MUC Admin: Better error reporting
    MUC Admin: Fix commands with hibernated rooms
    MUC Admin: Many improvements in rooms_unused_list/destroy
    MUC Admin: create_room_with_opts Store options only if room starts
    Pubsub: Remove 'dag' node plugin documentation
    Push: Fix API call return type on error
    Push: Support cache config changes on reload
    Register: Allow for account-removal-only setup again
    Roster: Make roster subscriptions work better with invalid roster state in db
    Vcard: Fix vCard search by User when using Mnesia
    WebAdmin: Allow vhost admins to view WebAdmin menus
    WebAdmin: Don't do double utf-8 conversion on translated strings
    WebAdmin: Mark dangerous buttons with CSS
    WebSocket: Make websocket send put back pressure on c2s process

Version 20.07

    Changes in this version

    Add support for using unix sockets in listeners.
    Make this version compatible with erlang R23
    Make room permissions checks more strict for subscribers
    Fix problem with muc rooms crashing when using muc logger with some locales
    Limit stat calls that logger module issues
    Don't throw errors when using user_regexp acl rule and having non-matching host
    Fix problem with leaving old data when updating shared rosters
    Fix edge case that caused failure of resuming old sessions with stream management.
    Fix crash when room that was started with loging enabled was later changed to logging disabled
    Increase default shaper limits (this should help with delays for clients that are using jingle)
    Fix couple compatibility problems which prevented working on erlang R19
    Fix sending presence unavailable when session terminates for clients that only send directed presences (helps with sometimes not leaving muc rooms on disconnect).
    Prevent supervisor errors for sockets that were closed before they were passed to handler modules
    Make stun module work better with ipv6 addresses

Version 20.03

    Changes in this version

    Add support of ssl connection when connection to mysql database (configured with sql_ssl: true option)
    Experimental support for cockroachdb when configured with postgres connector
    Add cache and optimize queries issued by mod_shared_roster, this should greatly improve performance of this module when used with sql backend
    Fix problem with accessing webadmin
    Make webadmin work even when url is missing trailing slash
    When compiling external modules with ext_mod, use flags that were detected during compilation of ejabberd
    Make config changed to ldap options be updated when issued reload_config command
    Fix room_empty_destory command
    Fix reporting errors in send_stanza command when xml passed to it couldn't be passed correctly

Version 20.02

    Changes in this version

    Fix problems when trying to use string format with unicode values directly in xmpp nodes
    Add missing oauth_client table declaration in lite.new.sql
    Improve compatibility with CocroachDB
    Fix importing of piefxis files that did use scram passwords
    Fix importing of piefxis files that had multiple includes in them
    Update jiffy dependency
    Allow storage of emojis when using mssql database (Thanks to Christoph Scholz)
    Make ejabberd_auth_http be able to use auth_opts
    Make custom_headers options in http modules correctly override built-in values
    Fix return value of reload_config and dump_config commands

Version 20.01

    New features

    Implement OAUTH authentication in mqtt
    Make logging infrastructure use new logger introduced in Erlang (requires OTP22)
    New configuration parser/validator
    Initial work on being able to use CockroachDB as database backend
    Add gc command
    Add option to disable using prepared statements on Postgresql
    Implement routine for converting password to SCRAM format for all backends not only SQL
    Add infrastructure for having module documentation directly in individual module source code
    Generate man page automaticaly
    Implement copy feature in mod_carboncopy

    Fixes

    Make webadmin work with configurable paths
    Fix handling of result in xmlrpc module
    Make webadmin work even when accessed through not declared domain
    Better error reporting in xmlrpc
    Limit ammount of results returned by disco queries to pubsub nodes
    Improve validation of configured JWT keys
    Fix race condition in Redis/SQL startup
    Fix loading order of third party modules
    Fix reloading of ACL rules
    Make account removal requests properly route response
    Improve handling of malformed inputs in send_message command
    Omit push notification if storing message in offline storage failed
    Fix crash in stream management when timeout was not set

Version 19.09

    Admin

    The minimum required Erlang/OTP version is now 19.3
    Fix API call using OAuth (#2982)
    Rename MUC command arguments from Host to Service (#2976)

    Webadmin

    Don't treat 'Host' header as a virtual XMPP host (#2989)
    Fix some links to Guide in WebAdmin and add new ones (#3003)
    Use select fields to input host in WebAdmin Backup (#3000)
    Check account auth provided in WebAdmin is a local host (#3000)

    ACME

    Improve ACME implementation
    Fix IDA support in ACME requests
    Fix unicode formatting in ACME module
    Log an error message on IDNA failure
    Support IDN hostnames in ACME requests
    Don't attempt to create ACME directory on ejabberd startup
    Don't allow requesting certificates for localhost or IP-like domains
    Don't auto request certificate for localhost and IP-like domains
    Add listener for ACME challenge in example config

    Authentication

    JWT-only authentication for some users (#3012)

    MUC

    Apply default role after revoking admin affiliation (#3023)
    Custom exit message is not broadcast (#3004)
    Revert "Affiliations other than admin and owner cannot invite to members_only rooms" (#2987)
    When join new room with password, set pass and password_protected (#2668)
    Improve rooms_* commands to accept 'global' as MUC service argument (#2976)
    Rename MUC command arguments from Host to Service (#2976)

    SQL

    Fix transactions for Microsoft SQL Server (#2978)
    Spawn SQL connections on demand only

    Misc

    Add support for XEP-0328: JID Prep
    Added gsfonts for captcha
    Log Mnesia table type on creation
    Replicate Mnesia 'bosh' table when nodes are joined
    Fix certificate selection for s2s (#3015)
    Provide meaningful error when adding non-local users to shared roster (#3000)
    Websocket: don't treat 'Host' header as a virtual XMPP host (#2989)
    Fix sm ack related c2s error (#2984)
    Don't hide the reason why c2s connection has failed
    Unicode support
    Correctly handle unicode in log messages
    Fix unicode processing in ejabberd.yml

Version 19.08

    Administration

    Improve ejabberd halting procedure
    Process unexpected erlang messages uniformly: logging a warning
    mod_configure: Remove modules management

    Configuration

    Use new configuration validator
    ejabberd_http: Use correct virtual host when consulting trusted_proxies
    Fix Elixir modules detection in the configuration file
    Make option 'validate_stream' global
    Allow multiple definitions of host_config and append_host_config
    Introduce option 'captcha_url'
    mod_stream_mgmt: Allow flexible timeout format
    mod_mqtt: Allow flexible timeout format in session_expiry option

    Misc

    Fix SQL connections leakage
    New authentication method using JWT tokens
    extauth: Add 'certauth' command
    Improve SQL pool logic
    Add and improve type specs
    Improve extraction of translated strings
    Improve error handling/reporting when loading language translations
    Improve hooks validator and fix bugs related to hooks registration
    Gracefully close inbound s2s connections
    mod_mqtt: Fix usage of TLS
    mod_offline: Make count_offline_messages cache work when using mam for storage
    mod_privacy: Don't attempt to query 'undefined' active list
    mod_privacy: Fix race condition

    MUC

    Add code for hibernating inactive muc_room processes
    Improve handling of unexpected iq in mod_muc_room
    Attach mod_muc_room processes to a supervisor
    Restore room when receiving message or generic iq for not started room
    Distribute routing of MUC messages accross all CPU cores

    PubSub

    Fix pending nodes retrieval for SQL backend
    Check access_model when publishing PEP
    Remove deprecated pubsub plugins
    Expose access_model and publish_model in pubsub#metadata

Version 19.05

    Admin

    The minimum required Erlang/OTP version is now 19.1
    Provide a suggestion when unknown command, module, option or request handler is detected
    Deprecate some listening options: captcha, register, web_admin, http_bind and xmlrpc
    Add commands to get Mnesia info: mnesia_info and mnesia_table_info
    Fix Register command to respect mod_register's Access option
    Fixes in Prosody import: privacy and rooms
    Remove TLS options from the example config
    Improve request_handlers validator
    Fix syntax in example Elixir config file

    Auth

    Correctly support cache tags in ejabberd_auth
    Don't process failed EXTERNAL authentication by mod_fail2ban
    Don't call to mod_register when it's not loaded
    Make anonymous auth don't {de}register user when there are other resources

    Developer

    Rename listening callback from start/2 to start/3
    New hook called when room gets destroyed: room_destroyed
    New hooks for tracking mucsub subscriptions changes: muc_subscribed, muc_unsubscribed
    Make static hooks analyzer working again

    MUC

    Service admins are allowed to recreate room even if archiv is nonempty
    New option user_mucsub_from_muc_archive
    Avoid late arrival of get_disco_item response
    Handle get_subscribed_rooms call from mod_muc_room pid
    Fix room state cleanup from db on change of persistent option change
    Make get_subscribed_rooms work even for non-persistant rooms
    Allow non-moderator subscribers to get list of room subscribers

    Offline

    New option bounce_groupchat: make it not bounce mucsub/groupchat messages
    New option use_mam_for_storage: fetch data from mam instead of spool table
    When applying limit of max msgs in spool check only spool size
    Do not store mucsub wrapped messages with no-store hint in offline storage
    Always store ActivityMarker messages
    Don't issue count/message fetch queries for offline from mam when not needed
    Properly handle infinity as max number of message in mam offline storage
    Sort messages by stanza_id when using mam storage in mod_offline
    Return correct value from count_offline_messages with mam storage option
    Make mod_offline put msg ignored by mam in spool when mam storage is on

    SQL:

    Add SQL schemas for MQTT tables
    Report better errors on SQL terms decode failure
    Fix PostgreSQL compatibility in mod_offline_sql:remove_old_messages
    Fix handling of list arguments on pgsql
    Preliminary support for SQL in process_rosteritems command

    Tests

    Add tests for user mucsub mam from muc mam
    Add tests for offline with mam storage
    Add tests for offline use_mam_for_storage
    Initial Docker environment to run ejabberd test suite
    Test offline:use_mam_for_storage, mam:user_mucsub_from_muc_archive used together

    Websocket

    Add WebSockets support to mod_mqtt
    Return "Bad request" error when origin in websocket connection doesn't match
    Fix RFC6454 violation on websocket connection when validating Origin header
    Origin header validation on websocket connection

    Other modules

    mod_adhoc: Use xml:lang from stanza when it's missing in element
    mod_announce: Add 'sessionid' attribute when required
    mod_bosh: Don't put duplicate polling attribute in bosh payload
    mod_http_api: Improve argument error messages and log messages
    mod_http_upload: Feed whole image to eimp:identify/1
    mod_http_upload: Log nicer warning on unknown host
    mod_http_upload: Case-insensitive host comparison
    mod_mqtt: Support other socket modules
    mod_push: Check for payload in encrypted messages

Version 19.02

    Admin

    Fix in configure.ac the Erlang/OTP version: from 17.5 to 19.0
    reload_config command: Fix crash when sql_pool_size option is used
    reload_config command: Fix crash when SQL is not configured
    rooms_empty_destroy command: Several fixes to behave more conservative
    Fix serverhost->host parameter name for muc_(un)register_nick API

    Configuration

    Allow specifying tag for listener for api_permission purposes
    Change default ciphers to intermediate
    Define default ciphers/protocol_option in example config
    Don't crash on malformed 'modules' section
    mod_mam: New option clear_archive_on_room_destroy to prevent archive removal on room destroy
    mod_mam: New option access_preferences to restrict who can modify the MAM preferences
    mod_muc: New option access_mam to restrict who can modify that room option
    mod_offline: New option store_groupchat to allow storing group chat messages

    Core

    Add MQTT protocol support
    Fix (un)setting of priority
    Use OTP application startup infrastructure for starting dependencies
    Improve starting order of several dependencies

    MAM

    mod_mam_mnesia/sql: Improve check for empty archive
    disallow room creation if archive not empty and clear_archive_on_room_destroy is false
    allow check if archive is empty for or user or room
    Additional checks for database failures

    MUC

    Make sure that room_destroyed is called even when some code throws in terminate
    Update muc room state after adding extra access field to it
    MUC/Sub: Send mucsub subscriber notification events with from set to room jid

    Shared Roster

    Don't perform roster push for non-local contacts
    Handle versioning result when shared roster group has remote account
    Fix SQL queries

    Miscelanea

    CAPTCHA: Add no-store hint to CAPTCHA challenge stanzas
    HTTP: Reject http_api request with malformed Authentication header
    mod_carboncopy: Don't lose carbons on presence change or session resumption
    mod_mix: Fix submission-id and channel resource
    mod_ping: Fix ping IQ reply/timeout processing (17.x regression)
    mod_private: Hardcode item ID for PEP bookmarks
    mod_push: Improve notification error handling
    PIEFXIS: Fix user export when password is scrammed
    Prosody: Improve import of roster items, rooms and attributes
    Translations: fixed "make translations"
    WebAdmin: Fix support to restart module with new options

Version 18.12

    MAM data store compression
    Proxy protocol support (http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt)
    MUC Self-Ping optimization (XEP-0410)
    Bookmarks conversion (XEP-0411)
2021-01-16 20:24:33 +00:00
fox
fa156670f0 chat/ircd-hybrid: Updates to 8.2.37
Changes since 8.2.36:

-- Noteworthy changes in version 8.2.37 (2020-12-26)
* Implemented IRCv3 'CAP 302'
* Implemented IRCv3 'cap-notify' capability
* In case a client sends multiple 'PASS' messages, ircd only accepts the password
  sent in the first 'PASS' message instead of the last one
* Missing help file for 'MONITOR' has been added
* Fixed slightly off memory count for motds in 'STATS z'
* For a full list of all changes in this release, see <https://git.io/JLMnk>
2021-01-16 19:22:08 +00:00
nia
2d33704f82 profanity: add some optional (off-by-default) GUI features.
Patch provided by snow flurry in PR pkg/55673
2021-01-14 12:50:25 +00:00
js
319a9fd8c7 Update chat/matrix-synapse to 1.25
Synapse 1.25.0 (2021-01-13)
===========================

Ending Support for Python 3.5 and Postgres 9.5
----------------------------------------------

With this release, the Synapse team is announcing a formal deprecation policy for our platform dependencies, like Python and PostgreSQL:

All future releases of Synapse will follow the upstream end-of-life schedules.

Which means:

* This is the last release which guarantees support for Python 3.5.
* We will end support for PostgreSQL 9.5 early next month.
* We will end support for Python 3.6 and PostgreSQL 9.6 near the end of the year.

Crucially, this means __we will not produce .deb packages for Debian 9 (Stretch) or Ubuntu 16.04 (Xenial)__ beyond the transition period described below.

The website https://endoflife.date/ has convenient summaries of the support schedules for projects like [Python](https://endoflife.date/python) and [PostgreSQL](https://endoflife.date/postgresql).

If you are unable to upgrade your environment to a supported version of Python or Postgres, we encourage you to consider using the [Synapse Docker images](./INSTALL.md#docker-images-and-ansible-playbooks) instead.

### Transition Period

We will make a good faith attempt to avoid breaking compatibility in all releases through the end of March 2021. However, critical security vulnerabilities in dependencies or other unanticipated circumstances may arise which necessitate breaking compatibility earlier.

We intend to continue producing .deb packages for Debian 9 (Stretch) and Ubuntu 16.04 (Xenial) through the transition period.

Removal warning
---------------

The old [Purge Room API](https://github.com/matrix-org/synapse/tree/master/docs/admin_api/purge_room.md)
and [Shutdown Room API](https://github.com/matrix-org/synapse/tree/master/docs/admin_api/shutdown_room.md)
are deprecated and will be removed in a future release. They will be replaced by the
[Delete Room API](https://github.com/matrix-org/synapse/tree/master/docs/admin_api/rooms.md#delete-room-api).

`POST /_synapse/admin/v1/rooms/<room_id>/delete` replaces `POST /_synapse/admin/v1/purge_room` and
`POST /_synapse/admin/v1/shutdown_room/<room_id>`.

Bugfixes
--------

- Fix HTTP proxy support when using a proxy that is on a blacklisted IP. Introduced in v1.25.0rc1. Contributed by @Bubu. ([\#9084](https://github.com/matrix-org/synapse/issues/9084))


Synapse 1.25.0rc1 (2021-01-06)
==============================

Features
--------

- Add an admin API that lets server admins get power in rooms in which local users have power. ([\#8756](https://github.com/matrix-org/synapse/issues/8756))
- Add optional HTTP authentication to replication endpoints. ([\#8853](https://github.com/matrix-org/synapse/issues/8853))
- Improve the error messages printed as a result of configuration problems for extension modules. ([\#8874](https://github.com/matrix-org/synapse/issues/8874))
- Add the number of local devices to Room Details Admin API. Contributed by @dklimpel. ([\#8886](https://github.com/matrix-org/synapse/issues/8886))
- Add `X-Robots-Tag` header to stop web crawlers from indexing media. Contributed by Aaron Raimist. ([\#8887](https://github.com/matrix-org/synapse/issues/8887))
- Spam-checkers may now define their methods as `async`. ([\#8890](https://github.com/matrix-org/synapse/issues/8890))
- Add support for allowing users to pick their own user ID during a single-sign-on login. ([\#8897](https://github.com/matrix-org/synapse/issues/8897), [\#8900](https://github.com/matrix-org/synapse/issues/8900), [\#8911](https://github.com/matrix-org/synapse/issues/8911), [\#8938](https://github.com/matrix-org/synapse/issues/8938), [\#8941](https://github.com/matrix-org/synapse/issues/8941), [\#8942](https://github.com/matrix-org/synapse/issues/8942), [\#8951](https://github.com/matrix-org/synapse/issues/8951))
- Add an `email.invite_client_location` configuration option to send a web client location to the invite endpoint on the identity server which allows customisation of the email template. ([\#8930](https://github.com/matrix-org/synapse/issues/8930))
- The search term in the list room and list user Admin APIs is now treated as case-insensitive. ([\#8931](https://github.com/matrix-org/synapse/issues/8931))
- Apply an IP range blacklist to push and key revocation requests. ([\#8821](https://github.com/matrix-org/synapse/issues/8821), [\#8870](https://github.com/matrix-org/synapse/issues/8870), [\#8954](https://github.com/matrix-org/synapse/issues/8954))
- Add an option to allow re-use of user-interactive authentication sessions for a period of time. ([\#8970](https://github.com/matrix-org/synapse/issues/8970))
- Allow running the redact endpoint on workers. ([\#8994](https://github.com/matrix-org/synapse/issues/8994))


Bugfixes
--------

- Fix bug where we might not correctly calculate the current state for rooms with multiple extremities. ([\#8827](https://github.com/matrix-org/synapse/issues/8827))
- Fix a long-standing bug in the register admin endpoint (`/_synapse/admin/v1/register`) when the `mac` field was not provided. The endpoint now properly returns a 400 error. Contributed by @edwargix. ([\#8837](https://github.com/matrix-org/synapse/issues/8837))
- Fix a long-standing bug on Synapse instances supporting Single-Sign-On, where users would be prompted to enter their password to confirm certain actions, even though they have not set a password. ([\#8858](https://github.com/matrix-org/synapse/issues/8858))
- Fix a longstanding bug where a 500 error would be returned if the `Content-Length` header was not provided to the upload media resource. ([\#8862](https://github.com/matrix-org/synapse/issues/8862))
- Add additional validation to pusher URLs to be compliant with the specification. ([\#8865](https://github.com/matrix-org/synapse/issues/8865))
- Fix the error code that is returned when a user tries to register on a homeserver on which new-user registration has been disabled. ([\#8867](https://github.com/matrix-org/synapse/issues/8867))
- Fix a bug where `PUT /_synapse/admin/v2/users/<user_id>` failed to create a new user when `avatar_url` is specified. Bug introduced in Synapse v1.9.0. ([\#8872](https://github.com/matrix-org/synapse/issues/8872))
- Fix a 500 error when attempting to preview an empty HTML file. ([\#8883](https://github.com/matrix-org/synapse/issues/8883))
- Fix occasional deadlock when handling SIGHUP. ([\#8918](https://github.com/matrix-org/synapse/issues/8918))
- Fix login API to not ratelimit application services that have ratelimiting disabled. ([\#8920](https://github.com/matrix-org/synapse/issues/8920))
- Fix bug where we ratelimited auto joining of rooms on registration (using `auto_join_rooms` config). ([\#8921](https://github.com/matrix-org/synapse/issues/8921))
- Fix a bug where deactivated users appeared in the user directory when their profile information was updated. ([\#8933](https://github.com/matrix-org/synapse/issues/8933), [\#8964](https://github.com/matrix-org/synapse/issues/8964))
- Fix bug introduced in Synapse v1.24.0 which would cause an exception on startup if both `enabled` and `localdb_enabled` were set to `False` in the `password_config` setting of the configuration file. ([\#8937](https://github.com/matrix-org/synapse/issues/8937))
- Fix a bug where 500 errors would be returned if the `m.room_history_visibility` event had invalid content. ([\#8945](https://github.com/matrix-org/synapse/issues/8945))
- Fix a bug causing common English words to not be considered for a user directory search. ([\#8959](https://github.com/matrix-org/synapse/issues/8959))
- Fix bug where application services couldn't register new ghost users if the server had reached its MAU limit. ([\#8962](https://github.com/matrix-org/synapse/issues/8962))
- Fix a long-standing bug where a `m.image` event without a `url` would cause errors on push. ([\#8965](https://github.com/matrix-org/synapse/issues/8965))
- Fix a small bug in v2 state resolution algorithm, which could also cause performance issues for rooms with large numbers of power levels. ([\#8971](https://github.com/matrix-org/synapse/issues/8971))
- Add validation to the `sendToDevice` API to raise a missing parameters error instead of a 500 error. ([\#8975](https://github.com/matrix-org/synapse/issues/8975))
- Add validation of group IDs to raise a 400 error instead of a 500 eror. ([\#8977](https://github.com/matrix-org/synapse/issues/8977))


Improved Documentation
----------------------

- Fix the "Event persist rate" section of the included grafana dashboard by adding missing prometheus rules. ([\#8802](https://github.com/matrix-org/synapse/issues/8802))
- Combine related media admin API docs. ([\#8839](https://github.com/matrix-org/synapse/issues/8839))
- Fix an error in the documentation for the SAML username mapping provider. ([\#8873](https://github.com/matrix-org/synapse/issues/8873))
- Clarify comments around template directories in `sample_config.yaml`. ([\#8891](https://github.com/matrix-org/synapse/issues/8891))
- Move instructions for database setup, adjusted heading levels and improved syntax highlighting in [INSTALL.md](../INSTALL.md). Contributed by @fossterer. ([\#8987](https://github.com/matrix-org/synapse/issues/8987))
- Update the example value of `group_creation_prefix` in the sample configuration. ([\#8992](https://github.com/matrix-org/synapse/issues/8992))
- Link the Synapse developer room to the development section in the docs. ([\#9002](https://github.com/matrix-org/synapse/issues/9002))


Deprecations and Removals
-------------------------

- Deprecate Shutdown Room and Purge Room Admin APIs. ([\#8829](https://github.com/matrix-org/synapse/issues/8829))


Internal Changes
----------------

- Properly store the mapping of external ID to Matrix ID for CAS users. ([\#8856](https://github.com/matrix-org/synapse/issues/8856), [\#8958](https://github.com/matrix-org/synapse/issues/8958))
- Remove some unnecessary stubbing from unit tests. ([\#8861](https://github.com/matrix-org/synapse/issues/8861))
- Remove unused `FakeResponse` class from unit tests. ([\#8864](https://github.com/matrix-org/synapse/issues/8864))
- Pass `room_id` to `get_auth_chain_difference`. ([\#8879](https://github.com/matrix-org/synapse/issues/8879))
- Add type hints to push module. ([\#8880](https://github.com/matrix-org/synapse/issues/8880), [\#8882](https://github.com/matrix-org/synapse/issues/8882), [\#8901](https://github.com/matrix-org/synapse/issues/8901), [\#8940](https://github.com/matrix-org/synapse/issues/8940), [\#8943](https://github.com/matrix-org/synapse/issues/8943), [\#9020](https://github.com/matrix-org/synapse/issues/9020))
- Simplify logic for handling user-interactive-auth via single-sign-on servers. ([\#8881](https://github.com/matrix-org/synapse/issues/8881))
- Skip the SAML tests if the requirements (`pysaml2` and `xmlsec1`) aren't available. ([\#8905](https://github.com/matrix-org/synapse/issues/8905))
- Fix multiarch docker image builds. ([\#8906](https://github.com/matrix-org/synapse/issues/8906))
- Don't publish `latest` docker image until all archs are built. ([\#8909](https://github.com/matrix-org/synapse/issues/8909))
- Various clean-ups to the structured logging and logging context code. ([\#8916](https://github.com/matrix-org/synapse/issues/8916), [\#8935](https://github.com/matrix-org/synapse/issues/8935))
- Automatically drop stale forward-extremities under some specific conditions. ([\#8929](https://github.com/matrix-org/synapse/issues/8929))
- Refactor test utilities for injecting HTTP requests. ([\#8946](https://github.com/matrix-org/synapse/issues/8946))
- Add a maximum size of 50 kilobytes to .well-known lookups. ([\#8950](https://github.com/matrix-org/synapse/issues/8950))
- Fix bug in `generate_log_config` script which made it write empty files. ([\#8952](https://github.com/matrix-org/synapse/issues/8952))
- Clean up tox.ini file; disable coverage checking for non-test runs. ([\#8963](https://github.com/matrix-org/synapse/issues/8963))
- Add type hints to the admin and room list handlers. ([\#8973](https://github.com/matrix-org/synapse/issues/8973))
- Add type hints to the receipts and user directory handlers. ([\#8976](https://github.com/matrix-org/synapse/issues/8976))
- Drop the unused `local_invites` table. ([\#8979](https://github.com/matrix-org/synapse/issues/8979))
- Add type hints to the base storage code. ([\#8980](https://github.com/matrix-org/synapse/issues/8980))
- Support using PyJWT v2.0.0 in the test suite. ([\#8986](https://github.com/matrix-org/synapse/issues/8986))
- Fix `tests.federation.transport.RoomDirectoryFederationTests` and ensure it runs in CI. ([\#8998](https://github.com/matrix-org/synapse/issues/8998))
- Add type hints to the crypto module. ([\#8999](https://github.com/matrix-org/synapse/issues/8999))
2021-01-13 17:45:36 +00:00
js
1840b80ea0 Add chat/element-web
Element (formerly known as Vector and Riot) is a Matrix web client built using
the Matrix React SDK.
2021-01-02 20:30:23 +00:00
ryoon
bfac3f1b42 *: Recursive revbump from audio/pulseaudio-14.0 2021-01-01 09:52:09 +00:00
ryoon
a8e8c5c75e *: Recursive revbump from boost-1.75.0 2021-01-01 08:24:33 +00:00
mef
073bf62164 (chat/telepathy-haze) Add python/applicaition.mk for adhoc fix
build log says
checking for a Python interpreter with version >= 2.5... none
configure: error: no suitable Python interpreter found

So I've added the line:
.include "../../lang/python/application.mk"
Please correct for better resolution, thanks
2020-12-31 00:36:35 +00:00
gdt
cd7b85898b py-xmpppy: Update to 0.6.2
Upstream lacks NEWS, but reading the commit logs this is bugfixes,
minor improvements and work towards python3

This does not work for me with python 3.8, so I'm leaving it as 2.7
only.
2020-12-19 19:16:22 +00:00
js
c1cc18338f Update chat/matrix-synapse to 1.24.0
Synapse 1.24.0 (2020-12-09)
===========================

Due to the two security issues highlighted below, server administrators are
encouraged to update Synapse. We are not aware of these vulnerabilities being
exploited in the wild.

Security advisory
-----------------

The following issues are fixed in v1.23.1 and v1.24.0.

- There is a denial of service attack
  ([CVE-2020-26257](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26257))
  against the federation APIs in which future events will not be correctly sent
  to other servers over federation. This affects all servers that participate in
  open federation. (Fixed in [#8776](https://github.com/matrix-org/synapse/pull/8776)).

- Synapse may be affected by OpenSSL
  [CVE-2020-1971](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1971).
  Synapse administrators should ensure that they have the latest versions of
  the cryptography Python package installed.

To upgrade Synapse along with the cryptography package:

* Administrators using the [`matrix.org` Docker
  image](https://hub.docker.com/r/matrixdotorg/synapse/) or the [Debian/Ubuntu
  packages from
  `matrix.org`](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#matrixorg-packages)
  should ensure that they have version 1.24.0 or 1.23.1 installed: these images include
  the updated packages.
* Administrators who have [installed Synapse from
  source](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#installing-from-source)
  should upgrade the cryptography package within their virtualenv by running:
  ```sh
  <path_to_virtualenv>/bin/pip install 'cryptography>=3.3'
  ```
* Administrators who have installed Synapse from distribution packages should
  consult the information from their distributions.

Internal Changes
----------------

- Add a maximum version for pysaml2 on Python 3.5. ([\#8898](https://github.com/matrix-org/synapse/issues/8898))


Synapse 1.24.0rc2 (2020-12-04)
==============================

Bugfixes
--------

- Fix a regression in v1.24.0rc1 which failed to allow SAML mapping providers which were unable to redirect users to an additional page. ([\#8878](https://github.com/matrix-org/synapse/issues/8878))


Internal Changes
----------------

- Add support for the `prometheus_client` newer than 0.9.0. Contributed by Jordan Bancino. ([\#8875](https://github.com/matrix-org/synapse/issues/8875))


Synapse 1.24.0rc1 (2020-12-02)
==============================

Features
--------

- Add admin API for logging in as a user. ([\#8617](https://github.com/matrix-org/synapse/issues/8617))
- Allow specification of the SAML IdP if the metadata returns multiple IdPs. ([\#8630](https://github.com/matrix-org/synapse/issues/8630))
- Add support for re-trying generation of a localpart for OpenID Connect mapping providers. ([\#8801](https://github.com/matrix-org/synapse/issues/8801), [\#8855](https://github.com/matrix-org/synapse/issues/8855))
- Allow the `Date` header through CORS. Contributed by Nicolas Chamo. ([\#8804](https://github.com/matrix-org/synapse/issues/8804))
- Add a config option, `push.group_by_unread_count`, which controls whether unread message counts in push notifications are defined as "the number of rooms with unread messages" or "total unread messages". ([\#8820](https://github.com/matrix-org/synapse/issues/8820))
- Add `force_purge` option to delete-room admin api. ([\#8843](https://github.com/matrix-org/synapse/issues/8843))


Bugfixes
--------

- Fix a bug where appservices may be sent an excessive amount of read receipts and presence. Broke in v1.22.0. ([\#8744](https://github.com/matrix-org/synapse/issues/8744))
- Fix a bug in some federation APIs which could lead to unexpected behaviour if different parameters were set in the URI and the request body. ([\#8776](https://github.com/matrix-org/synapse/issues/8776))
- Fix a bug where synctl could spawn duplicate copies of a worker. Contributed by Waylon Cude. ([\#8798](https://github.com/matrix-org/synapse/issues/8798))
- Allow per-room profiles to be used for the server notice user. ([\#8799](https://github.com/matrix-org/synapse/issues/8799))
- Fix a bug where logging could break after a call to SIGHUP. ([\#8817](https://github.com/matrix-org/synapse/issues/8817))
- Fix `register_new_matrix_user` failing with "Bad Request" when trailing slash is included in server URL. Contributed by @angdraug. ([\#8823](https://github.com/matrix-org/synapse/issues/8823))
- Fix a minor long-standing bug in login, where we would offer the `password` login type if a custom auth provider supported it, even if password login was disabled. ([\#8835](https://github.com/matrix-org/synapse/issues/8835))
- Fix a long-standing bug which caused Synapse to require unspecified parameters during user-interactive authentication. ([\#8848](https://github.com/matrix-org/synapse/issues/8848))
- Fix a bug introduced in v1.20.0 where the user-agent and IP address reported during user registration for CAS, OpenID Connect, and SAML were of the wrong form. ([\#8784](https://github.com/matrix-org/synapse/issues/8784))


Improved Documentation
----------------------

- Clarify the usecase for a msisdn delegate. Contributed by Adrian Wannenmacher. ([\#8734](https://github.com/matrix-org/synapse/issues/8734))
- Remove extraneous comma from JSON example in User Admin API docs. ([\#8771](https://github.com/matrix-org/synapse/issues/8771))
- Update `turn-howto.md` with troubleshooting notes. ([\#8779](https://github.com/matrix-org/synapse/issues/8779))
- Fix the example on how to set the `Content-Type` header in nginx for the Client Well-Known URI. ([\#8793](https://github.com/matrix-org/synapse/issues/8793))
- Improve the documentation for the admin API to list all media in a room with respect to encrypted events. ([\#8795](https://github.com/matrix-org/synapse/issues/8795))
- Update the formatting of the `push` section of the homeserver config file to better align with the [code style guidelines](https://github.com/matrix-org/synapse/blob/develop/docs/code_style.md#configuration-file-format). ([\#8818](https://github.com/matrix-org/synapse/issues/8818))
- Improve documentation how to configure prometheus for workers. ([\#8822](https://github.com/matrix-org/synapse/issues/8822))
- Update example prometheus console. ([\#8824](https://github.com/matrix-org/synapse/issues/8824))


Deprecations and Removals
-------------------------

- Remove old `/_matrix/client/*/admin` endpoints which were deprecated since Synapse 1.20.0. ([\#8785](https://github.com/matrix-org/synapse/issues/8785))
- Disable pretty printing JSON responses for curl. Users who want pretty-printed output should use [jq](https://stedolan.github.io/jq/) in combination with curl. Contributed by @tulir. ([\#8833](https://github.com/matrix-org/synapse/issues/8833))


Internal Changes
----------------

- Simplify the way the `HomeServer` object caches its internal attributes. ([\#8565](https://github.com/matrix-org/synapse/issues/8565), [\#8851](https://github.com/matrix-org/synapse/issues/8851))
- Add an example and documentation for clock skew to the SAML2 sample configuration to allow for clock/time difference between the homserver and IdP. Contributed by @localguru. ([\#8731](https://github.com/matrix-org/synapse/issues/8731))
- Generalise `RoomMemberHandler._locally_reject_invite` to apply to more flows than just invite. ([\#8751](https://github.com/matrix-org/synapse/issues/8751))
- Generalise `RoomStore.maybe_store_room_on_invite` to handle other, non-invite membership events. ([\#8754](https://github.com/matrix-org/synapse/issues/8754))
- Refactor test utilities for injecting HTTP requests. ([\#8757](https://github.com/matrix-org/synapse/issues/8757), [\#8758](https://github.com/matrix-org/synapse/issues/8758), [\#8759](https://github.com/matrix-org/synapse/issues/8759), [\#8760](https://github.com/matrix-org/synapse/issues/8760), [\#8761](https://github.com/matrix-org/synapse/issues/8761), [\#8777](https://github.com/matrix-org/synapse/issues/8777))
- Consolidate logic between the OpenID Connect and SAML code. ([\#8765](https://github.com/matrix-org/synapse/issues/8765))
- Use `TYPE_CHECKING` instead of magic `MYPY` variable. ([\#8770](https://github.com/matrix-org/synapse/issues/8770))
- Add a commandline script to sign arbitrary json objects. ([\#8772](https://github.com/matrix-org/synapse/issues/8772))
- Minor log line improvements for the SSO mapping code used to generate Matrix IDs from SSO IDs. ([\#8773](https://github.com/matrix-org/synapse/issues/8773))
- Add additional error checking for OpenID Connect and SAML mapping providers. ([\#8774](https://github.com/matrix-org/synapse/issues/8774), [\#8800](https://github.com/matrix-org/synapse/issues/8800))
- Add type hints to HTTP abstractions. ([\#8806](https://github.com/matrix-org/synapse/issues/8806), [\#8812](https://github.com/matrix-org/synapse/issues/8812))
- Remove unnecessary function arguments and add typing to several membership replication classes. ([\#8809](https://github.com/matrix-org/synapse/issues/8809))
- Optimise the lookup for an invite from another homeserver when trying to reject it. ([\#8815](https://github.com/matrix-org/synapse/issues/8815))
- Add tests for `password_auth_provider`s. ([\#8819](https://github.com/matrix-org/synapse/issues/8819))
- Drop redundant database index on `event_json`. ([\#8845](https://github.com/matrix-org/synapse/issues/8845))
- Simplify `uk.half-shot.msc2778.login.application_service` login handler. ([\#8847](https://github.com/matrix-org/synapse/issues/8847))
- Refactor `password_auth_provider` support code. ([\#8849](https://github.com/matrix-org/synapse/issues/8849))
- Add missing `ordering` to background database updates. ([\#8850](https://github.com/matrix-org/synapse/issues/8850))
- Allow for specifying a room version when creating a room in unit tests via `RestHelper.create_room_as`. ([\#8854](https://github.com/matrix-org/synapse/issues/8854))
2020-12-09 20:40:20 +00:00
nia
96331f7c8b telegram-purple: Strip out -Werror. Should fix gcc9 build. 2020-12-09 09:42:14 +00:00
fox
992b081a0f chat/ircd-hybrid: Updates to 8.2.36
Changes since 8.2.35:

-- Noteworthy changes in version 8.2.36 (2020-12-04)
* The old WATCH implementation has been replaced with IRCv3.2 MONITOR. For this,
  the `general::max_watch` configuration directive has been renamed to
  `general::max_monitor`.
* User mode `B` has been implemented. Clients with that mode set are marked as a
  bot in both `WHOIS` and `WHO`. This mode can only be set by IRC operators (as
  long as the `bot` directive is set in `general::oper_only_umodes`), servers,
  and services.
  This mode can for example be used to mark HOPM as official network bot.
* For a full list of all changes in this release, see <https://git.io/JI3fG>
2020-12-08 14:44:05 +00:00
nia
f6dd9d2f87 Revbump packages with a runtime Python dep but no version prefix.
For the Python 3.8 default switch.
2020-12-04 20:44:57 +00:00
riastradh
77697b790a Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
nia
411911b600 scrollz: Non-default OpenSSL option is broken with 1.1, disable it
Upstream appears to be dead so I don't think this is getting fixed
any time soon. GnuTLS is the default anyway.
2020-11-30 12:28:50 +00:00
nia
c32805af57 phone: Don't build with -g or -Werror. Fixes build with gcc9.
Bump PKGREVISION
2020-11-30 12:26:07 +00:00
nia
3e20119be0 i2cbd: Don't build with -Werror or -g. Fixes build with gcc9. 2020-11-30 12:20:53 +00:00
nia
91aa37a396 bitlbee-facebook: Update to 1.2.1
bitlbee-facebook-1.2.1 (2020-10-20):
  - Fix "Parse error: unexpected identifier 'taNewMessage'"
  - Fix "Failed to read thrift: facebook-api.c:1929 fb_api_cb_publish_pt:
    assertion 'fb_thrift_read_stop(thft)' failed"
2020-11-25 20:44:17 +00:00
nia
5fb83b4037 mautrix-telegram: Add py-test-runner to TOOL_DEPENDS
In a normal build this is detected by setup.py as missing and pulled
with pip or easy_install, however this fails in a restricted pbulk
setup with no internet access.
2020-11-25 08:00:19 +00:00
nia
96331b7c7d srain: Update to 1.1.3
Script(update): bump version to 1.1.3
Sui(fix): fix an use-after-free case

Core(fix): remove server when main loop is idle

Because server may be referenced after function returns.

Script(update): bump version to 1.1.3
2020-11-24 14:17:53 +00:00