synapse-product/synapse
Daniel Wagner-Hall 6a4b650d8a Attempt to validate macaroons
A couple of weird caveats:
 * If we can't validate your macaroon, we fall back to checking that
   your access token is in the DB, and ignoring the failure
 * Even if we can validate your macaroon, we still have to hit the DB to
   get the access token ID, which we pretend is a device ID all over the
   codebase.

This mostly adds the interesting code, and points out the two pieces we
need to delete (and necessary conditions) in order to fix the above
caveats.
2015-08-26 13:22:23 +01:00
..
api Attempt to validate macaroons 2015-08-26 13:22:23 +01:00
app Only print the pidfile path on startup if requested by a commandline flag 2015-08-07 16:36:42 +01:00
appservice Make the appservice use 'users_in_room' rather than get_room_members since it is cached 2015-05-22 11:01:28 +01:00
config Fix typo in module imports and package dependencies 2015-08-25 10:42:59 +01:00
crypto Remove syutil dependency in favour of smaller single-purpose libraries 2015-08-24 16:17:38 +01:00
events Fix bug where we didn't correctly serialize the redacted_because key over federation 2015-08-21 09:36:07 +01:00
federation Merge pull request #208 from matrix-org/markjh/end-to-end-key-federation 2015-08-18 09:12:54 +01:00
handlers Fix up one more reference 2015-08-25 16:37:37 +01:00
http Remove syutil dependency in favour of smaller single-purpose libraries 2015-08-24 16:17:38 +01:00
metrics Also check for presence of 'threadCallQueue' in reactor 2015-08-18 11:51:08 +01:00
push Store the 'last_token' in the db, even if we processed no events 2015-08-19 10:08:31 +01:00
rest Merge pull request #248 from matrix-org/deviceid 2015-08-25 17:19:06 +01:00
storage Merge pull request #251 from matrix-org/removeadmin 2015-08-25 17:23:05 +01:00
streams Wire together receipts and the notifer/federation 2015-07-07 15:25:30 +01:00
util Don't assume @cachedList function returns keys for everything 2015-08-18 11:11:33 +01:00
__init__.py Bump version and changelog 2015-08-20 14:12:01 +01:00
notifier.py Improve naming 2015-07-20 06:32:12 -07:00
python_dependencies.py Fix typo in module imports and package dependencies 2015-08-25 10:42:59 +01:00
server.py Correctly handle x_forwaded listener option 2015-06-12 17:13:23 +01:00
state.py Move all the caches into their own package, synapse.util.caches 2015-08-11 18:00:59 +01:00
types.py Remove completely unused concepts from codebase 2015-08-25 16:23:06 +01:00