Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Better handling of odd PLs during room upgrades #4099

Merged
merged 13 commits into from
Oct 29, 2018
Merged

Commits on Oct 25, 2018

  1. Factor _generate_room_id out of create_room

    we're going to need this for room upgrades.
    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    871c4ab View commit details
    Browse the repository at this point in the history
  2. Make room_member_handler a member of RoomCreationHandler

    ... to save passing it into `_send_events_for_new_room`
    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    7f7b2cd View commit details
    Browse the repository at this point in the history
  3. 1 Configuration menu
    Copy the full SHA
    e194817 View commit details
    Browse the repository at this point in the history
  4. Basic initial support for room upgrades

    Currently just creates a new, empty, room, and sends a tombstone in the old
    room.
    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    0f7d1c9 View commit details
    Browse the repository at this point in the history
  5. preserve room visibility

    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    4cda300 View commit details
    Browse the repository at this point in the history
  6. preserve PLs

    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    1b9f253 View commit details
    Browse the repository at this point in the history
  7. copy state

    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    3a263bf View commit details
    Browse the repository at this point in the history
  8. restrict PLs in old room

    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    e6babc2 View commit details
    Browse the repository at this point in the history
  9. changelog

    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    68c0ce6 View commit details
    Browse the repository at this point in the history
  10. fix broken test

    This test stubbed out some stuff in a very weird way. I have no idea why. It broke.
    richvdh committed Oct 25, 2018
    1 Configuration menu
    Copy the full SHA
    474810d View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. Address review comments

    Improve comments, get old room state from the context we already have
    richvdh committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    193cadc View commit details
    Browse the repository at this point in the history
  2. optimise state copying

    richvdh committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    54bbe71 View commit details
    Browse the repository at this point in the history
  3. Better handling of odd PLs during room upgrades

    Fixes handling of rooms where we have permission to send the tombstone, but not
    other state. We need to (a) fail more gracefully when we can't send the PLs in
    the old room, and (b) not set the PLs in the new room until we are done with
    the other stuff.
    richvdh committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    db24d7f View commit details
    Browse the repository at this point in the history