forked-synapse/synapse
Vincent Breitmoser 89de934981 Use psycopg2cffi module instead of psycopg2 if running on pypy
The psycopg2 package isn't available for PyPy.  This commit adds a check
if the runtime is PyPy, and if it is uses psycopg2cffi module in favor
of psycopg2. This is almost a drop-in replacement, except for one place
where an additional cast to string is required.
2018-04-10 11:29:52 +02:00
..
api Add b prefixes to some strings that are bytes in py3 2018-04-04 13:48:51 +02:00
app Merge pull request #3061 from NotAFile/add-some-byte-strings 2018-04-09 23:54:05 +01:00
appservice Replace some type checks with six type checks 2018-04-07 01:02:32 +02:00
config Merge pull request #3074 from NotAFile/fix-py3-prints 2018-04-09 23:44:41 +01:00
crypto Fix 500 when joining matrix-dev 2017-11-29 16:00:46 +00:00
events Remove context.push_actions 2018-02-15 15:47:06 +00:00
federation Use sortedcontainers instead of blist 2018-04-10 11:29:51 +02:00
groups de-lint, quote consistency 2018-04-06 16:02:06 +01:00
handlers Merge pull request #2996 from krombel/allow_auto_join_rooms 2018-04-10 01:11:00 +01:00
http Merge pull request #3061 from NotAFile/add-some-byte-strings 2018-04-09 23:54:05 +01:00
metrics Add a metric which increments when a request is received 2018-03-09 16:30:26 +00:00
module_api Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
push Update comments 2018-02-21 11:29:49 +00:00
replication Fix json encoding bug in replication 2018-04-03 15:09:48 +01:00
rest Merge pull request #2996 from krombel/allow_auto_join_rooms 2018-04-10 01:11:00 +01:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Use psycopg2cffi module instead of psycopg2 if running on pypy 2018-04-10 11:29:52 +02:00
streams replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
util Use sortedcontainers instead of blist 2018-04-10 11:29:51 +02:00
__init__.py Bum version and changelog 2018-03-26 16:36:53 +01:00
event_auth.py Fix templating error with unban permission message 2018-01-07 19:52:58 -07:00
notifier.py Clear logcontext before starting fed txn queue runner 2017-11-28 15:26:14 +00:00
python_dependencies.py Use sortedcontainers instead of blist 2018-04-10 11:29:51 +02:00
server.py Split RoomMemberWorkerHandler to separate file 2018-03-14 11:41:45 +00:00
server.pyi Factor out resolve_state_groups to a separate handler 2018-02-01 12:40:04 +00:00
state.py Measure time it takes to calculate state group ID 2018-03-28 11:03:52 +01:00
types.py Revert "improve mxid check performance" 2018-04-04 12:08:29 +01:00
visibility.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00