Commit Graph

39 Commits (42aa1f3f331789c38d02186a11ff706de218faea)

Author SHA1 Message Date
Matthew Hodgson 6c28ac260c copyrights 9 years ago
David Baker 3051c9d002 Address minor PR issues 9 years ago
David Baker 65c451cb38 Add bulk push rule evaluator which actually still evaluates rules one by one, but does far fewer db queries to fetch the rules 9 years ago
Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches 9 years ago
Erik Johnston 20addfa358 Change Cache to not use *args in its interface 9 years ago
Erik Johnston b8e386db59 Change Cache to not use *args in its interface 9 years ago
Erik Johnston 39e21ea51c Add support for using keyword arguments with cached functions 9 years ago
Mark Haines a04cde613e Add a cache for get_push rules for user, fix cache invalidation 10 years ago
Mark Haines 2043527b9b Don't try to use a txn when not in one, remove spurious debug logging 10 years ago
Mark Haines 53447e9cd3 Add caches for things requested by the pushers 10 years ago
David Baker 7c549dd557 Add ID generator for push_rules_enable to #resolve SYN-378 10 years ago
Erik Johnston b036596b75 Prefer to use _simple_*. 10 years ago
Erik Johnston cd525c0f5a push_rules table expects an 'id' field 10 years ago
Erik Johnston 22d2f498fa Fix push rule bug: can't insert bool into small int column 10 years ago
Erik Johnston dc0c989ef4 Give sensible names for '_simple_...' transactions 10 years ago
Erik Johnston d7a0496f3e Convert storage layer to be mysql compatible 10 years ago
Paul "LeoNerd" Evans 59a5f012cc Also give _execute() a description 10 years ago
David Baker 04f8478aaa Add the master push rule for the break-my-push button. Allow server default rules to be disabled by default. 10 years ago
David Baker 2a45f3d448 Use if not results rather than len, as per feedback. 10 years ago
David Baker 6fab7bd2c1 s/user_name/user/ as per mjark's comment 10 years ago
David Baker 20436cdf75 Blank lines 10 years ago
David Baker 1959088156 Add API for getting/setting enabled-ness of push rules. 10 years ago
David Baker 944003021b whitespace 10 years ago
David Baker 94fa334b01 Add enable/disable overlay for push rules (REST API not yet hooked up) 10 years ago
Erik Johnston 4ebbaf0d43 Blunty replace json with simplejson 10 years ago
Mark Haines b085fac735 Code-style fixes 10 years ago
David Baker aaf50bf6f3 Give server default rules the 'default' attribute and fix various brokenness. 10 years ago
Mark Haines acb68a39e0 Code style fixes. 10 years ago
David Baker d5bdf3c0c7 Allow the push rule delete method to take more specifiers. 10 years ago
David Baker e78dd33292 Use %s instead of + 10 years ago
David Baker 93aac9bb7b Newline 10 years ago
David Baker 445ad9941e Redundant parens 10 years ago
David Baker 5f84ba8ea1 Add API to delete push rules. 10 years ago
David Baker bcd48b9636 Fix adding rules without before/after & add the rule that we couldn't find to the error 10 years ago
David Baker 8a850573c9 As yet fairly untested GET API for push rules 10 years ago
David Baker 7ecb49ef25 Insufficient newlines 10 years ago
David Baker dc93860619 Add rest API & store for creating push rules 10 years ago