Commit Graph

2098 Commits (00718ae7a9e07e18cfd4c335012aacb5523fab86)

Author SHA1 Message Date
Erik Johnston 4932a7e2d9 Use __all__ instead of assert to stop pyflakes from warning about unused import in __init__ 10 years ago
Mark Haines 46d200a3a1 Implement minimum_valid_until_ts in the remote key resource 10 years ago
Erik Johnston a08bf11138 Appease PEP8 10 years ago
Erik Johnston 204132a998 Check that postgres database has correct charset set 10 years ago
Mark Haines f4c9ebbc34 Delete ugly commented out log line. 10 years ago
Matthew Hodgson 68c0603946 comment out ugly test logline 10 years ago
Erik Johnston 1783c7ca92 Ensure we never miss any presence updates 10 years ago
Erik Johnston 0126ef7f3c Fix typo 10 years ago
Erik Johnston d98edb548a Ensure the serial returned by presence is always an integer 10 years ago
Erik Johnston 073b891ec1 Remove unused imports 10 years ago
Erik Johnston 18f8247701 Use TEXT instead of VARCHAR(n), since PostgreSQL treats them the same except for a limit 10 years ago
Mark Haines 55e1bc8920 And don't bump the schema version unnecessarily 10 years ago
Mark Haines b96c133034 Add server_keys.sql to the current delta rather than creating a new delta 10 years ago
Mark Haines 0bc71103e1 Output vim style mode markers into the yaml config file 10 years ago
Erik Johnston 42b7139dec Remove unused import 10 years ago
Erik Johnston 1ef66cc3bd Move database configuration into config module 10 years ago
Erik Johnston 416a3e6c4f Ensure check_same_thread is enabled for sqlite3 10 years ago
Erik Johnston 8558e1ec73 Make get_max_token into inlineCallbacks so that the lock works. 10 years ago
Erik Johnston 2c70849dc3 Fix newlines 10 years ago
Erik Johnston 0a016b0525 Pull inner function out. 10 years ago
Erik Johnston e701aec2d1 Implement locks using create_observer for fetching media and server keys 10 years ago
David Baker 412ece18e7 Add commentage. 10 years ago
Erik Johnston 1c82fbd2eb Implement create_observer. 10 years ago
Erik Johnston 2732be83d9 Shuffle operations so that locking upsert happens last in the txn. This ensures the lock is held for the least amount of time possible. 10 years ago
Erik Johnston e4c4664d73 Handle the fact that postgres databases can be restarted from under us 10 years ago
David Baker 03c4f0ed67 pep8 10 years ago
David Baker f1acb9fd40 logging args 10 years ago
David Baker 8a5be236e0 pep8 10 years ago
David Baker df75914791 pep8 10 years ago
David Baker b02e1006b9 Run database check before daemonizing, at the cost of database hygiene. 10 years ago
David Baker f8152f2708 rename db method to be more informative 10 years ago
David Baker 2f475bd5d5 pep8 10 years ago
David Baker a7b51f4539 Check users in our table aren't on a different domain to the one we're configured with to try & fix SYN-266 10 years ago
Mark Haines 288702170d Add config for setting the perspective servers 10 years ago
David Baker 1bac74b9ae Change to https for ID server communication 10 years ago
David Baker ed83638668 Make one-to-one rule an underride otherwise bings don't work in one-to-one wrooms. Likewise a couple of other rules. 10 years ago
David Baker 7ac8a60c6f More underscores 10 years ago
Mark Haines bdcb23ca25 Fix spelling 10 years ago
Mark Haines 869dc94cbb Call the super classes when generating config 10 years ago
David Baker a218619626 Use underscores instead of camelcase for id server stuff 10 years ago
Mark Haines b1e68add19 Add a config file for perspective servers 10 years ago
Mark Haines 31e262e6b4 Copyright notice 10 years ago
Mark Haines 4e2f8b8722 Copyright notices 10 years ago
Mark Haines c8c710eca7 Move the key related config parser into a separate file 10 years ago
Mark Haines 149ed9f151 Better help for the old-signing-key option 10 years ago
David Baker f7a79a37be pep8 10 years ago
David Baker 74270defda No commas here, otherwise our error string constants become tuples. 10 years ago
Paul "LeoNerd" Evans e1e5e53127 Remove users from the remote_offline_serials list (and clean up empty elements) when they go online again 10 years ago
Paul "LeoNerd" Evans b3bda8a75f Don't let the remote offline serial list grow arbitrarily large 10 years ago
Paul "LeoNerd" Evans 8a785c3006 Store a list of the presence serial number at which remote users went offline, so that when we delete them from the cachemap, we can still synthesize OFFLINE events for them (SYN-261) 10 years ago