Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
dd723267
Commit
dd723267
authored
6 years ago
by
Neil Johnson
Browse files
Options
Downloads
Plain Diff
Merge branch 'release-v0.27.0' of
https://github.com/matrix-org/synapse
into develop
parents
ce72d590
41e06118
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES.rst
+55
-0
55 additions, 0 deletions
CHANGES.rst
synapse/__init__.py
+1
-1
1 addition, 1 deletion
synapse/__init__.py
synapse/storage/__init__.py
+6
-6
6 additions, 6 deletions
synapse/storage/__init__.py
with
62 additions
and
7 deletions
CHANGES.rst
+
55
−
0
View file @
dd723267
Changes in synapse v0.27.3-rc2 (2018-04-09)
==========================================
v0.27.3-rc1 used a stale version of the develop branch so the changelog overstates
the functionality. v0.27.3-rc2 is up to date, rc1 should be ignored.
Changes in synapse v0.27.3-rc1 (2018-04-09)
=======================================
Notable changes include API support for joinability of groups. Also new metrics
and phone home stats. Phone home stats include better visibility of system usage
so we can tweak synpase to work better for all users rather than our own experience
with matrix.org. Also, recording 'r30' stat which is the measure we use to track
overal growth of the Matrix ecosystem. It is defined as:-
Counts the number of native 30 day retained users, defined as:-
* Users who have created their accounts more than 30 days
* Where last seen at most 30 days ago
* Where account creation and last_seen are > 30 days"
Features:
* Add joinability for groups (PR #3045)
* Implement group join API (PR #3046)
* Add counter metrics for calculating state delta (PR #3033)
* R30 stats (PR #3041)
* Measure time it takes to calculate state group ID (PR #3043)
* Add basic performance statistics to phone home (PR #3044)
* Add response size metrics (PR #3071)
* phone home cache size configurations (PR #3063)
Changes:
* Add a blurb explaining the main synapse worker (PR #2886) Thanks to @turt2live!
* Replace old style error catching with 'as' keyword (PR #3000) Thanks to @NotAFile!
* Use .iter* to avoid copies in StateHandler (PR #3006)
* Linearize calls to _generate_user_id (PR #3029)
* Remove last usage of ujson (PR #3030)
* Use simplejson throughout (PR #3048)
* Use static JSONEncoders (PR #3049)
* Remove uses of events.content (PR #3060)
* Improve database cache performance (PR #3068)
Bug fixes:
* Add room_id to the response of `rooms/{roomId}/join` (PR #2986) Thanks to @jplatte!
* Fix replication after switch to simplejson (PR #3015)
* Fix replication after switch to simplejson (PR #3015)
* 404 correctly on missing paths via NoResource (PR #3022)
* Fix error when claiming e2e keys from offline servers (PR #3034)
* fix tests/storage/test_user_directory.py (PR #3042)
* use PUT instead of POST for federating groups/m.join_policy (PR #3070) Thanks to @krombel!
* postgres port script: fix state_groups_pkey error (PR #3072)
Changes in synapse v0.27.2 (2018-03-26)
=======================================
...
...
This diff is collapsed.
Click to expand it.
synapse/__init__.py
+
1
−
1
View file @
dd723267
...
...
@@ -16,4 +16,4 @@
"""
This is a reference implementation of a Matrix home server.
"""
__version__
=
"
0.27.2
"
__version__
=
"
0.27.
3-rc
2
"
This diff is collapsed.
Click to expand it.
synapse/storage/__init__.py
+
6
−
6
View file @
dd723267
...
...
@@ -275,7 +275,7 @@ class DataStore(RoomMemberStore, RoomStore,
"""
def
_count_r30_users
(
txn
):
thirty_days_in_secs
=
86400
*
30
now
=
int
(
self
.
_clock
.
time
_msec
())
now
=
int
(
self
.
_clock
.
time
())
thirty_days_ago_in_secs
=
now
-
thirty_days_in_secs
sql
=
"""
...
...
@@ -289,11 +289,11 @@ class DataStore(RoomMemberStore, RoomStore,
user_id,
last_seen,
CASE
WHEN user_agent LIKE
'
%Android%
'
THEN
'
android
'
WHEN user_agent LIKE
'
%iOS%
'
THEN
'
ios
'
WHEN user_agent LIKE
'
%Electron%
'
THEN
'
electron
'
WHEN user_agent LIKE
'
%Mozilla%
'
THEN
'
web
'
WHEN user_agent LIKE
'
%Gecko%
'
THEN
'
web
'
WHEN user_agent LIKE
'
%
%
Android%
%
'
THEN
'
android
'
WHEN user_agent LIKE
'
%
%
iOS%
%
'
THEN
'
ios
'
WHEN user_agent LIKE
'
%
%
Electron%
%
'
THEN
'
electron
'
WHEN user_agent LIKE
'
%
%
Mozilla%
%
'
THEN
'
web
'
WHEN user_agent LIKE
'
%
%
Gecko%
%
'
THEN
'
web
'
ELSE
'
unknown
'
END
AS platform
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment