summary refs log tree commit diff
path: root/synapse/api/auth.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SYN-154: Better error messages when joining an unknown room by ID.Kegan Dougal2015-01-071-1/+10
| | | | | | The simple fix doesn't work here because room creation also involves unknown room IDs. The check relies on the presence of m.room.create for rooms being created, whereas bogus room IDs have no state events at all.
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Make auth module use EventTypes constantsErik Johnston2014-12-121-27/+23
|
* Fix stream test. Make sure we add join to auth_events for invitiationsErik Johnston2014-12-121-0/+6
|
* Remove unused importErik Johnston2014-12-081-1/+0
|
* Various typos and bug fixes.Erik Johnston2014-12-081-7/+9
|
* Start making more things use EventContext rather than event.*Erik Johnston2014-12-051-13/+20
|
* Begin converting things to use the new Event structureErik Johnston2014-12-041-9/+2
|
* WIP for new way of managing events.Erik Johnston2014-12-031-6/+7
|
* Fix bugs when joining a remote room that has dodgy event graphs. This should ↵Erik Johnston2014-11-271-2/+8
| | | | also fix the number of times a HS will trigger a GET /event/
* Fix bugs in invite/join dances.Erik Johnston2014-11-251-70/+68
| | | | | We now do more implement more of the auth on the events so that we don't reject valid events.
* Add missing None checkErik Johnston2014-11-241-1/+1
|
* Fix pep8 codestyle warningsMark Haines2014-11-201-1/+1
|
* Only users can set state events which have their own user_idErik Johnston2014-11-191-0/+20
|
* Null check when determining default power levelsMark Haines2014-11-181-1/+2
|
* Fix auth to correctly handle initial creation of roomsErik Johnston2014-11-181-3/+21
|
* Fix bugs with invites/joins across federatiom.Erik Johnston2014-11-121-3/+16
| | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc.
* Add an EventValidator. Fix bugs in auth ++ storageErik Johnston2014-11-101-5/+11
|
* PEP8Erik Johnston2014-11-101-2/+1
|
* Fix backfill to work. Add auth to backfill requestErik Johnston2014-11-101-0/+6
|
* Notify users about invites.Erik Johnston2014-11-101-7/+9
|
* Fix invite authErik Johnston2014-11-101-3/+5
|
* Fix joining over federationErik Johnston2014-11-071-2/+51
|
* Start implementing auth chainsErik Johnston2014-11-071-2/+1
|
* Neaten things up a bitErik Johnston2014-11-071-5/+2
|
* Amalgamate all power levels.Erik Johnston2014-11-061-149/+72
| | | | | Remove concept of reqired power levels, something similiar can be done using the new power level event.
* Fix auth checks to all use the given old_event_stateErik Johnston2014-11-051-24/+31
|
* Fix bug in redaction auth.Erik Johnston2014-10-311-2/+2
| | | | | This caused a 500 when sending a redaction due to a typo in a method invocation.
* Fix bug where people could join private roomsErik Johnston2014-10-171-39/+47
|
* Use state groups to get current state. Make join dance actually work.Erik Johnston2014-10-171-0/+5
|
* Finish implementing the new join dance.Erik Johnston2014-10-171-0/+9
|
* Start implementing the invite/join dance. Continue moving auth to use ↵Erik Johnston2014-10-161-10/+6
| | | | event.state_events
* Begin making auth use event.old_state_eventsErik Johnston2014-10-151-43/+70
|
* Update docstringErik Johnston2014-09-291-1/+1
|
* SYN-48: Implement WHOIS rest servletErik Johnston2014-09-291-9/+19
|
* Add auth check to test if a user is an admin or not.Erik Johnston2014-09-291-0/+3
|
* SYN-48: Track User-Agents as well as IPs for client devices.Erik Johnston2014-09-291-1/+10
|
* Track the IP users connect with. Add an admin column to users table.Erik Johnston2014-09-261-1/+9
|
* Merge branch 'deletions' of github.com:matrix-org/synapse into developErik Johnston2014-09-251-3/+31
|\
| * Rename deletions to redactionsErik Johnston2014-09-241-9/+9
| |
| * SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops ↵Erik Johnston2014-09-231-3/+31
| | | | | | | | | | | | levels event SYN-12 # comment Auth has been added.
* | SYN-70: And fix another bug where I can't typeErik Johnston2014-09-241-1/+1
| |
* | SYN-70: Fix typoErik Johnston2014-09-241-1/+1
|/
* Validate power levels event changes. Change error messages to be more ↵Erik Johnston2014-09-051-10/+37
| | | | helpful. Fix bug where we checked the wrong power levels
* Generate m.room.aliases event when the HS creates a room aliasErik Johnston2014-09-051-1/+6
|
* AUth the contents of power level eventsErik Johnston2014-09-051-1/+72
|
* Change the default power levels to be 0, 50 and 100Erik Johnston2014-09-051-2/+2
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Fix bug where we didn't correctly store the ops power levels event.Erik Johnston2014-09-021-0/+5
|
* Implement auth for kicking.Erik Johnston2014-09-021-3/+10
|
* Add all the necessary checks to make banning work.Erik Johnston2014-09-011-2/+38
|
* Add beginnings of ban support.Erik Johnston2014-09-011-0/+19
|
* Implement power level lists, default power levels and ↵Erik Johnston2014-09-011-12/+84
| | | | send_evnet_level/add_state_level events.
* add _get_room_member, fix datastore methodsMark Haines2014-08-271-1/+3
|
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-0/+2
|\
| * Modified /join/$identifier to support $identifier being a room ID in ↵Kegan Dougal2014-08-271-0/+2
| | | | | | | | addition to a room alias.
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-19/+20
|\| | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py
| * Fix pyflakes errorsMark Haines2014-08-261-2/+1
| |
| * Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-261-5/+7
| |
| * Impl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet ↵Kegan Dougal2014-08-221-8/+8
| | | | | | | | to RoomStateEventRestServlet. Support generic state event sending.
* | Take a snapshot of the state of the room before performing updatesMark Haines2014-08-221-5/+11
|/
* Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised ↵Kegan Dougal2014-08-141-2/+3
| | | | access_token
* fix whitespaceMatthew Hodgson2014-08-141-0/+1
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+164