1
0

Commit Graph

  • 03eb4adc6e Dedicated error code for failed 3pid auth verification David Baker 2015-04-23 18:20:17 +01:00
  • 4bbf7156ef Update to match the specification for key/v2 Mark Haines 2015-04-23 16:39:13 +01:00
  • 6d15401341 Mumble ReST mumble `fixed-width` mumble Paul "LeoNerd" Evans 2015-04-23 16:16:08 +01:00
  • 8c78414284 Formatting / wording fixes to metrics doc Paul "LeoNerd" Evans 2015-04-23 16:14:08 +01:00
  • 6c99491347 prometheus/metrics howto from Leo Matthew Hodgson 2015-04-23 16:07:49 +01:00
  • 0eb61a3d16 Remove ultimately unused feature of saving params from the first call in the session: it's probably too open to abuse. David Baker 2015-04-23 14:44:12 +01:00
  • a2c10d37d7 Add an error code to 'missing token' response. David Baker 2015-04-23 13:23:44 +01:00
  • 2e0d9219b9 Remove now-redundant email config David Baker 2015-04-23 11:45:29 +01:00
  • f30d47c876 Implement remote key lookup api Mark Haines 2015-04-22 14:21:08 +01:00
  • a16eaa0c33 Neater fetching of user's auth level in a room - squash to int() at access time (SYN-353) Paul "LeoNerd" Evans 2015-04-22 14:20:04 +01:00
  • f43063158a Appease pep8 Paul "LeoNerd" Evans 2015-04-22 13:12:11 +01:00
  • 7c50e3b816 Add info on breaking AS API changes Kegsay 2015-04-22 08:38:26 +01:00
  • 2808c040ef Also remember to check 'invite' level for changes Paul "LeoNerd" Evans 2015-04-21 21:13:14 +01:00
  • 48b6ee2b67 Create an 'invite' powerlevel when making new rooms Paul "LeoNerd" Evans 2015-04-21 21:07:35 +01:00
  • bc41f0398f Initial implementation of an 'invite' power_level Paul "LeoNerd" Evans 2015-04-21 20:56:08 +01:00
  • d3309933f5 Much neater fetching of defined powerlevels from m.room.power_levels state event Paul "LeoNerd" Evans 2015-04-21 20:53:23 +01:00
  • b568c0231c Remove debugging print statement accidentally committed Paul "LeoNerd" Evans 2015-04-21 20:21:14 +01:00
  • 3a7d7a3f22 Sanitise a user's powerlevel to an int() before numerical comparison, because otherwise Python is "helpful" with it (SYN-351) Paul "LeoNerd" Evans 2015-04-21 20:18:29 +01:00
  • 3ba522bb23 Merge branch 'develop' into key_distribution Mark Haines 2015-04-21 17:10:25 +01:00
  • 6080830bef Bump syutil version to 0.0.5 Mark Haines 2015-04-21 17:03:57 +01:00
  • 8b183781cb Merge pull request #128 from matrix-org/unify_http_wrappers Mark Haines 2015-04-21 17:01:04 +01:00
  • 1f651ba6ec Merge pull request #127 from matrix-org/bugs/SYN-350 Mark Haines 2015-04-21 16:52:59 +01:00
  • 812a99100b Set a version_string in BaseMediaResource so that the request_handler wrapper works Mark Haines 2015-04-21 16:43:58 +01:00
  • 1967650bc4 Combine the request wrappers in rest/media/v1 and http/server into a single wrapper decorator Mark Haines 2015-04-21 16:35:53 +01:00
  • 1ebff9736b Split out the JsonResource request logging and error handling into a separate wrapper function Mark Haines 2015-04-21 16:07:20 +01:00
  • 24d21887ed SYN-350: Don't ratelimit the individual events generated during room creation Mark Haines 2015-04-21 14:14:19 +01:00
  • db8d4e8dd6 Merge branch 'develop' into key_distribution Mark Haines 2015-04-20 16:24:21 +01:00
  • 2f9157b427 Implement v2 key lookup Mark Haines 2015-04-20 16:23:47 +01:00
  • 91c8f828e1 pep8 David Baker 2015-04-17 19:56:04 +01:00
  • 8db6832db8 Password reset, finally. David Baker 2015-04-17 19:53:47 +01:00
  • 117f35ac4a Add endpoint to get threepids from server David Baker 2015-04-17 17:20:18 +01:00
  • 4eea5cf6c2 pep8 David Baker 2015-04-17 16:46:45 +01:00
  • f96ab9d18d make add3pid servlet work David Baker 2015-04-17 16:44:49 +01:00
  • 865398b4a9 Revert needless change to rest.profile Erik Johnston 2015-04-17 16:14:51 +01:00
  • e3417bbbe0 Revert needless change to storage.profile Erik Johnston 2015-04-17 16:13:14 +01:00
  • 2492efb162 Merge branch 'develop' of github.com:matrix-org/synapse into postgres Erik Johnston 2015-04-17 16:08:42 +01:00
  • 4a5990ff8f Merge branch 'master' of github.com:matrix-org/synapse into develop Erik Johnston 2015-04-17 16:08:28 +01:00
  • 5e7a90316d Update --database-path metavar to SQLITE_DATABASE_PATH Erik Johnston 2015-04-17 16:08:18 +01:00
  • 231498ac45 Merge pull request #124 from matrix-org/hotfixes-v0.8.1-r4 v0.8.1-r4 Erik Johnston 2015-04-17 15:16:27 +01:00
  • fd4fa9097f The new parameter to urlopen is "context" not "ctx" Mark Haines 2015-04-17 14:44:31 +01:00
  • 0b1a8500a2 just the once would probably be fine David Baker 2015-04-17 13:53:54 +01:00
  • cb03fafdf1 Merge branch 'develop' into csauth David Baker 2015-04-17 13:51:10 +01:00
  • bf5e54f255 Register the 3pid servlet David Baker 2015-04-17 13:44:55 +01:00
  • 94e1e58b4d password -> account servlet and add start of an 'add 3pid' endpoint David Baker 2015-04-17 13:44:12 +01:00
  • ced39d019f Bump version Erik Johnston 2015-04-17 13:25:16 +01:00
  • 16dcdedc8a As of version 2.7.9, urllib2 now checks SSL certs Erik Johnston 2015-04-17 13:24:55 +01:00
  • 83b554437e Need to yield the username check, otherwise very very weird things happen. David Baker 2015-04-17 12:57:25 +01:00
  • dfc46c6220 PEP8 Erik Johnston 2015-04-17 12:46:29 +01:00
  • 6ba2e3df4e Merge branch 'develop' of github.com:matrix-org/synapse into postgres Erik Johnston 2015-04-17 11:22:31 +01:00
  • 427bcb7608 Fix port script after storage changes. Add very simple (off by default) curses UI to see progress. Erik Johnston 2015-04-17 11:13:05 +01:00
  • 0ec346d942 Add unique index to room_aliases, remove duplicates on upgrade. Convert some columns back to TEXT from bytea Erik Johnston 2015-04-17 11:10:20 +01:00
  • 1352ae2c07 Add kick users script Kegan Dougal 2015-04-17 10:38:07 +01:00
  • 4cd5fb13a3 Oops, left debugging in. David Baker 2015-04-16 20:03:13 +01:00
  • ea1776f556 Return user ID in use error straight away David Baker 2015-04-16 19:56:44 +01:00
  • e1c0970c11 PEP8 Erik Johnston 2015-04-16 11:18:45 +01:00
  • b8092fbc82 Go back to storing JSON in TEXT Erik Johnston 2015-04-16 11:17:52 +01:00
  • bc9e69e160 Move encoding and decoding of JSON into storage layer Erik Johnston 2015-04-16 11:01:09 +01:00
  • f2cf37518b Filter typing nofication events to only those rooms the requesting user is a member of (SYN-328) Paul "LeoNerd" Evans 2015-04-15 23:34:16 +01:00
  • 04c7f3576e Various minor fixes to unit-test structure around typing notifications Paul "LeoNerd" Evans 2015-04-15 23:32:11 +01:00
  • 0268d40281 Have TypingNotificationEventSource.get_new_events_for_user() return a deferred, for consistency and extensibility Paul "LeoNerd" Evans 2015-04-15 23:09:35 +01:00
  • 399b5add58 Neater implementation of membership change auth checks, ensuring we can't forget to check if the calling user is a member of the room Paul "LeoNerd" Evans 2015-04-15 18:40:23 +01:00
  • e6e130b9ba Ensure that non-room-members cannot ban others, even if they do have enough powerlevel (SYN-343) Paul "LeoNerd" Evans 2015-04-15 18:07:33 +01:00
  • 766bd8e880 Dummy login so we can do the first POST request to get login flows without it just succeeding David Baker 2015-04-15 17:14:25 +01:00
  • ffad75bd62 Remove mysql/maria support Erik Johnston 2015-04-15 17:00:50 +01:00
  • a429515bdd Add methods for storing and retrieving the raw key json Mark Haines 2015-04-15 16:58:35 +01:00
  • 8d761134c2 Fail quicker for 4xx responses in the key client, optional hit a different API path Mark Haines 2015-04-15 16:57:58 +01:00
  • cf04cedf21 Change full_schemas/11 to work with postgres Erik Johnston 2015-04-15 16:53:47 +01:00
  • 5b31afcbd1 Remove debug logging Erik Johnston 2015-04-15 16:27:04 +01:00
  • 6e91f14d09 Add missing yield Erik Johnston 2015-04-15 16:25:07 +01:00
  • ed26e4012b pushers table requires a unique id. Erik Johnston 2015-04-15 16:24:14 +01:00
  • 806f380a8b Make LruCache thread safe, as its used for event cache Erik Johnston 2015-04-15 16:07:59 +01:00
  • a19b739909 Regstration with email in v2 David Baker 2015-04-15 15:50:38 +01:00
  • a5c72780e6 Don't pass in removed flag Erik Johnston 2015-04-15 15:13:22 +01:00
  • e19f794fee Change from exception to warn Erik Johnston 2015-04-15 15:12:57 +01:00
  • d5ff9effcf Don't wait on federation_handler.handle_new_event Erik Johnston 2015-04-15 15:05:57 +01:00
  • e845434028 Remove run_on_reactor()s Erik Johnston 2015-04-15 15:05:45 +01:00
  • 4af32a2817 Postgres does not allow you to continue using a cursor after a DB exception has been raised, so move _simple_insert or_ignore flag out of transaction Erik Johnston 2015-04-15 14:51:21 +01:00
  • bc6cef823f Do more parellelization for initialSync Erik Johnston 2015-04-15 14:21:59 +01:00
  • 1ec6fa98c9 Parellelize initial sync Erik Johnston 2015-04-15 14:17:16 +01:00
  • 25d2914fba Turn off persistance of sent_transactions.response_json Erik Johnston 2015-04-15 14:09:35 +01:00
  • cce5d057d3 Add index on events (topological_ordering, stream_ordering) to help with ORDER BY clauses Erik Johnston 2015-04-15 11:43:25 +01:00
  • 6606f7c659 Merge branch 'develop' of github.com:matrix-org/synapse into postgres Erik Johnston 2015-04-15 10:27:20 +01:00
  • a971fa9d58 Use try..finally in contextlib.contextmanager Erik Johnston 2015-04-15 10:25:43 +01:00
  • ded4128965 Use True for True rather than 1 Erik Johnston 2015-04-15 10:24:24 +01:00
  • f9e12f79ca Add missing yield in storage func Erik Johnston 2015-04-15 10:24:07 +01:00
  • c756dfeb14 Correctly identify deadlocks Erik Johnston 2015-04-15 10:23:42 +01:00
  • 63677d1f47 Change port script to work with postgres Erik Johnston 2015-04-15 10:23:24 +01:00
  • 32e14d8181 Return a sha256 fingerprint rather than the entire tls certificate Mark Haines 2015-04-14 19:10:09 +01:00
  • 4847a9534d Merge pull request #122 from matrix-org/upgrade_syutil_to_0.0.4 Mark Haines 2015-04-14 16:36:36 +01:00
  • 88cb06e996 Update syutil version to 0.0.4 Mark Haines 2015-04-14 16:18:17 +01:00
  • d488463fa3 Add a version 2 of the key server api Mark Haines 2015-04-14 16:04:52 +01:00
  • 127fad17dd Add postgres database engine Erik Johnston 2015-04-14 14:50:29 +01:00
  • 5a95cd4442 Rename user_ips.user -> user_id Erik Johnston 2015-04-14 13:54:09 +01:00
  • 58d8339966 Add support for postgres instead of mysql. Change sql accourdingly. blob + varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS. Erik Johnston 2015-04-14 13:53:20 +01:00
  • be7ead6946 Merge pull request #121 from matrix-org/key-api-restructure Mark Haines 2015-04-14 13:37:15 +01:00
  • 3cbc286d06 Move server key api into rest/key/v1 Mark Haines 2015-04-14 13:28:11 +01:00
  • 3c741682e5 Correctly increment the _next_id initially Erik Johnston 2015-04-14 09:54:44 +01:00
  • 86fc9b617c For backwards compat, make state_groups.id have a type of int, not varchar Erik Johnston 2015-04-13 17:03:49 +01:00
  • 90bcb86957 Support running porting script multiple times Erik Johnston 2015-04-13 13:45:04 +01:00
  • 1bede47843 Add beginnings of migration sqlite->maria db script Erik Johnston 2015-04-10 18:47:20 +01:00