Kegan Dougal
|
83172487b0
|
Add basic filtering public API unit tests. Use defers in the right places.
|
2015-01-29 12:20:59 +00:00 |
|
Kegan Dougal
|
777d9914b5
|
Implement filter algorithm. Add basic event type unit tests to assert it works.
|
2015-01-29 11:38:06 +00:00 |
|
Kegan Dougal
|
50de1eaad9
|
Add filtering public API; outline filtering algorithm.
|
2015-01-29 10:24:57 +00:00 |
|
Kegan Dougal
|
2a4fda7b88
|
Add filtering.filter_events function, with stub passes_filter function.
|
2015-01-29 09:27:16 +00:00 |
|
Kegan Dougal
|
3773759c0f
|
Also edit the filter column on the delta SQL
|
2015-01-29 09:15:33 +00:00 |
|
Kegan Dougal
|
11634017f4
|
s/definition/filter_json/ since definition is now used to mean a component of the filter, rather than the complete json
|
2015-01-28 17:42:19 +00:00 |
|
Kegan Dougal
|
c23e3db544
|
Add filter JSON sanity checks.
|
2015-01-28 16:45:18 +00:00 |
|
Paul "LeoNerd" Evans
|
8398f19bce
|
Created schema delta
|
2015-01-27 19:00:09 +00:00 |
|
Paul "LeoNerd" Evans
|
06cc147012
|
Initial stab at real SQL storage implementation of user filter definitions
|
2015-01-27 18:46:03 +00:00 |
|
Paul "LeoNerd" Evans
|
54e513b4e6
|
Move storage of user filters into real datastore layer; now have to mock it out in the REST-level tests
|
2015-01-27 17:48:13 +00:00 |
|
Paul "LeoNerd" Evans
|
059651efa1
|
Have the Filtering API return Deferreds, so we can do the Datastore implementation nicely
|
2015-01-27 16:17:56 +00:00 |
|
Paul "LeoNerd" Evans
|
05c7cba73a
|
Initial trivial implementation of an actual 'Filtering' object; move storage of user filters into there
|
2015-01-27 14:28:56 +00:00 |
|
Paul "LeoNerd" Evans
|
0484d7f6e9
|
Merge branch 'develop' into client_v2_filter
|
2015-01-27 13:11:03 +00:00 |
|
Mark Haines
|
e5725eb3b9
|
Remove unused import from server.py
|
2015-01-26 16:16:50 +00:00 |
|
Mark Haines
|
7f6f3f9d62
|
Pass the current time to serialize event, rather than passing an
HS and getting a clock from it and calling time_msec on the clock.
Remove the serialize_event method from the HS since it is no longer
needed.
|
2015-01-26 16:11:28 +00:00 |
|
Paul "LeoNerd" Evans
|
8d7accb28f
|
Initial minimal attempt at /user/:user_id/filter API - in-memory storage, no actual filter implementation
|
2015-01-26 14:33:30 +00:00 |
|
Mark Haines
|
7b814d3f7f
|
Add client v2_alpha resource to synapse server resource tree
|
2015-01-23 18:55:19 +00:00 |
|
Paul "LeoNerd" Evans
|
85419e1257
|
Stop complaining about Synapse Angular SDK 0.6.1
|
2015-01-23 18:37:37 +00:00 |
|
Mark Haines
|
e0bf18addf
|
Add RestServlet base class in synapse/http/servlet.py
|
2015-01-23 14:16:28 +00:00 |
|
Mark Haines
|
4be637cb12
|
Extract the client v1 base RestServlet to a separate class
|
2015-01-23 14:09:51 +00:00 |
|
Mark Haines
|
c4652d7772
|
Remove hs.parse_eventid
|
2015-01-23 13:25:07 +00:00 |
|
Mark Haines
|
ada711504e
|
Replace hs.parse_roomalias with RoomAlias.from_string
|
2015-01-23 13:21:58 +00:00 |
|
Mark Haines
|
1c06c48ce2
|
Replace hs.parse_roomid with RoomID.from_string
|
2015-01-23 11:55:12 +00:00 |
|
Mark Haines
|
5759bec43c
|
Replace hs.parse_userid with UserID.from_string
|
2015-01-23 11:47:15 +00:00 |
|
Mark Haines
|
7256def8e4
|
Merge rest servlets into the client json resource object
|
2015-01-23 10:37:38 +00:00 |
|
Mark Haines
|
97c68c508d
|
Move rest APIs back under the rest directory
|
2015-01-22 16:10:07 +00:00 |
|
Mark Haines
|
1d2016b4a8
|
Move client v1 api rest servlets into a "client/v1" directory
|
2015-01-22 14:59:08 +00:00 |
|
Mark Haines
|
dc70d1fef8
|
Only start the notifier timeout once we've had a chance to check for updates. Otherwise the timeout could fire while we are waiting for the database to return any updates it might have
|
2015-01-19 16:24:54 +00:00 |
|
Mark Haines
|
42529cbced
|
Fix pyflakes errors
|
2015-01-19 15:33:04 +00:00 |
|
Mark Haines
|
00e9c08609
|
Fix syntax
|
2015-01-19 15:30:48 +00:00 |
|
Mark Haines
|
3e85e52b3f
|
Allow ':memory:' as the database path for sqlite3
|
2015-01-19 15:26:19 +00:00 |
|
Mark Haines
|
5fed042640
|
Finish renaming "context" to "room_id" in federation codebase
|
2015-01-16 19:01:03 +00:00 |
|
Mark Haines
|
2408c4b0a4
|
Fold _do_request_for_transaction into the methods that called it since it was a trivial wrapper around client.get_json
|
2015-01-16 19:01:03 +00:00 |
|
Mark Haines
|
602684eac5
|
Split transport layer into client and server parts
|
2015-01-16 19:01:03 +00:00 |
|
Mark Haines
|
2bdee98269
|
Remove temporary debug logging that was accidentally committed
|
2015-01-16 19:00:40 +00:00 |
|
Paul "LeoNerd" Evans
|
34a5fbe2b7
|
Have /join/:room_id return the room ID in response anyway, for consistency of clients (SYN-234)
|
2015-01-13 17:29:24 +00:00 |
|
Paul "LeoNerd" Evans
|
c2e7c84e58
|
Don't try to cancel already-expired timers - SYN-230
|
2015-01-13 16:58:36 +00:00 |
|
Mark Haines
|
3891597eb3
|
Remove unused functions
|
2015-01-13 15:57:26 +00:00 |
|
Mark Haines
|
fda63064fc
|
get_room_events isn't called anywhere
|
2015-01-13 14:43:26 +00:00 |
|
Mark Haines
|
895fcb377e
|
Fix stream token ordering
|
2015-01-13 14:38:53 +00:00 |
|
Erik Johnston
|
38e3241eb7
|
Merge branch 'hotfixes-v0.6.1b' of github.com:matrix-org/synapse into develop
|
2015-01-13 10:01:22 +00:00 |
|
Erik Johnston
|
1d3d37937d
|
Bump version
|
2015-01-13 09:59:47 +00:00 |
|
Erik Johnston
|
39585bf556
|
Insert 'age' into top level when returning events to clients
|
2015-01-13 09:57:32 +00:00 |
|
Paul "LeoNerd" Evans
|
02ffbb20d0
|
Use float rather than integer divisions to turn msec into sec - so timeouts under 1000msec will actually work
|
2015-01-12 19:09:14 +00:00 |
|
Paul "LeoNerd" Evans
|
67d8305aea
|
Make typing notification timeouts print a (debug) logging message
|
2015-01-12 18:22:00 +00:00 |
|
Kegan Dougal
|
c43d898119
|
SYN-178: Fix off by one.
|
2015-01-12 17:38:40 +00:00 |
|
Mark Haines
|
63403aa7a5
|
Check the existance and versions of necessary modules when starting synapse, log which modules are used
|
2015-01-08 17:08:57 +00:00 |
|
Kegan Dougal
|
9d0dcf2e3c
|
SYN-142: Rotate logs if logging to file. Fixed to a 4 file rotate with 100MB/file for now.
|
2015-01-08 15:31:29 +00:00 |
|
Matthew Hodgson
|
7f83613733
|
make our JPEG thumbnail quality less horrifically ugly
|
2015-01-08 15:11:22 +00:00 |
|
Kegan Dougal
|
b5924cae04
|
Add raw query param for scrollback.
|
2015-01-08 14:37:55 +00:00 |
|