Ian Gulliver
|
49f14e54cf
|
Stop some pathological datastore behavior when a client is fetching many messages.
|
2016-01-05 18:12:59 -08:00 |
|
Ian Gulliver
|
6ee8dc4f05
|
Switch to a PRNG implementation that doesn't have a birthday problem.
|
2015-12-30 22:01:25 -08:00 |
|
Ian Gulliver
|
8cfa55c722
|
Add requestAccess(), denyRequest(), addOwner(), and addWriter(). Also add request, request_denied and acl_change events.
|
2015-12-29 19:11:56 -08:00 |
|
Ian Gulliver
|
fb85596501
|
Better error description. Add a TODO to fix pin() error handling.
|
2015-12-29 15:14:14 -08:00 |
|
Ian Gulliver
|
3b3755f7f5
|
Add amOwner() and amWriter(). Reject sendMessage() if we lack write access.
|
2015-12-29 12:00:35 -08:00 |
|
Ian Gulliver
|
415c6ad1fd
|
Lint fixes.
|
2015-12-29 11:48:33 -08:00 |
|
Ian Gulliver
|
976a5bd49f
|
Factor out ACL code. Keep a manifest copy of hogfather messages.
|
2015-12-29 11:42:54 -08:00 |
|
Ian Gulliver
|
78b92347a7
|
Start enforcing writer restrictions.
|
2015-12-29 10:43:47 -08:00 |
|
Ian Gulliver
|
9aa04cfbca
|
Hogfather now emits message events.
|
2015-12-27 21:40:00 -08:00 |
|
Ian Gulliver
|
17d7c470fd
|
Lint cleanups.
|
2015-12-27 21:21:23 -08:00 |
|
Ian Gulliver
|
076238eb99
|
Include cosmo metadata in returned messages.
|
2015-12-27 21:19:33 -08:00 |
|
Ian Gulliver
|
fdd1b85539
|
Allow uuid() to be called statically.
|
2015-12-27 21:08:36 -08:00 |
|
Ian Gulliver
|
53840a0cdd
|
Add getMessages() and sendMessage()
|
2015-12-27 20:48:50 -08:00 |
|
Ian Gulliver
|
199dd020ba
|
Add getID()
|
2015-12-27 20:06:27 -08:00 |
|
Ian Gulliver
|
1acbeaee12
|
Delay hogfather promise resolution until subscription syncs up.
|
2015-12-27 17:12:12 -08:00 |
|
Ian Gulliver
|
6789c42703
|
Rip out hogfather's early complexity and move toward implementing the public chat first.
|
2015-12-27 17:04:46 -08:00 |
|
Ian Gulliver
|
3f37741ae7
|
Avoid log spam on invalid instance channels.
|
2015-12-27 16:43:19 -08:00 |
|
Ian Gulliver
|
7be8b4e9b6
|
Add Hogfather.Create() factory.
|
2015-12-25 14:23:04 -08:00 |
|
Ian Gulliver
|
30a3e89bfc
|
Fix several cases of assuming that a Profile always has a numeric ID, rather than a named key, which is untrue.
|
2015-12-24 15:26:43 -08:00 |
|
Ian Gulliver
|
b90d3d7b44
|
More hogfather structure.
|
2015-12-24 15:12:25 -08:00 |
|
Ian Gulliver
|
6e879ce1d5
|
Add hogfather basic structure.
|
2015-12-24 15:00:26 -08:00 |
|
Ian Gulliver
|
8b6f5c916d
|
First Hogfather test.
|
2015-10-17 16:04:37 +02:00 |
|
Ian Gulliver
|
69aa0e711a
|
Start of hogfather code.
|
2015-10-17 15:55:43 +02:00 |
|
Ian Gulliver
|
cec8a6c9d3
|
Fix the remaining lint errors.
|
2015-10-16 16:23:29 +02:00 |
|
Ian Gulliver
|
f77007e047
|
Fix some lint errors from previous commit.
|
2015-10-15 21:55:55 +02:00 |
|
Ian Gulliver
|
a59f7f97f3
|
Add support for "local" subjects, which don't get pushed to the serve and get destroyed on unsubscribe.
|
2015-10-15 19:05:39 +02:00 |
|
Ian Gulliver
|
9b5a55b737
|
Add two event listener tests, mostly as examples.
|
2015-10-14 17:04:01 +02:00 |
|
Ian Gulliver
|
13fe1a07ce
|
Actually start calling promises.
|
2015-06-28 12:22:23 -07:00 |
|
Ian Gulliver
|
f2a3b3c677
|
TODO about locking issues
|
2015-06-28 11:56:41 -07:00 |
|
Ian Gulliver
|
d1a4510d2b
|
Refactoring for sanity, avoid some unnecessary copies.
|
2015-06-28 11:55:09 -07:00 |
|
Ian Gulliver
|
a3b6977088
|
More promise plumbing.
|
2015-06-28 11:43:17 -07:00 |
|
Ian Gulliver
|
4b79ef06de
|
Plumbing for promise integration.
|
2015-06-28 11:18:05 -07:00 |
|
Ian Gulliver
|
b29690734a
|
Move command queue to our own linked list, so we can attach promises.
Fix OS X build.
|
2015-06-28 09:54:03 -07:00 |
|
Ian Gulliver
|
db9b63cec8
|
Switch to uuid names for Event keys, because appengine reuses model ids.
|
2015-06-22 20:56:27 -07:00 |
|
Ian Gulliver
|
a8d0661626
|
Forgot the cron handler.
|
2015-06-19 22:43:41 -07:00 |
|
Ian Gulliver
|
33f368910f
|
Better method for tracking reconnect of polling clients.
|
2015-06-19 22:43:20 -07:00 |
|
Ian Gulliver
|
f89e936f55
|
Don't delete all events, just the ones that are acked.
|
2015-06-15 21:31:21 -07:00 |
|
Ian Gulliver
|
1102701bea
|
Merge branch 'master' of github.com:flamingcowtv/cosmopolite
|
2015-06-15 21:25:25 -07:00 |
|
Ian Gulliver
|
0ead64a41d
|
Tell polling clients when we've recreated their connection and they need to resubscribe.
|
2015-06-15 21:25:00 -07:00 |
|
Ian Gulliver
|
1325ad570e
|
Event cleanup pipeline.
|
2015-06-14 21:48:36 -07:00 |
|
Ian Gulliver
|
0df573171d
|
Change lots of keys to IDs for length.
|
2015-06-14 19:56:13 -07:00 |
|
Ian Gulliver
|
71514b7655
|
Move events from keys to ids.
|
2015-06-14 19:33:40 -07:00 |
|
Ian Gulliver
|
cc6ad7803a
|
Fix polling and acks.
|
2015-06-14 19:24:00 -07:00 |
|
Ian Gulliver
|
a63bd0abda
|
Rename funciton, allow acking.
|
2015-06-14 15:26:02 -07:00 |
|
Ian Gulliver
|
0c0b7713ed
|
Merge branch 'master' of github.com:flamingcowtv/cosmopolite
|
2015-06-14 15:13:33 -07:00 |
|
Ian Gulliver
|
de25447566
|
Add some additional 'ok' return codes.
|
2015-06-14 15:13:13 -07:00 |
|
Ian Gulliver
|
33579856c8
|
Untested code for polling instances.
|
2015-06-12 19:57:55 -07:00 |
|
Ian Gulliver
|
d94b3d08ae
|
Add passthrough pointer, better Makefile.
|
2015-06-10 19:50:26 -07:00 |
|
Ian Gulliver
|
b9564576d3
|
Decode incoming message JSON.
|
2015-06-09 21:32:34 -07:00 |
|
Ian Gulliver
|
8d9683a00c
|
Callback framework, message callback.
|
2015-06-07 15:30:08 -07:00 |
|
Ian Gulliver
|
e24794b229
|
Remove all the pin support for now.
|
2015-06-07 14:45:21 -07:00 |
|
Ian Gulliver
|
3995a4d0d9
|
Don't send pins until a subscription is established, since unpin events never come in that case.
|
2015-06-07 14:16:54 -07:00 |
|
Ian Gulliver
|
190e1eb182
|
onpin support, but onunpin never fires, so mostly useless right now.
|
2015-06-07 10:14:15 -07:00 |
|
Ian Gulliver
|
3f40ddb037
|
Add a big nasty hack to short-circuit lots of event transmission until we get channels working.
|
2015-06-06 19:37:04 -07:00 |
|
Ian Gulliver
|
45d75172bf
|
Handle incoming message events. Fix unsubscribe.
|
2015-06-06 19:17:42 -07:00 |
|
Ian Gulliver
|
75853c47ac
|
Implement the cached message & pin fetching functions.
|
2015-06-06 17:28:49 -07:00 |
|
Ian Gulliver
|
27a7343fed
|
Implement subscription tracking, cosmo_unsubscribe()
|
2015-06-06 17:15:32 -07:00 |
|
Ian Gulliver
|
2d556844b5
|
API TODO list.
|
2015-06-06 16:05:11 -07:00 |
|
Ian Gulliver
|
b257b23e8a
|
Add cosmo_current_profile()
|
2015-06-06 15:32:13 -07:00 |
|
Ian Gulliver
|
897e13010d
|
Standardize names, modulo style, with JS.
|
2015-06-06 14:59:08 -07:00 |
|
Ian Gulliver
|
b66b7cc083
|
Add cosmo_send_message()
|
2015-06-06 14:56:23 -07:00 |
|
Ian Gulliver
|
6fd030e0bc
|
Move everything into cosmopolite.c
|
2015-06-06 14:43:40 -07:00 |
|
Ian Gulliver
|
db7f9bdd9b
|
Move more curl opts to be global.
|
2015-06-06 14:34:03 -07:00 |
|
Ian Gulliver
|
22e6ff8090
|
Makefile, better gitignore
|
2015-06-06 14:32:52 -07:00 |
|
Ian Gulliver
|
d9e3bd727e
|
Keep a curl instance around to re-use the connection.
|
2015-06-06 10:54:58 -07:00 |
|
Ian Gulliver
|
fffbf0f30c
|
Start of a public header.
|
2015-06-06 10:44:46 -07:00 |
|
Ian Gulliver
|
f055809a22
|
Make URL a parameter.
|
2015-06-06 10:39:33 -07:00 |
|
Ian Gulliver
|
d596ff1444
|
Retry and backoff working properly.
|
2015-06-05 23:20:07 -07:00 |
|
Ian Gulliver
|
f8c40a65c5
|
Response parsing and RPC retries.
|
2015-06-03 22:45:07 -07:00 |
|
Ian Gulliver
|
28c1f9612c
|
Actually send commands!
|
2015-06-03 22:24:07 -07:00 |
|
Ian Gulliver
|
c4ed549342
|
Move to condition variable communication.
|
2015-06-03 20:53:27 -07:00 |
|
Ian Gulliver
|
9e4cefb27e
|
Simplified ownership.
|
2015-06-03 20:32:00 -07:00 |
|
Ian Gulliver
|
f5cff306de
|
Start some sanity refactoring.
|
2015-06-03 20:15:31 -07:00 |
|
Ian Gulliver
|
872426aa78
|
Store and parse return values, partially handle errors.
|
2015-06-02 22:53:15 -07:00 |
|
Ian Gulliver
|
b2d595322c
|
Start of C client library.
|
2015-06-02 22:21:28 -07:00 |
|
Ian Gulliver
|
1e6da9504a
|
Set request and response content type to json.
|
2015-05-31 21:23:45 -07:00 |
|
Ian Gulliver
|
3fa24f803d
|
Switch to idiomatic JS Event framework.
Remove Unity debugging, as we no longer have interested clients.
|
2015-05-31 18:00:07 -07:00 |
|
Ian Gulliver
|
014fde230a
|
Merge branch 'master' of github.com:flamingcowtv/cosmopolite
|
2015-05-31 16:48:07 -07:00 |
|