Skip to content
Snippets Groups Projects
  1. Aug 13, 2021
  2. Aug 12, 2021
  3. Aug 11, 2021
  4. Aug 10, 2021
  5. Aug 09, 2021
  6. Aug 06, 2021
    • Patrick Cloke's avatar
      Convert Transaction and Edu object to attrs (#10542) · 1de26b34
      Patrick Cloke authored
      Instead of wrapping the JSON into an object, this creates concrete
      instances for Transaction and Edu. This allows for improved type
      hints and simplified code.
      1de26b34
    • Erik Johnston's avatar
    • Richard van der Hoff's avatar
      Clean up federation event auth code (#10539) · 1bebc0b7
      Richard van der Hoff authored
      * drop old-room hack
      
      pretty sure we don't need this any more.
      
      * Remove incorrect comment about modifying `context`
      
      It doesn't look like the supplied context is ever modified.
      
      * Stop `_auth_and_persist_event` modifying its parameters
      
      This is only called in three places. Two of them don't pass `auth_events`, and
      the third doesn't use the dict after passing it in, so this should be non-functional.
      
      * Stop `_check_event_auth` modifying its parameters
      
      `_check_event_auth` is only called in three places. `on_send_membership_event`
      doesn't pass an `auth_events`, and `prep` and `_auth_and_persist_event` do not
      use the map after passing it in.
      
      * Stop `_update_auth_events_and_context_for_auth` modifying its parameters
      
      Return the updated auth event dict, rather than modifying the parameter.
      
      This is only called from `_check_event_auth`.
      
      * Improve documentation on `_auth_and_persist_event`
      
      Rename `auth_events` parameter to better reflect what it contains.
      
      * Improve documentation on `_NewEventInfo`
      
      * Improve documentation on `_check_event_auth`
      
      rename `auth_events` parameter to better describe what it contains
      
      * changelog
      1bebc0b7
    • Patrick Cloke's avatar
      Update the API response for spaces summary over federation. (#10530) · f4ade972
      Patrick Cloke authored
      This adds 'allowed_room_ids' (in addition to 'allowed_spaces', for backwards
      compatibility) to the federation response of the spaces summary.
      
      A future PR will remove the 'allowed_spaces' flag.
      f4ade972
Loading