Commit Graph

3238 Commits (74270defdaf4070ba001713ae9f1f668790fc9a3)
 

Author SHA1 Message Date
Erik Johnston 638be5a6b9 Factor out loops into '_discard_if_notified' 10 years ago
Erik Johnston 830d07db82 Also perform paranoia checks in 'on_new_user_event' 10 years ago
Erik Johnston 65f5e4e3e4 Add paranoia checks to make sure that we evict stale NotificationListeners when we are about to process them 10 years ago
Erik Johnston 07d4041709 Fix bug where we didn't inform the NotificataionListeners about new rooms they have been subscribed to. This meant that the listeners didn't clean themselves up fully from all the dicts 10 years ago
Erik Johnston c1b34af441 Move database timer logging to seperate logger 10 years ago
Matthew Hodgson 7f911ef4e3 typo 10 years ago
Erik Johnston 0775c62469 Fix --enable-registration flag to work if you don't give a value 10 years ago
Erik Johnston a2a93a4fa7 Make demo script use --enable-registration 10 years ago
Kegan Dougal ae8ff92e05 Fix a bug which causes a send event level of 0 to not be honoured. 10 years ago
Matthew Hodgson 65fd446b4d update leo's contribs a bit 10 years ago
Matthew Hodgson 364c7f92b4 potential contributing guide & author list for synapse 10 years ago
Paul "LeoNerd" Evans ef1e019840 Appease pep8 10 years ago
Paul "LeoNerd" Evans 5583e29513 Report process open filehandles in metrics 10 years ago
Kegan Dougal 813e54bd5b Fix more AS sender ID thinkos. 10 years ago
Kegsay 80a620a83a Merge pull request #116 from matrix-org/application-services-registration-script 10 years ago
Kegan Dougal 9fa8bda099 Merge branch 'develop' into application-services-registration-script 10 years ago
Kegan Dougal 09cbff174a Fix thinko whereby events *for the AS specifically* were not passed on. 10 years ago
Kegan Dougal 5e88a09a42 Add same user_id char checks as registration. 10 years ago
Kegan Dougal cf1fa59f4b Use a sender localpart instead of a user ID. 10 years ago
Kegan Dougal 3470cb36a8 Pyflakes 10 years ago
Kegan Dougal c217504949 Edit SQL schema to use string IDs not ints. Use token as ID. Update tests. 10 years ago
Kegan Dougal b59aa74556 Fix tests and missing returns on deferreds. 10 years ago
Kegan Dougal d33ae65efc Remove more reg/unreg methods. Read config not database for cache. 10 years ago
Kegan Dougal e7887e37a8 Remove appservice REST servlets 10 years ago
Kegan Dougal af853a4cdb Add AppServiceConfig 10 years ago
Erik Johnston 9a506a191a Add note in changelog about change in config option names 10 years ago
Matthew Hodgson 8675ea03de actually tell users /how/ to turn on registration 10 years ago
Matthew Hodgson 8366fde82f turn --disable-registration into --enable-registration, given the default is for registration to be disabled by default now. this is backwards incompatible by removing the old --disable-registration arg, but makes for a much more intuitive arg 10 years ago
Paul "LeoNerd" Evans 3e420aebd8 Revert "Add another @cached wrapper, this time on get_presence_state()" 10 years ago
Paul "LeoNerd" Evans ff1fa0fbf8 Add another @cached wrapper, this time on get_presence_state() 10 years ago
Erik Johnston abcd03af02 Merge pull request #115 from matrix-org/allow_registration_for_federation_demo 10 years ago
manuroe 5116946ae9 Allow registration in the HSes federation demo 10 years ago
Paul "LeoNerd" Evans a198894bf7 Appease pep8 10 years ago
Kegsay 5b999e206e Merge pull request #106 from matrix-org/application-services-txn-reliability 10 years ago
Kegan Dougal 32206dde3f Fixes from PR comments 10 years ago
Kegan Dougal 4edcbcee3b Merge branch 'develop' into application-services-txn-reliability 10 years ago
Paul "LeoNerd" Evans 953e40f9dc Implement the main getEvent cache using Cache() instead of a custom application of LruCache; also unify its two-level structure into just one 10 years ago
Paul "LeoNerd" Evans f173d40a32 Use FrozenEvent's reject_reason to decide whether to return it; don't include allow_rejected in the main getEvents cache key 10 years ago
Paul "LeoNerd" Evans 1b988b051b Store the rejected reason in (Frozen)Event structs 10 years ago
Paul "LeoNerd" Evans 033a517feb Indirect invalidations of _get_event_cache via a helper method to keep all uses of the cache lexically within one .py file 10 years ago
Paul "LeoNerd" Evans 9ba6487b3f Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict() 10 years ago
Paul "LeoNerd" Evans d6b3ea75d4 Implement the 'key in dict' test for LruCache() 10 years ago
Paul "LeoNerd" Evans 7ab9f91a60 Unit-test that Cache() key eviction is ordered 10 years ago
Paul "LeoNerd" Evans ed008e85a8 Reduce activity timer granularity to avoid too many quick updates (SYN-247) 10 years ago
Paul "LeoNerd" Evans 72d8406409 Put a cache on get_aliases_for_room 10 years ago
Paul "LeoNerd" Evans a63b4f7101 Remember the 'last seen' time for a given user/IP/device combination and only bother INSERTing another if it's stale 10 years ago
Paul "LeoNerd" Evans 0f86312c4c Pull out the cache logic from the @cached wrapper into its own class we can reuse 10 years ago
Paul "LeoNerd" Evans b1022ed8b5 func(*EXPR) is valid Python syntax, really... 10 years ago
Erik Johnston 4848fdbf59 Merge pull request #113 from matrix-org/store_rearrangement 10 years ago
Erik Johnston 80cd08c190 PEP8 10 years ago