summary refs log tree commit diff
path: root/scripts-dev/check_auth.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-19Only compute unread notifications for rooms we send down streamErik Johnston2-30/+23
2016-01-19Don't use form of get_state_for_events with None state_keyErik Johnston1-6/+13
2016-01-19Use split rather than endswithErik Johnston1-2/+1
2016-01-19Change regex cache size to 5000Erik Johnston1-1/+1
2016-01-19Add regex cache. Only caculate push actions for users that have sent read ↵Erik Johnston7-14/+50
receipts, and are on that server
2016-01-19Handle glob -> regex errorsErik Johnston1-29/+33
2016-01-19Use all_ephemeral_by_room in incremental_sync_with_gap_for_roomErik Johnston1-3/+5
2016-01-19Return don't breakErik Johnston1-1/+1
2016-01-19Except truthy valuesErik Johnston1-1/+1
2016-01-19Return highlight_count in /syncErik Johnston3-8/+40
2016-01-19Take a deepcopy of push rules before mutating themErik Johnston1-1/+3
2016-01-19Update _idErik Johnston1-2/+3
2016-01-18Preserve truthinessErik Johnston1-1/+2
2016-01-18You need to escape backslashesErik Johnston1-2/+2
2016-01-18Fix branch didn't check word_boundaryErik Johnston1-3/+9
2016-01-18Remove dead codeErik Johnston1-22/+1
2016-01-18Don't split at word boundaries, actually use regexErik Johnston2-63/+48
2016-01-18Don't error on AS non-ghost user useDaniel Wagner-Hall1-0/+2
This will probably go away either when we fix our existing ASes, or when we kill the concept of non-ghost users.
2016-01-18Pull out app service user lookupDaniel Wagner-Hall1-31/+28
I find this a lot simpler than nested try-catches and stuff
2016-01-18Drop log levelsErik Johnston1-2/+2
2016-01-18Add comments and remove dead codeErik Johnston1-12/+11
2016-01-18Do for loop once at startErik Johnston1-8/+17
2016-01-18Use static for const dictsErik Johnston4-198/+209
2016-01-18Remove internal idsErik Johnston1-0/+4
2016-01-18Don't edit rulesetErik Johnston1-5/+4
2016-01-18Make unit tests workErik Johnston3-560/+1
2016-01-18Re-enable urnead notificationsErik Johnston3-13/+6
2016-01-18Make notifications go quickerErik Johnston4-131/+260
2016-01-18Make Event objects behave more like dictsErik Johnston1-0/+9
2016-01-18Allow filtering events for multiple users at onceErik Johnston2-39/+67
2016-01-15Require unbanning before other membership changesDaniel Wagner-Hall6-58/+116
2016-01-15Remove unused parametersDaniel Wagner-Hall2-16/+8
2016-01-15M_INVALID_USERNAME to be consistent with the parameter nameDavid Baker2-2/+2
2016-01-14Add specific error code for invalid user names.David Baker2-1/+3
2016-01-14Require ID and as_token be unique for ASsDaniel Wagner-Hall3-17/+111
Defaults ID to as_token if not specified. This will change when IDs are fully supported.
2016-01-14Fix enabling & disabling push rulesDavid Baker1-1/+1
2016-01-14Clamp pagination limits to at most 1000Erik Johnston1-2/+5
2016-01-14Use logger not loggingErik Johnston1-2/+2
2016-01-13Use the unread notification count to send accurate badge counts in push ↵David Baker3-45/+86
notifications.
2016-01-13Don't change signature. Return empty listErik Johnston1-2/+2
2016-01-13Temporarily disable notification branchErik Johnston3-7/+14
2016-01-13Don't start server if ASes are invalidly configuredDaniel Wagner-Hall1-0/+1
2016-01-13Delete unused codeDaniel Wagner-Hall1-59/+0
2016-01-13Add 'event' result to 'context' endpointRichard van der Hoff2-12/+29
... because the context isn't much use without the event.
2016-01-13Skip, rather than erroring, invalid guest requestsDaniel Wagner-Hall5-21/+5
Erroring causes problems when people make illegal requests, because they don't know what limit parameter they should pass. This is definitely buggy. It leaks message counts for rooms people don't have permission to see, via tokens. But apparently we already consciously decided to allow that as a team, so this preserves that behaviour.
2016-01-13Rename 'user_name' to 'user_id' in push to make it consistent with the rest ↵Mark Haines9-99/+99
of the code
2016-01-13Require AS users to be registered before useDaniel Wagner-Hall1-0/+5
2016-01-13Change default pushrules back to notifying for all messages.David Baker1-1/+0
2016-01-13Use compiled regexErik Johnston1-2/+4
2016-01-13bulk_get_push_rules should handle empty listsErik Johnston1-21/+13
2016-01-13Delete the table objects from TransactionStoreMark Haines3-60/+10
2016-01-13Remove the RoomsTable objectMark Haines1-13/+3
2016-01-12Don't include old left roomsErik Johnston1-1/+5
2016-01-12Remove the PushersTable and EventPushActionsTable objectsMark Haines2-14/+6
2016-01-12Remove the PushRuleTable and PushRuleEnableTable objectsMark Haines1-50/+33
2016-01-12Dont fire user_joined_room when guest hits /eventsErik Johnston1-7/+0
Firing the 'user_joined_room' signal everytime a guest hits /events causes all presence for that room to be returned in the stream. This may sound helpful, but causes clients to tightloop calling /events. In general, guest users should get the initial presence from (room) intial sync and so we don't require presence to sbsequently come down the event stream.
2016-01-11Introduce a Requester objectDaniel Wagner-Hall24-144/+178
This tracks data about the entity which made the request. This is instead of passing around a tuple, which requires call-site modifications every time a new piece of optional context is passed around. I tried to introduce a User object. I gave up.
2016-01-11Postgres doesn't like booleansDavid Baker1-2/+2
2016-01-11Remove rogue 'admin'David Baker1-1/+1
2016-01-08Don't log urlencoded access_tokensErik Johnston1-2/+2
2016-01-09Add FreeBSD install section & instructionsKubilay Kocak1-0/+8
Add FreeBSD installation instructions for both Ports and Packages now that matrix-synapse has landed [1] in the tree. [1] https://svnweb.freebsd.org/changeset/ports/405527
2016-01-07Only use cropped thumbnails when asked for a cropped thumbnail.Mark Haines1-1/+1
Even though ones cropped with scale might be technically valid.
2016-01-07Turn on core dumpsErik Johnston1-2/+5
2016-01-07Use logger not loggingErik Johnston1-2/+2
2016-01-07s/telnet/ssh/Erik Johnston1-1/+1
2016-01-07Change manhole to use sshErik Johnston1-5/+21
2016-01-07This comma is actually importantDavid Baker1-1/+1
2016-01-07more commasDavid Baker1-1/+1
2016-01-07copyrightsMatthew Hodgson295-297/+297
2016-01-06Config Comment mixup in captcha public/private keyRobin Lambertz1-2/+2
2016-01-06Add /_matrix/versions to report supported versionsDaniel Wagner-Hall3-0/+43
2016-01-06comma styleDavid Baker1-1/+1
2016-01-06Adding is_guest here won't work because it just constructs a dict of uid -> ↵David Baker1-1/+1
password hash
2016-01-06Pass whether the user was a guest to some of the event streamsMark Haines1-5/+3
2016-01-06fix testsDavid Baker3-1/+10
2016-01-06