Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate state-res #558

Merged
merged 140 commits into from
May 7, 2021
Merged

Integrate state-res #558

merged 140 commits into from
May 7, 2021

Commits on Jul 17, 2020

  1. Configuration menu
    Copy the full SHA
    61f485e View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2020

  1. Configuration menu
    Copy the full SHA
    c043b10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3c3c95 View commit details
    Browse the repository at this point in the history
  3. Update readme for repo

    DevinR528 committed Jul 18, 2020
    Configuration menu
    Copy the full SHA
    b2cbc3c View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2020

  1. Configuration menu
    Copy the full SHA
    954fe5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40248ef View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. Fixing failing first failing state res test

    lexicographical_topological_sort test passes. Chasing bug somewhere in
    resolve.
    DevinR528 committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    0c21f38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d69e712 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f443cf View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2020

  1. Configuration menu
    Copy the full SHA
    5842ddf View commit details
    Browse the repository at this point in the history
  2. Room topic reset test fails

    DevinR528 committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    a0db51b View commit details
    Browse the repository at this point in the history
  3. lexi_topo_sort needs to return a neg power_level to sort properly

    All tests pass!!! Changed println! to logger calls.
    DevinR528 committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    106cab4 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2020

  1. Configuration menu
    Copy the full SHA
    29d86eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ae8c8f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea0b6ad View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2020

  1. Add benchmark for longer auth chain and Error type

    This required that the code being run in the benchmark be tested to
    verify it works correctly. Now work can begin cleaning up and optimizing
    state-res.
    DevinR528 committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    d8fb5ca View commit details
    Browse the repository at this point in the history
  2. Move all event access to _get_event method

    We now use the event_map when possible, only accessing the state store
    when event_map fails. A -4.8578% increase in perf was observed.
    DevinR528 committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    4990dac View commit details
    Browse the repository at this point in the history
  3. Clean up logging calls

    DevinR528 committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    77cbcc7 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2020

  1. House keeping, remove &mut self in all methods

    Improved perf -7.8220%
    DevinR528 committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    8a9f15e View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. Configuration menu
    Copy the full SHA
    1850479 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2020

  1. Configuration menu
    Copy the full SHA
    9a388fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1509ef4 View commit details
    Browse the repository at this point in the history
  3. Update how PDU works this needs to be fixed TODO

    I have just added a hack to make the Pdu deserialize correctly in the
    tests this has to be fixed!!
    DevinR528 committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    5a45970 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f77bc1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    484f48d View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2020

  1. Configuration menu
    Copy the full SHA
    6e0edce View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2020

  1. Configuration menu
    Copy the full SHA
    d22d835 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccc7531 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2020

  1. Configuration menu
    Copy the full SHA
    85693cc View commit details
    Browse the repository at this point in the history
  2. Update ruma to latest

    DevinR528 committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    789c814 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2020

  1. Configuration menu
    Copy the full SHA
    ce2d5a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8650f8f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bafc201 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4e9b428 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2020

  1. Configuration menu
    Copy the full SHA
    43e0f20 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2020

  1. Update readme add docs

    DevinR528 committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    0780797 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2020

  1. Configuration menu
    Copy the full SHA
    63be0b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. Add test testing conduits event sorting logic

    This could possibly be turned into another public function for exporting.
    A list of ruma::Pdu (events) and another list of ruma::Pdu (auth_events)
    and returns the sorted list of events.
    DevinR528 committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    e8acae0 View commit details
    Browse the repository at this point in the history
  2. Follow spec for is_membership_change_allowed

    Add checks for caller in room and remove unspec'ed synapse check leave
    -> join with join_rule = invite
    DevinR528 committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    36cec22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    025c2df View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. Configuration menu
    Copy the full SHA
    fbcd26c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1795866 View commit details
    Browse the repository at this point in the history
  3. Fix DM room creator rejoining

    Check only the previous event is a RoomCreate event not that one exists
    DevinR528 committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    aadccde View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b846aec View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Configuration menu
    Copy the full SHA
    394d267 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2020

  1. Configuration menu
    Copy the full SHA
    e3de44e View commit details
    Browse the repository at this point in the history
  2. Add error type, more docs, and conduit sorting test

    Not resolve sorting just topo/mainline
    DevinR528 committed Aug 29, 2020
    Configuration menu
    Copy the full SHA
    8dbd9aa View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

  1. Configuration menu
    Copy the full SHA
    1eb8994 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cc4ae2 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. Configuration menu
    Copy the full SHA
    8ca1726 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Configuration menu
    Copy the full SHA
    acd8293 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2020

  1. Fixes

    timokoesters authored and DevinR528 committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    f587b88 View commit details
    Browse the repository at this point in the history
  2. Various improvements

    timokoesters authored and DevinR528 committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    ad4fb64 View commit details
    Browse the repository at this point in the history
  3. Disable buggy auth_events check

    timokoesters authored and DevinR528 committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    33232f0 View commit details
    Browse the repository at this point in the history
  4. Skip events that fail auth

    timokoesters authored and DevinR528 committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    776c476 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    369703a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ee6aa35 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d19c0d4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    11e8856 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    26b0f73 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c3ba1e3 View commit details
    Browse the repository at this point in the history
  11. Allow get_power_level_for_sender to soft fail when eventId not found

    Hardcode RoomVersion6 into the eventId hashing
    DevinR528 committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    ac9282a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    420b7c0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6661771 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ac4ab7a View commit details
    Browse the repository at this point in the history
  15. Add gen-eventid feature to generate EventId every deserialize

    So we do not rely on any found EventId, this makes all the tests break.
    DevinR528 committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    5e7f60e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d0d2f77 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d5870c6 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    471ae2c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f45cb29 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    b04c74c View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    db3f686 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0e9332c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    89cfb19 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6c26da9 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ea7dc52 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    c6a1086 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2020

  1. Configuration menu
    Copy the full SHA
    dca71f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

  1. Configuration menu
    Copy the full SHA
    55e889a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33bb319 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd2a115 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    611d1a3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    282270e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5299679 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    05a4dd1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9721042 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    da14be3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    94be5b0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b0ee71e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f4772e0 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. Configuration menu
    Copy the full SHA
    47b19fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37bff47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7144e6 View commit details
    Browse the repository at this point in the history
  4. Remove outdated TODOs

    DevinR528 committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    4cb7353 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8265247 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    594082c View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2021

  1. Update ruma and itertools

    DevinR528 committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    3c27c8b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    791c66d View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2021

  1. Configuration menu
    Copy the full SHA
    d34a78c View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. fix: event required power levels

    timokoesters authored and DevinR528 committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    da5c74a View commit details
    Browse the repository at this point in the history
  2. bump ruma

    timokoesters authored and DevinR528 committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    34cd1cb View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Configuration menu
    Copy the full SHA
    1621a49 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Fix room version updates

    timokoesters committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    625c37c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a017766 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    050e90d View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Upgrade ruma

    jplatte authored and DevinR528 committed Apr 5, 2021
    Configuration menu
    Copy the full SHA
    b7d465f View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Bump ruma

    jplatte committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    af450d0 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. Avoid deserializing to MemberEventContent

    deserializing doesn't work when the event contains bad content in
    unimportant fields (like a non-mxc url as avatar)
    timokoesters authored and DevinR528 committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    e8ebe07 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. More warnings

    timokoesters authored and DevinR528 committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    2ef7730 View commit details
    Browse the repository at this point in the history
  2. Bump ruma

    timokoesters authored and DevinR528 committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    4015ced View commit details
    Browse the repository at this point in the history
  3. fix: use correct state key

    timokoesters authored and DevinR528 committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    30b4e1d View commit details
    Browse the repository at this point in the history
  4. fix: use users_default power level

    timokoesters authored and DevinR528 committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    4516d73 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Bump ruma

    timokoesters authored and jplatte committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    aa53d07 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Bump ruma dependency

    jplatte committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    1dd252d View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2021

  1. Configuration menu
    Copy the full SHA
    8103bbc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9e248d View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. Configuration menu
    Copy the full SHA
    c2988d4 View commit details
    Browse the repository at this point in the history
  2. Clean up state_res_bench.rs

    jplatte committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    a7205c6 View commit details
    Browse the repository at this point in the history
  3. Bump ruma

    jplatte committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    ce665d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d235957 View commit details
    Browse the repository at this point in the history
  5. Make README title bigger

    jplatte committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    72930a6 View commit details
    Browse the repository at this point in the history
  6. Title-case the README title

    jplatte committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    3bffb8a View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. Configuration menu
    Copy the full SHA
    ca01f33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d533c96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29fd085 View commit details
    Browse the repository at this point in the history
  4. Remove room_version section

    DevinR528 committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    d359367 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. Bump ruma

    jplatte committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    c20893e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    138ecd4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f62df4d View commit details
    Browse the repository at this point in the history
  4. Remove state_store module

    DevinR528 committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    41b8c14 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    509283d View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Configuration menu
    Copy the full SHA
    56bf45c View commit details
    Browse the repository at this point in the history
  2. Add 'crates/ruma-state-res/' from commit '56bf45c0235701ac6df56993c32…

    …7d2f97a499ef9'
    
    git-subtree-dir: crates/ruma-state-res
    git-subtree-mainline: 719433e
    git-subtree-split: 56bf45c
    jplatte committed May 7, 2021
    Configuration menu
    Copy the full SHA
    6609829 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    addc670 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee39f7c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f58462a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    410b4ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9263d0c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    74562f2 View commit details
    Browse the repository at this point in the history
  9. ruma: Re-export state-res

    jplatte committed May 7, 2021
    Configuration menu
    Copy the full SHA
    10fd467 View commit details
    Browse the repository at this point in the history