summary refs log tree commit diff
path: root/scripts-dev/check_auth.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-26Add login fallbackErik Johnston5-0/+280
2015-10-26Move static folder into synapseErik Johnston7-1/+3
This is because otherwise it won't get picked up by python packaging. This also fixes the problem where the "static" folder was found if synapse wasn't started from that directory.
2015-10-22Fix receipts for room initial syncErik Johnston1-7/+1
2015-10-22Add config option to disable password loginErik Johnston5-4/+46
2015-10-16Reorder changelog v0.10.1-rc1Erik Johnston1-6/+7
2015-10-15Update change logErik Johnston1-0/+16
2015-10-15Bump versionErik Johnston1-1/+1
2015-10-14Fix v2 sync pollingMark Haines1-3/+3
2015-10-14Remove unused room_id argErik Johnston4-12/+12
2015-10-13Enable stack traces for the demo scriptsMark Haines1-0/+3
2015-10-13Only turn on the twisted deferred debugging if full_twisted_stacktraces is ↵Mark Haines2-3/+8
set in the config
2015-10-13Fix pep8 warnings.Mark Haines1-8/+12
2015-10-13Bounce all deferreds through the reactor to make debugging easier.Mark Haines2-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.
2015-10-13update filtering testsMark Haines1-6/+6
2015-10-13Update the v2 filters to support filtering presence and remove support for ↵Mark Haines1-18/+44
public/private user data
2015-10-13Add a get_invites_for_user method to the storage to find out the rooms a ↵Mark Haines2-6/+16
user is invited to
2015-10-13rename schema_prepare to prepare_databaseErik Johnston5-4/+4
2015-10-13Expose error more nicelyErik Johnston6-9/+5
2015-10-13Include invites in incremental syncMark Haines2-7/+26
2015-10-13Split out the schema preparation and update logic into its own moduleErik Johnston4-377/+402
2015-10-13Include invited rooms in the initial syncMark Haines2-11/+26
2015-10-13Start spliting out the rooms into joined and invited in v2 syncMark Haines2-27/+49
2015-10-12Update the filters to match the latest spec.Mark Haines4-42/+55
Apply the filter the 'timeline' and 'ephemeral' keys of rooms. Apply the filter to the 'presence' key of a sync response.
2015-10-12Add a comment to clarify why we split on closing curly brace when reading ↵Steven Hammerton1-0/+5
CAS attribute tags
2015-10-12Unpack dictionary in for loop for nicer syntaxSteven Hammerton1-4/+4
2015-10-12Default cas_required_attributes to empty dictionarySteven Hammerton1-1/+1
2015-10-12Remove not required parenthesisSteven Hammerton1-1/+1
2015-10-12Support multiple required attributes in CAS response, and in a nicer config ↵Steven Hammerton2-22/+10
format too
2015-10-12Allow optional config params for a required attribute and it's value, if ↵Steven Hammerton2-1/+30
specified any CAS user must have the given attribute and the value must equal
2015-10-12Parse both user and attributes from CAS responseSteven Hammerton1-26/+38
2015-10-10add steve to authorsMatthew Hodgson1-1/+4
2015-10-10Fix previous merge to s/version_string/user_agent/Erik Johnston1-2/+2
2015-10-10Raise LoginError if CasResponse doensn't contain userSteven Hammerton1-1/+1
2015-10-10Fix my broken line splittingSteven Hammerton1-4/+6
2015-10-10Use UserId to create FQ user idSteven Hammerton1-1/+1
2015-10-10Add get_raw method to SimpleHttpClient, use this in CAS auth rather than ↵Steven Hammerton2-24/+44
requests
2015-10-10Formatting changesSteven Hammerton2-6/+14
2015-10-10Provide ability to login using CASSteven Hammerton4-2/+135
2015-10-09Fix some races in the synapse presence handler caused by not yielding on ↵Mark Haines1-3/+8
deferreds
2015-10-09Set the user as online if they start polling the v2 syncMark Haines1-3/+11
2015-10-09Split the sections of EventStreamHandler.get_stream that handle presenceMark Haines1-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.
2015-10-09Format the presence events correctly for v2Mark Haines1-3/+9
2015-10-08Use 'true' rather than '1' for archived flagMark Haines1-1/+1
2015-10-08Add a flag to initial sync to indicate we want rooms that the user has leftMark Haines2-6/+11
2015-10-08Update the v2 room sync format to match the current v2 specMark Haines2-21/+18
2015-10-08Use raw string for regex here, otherwise \b is the backspace character. ↵David Baker1-1/+1
Fixes displayname matching.
2015-10-07Update the sync response to match the latest specMark Haines1-24/+22
2015-10-06Remove log line that was generated whenever an error was created. We are now ↵Mark Haines1-1/+0
creating error objects that aren't raised so it's probably a bit too confusing to keep
2015-10-06Use space not dash as delimiterDaniel Wagner-Hall1-1/+1
2015-10-06Use space not dash as delimiterDaniel Wagner-Hall1-1/+1
2015-10-05Preserve version string in user agentDaniel Wagner-Hall2-4/+4
2015-10-05Move the rooms out into a room_map mapping from room_id to room.Mark Haines3-32/+47
2015-10-02Allow synapse's useragent to be customizedDaniel Wagner-Hall2-6/+10
This will allow me to write tests which verify which server made HTTP requests in a federation context.
2015-10-02Explicitly add Create event as auth eventErik Johnston1-2/+3
2015-10-02Add 'trusted_private_chat' to room creation presetsErik Johnston2-0/+6
2015-10-02Also bundle in senderErik Johnston1-0/+1
2015-10-01Start updating the sync API to match the specificationMark Haines3-90/+54
2015-10-01Validate the receipt type before passing it on to the receipt handlerKegan Dougal1-0/+4
2015-10-01Don't change cwd in synctlErik Johnston1-2/+2
2015-09-30Remove double indentationErik Johnston1-7/+6
2015-09-30CommentErik Johnston1-0/+8
2015-09-30Rename varErik Johnston1-3/+3
2015-09-24Fix restartDaniel Wagner-Hall1-2/+2
2015-09-24Allow config file path to be configurable in in synctlDaniel Wagner-Hall1-24/+26
Also, allow it to be run from directories other than the synapse directory
2015-09-24Fix order of ON constraints in _get_rooms_for_user_where_membership_is_txnMark Haines1-6/+6
2015-09-23Fix scripts-dev/definitions.py argparse optionsMark Haines1-1/+1
2015-09-23Remove unused _execute_and_decode from scripts/synapse_port_dbMark Haines1-2/+0
2015-09-23synapse/storage/state.py: _make_group_id was unusedMark Haines1-6/+0
2015-09-23Remove unused functions from synapse/storage/signatures.pyMark Haines1-112/+0
2015-09-23synapse/storage/roommember.py:_get_members_query was unusedMark Haines1-6/+0
2015-09-23Remove unused functions from synapse/storage/events.pyMark Haines1-11/+0
2015-09-23Remove unused functions from synapse/storage/event_federation.pyMark Haines1-71/+0
2015-09-23synapse/storage/_base.py:_simple_max_id was unusedMark Haines1-18/+0
2015-09-23synapse/storage/_base.py:_simple_delete was unusedMark Haines1-10/+0
2015-09-23synapse/storage/_base.py:_simple_selectupdate_one was unusedMark Haines2-51/+0
2015-09-23synapse/state.py:_get_state_key_from_event was unusedMark Haines1-4/+0
2015-09-23synapse/handlers/room.py:_should_invite_join was unusedMark Haines1-26/+0
2015-09-23synapse/handlers/federation.py:_handle_auth_events was unusedMark Haines1-49/+0
2015-09-23Use argparse for definition finderMark Haines1-26/+38
2015-09-23Set m.room.canonical_alias on room creation.Erik Johnston1-1/+11
2015-09-23Fix demo/start.sh to work with --report-statsErik Johnston1-0/+1
2015-09-22synapse/storage/event_federation.py:_get_auth_events is unusedMark Haines1-21/+0
2015-09-22synapse/storage/_base.py:_execute_and_decode was unusedMark Haines1-3/+0