Ian Gulliver
|
6c51f14723
|
Hogfather message round trip.
|
2016-01-08 15:39:13 -08:00 |
|
Ian Gulliver
|
3a4614f977
|
Correct function naming, actually get a test passing.
|
2016-01-08 15:27:34 -08:00 |
|
Ian Gulliver
|
c9cb04d420
|
Make Shutdown() do something.
|
2016-01-08 15:22:47 -08:00 |
|
Ian Gulliver
|
918243b296
|
Make hogfather.PublicChat.Start() private.
|
2016-01-08 15:15:56 -08:00 |
|
Ian Gulliver
|
c744a2cde6
|
Type annotations for EventTarget imports.
|
2016-01-07 21:09:38 -08:00 |
|
Ian Gulliver
|
87b4e4257a
|
Drop the www
|
2016-01-07 21:02:00 -08:00 |
|
Ian Gulliver
|
7dcae7e88f
|
Remove duplicate function.
|
2016-01-07 20:55:25 -08:00 |
|
Ian Gulliver
|
c9626a7616
|
Add isConnected()
|
2016-01-07 20:51:46 -08:00 |
|
Ian Gulliver
|
5eb3674833
|
Batch saving to localStorage on initial subscribe; makes a big difference when we have lots of messages.
|
2016-01-05 22:47:31 -08:00 |
|
Ian Gulliver
|
5280b710d2
|
Shortcut calling onMessage for everything in cache.
|
2016-01-05 20:44:28 -08:00 |
|
Ian Gulliver
|
77227df9aa
|
Don't re-write the message cache while we're processing it.
|
2016-01-05 19:12:57 -08:00 |
|
Ian Gulliver
|
59fab5e3c6
|
localStorage cache for subject messages.
|
2016-01-05 18:51:27 -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
|
7be8b4e9b6
|
Add Hogfather.Create() factory.
|
2015-12-25 14:23:04 -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
|
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 |
|
Ian Gulliver
|
7e3af49303
|
Fix test race condition in Profile merge.
|
2015-05-31 10:07:07 -07:00 |
|
Ian Gulliver
|
eb536ae20a
|
Change XMLHttpRequest call ordering to satisfy firefox.
|
2014-11-15 17:30:02 -08:00 |
|
Ian Gulliver
|
72c7453091
|
Style fixes.
|
2014-06-27 23:17:33 -07:00 |
|
Ian Gulliver
|
f12d8cb8ea
|
Keep up with QUnit API change.
|
2014-06-27 23:15:53 -07:00 |
|
Ian Gulliver
|
f675715317
|
Bugfixes for "me" ACL.
|
2014-06-21 17:29:10 -07:00 |
|
Ian Gulliver
|
eacb6bd7ba
|
Use "me" ACL in debug interface.
|
2014-06-21 12:21:23 -07:00 |
|
Ian Gulliver
|
3c452dabf3
|
Add message translation layer than can handle "me" as an ACL.
|
2014-06-19 23:14:26 -07:00 |
|
Ian Gulliver
|
959049af59
|
Add connected() function.
|
2014-06-17 21:28:47 -07:00 |
|
Ian Gulliver
|
c210d826b2
|
Send profile with every RPC response.
|
2014-06-17 21:14:59 -07:00 |
|
Ian Gulliver
|
a1ee25a937
|
Clear pin state before subscribe events.
|
2014-06-17 21:06:43 -07:00 |
|
Ian Gulliver
|
3629f3c266
|
Const correctness for private members
|
2014-06-15 14:46:06 -07:00 |
|