Commit Graph

88 Commits (e4c40158c5a8c95d6d2727247a3af183dd9a9e8d)

Author SHA1 Message Date
Paul "LeoNerd" Evans 756e171ad0 Store SQL DDL deltas as well; attempt to upgrade the database on startup if it's too old 10 years ago
Paul "LeoNerd" Evans da3e04df8b Rename the 'do_users_share_a_room' to something slightly less verb-sounding 10 years ago
Mark Haines c6eafdfbaf Add copyright notices and fix pyflakes errors 10 years ago
Erik Johnston 4b8244fbf8 Fix bug where we didn't correctly store the ops power levels event. 10 years ago
Erik Johnston b8ab9f1c0a Add all the necessary checks to make banning work. 10 years ago
Erik Johnston db7109c43b Add beginnings of ban support. 10 years ago
Mark Haines 9ea1de432d Fix homeserver config parsing 10 years ago
Erik Johnston 865469f233 Implement power level lists, default power levels and send_evnet_level/add_state_level events. 10 years ago
Erik Johnston 1118f02689 Start adding storage for new events. 10 years ago
Erik Johnston ee06023573 Get the equalities right. 10 years ago
Mark Haines d7ae9b90a0 Add store for server certificates and keys 10 years ago
Paul "LeoNerd" Evans 2c7c12bc6e Initial room event stream token must be s0, not s1, or everyone will miss the very first room event 10 years ago
Mark Haines f54b70520a Return the store_id from persist_event 10 years ago
Mark Haines b30358f439 add _get_room_member, fix datastore methods 10 years ago
Mark Haines a03c7f27a8 Fill out prev_events before calling persist_event 10 years ago
Mark Haines 474dcecb11 Remove unused populate_previous_pdus 10 years ago
Kegan Dougal c65885e166 Added support for GET /events/$eventid with auth checks. 10 years ago
Mark Haines d2798de660 Fold federation/handler into handlers/federation 10 years ago
Erik Johnston 3a2a5b959c WIP: Completely change how event streaming and pagination work. This reflects the change in the underlying storage model. 10 years ago
Mark Haines 64e2a5d58e Move pdu and event persistence into a single persist_event function 10 years ago
Kegan Dougal 5a3df1d029 Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. Expanded the feedback constants to fully explain what type of feedback they are. 10 years ago
Mark Haines ac21dfff6d Fix pyflakes errors 10 years ago
Mark Haines 32347bfcc9 fix a few pyflakes errors 10 years ago
Mark Haines 4b2ad549d5 Move the event storage into a single transaction 10 years ago
Erik Johnston a664ec20e0 Add a do_users_share_a_room method and use that in the presence handler. 10 years ago
Kegan Dougal cab3095803 Removed member list servlet: now using generic state paths. 10 years ago
Erik Johnston be6abdff19 Order 'get_recent_events_for_room' correctly. 10 years ago
Erik Johnston 9d86c8c7a6 Add a unique constraint on the room hosts table 10 years ago
Erik Johnston 537ecd4e99 Turn off spammy logging 10 years ago
Erik Johnston 9f514915af Add indices to schema 10 years ago
Mark Haines 1379dcae6f Take a snapshot of the state of the room before performing updates 10 years ago
Erik Johnston 808f663ed1 Don't return state event outlier's when paginating. 10 years ago
Erik Johnston e7ee0b9fc1 Change IM sync api to also return the current presence list. 10 years ago
Erik Johnston 063e1b22e6 Stop internal keys from getting into SynapseEvents 10 years ago
Erik Johnston ebd3c41ede Make event stream storage return all membership events about the user, regardless of if they were in the room or not. 10 years ago
Erik Johnston e8244c23ba Give the event_id of the failed event 10 years ago
Erik Johnston d4fb1c8a92 Only hit get_room_events_stream if we have a valid user_id 10 years ago
Erik Johnston ae493c9418 Fix token to correct format 10 years ago
Erik Johnston eea2dc7dde Remove debug logging from token parsing funcs. 10 years ago
Erik Johnston d94765999d Add comment about what strorage.stream does 10 years ago
Erik Johnston 840771190f Fix bug where we sometimes set min_token to None. 10 years ago
Erik Johnston 75b6d982a0 Add a 'backfill room' button 10 years ago
Erik Johnston 598a1d8ff9 Change the way pagination works to support out of order events. 10 years ago
Erik Johnston 1422a22970 Fix typos in SQL and where we still had rowid's (which no longer exist) 10 years ago
Erik Johnston 4eb8f84aa8 Make snapshot_all_rooms return results in the correct form, including start and end tokens. 10 years ago
Erik Johnston 709a92cee8 SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns. 10 years ago
Erik Johnston fc26275bb3 Add two different columns for ordering the events table, one which can be used for pagination and one which can be as tokens for notifying clients. Also add a 'processed' field which is currently always set to True 10 years ago
Matthew Hodgson 0f9b633af7 retcols is mandatory. i have no idea how this could ever have worked? 10 years ago
Erik Johnston 0e938b1ff7 Rename method name to not clash with other ones in storage. 10 years ago
Erik Johnston 506711749f We no longer need to special case room config events. 10 years ago