Commit Graph

86 Commits (d1c7c2a98a133bdae7747601699a6b9ae0f90c8b)

Author SHA1 Message Date
Matthew Hodgson c2afc2ad90 oops 10 years ago
Matthew Hodgson 8be07e0db4 kill off fnmatch in favour of word-boundary based push alerts (untested) 10 years ago
David Baker 2df41aa138 Server default rules now of all kinds rather than all being at lowest prio. 10 years ago
David Baker dc7bb70f22 s/instance_handle/profile_tag/ 10 years ago
David Baker 9a71add1c0 Use set_tweak instead of set_sound 10 years ago
David Baker 0b354fcb84 Again, don't assume all member events have displayname. 10 years ago
David Baker fe10b882b7 Don't assume all member events have a display nme. 10 years ago
David Baker 4ffac34a64 Add glob asterisks when running rules. 10 years ago
David Baker 322a047502 Add room member count condition and default rule to make a noise on rooms of only 2 people. 10 years ago
David Baker 0b16886397 Change 'from' in notification pokes to 'sender' to match client API v2. Send sender display names where they exist. 10 years ago
David Baker 1235f7f383 Add default push rules including setting a sound for messages mentioning your username / display name 10 years ago
Mark Haines acb68a39e0 Code style fixes. 10 years ago
David Baker 8b1dd9f57f Only send a badge-reset if the user actually has unread notifications. 10 years ago
David Baker 6fde707add doc style fix 10 years ago
David Baker 20c47383dc Oops, bad merge: needed to change the base class of the rest servlets too. 10 years ago
David Baker 03149ad23a More code style things 10 years ago
David Baker e1ca0f1396 Brackets rather than slashes at end 10 years ago
David Baker 6df6f5e084 Redundant bracketing & missed space 10 years ago
David Baker ca7240a2f0 Update copyright 10 years ago
David Baker 273b12729b Reset badge count to zero when last active time is bumped 10 years ago
David Baker b481889117 Support membership events and more camelcase/underscores 10 years ago
David Baker efac71d6ca Pushers should only try & look for rejected devices in something that's a list or tuple. 10 years ago
David Baker f21f9fa3c5 Use push settings! 10 years ago
David Baker fc7a05c443 more pep8 suggestions 10 years ago
David Baker afb714f7be add instance_handles to pushers so we have a way to refer to them even if the push token changes. 10 years ago
David Baker 2ca2dbc821 Send room name and first alias in notification poke. 10 years ago
David Baker e3e2fc3255 Don't make the pushers' event streams cause people to appear online 10 years ago
David Baker 2cb30767fa Honour the 'rejected' return from push gateways 10 years ago
David Baker 70d0a453f3 Split out function to decide whether to notify or a given event 10 years ago
David Baker fead431c18 If we didn't get any events, advance the token or we'll just keep not getting the same events again. 10 years ago
David Baker 9728c305a3 after a few rethinks, a working implementation of pushers. 10 years ago
David Baker 88af58d41d Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant. 10 years ago
David Baker eb6aedf92c More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP pokes work or not yet but the retry semantics are pretty good. 10 years ago
David Baker 74c3879760 Start creating a module to do generic notifications (just prints them to stdout currently!) 10 years ago