summary refs log tree commit diff
path: root/synapse (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix pyflakes errorsMark Haines2015-10-282-3/+5
|
* Add APIs for adding and removing tags from roomsMark Haines2015-10-285-0/+320
|
* Merge pull request #328 from matrix-org/erikj/searchErik Johnston2015-10-261-14/+17
|\ | | | | Pull out sender when computing search results
| * Pull out sender when computing search resultsErik Johnston2015-10-231-14/+17
| |
* | Merge pull request #327 from matrix-org/erikj/searchErik Johnston2015-10-233-2/+30
|\| | | | | Implement rank function for SQLite FTS
| * Implement rank function for SQLite FTSErik Johnston2015-10-233-2/+30
| |
* | Merge pull request #323 from matrix-org/daniel/sizelimitsDaniel Wagner-Hall2015-10-232-1/+30
|\ \ | | | | | | Reject events which are too large
| * | Reject events which are too largeDaniel Wagner-Hall2015-10-222-1/+30
| | | | | | | | | | | | SPEC-222
* | | Merge branch 'release-v0.10.1' of github.com:matrix-org/synapse into developErik Johnston2015-10-237-12/+48
|\ \ \
| * | | Fix receipts for room initial syncErik Johnston2015-10-221-7/+1
| | | |
| * | | Add config option to disable password loginErik Johnston2015-10-225-4/+46
| | | |
| * | | Bump versionErik Johnston2015-10-151-1/+1
| | | |
* | | | Merge pull request #325 from matrix-org/markjh/filter_dictsMark Haines2015-10-221-3/+22
|\ \ \ \ | |_|_|/ |/| | | Support filtering events represented as dicts.
| * | | Don't assume that the event has a room_id or senderMark Haines2015-10-221-2/+2
| | | |
| * | | Support filtering events represented as dicts.Mark Haines2015-10-221-3/+22
| | | | | | | | | | | | | | | | | | | | This is useful because the emphemeral events such as presence and typing are represented as dicts inside synapse.
| * | | Merge pull request #319 from matrix-org/erikj/filter_refactorErik Johnston2015-10-222-99/+61
| |\ \ \ | | | | | | | | | | Refactor api.filtering to have a Filter API
* | | | | Actually filter resultsErik Johnston2015-10-221-3/+5
| | | | |
* | | | | RenameErik Johnston2015-10-221-3/+3
| | | | |
* | | | | LESS THANErik Johnston2015-10-221-1/+2
| | | | |
* | | | | Use namedtuple as return valueErik Johnston2015-10-222-4/+18
| | | | |
* | | | | Limit max number of SQL varsErik Johnston2015-10-221-4/+6
| | | | |
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-225-25/+208
|\| | | |
| * | | | Merge pull request #320 from matrix-org/appservice-retry-capErik Johnston2015-10-221-2/+2
| |\ \ \ \ | | | | | | | | | | | | Cap the time to retry txns to appservices to 8.5 minutes
| | * | | | Cap the time to retry txns to appservices to 8.5 minutesKegan Dougal2015-10-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's been numerous issues with people playing around with their application service and then not receiving events from their HS for ages due to backoff timers reaching crazy heights (albeit capped at < 1 day). Reduce the max time between pokes to be 8.5 minutes (2^9 secs) which is quick enough for people to wait it out (avg wait time being 4.25 min) but long enough to actually give the AS breathing room if it needs it.
| * | | | | Merge branch 'develop' into markjh/v2_sync_typingMark Haines2015-10-2124-212/+896
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/sync.py
| | * \ \ \ \ Merge pull request #316 from matrix-org/markjh/v2_sync_archivedMark Haines2015-10-213-9/+163
| | |\ \ \ \ \ | | | |_|_|_|/ | | |/| | | | Add rooms that the user has left under archived in v2 sync.
| | | * | | | Include banned rooms in the archived section of v2 syncMark Haines2015-10-212-8/+11
| | | | | | |
| | | * | | | Fix pep8Mark Haines2015-10-191-1/+0
| | | | | | |
| | | * | | | Add rooms that the user has left under archived in v2 sync.Mark Haines2015-10-193-9/+161
| | | | | | |
| | * | | | | Merge pull request #318 from matrix-org/syn-502-login-bad-emailsKegsay2015-10-211-0/+2
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Don't 500 on /login when the email doesn't map to a valid user ID.
| | | * | | | | Use 403 and message to match handlers/authKegan Dougal2015-10-211-3/+1
| | | | | | | |
| | | * | | | | Don't 500 when the email doesn't map to a valid user ID.Kegan Dougal2015-10-201-0/+4
| | | | |/ / / | | | |/| | |
| * | | | | | Doc string for the SyncHandler.typing_by_room methodMark Haines2015-10-211-0/+12
| | | | | | |
| * | | | | | Include typing events in initial v2 syncMark Haines2015-10-201-14/+29
| | |_|/ / / | |/| | | |
* | | | | | PEP8Erik Johnston2015-10-221-1/+2
| | | | | |
* | | | | | Move FTS to delta 25Erik Johnston2015-10-222-3/+3
| | | | | |
* | | | | | Filter room ids before hitting the databaseErik Johnston2015-10-212-1/+21
| | | | | |
* | | | | | Filter search resultsErik Johnston2015-10-211-2/+7
| |_|_|/ / |/| | | |
* | | | | DocstringErik Johnston2015-10-201-0/+5
| | | | |
* | | | | Refactor api.filtering to have a Filter APIErik Johnston2015-10-202-100/+57
| |/ / / |/| | |
* | | | Allow rejecting invitesDaniel Wagner-Hall2015-10-207-91/+351
| |/ / |/| | | | | | | | | | | This is done by using the same /leave flow as you would use if you had already accepted the invite and wanted to leave.
* | | Merge pull request #312 from matrix-org/daniel/3pidinvitesDaniel Wagner-Hall2015-10-192-8/+15
|\ \ \ | | | | | | | | Stuff signed data in a standalone object
| * | | Stuff signed data in a standalone objectDaniel Wagner-Hall2015-10-162-8/+15
| | | | | | | | | | | | | | | | | | | | Makes both generating it in sydent, and verifying it here, simpler at the cost of some repetition
* | | | Merge pull request #307 from matrix-org/erikj/searchErik Johnston2015-10-1910-2/+365
|\ \ \ \ | | | | | | | | | | Add basic search API
| * | | | Explicitly check for Sqlite3EngineErik Johnston2015-10-161-2/+5
| | | | |
| * | | | TypingErik Johnston2015-10-161-2/+2
| | | | |
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-1613-25/+393
| |\ \ \ \
| * | | | | Remove unused importErik Johnston2015-10-161-3/+1
| | | | | |
| * | | | | Remove duplicate _filter_events_for_clientErik Johnston2015-10-161-46/+0
| | | | | |
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-163-97/+51
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-161-2/+2
| |\ \ \ \ \ \
| * | | | | | | Explicitly check for Sqlite3EngineErik Johnston2015-10-161-2/+5
| | | | | | | |
| * | | | | | | docstringErik Johnston2015-10-161-0/+10
| | | | | | | |
| * | | | | | | Add docstringErik Johnston2015-10-161-0/+11
| | | | | | | |
| * | | | | | | Comment on the LIMIT 500Erik Johnston2015-10-161-0/+2
| | | | | | | |
| * | | | | | | Split up run_upgradeErik Johnston2015-10-161-5/+11
| | | | | | | |
| * | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-156-171/+291
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | |
| * | | | | | | Remove unused constatnsErik Johnston2015-10-141-19/+0
| | | | | | | |
| * | | | | | | Make 'keys' optionalErik Johnston2015-10-141-1/+3
| | | | | | | |
| * | | | | | | Fix to work with SQLiteErik Johnston2015-10-141-4/+11
| | | | | | | |
| * | | | | | | More TODO markersErik Johnston2015-10-141-0/+3
| | | | | | | |
| * | | | | | | Add TODO markersErik Johnston2015-10-141-1/+4
| | | | | | | |
| * | | | | | | Add paranoia limitErik Johnston2015-10-131-1/+1
| | | | | | | |
| * | | | | | | Remove constraints in preperation of using filtersErik Johnston2015-10-132-71/+20
| | | | | | | |
| * | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-131-18/+44
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'erikj/store_engine' into erikj/searchErik Johnston2015-10-135-4/+4
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Add SQLite supportErik Johnston2015-10-131-5/+12
| | | | | | | | | |
| * | | | | | | | | Merge branch 'erikj/store_engine' into erikj/searchErik Johnston2015-10-138-408/+463
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Search left rooms tooErik Johnston2015-10-131-5/+2
| | | | | | | | | | |
| * | | | | | | | | | Add sqlite schemaErik Johnston2015-10-131-5/+64
| | | | | | | | | | |
| * | | | | | | | | | Filter events to only thsoe that the user is allowed to seeErik Johnston2015-10-122-13/+17
| | | | | | | | | | |
| * | | | | | | | | | Merge remote-tracking branch 'origin/develop' into erikj/searchErik Johnston2015-10-1210-64/+254
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Remove unused room_id parameterErik Johnston2015-10-125-14/+61
| | | | | | | | | | | |
| * | | | | | | | | | | PEP8Erik Johnston2015-10-121-2/+9
| | | | | | | | | | | |
| * | | | | | | | | | | Keep FTS indexes up to date. Only search through rooms currently joinedErik Johnston2015-10-126-12/+55
| | | | | | | | | | | |
| * | | | | | | | | | | Add basic full text search impl.Erik Johnston2015-10-098-1/+268
| | | | | | | | | | | |
* | | | | | | | | | | | Surely we don't need to preserve 'events_default' twicePaul "LeoNerd" Evans2015-10-161-1/+0
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #306 from matrix-org/markjh/unused_methodsMark Haines2015-10-162-101/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | Remove some login classes from synapse.
| * | | | | | | | | | | synapse.client.v1.login.LoginFallbackRestServlet and ↵Mark Haines2015-10-151-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | synapse.client.v1.login.PasswordResetRestServlet are unused
| * | | | | | | | | | | synapse.util.emailutils was unusedMark Haines2015-10-151-71/+0
| | |_|_|_|_|/ / / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge pull request #310 from matrix-org/markjh/bcrypt_roundsMark Haines2015-10-162-1/+8
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | Add config for how many bcrypt rounds to use for password hashes
| * | | | | | | | | | Add config for how many bcrypt rounds to use for password hashesMark Haines2015-10-162-1/+8
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default we leave it at the default value of 12. But now we can reduce it for preparing users for loadtests or running integration tests.
* | | | | | | | | | Fix FilteringStore.get_user_filter to work with postgresMark Haines2015-10-161-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #302 from matrix-org/daniel/3pidinvitesDaniel Wagner-Hall2015-10-1612-24/+392
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | / | | |_|_|_|_|_|_|/ | |/| | | | | | | Implement third party identifier invites
| * | | | | | | | Add signing host and keyname to signaturesDaniel Wagner-Hall2015-10-162-6/+10
| | | | | | | | |
| * | | | | | | | Verify third party ID server certificatesDaniel Wagner-Hall2015-10-164-9/+43
| | | | | | | | |
| * | | | | | | | Use non-placeholder name for endpointDaniel Wagner-Hall2015-10-151-1/+1
| | | | | | | | |
| * | | | | | | | Look for keys on the right objectsDaniel Wagner-Hall2015-10-153-4/+6
| | | | | | | | |
| * | | | | | | | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-1514-581/+748
| |\| | | | | | |
| * | | | | | | | Use more descriptive error codeDaniel Wagner-Hall2015-10-131-1/+1
| | | | | | | | |
| * | | | | | | | Remove unnecessary class-wrappingDaniel Wagner-Hall2015-10-138-91/+94
| | | | | | | | |
| * | | | | | | | Move logic into handlerDaniel Wagner-Hall2015-10-132-115/+150
| | | | | | | | |
| * | | | | | | | Add loggingDaniel Wagner-Hall2015-10-131-2/+2
| | | | | | | | |
| * | | | | | | | Re-add accidentally removed codeDaniel Wagner-Hall2015-10-131-1/+1
| | | | | | | | |
| * | | | | | | | Add some docstringDaniel Wagner-Hall2015-10-131-0/+15
| | | | | | | | |
| * | | | | | | | Move event contents into third_party_layout fieldDaniel Wagner-Hall2015-10-137-21/+35
| | | | | | | | |
| * | | | | | | | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-1310-64/+288
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-061-1/+0
| |\ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / | | |/| | | | | | |
| * | | | | | | | | Remove merge thinkoDaniel Wagner-Hall2015-10-061-4/+0
| | | | | | | | | |
| * | | | | | | | | Add third party invites to auth_events for joinsDaniel Wagner-Hall2015-10-061-0/+5
| | | | | | | | | |
| * | | | | | | | | Fix lint errorsDaniel Wagner-Hall2015-10-062-4/+4
| | | | | | | | | |
| * | | | | | | | | Revert "Revert "Merge pull request #283 from ↵Daniel Wagner-Hall2015-10-061-76/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/erikj/atomic_join_federation"" This reverts commit 34d26d36874ab0bc7fa4dab0db08bd37ba4936ae.
| * | | | | | | | | Merge branch 'daniel/useragent' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-061-1/+1
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-061-1/+2
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'daniel/useragent' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-052-6/+10
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Revert "Merge pull request #283 from matrix-org/erikj/atomic_join_federation"Daniel Wagner-Hall2015-10-051-131/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5879edbb097d19c2b5f5e064841909e67d6018fe, reversing changes made to b43930d4c9479973fb7225818e2e51bec022c4e6.
| * | | | | | | | | | | | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-059-82/+217
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Implement third party identifier invitesDaniel Wagner-Hall2015-10-0111-19/+275
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Amalgamate _filter_events_for_clientErik Johnston2015-10-163-97/+51
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |
* | | | | | | | | | | | | Encode the filter JSON as UTF-8 before storing in the database.Mark Haines2015-10-161-2/+2
| |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because we are using a binary column type to store the filter JSON.
* | | | | | | | | | | | Merge pull request #305 from matrix-org/markjh/v2_sync_apiMark Haines2015-10-143-170/+211
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Update the v2 sync API to work as specified in the current spec.
| * | | | | | | | | | | | Fix v2 sync pollingMark Haines2015-10-141-3/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'develop' into markjh/v2_sync_apiMark Haines2015-10-147-381/+481
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Add a get_invites_for_user method to the storage to find out the rooms a ↵Mark Haines2015-10-132-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user is invited to
| * | | | | | | | | | | | | Include invites in incremental syncMark Haines2015-10-132-7/+26
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Include invited rooms in the initial syncMark Haines2015-10-132-11/+26
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Merge branch 'develop' into markjh/v2_sync_apiMark Haines2015-10-1310-33/+238
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|/ / / / / | | |/| | | | | | | | | | |
| * | | | | | | | | | | | | Start spliting out the rooms into joined and invited in v2 syncMark Haines2015-10-132-27/+49
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Update the filters to match the latest spec.Mark Haines2015-10-123-36/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply the filter the 'timeline' and 'ephemeral' keys of rooms. Apply the filter to the 'presence' key of a sync response.
| * | | | | | | | | | | | | Merge branch 'markjh/presence_races' into markjh/v2_sync_apiMark Haines2015-10-091-3/+8
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Set the user as online if they start polling the v2 syncMark Haines2015-10-091-3/+11
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'markjh/eventstream_presence' into markjh/v2_sync_apiMark Haines2015-10-0910-122/+271
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Format the presence events correctly for v2Mark Haines2015-10-091-3/+9
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Update the v2 room sync format to match the current v2 specMark Haines2015-10-082-21/+18
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Update the sync response to match the latest specMark Haines2015-10-071-24/+22
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Move the rooms out into a room_map mapping from room_id to room.Mark Haines2015-10-053-32/+47
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Start updating the sync API to match the specificationMark Haines2015-10-013-90/+54
| | |_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | | Remove unused room_id argErik Johnston2015-10-144-12/+12
| |_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #303 from matrix-org/markjh/twisted_debuggingMark Haines2015-10-133-1/+80
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | Bounce all deferreds through the reactor to make debugging easier.
| * | | | | | | | | | | | | Only turn on the twisted deferred debugging if full_twisted_stacktraces is ↵Mark Haines2015-10-132-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set in the config
| * | | | | | | | | | | | | Fix pep8 warnings.Mark Haines2015-10-131-8/+12
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Bounce all deferreds through the reactor to make debugging easier.Mark Haines2015-10-132-0/+70
| | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If all deferreds wait a reactor tick before resolving then there is always a chance to add an errback to the deferred so that stacktraces get reported, rather than being discarded.
* / | | | | | | | | | | | Update the v2 filters to support filtering presence and remove support for ↵Mark Haines2015-10-131-18/+44
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | public/private user data
* | | | | | | | | | | / rename schema_prepare to prepare_databaseErik Johnston2015-10-134-3/+3
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
* | | | | | | | | | | Expose error more nicelyErik Johnston2015-10-135-8/+4
| | | | | | | | | | |
* | | | | | | | | | | Split out the schema preparation and update logic into its own moduleErik Johnston2015-10-134-377/+402
| |_|_|/ / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #299 from stevenhammerton/sh-cas-required-attributeErik Johnston2015-10-122-27/+61
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | SH CAS Required Attribute
| * | | | | | | | | Add a comment to clarify why we split on closing curly brace when reading ↵Steven Hammerton2015-10-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CAS attribute tags
| * | | | | | | | | Unpack dictionary in for loop for nicer syntaxSteven Hammerton2015-10-121-4/+4
| | | | | | | | | |
| * | | | | | | | | Default cas_required_attributes to empty dictionarySteven Hammerton2015-10-121-1/+1
| | | | | | | | | |
| * | | | | | | | | Remove not required parenthesisSteven Hammerton2015-10-121-1/+1
| | | | | | | | | |
| * | | | | | | | | Support multiple required attributes in CAS response, and in a nicer config ↵Steven Hammerton2015-10-122-22/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | format too
| * | | | | | | | | Allow optional config params for a required attribute and it's value, if ↵Steven Hammerton2015-10-122-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified any CAS user must have the given attribute and the value must equal
| * | | | | | | | | Parse both user and attributes from CAS responseSteven Hammerton2015-10-121-26/+38
| | | | | | | | | |
* | | | | | | | | | Merge pull request #296 from matrix-org/markjh/eventstream_presenceMark Haines2015-10-121-35/+52
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | Split the sections of EventStreamHandler.get_stream that handle presence
| * | | | | | | | | Split the sections of EventStreamHandler.get_stream that handle presenceMark Haines2015-10-091-35/+52
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into separate functions. This makes the code a bit easier to read, and means that we can reuse the logic when implementing the v2 sync API.
* | | | | | | | | Merge pull request #297 from matrix-org/markjh/presence_racesMark Haines2015-10-121-3/+8
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | / / / / / | | |_|/ / / / / | |/| | | | | | Fix some races in the synapse presence handler caused by not yielding…
| * | | | | | | Fix some races in the synapse presence handler caused by not yielding on ↵Mark Haines2015-10-091-3/+8
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | deferreds
* | | | | | | Fix previous merge to s/version_string/user_agent/Erik Johnston2015-10-101-2/+2
| | | | | | |
* | | | | | | Raise LoginError if CasResponse doensn't contain userSteven Hammerton2015-10-101-1/+1
| | | | | | |
* | | | | | | Fix my broken line splittingSteven Hammerton2015-10-101-4/+6
| | | | | | |
* | | | | | | Use UserId to create FQ user idSteven Hammerton2015-10-101-1/+1
| | | | | | |
* | | | | | | Add get_raw method to SimpleHttpClient, use this in CAS auth rather than ↵Steven Hammerton2015-10-102-24/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | requests
* | | | | | | Formatting changesSteven Hammerton2015-10-102-6/+14
| | | | | | |
* | | | | | | Provide ability to login using CASSteven Hammerton2015-10-104-2/+135
| | | | | | |
* | | | | | | Merge pull request #294 from matrix-org/markjh/initial_sync_archived_flagMark Haines2015-10-092-6/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add a flag to initial sync to include we want rooms that the user has left
| * | | | | | | Use 'true' rather than '1' for archived flagMark Haines2015-10-081-1/+1
| | | | | | | |
| * | | | | | | Add a flag to initial sync to indicate we want rooms that the user has leftMark Haines2015-10-082-6/+11
| |/ / / / / /
* | | | | | / Use raw string for regex here, otherwise \b is the backspace character. ↵David Baker2015-10-081-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Fixes displayname matching.
* | | | | | Merge pull request #292 from matrix-org/daniel/useragentDaniel Wagner-Hall2015-10-062-6/+10
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | Allow synapse's useragent to be customized
| * | | | | Use space not dash as delimiterDaniel Wagner-Hall2015-10-061-1/+1
| | | | | |
| * | | | | Use space not dash as delimiterDaniel Wagner-Hall2015-10-061-1/+1
| | | | | |
| * | | | | Merge branch 'develop' into daniel/useragentDaniel Wagner-Hall2015-10-069-87/+219
| |\| | | | | | |_|_|/ | |/| | |
| * | | | Preserve version string in user agentDaniel Wagner-Hall2015-10-052-4/+4
| | | | |
| * | | | Allow synapse's useragent to be customizedDaniel Wagner-Hall2015-10-022-6/+10
| | |/ / | |/| | | | | | | | | | | | | | This will allow me to write tests which verify which server made HTTP requests in a federation context.
* | | | Remove log line that was generated whenever an error was created. We are now ↵Mark Haines2015-10-061-1/+0
| |/ / |/| | | | | | | | creating error objects that aren't raised so it's probably a bit too confusing to keep
* | | Explicitly add Create event as auth eventErik Johnston2015-10-021-2/+3
| |/ |/|
* | Add 'trusted_private_chat' to room creation presetsErik Johnston2015-10-022-0/+6
| |
* | Merge pull request #275 from matrix-org/erikj/invite_stateErik Johnston2015-10-023-5/+34
|\ \ | | | | | | Bundle in some room state in invites.
| * | Also bundle in senderErik Johnston2015-10-021-0/+1
| | |
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/invite_stateErik Johnston2015-09-2539-181/+724
| |\ \
| * | | Bundle in some room state in the unsigned bit of the invite when sending to ↵Erik Johnston2015-09-104-7/+35
| | | | | | | | | | | | | | | | invited servers
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/unfederatableErik Johnston2015-10-0247-847/+875
|\ \ \ \
| * \ \ \ Merge pull request #283 from matrix-org/erikj/atomic_join_federationErik Johnston2015-10-021-76/+131
| |\ \ \ \ | | | | | | | | | | | | Atomically persist events when joining a room over federation/
| | * | | | CommentErik Johnston2015-09-301-0/+8
| | | | | |
| | * | | | Rename varErik Johnston2015-09-301-3/+3
| | | | | |
| | * | | | Fix getting an event for a room the server forgot it was inErik Johnston2015-09-171-47/+59
| | | | | |
| | * | | | Also persist stateErik Johnston2015-09-171-1/+1
| | | | | |
| | * | | | Capture errErik Johnston2015-09-171-2/+2
| | | | | |
| | * | | | Also handle stateErik Johnston2015-09-171-3/+3
| | | | | |
| | * | | | Don't bail out of joining if we encounter a rejected eventErik Johnston2015-09-171-13/+20
| | | | | |
| | * | | | Refactor do_invite_joinErik Johnston2015-09-172-31/+56
| | | | | |
| * | | | | Validate the receipt type before passing it on to the receipt handlerKegan Dougal2015-10-011-0/+4
| | | | | |
| * | | | | Don't change cwd in synctlErik Johnston2015-10-011-2/+2
| | | | | |
| * | | | | Merge pull request #287 from matrix-org/erikj/canonical_aliasErik Johnston2015-09-301-1/+10
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | Set m.room.canonical_alias on room creation.
| | * | | | Remove double indentationErik Johnston2015-09-301-7/+6
| | | | | |
| | * | | | Set m.room.canonical_alias on room creation.Erik Johnston2015-09-231-1/+11
| | | | | |
| * | | | | Merge pull request #288 from matrix-org/markjh/unused_definitionsMark Haines2015-09-2814-565/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | Remove some of the unused definitions from synapse
| | * | | | | synapse/storage/state.py: _make_group_id was unusedMark Haines2015-09-231-6/+0
| | | | | | |
| | * | | | | Remove unused functions from synapse/storage/signatures.pyMark Haines2015-09-231-112/+0
| | | | | | |
| | * | | | | synapse/storage/roommember.py:_get_members_query was unusedMark Haines2015-09-231-6/+0
| | | | | | |
| | * | | | | Remove unused functions from synapse/storage/events.pyMark Haines2015-09-231-11/+0
| | | | | | |
| | * | | | | Remove unused functions from synapse/storage/event_federation.pyMark Haines2015-09-231-71/+0
| | | | | | |
| | * | | | | synapse/storage/_base.py:_simple_max_id was unusedMark Haines2015-09-231-18/+0
| | | | | | |
| | * | | | | synapse/storage/_base.py:_simple_delete was unusedMark Haines2015-09-231-10/+0
| | | | | | |
| | * | | | | synapse/storage/_base.py:_simple_selectupdate_one was unusedMark Haines2015-09-231-31/+0
| | | | | | |
| | * | | | | synapse/state.py:_get_state_key_from_event was unusedMark Haines2015-09-231-4/+0
| | | | | | |
| | * | | | | synapse/handlers/room.py:_should_invite_join was unusedMark Haines2015-09-231-26/+0
| | | | | | |
| | * | | | | synapse/handlers/federation.py:_handle_auth_events was unusedMark Haines2015-09-231-49/+0
| | | | | | |
| | * | | | | synapse/storage/event_federation.py:_get_auth_events is unusedMark Haines2015-09-221-21/+0
| | | | | | |
| | * | | | | synapse/storage/_base.py:_execute_and_decode was unusedMark Haines2015-09-221-3/+0
| | | | | | |
| | * | | | | Move NullSource out of synapse and into tests since it is only used by the testsMark Haines2015-09-221-16/+0
| | | | | | |
| | * | | | | Note that GzipFile was removed in comment that referenced itMark Haines2015-09-221-0/+1
| | | | | | |
| | * | | | | synapse/app/homeserver.py:GzipFile was unusedMark Haines2015-09-221-6/+0
| | | | | | |
| | * | | | | synapse/streams/events.py:StreamSource was unusedMark Haines2015-09-221-12/+0
| | | | | | |
| | * | | | | synapse/api/errors.py:RoomError was unusedMark Haines2015-09-221-5/+0
| | | | | | |
| | * | | | | synapse/util/__init__.py:unwrap_deferred was unusedMark Haines2015-09-221-28/+0
| | | | | | |
| | * | | | | synapse/storage/_base.py:Table was unusedMark Haines2015-09-222-130/+2
| | | | | | |
| * | | | | | Fix restartDaniel Wagner-Hall2015-09-241-2/+2
| | | | | | |
| * | | | | | Allow config file path to be configurable in in synctlDaniel Wagner-Hall2015-09-241-24/+26
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Also, allow it to be run from directories other than the synapse directory
| * | | | | Merge pull request #289 from matrix-org/markjh/fix_sqlErik Johnston2015-09-241-6/+6
| |\ \ \ \ \ | | |_|/ / / | |/| | | | Fix order of ON constraints in _get_rooms_for_user_where_membership
| | * | | | Fix order of ON constraints in _get_rooms_for_user_where_membership_is_txnMark Haines2015-09-241-6/+6
| | |/ / /
| * | | | Merge pull request #282 from matrix-org/erikj/missing_keysErik Johnston2015-09-231-4/+3
| |\ \ \ \ | | | | | | | | | | | | Fix bug where we sometimes didn't fetch all the keys requested for a server.
| | * | | | Fix bug where we sometimes didn't fetch all the keys requested for aErik Johnston2015-09-171-4/+3
| | | |/ / | | |/| | | | | | | | | | | | server.
| * | | | Merge pull request #271 from matrix-org/erikj/default_historyErik Johnston2015-09-231-1/+1
| |\ \ \ \ | | |_|/ / | |/| | | Change default history visibility for private rooms
| | * | | Change default history visibility for private roomsErik Johnston2015-09-091-1/+1
| | | | |
| * | | | Merge pull request #286 from matrix-org/markjh/stream_config_reprMark Haines2015-09-221-3/+8
| |\ \ \ \ | | | | | | | | | | | | Define __repr__ methods for StreamConfig and PaginationConfig
| | * | | | Define __repr__ methods for StreamConfig and PaginationConfigMark Haines2015-09-221-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | So that they can be used with "%r" log formats.
| * | | | | Add some docstringsDaniel Wagner-Hall2015-09-222-0/+4
| | | | | |
| * | | | | Catch stats-reporting errorsDaniel Wagner-Hall2015-09-221-4/+7
| | | | | |
| * | | | | Add docstringDaniel Wagner-Hall2015-09-221-0/+6
| | | | | |
| * | | | | Front-load spacesDaniel Wagner-Hall2015-09-221-7/+7
| | | | | |
| * | | | | Implement configurable stats reportingDaniel Wagner-Hall2015-09-2220-24/+212
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set.
| * | | | Merge pull request #276 from ↵Mark Haines2015-09-218-115/+260
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/markjh/history_for_rooms_that_have_been_left SPEC-216: Allow users to view the history of rooms that they have left.
| | * | | | Clarify that room_initial_sync returns a python dictMark Haines2015-09-211-1/+1
| | | | | |
| | * | | | Fix doc string to point at the right classMark Haines2015-09-211-2/+3
| | | | | |
| | * | | | Add explicit "elif event.membership == Membership.LEAVE" for clarityMark Haines2015-09-211-1/+2
| | | | | |
| | * | | | Clamp the "to" token for /rooms/{roomId}/messages to when the user leftMark Haines2015-09-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the room. There isn't a way for the client to learn a valid "to" token for a room that they have left in the C-S API but that doesn't stop a client making one up.
| | * | | | Clarify which event is returned by check_user_was_in_roomMark Haines2015-09-211-2/+3
| | | | | |
| | * | | | Allow users to GET individual state events for rooms that they have leftMark Haines2015-09-101-7/+13
| | | | | |
| | * | | | Allow users that have left a room to get the messages that happend in the ↵Mark Haines2015-09-092-5/+45
| | | | | | | | | | | | | | | | | | | | | | | | room before they left
| | * | | | Remove undocumented and unimplemented 'feedback' parameter from the ↵Mark Haines2015-09-096-42/+5
| | | | | | | | | | | | | | | | | | | | | | | | Client-Server API
| | * | | | Allow users that have left the room to view the member list from the point ↵Mark Haines2015-09-092-41/+13
| | | | | | | | | | | | | | | | | | | | | | | | they left
| | * | | | Allow rooms/{roomId}/state for a room that has been leftMark Haines2015-09-092-6/+15
| | | | | |
| | * | | | Allow room initialSync for users that have left the room, returning a ↵Mark Haines2015-09-093-9/+140
| | | | | | | | | | | | | | | | | | | | | | | | snapshot of how the room was when they left it
| | * | | | Include rooms that a user has left in an initialSync. Include the state and ↵Mark Haines2015-09-081-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | messages at the point they left the room
| | * | | | Include the event_id and stream_ordering of membership events when looking ↵Mark Haines2015-09-081-2/+4
| | |/ / / | | | | | | | | | | | | | | | up which rooms a user is in
| * | | | Merge pull request #267 from matrix-org/markjh/missing_requirementsMark Haines2015-09-182-11/+29
| |\ \ \ \ | | | | | | | | | | | | Print an example "pip install" line for a missing requirement
| | * | | | Add nacl.bindings to the list of modules checked. Re-arrange import order to ↵Mark Haines2015-09-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | check packages after the packages they depend on
| | * | | | Print an example "pip install" line for a missing requirementMark Haines2015-09-012-8/+26
| | | | | |
| * | | | | Remove run_on_reactorErik Johnston2015-09-171-3/+0
| | |_|/ / | |/| | |
| * | | | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-09-161-1/+1
| |\ \ \ \
| | * \ \ \ Merge branch 'erikj/update_extremeties' into hotfixes-v0.10.0-r2Erik Johnston2015-09-162-0/+11
| | |\ \ \ \
| | * | | | | Fix adding threepids to an existing accountDavid Baker2015-09-101-0/+1
| | | | | | |
| | * | | | | Bump version and change logErik Johnston2015-09-101-1/+1
| | | | | | |
| | * | | | | Various bug fixes to crypto.keyringErik Johnston2015-09-101-10/+17
| | | | | | |
| * | | | | | Merge pull request #281 from matrix-org/erikj/update_extremetiesErik Johnston2015-09-152-0/+11
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | When updating a stored event from outlier to non-outlier, remember to update the extremeties
| | * | | | | "Comments"Erik Johnston2015-09-151-0/+6
| | | | | | |
| | * | | | | When updating a stored event from outlier to non-outlier, remember to update ↵Erik Johnston2015-09-152-0/+5
| | |/ / / / | | | | | | | | | | | | | | | | | | the extremeties
| * | | | | Merge pull request #272 from matrix-org/daniel/insecureclientDaniel Wagner-Hall2015-09-157-12/+55
| |\ \ \ \ \ | | | | | | | | | | | | | | Allow configuration to ignore invalid SSL certs