Commit graph

71 commits

Author SHA1 Message Date
ifandelse
ba9b3bf1ca Enabled pipeline add-ons on channel publish, added tests 2014-02-07 13:49:04 -05:00
ifandelse
cc20b691bb Moved linkChannels behavior to add-on 2014-01-29 02:38:58 -05:00
ifandelse
7647d6b21e Updated Conduit code, slimmed down basic version 2014-01-29 02:25:51 -05:00
ifandelse
0cd75e6ddc Removed utils namespace, removed localBus and moved implementation to postal namespace itself. 2014-01-27 16:59:45 -05:00
ifandelse
b1e259f9f0 Working towards a basic and full build option. Added separate strategies-only build, etc. 2014-01-27 01:52:22 -05:00
ifandelse
c34650abc5 Updated SubscriptionDefinition's debounce to use strategy. Removed factory method call on CommonJS import in tests 2014-01-26 02:25:42 -05:00
ifandelse
72388c6ae8 Added strategy/pipeline behavior 2014-01-25 01:27:33 -05:00
ifandelse
eaccef227e Refactored where subscription created and removed messages are published. Added unsubscribe to postal object. 2014-01-24 00:09:12 -05:00
ifandelse
ab978b9d3e Added noConflict method and test 2014-01-23 23:30:03 -05:00
ifandelse
f4787f506b Build now runs on gulp.js, updated how dependencies are managed 2014-01-23 22:02:06 -05:00
ifandelse
40897fac57 Fixed memory leak with queued unsubscribe calls in localBus. Fixes #53 2014-01-12 01:22:40 -05:00
ifandelse
e436ccf1c4 Updated mocha assets, fixed problem with uncleared setTimeout (causing mocha to report a failure when there was not one), changed var that = this to use 'self' instead of 'that' (for consistency). 2013-09-10 01:49:29 -04:00
Christian Haas
8bdb2586a6 Ensuring context in self-disposing callbacks
- allowing context modification after delayed configurations
2013-09-06 21:56:09 +02:00
Christian Haas
ac3e7ea7d0 Added context tests for limited callbacks
- properly running the delayed context tests
- formatting
2013-09-06 21:21:16 +02:00
Christian Haas
dfde7b48d6 Ensuring context set for delayed callbacks
- also, fixing standalone test runner
2013-09-06 20:50:57 +02:00
ifandelse
a0da26205f Massive Whitespace Clean-up + adding jshintrc, etc. 2013-09-04 22:57:56 -04:00
Doug Neiner
6680cb497d Both defer and withDelay now properly pass the envelope along with the data for the callback. Fixes #41 2013-09-04 14:44:25 -05:00
ifandelse
25425c0cda Merged and tweaked PR from @GerHobbelt, which fixed issue with nested publishes breaking the unsubscribe queue behavior 2013-08-10 12:19:34 -04:00
ifandelse
e909bbad08 Fixed bug reported by @tsgautier in Issue #34. The publish call was incorrectly handling a mutating array of subscribers as it iterated over them. I also fixed the once() call to return the instance. 2013-05-01 00:42:09 -04:00
Doug Neiner
2e1bb06735 Added test to show failure of matching topics starting with a slash 2013-04-30 20:04:05 -05:00
Jim Cowart
f6729c191b Fixed failing test and enabled all test modules to run 2013-03-03 00:33:44 -05:00
Jim Cowart
a2db8ab2d7 Added tests for Bindings resolver to specifically target failing conditions. Now to fix those failures.... 2013-03-02 16:32:57 -05:00
Jim Cowart
51a244c210 Updated bug in Channel Definition publish, and fixed tests to catch it 2013-01-15 20:15:06 -05:00
Jim Cowart
2cd58733d8 Added tests for ChannelDefinition.publish 2013-01-11 17:02:32 -05:00
Jim Cowart
2986035b9d Updated README and examples, adding repository root page 2013-01-11 12:00:26 -05:00
Jim Cowart
3acbb142e6 Removed a *lot* of code. Postal's diet is in full force... 2012-12-20 02:32:45 -05:00
Jim Cowart
8530716096 initial v0.8.0RC changes' 2012-12-19 20:11:24 -05:00
Jim Cowart
68f833cdc4 Set 'this' context of constraints to match that of the callback. Added tests & removed jshint dependency temporarily 2012-11-16 20:29:11 -05:00
Jim Cowart
5c2727acfd added .once() shortcut to SubscriptionDefinition and related test 2012-11-07 21:30:51 -05:00
Jim Cowart
cfcd18fd0c Converted tests from QUnit to Mocha+Expect 2012-10-26 01:17:15 -04:00
Jim Cowart
354a3187bd Fixed minor bug on node.js when publishing + no subscribers 2012-10-03 23:27:14 -04:00
Doug Neiner
0607980d0d Fixed issue with linkChannels that would prevent multiple output topics from publishing 2012-09-05 11:23:55 -05:00
Jim Cowart
83c0464429 Code updated to v 0.7.0, prepping to tag 2012-08-28 12:06:19 -04:00
Jim Cowart
4c0aea72b9 Renamed 'ignoreDuplicates' to 'distinctUntilChanged' to better track with @nicholascloud's contributions on 'distinct'. Bumped version to 0.6.4 2012-05-24 23:13:14 -04:00
Jim Cowart
bb4217f7fc Merged pull request #4 from @nicholascloud. Prepping for v0.6.4 bump 2012-05-24 23:03:15 -04:00
Jim Cowart
d3ad06218b Fixed bug with subscription priority 2012-05-22 14:35:36 -04:00
Jim Cowart
a77617e8f4 Updated README and removed session related calls from postal module for now 2012-04-23 22:59:31 -04:00
Jim Cowart
951738d56b Reformatted code to more closely (but not exactly) line up with jQuery core formatting standards. Updated postal.socket dependencies in the node example, etc. 2012-04-21 00:56:40 -04:00
Jim Cowart
e25d9196ec utils and configuration refactor 2012-04-20 01:53:46 -04:00
Jim Cowart
300115ce9a Added postal.utils namespace, added tests 2012-04-18 18:16:52 -04:00
Jim Cowart
e5d08bac53 Adding more tests 2012-03-27 10:50:59 -04:00
Jim Cowart
ec182d82b9 Added tests for defer throttled, debounce 2012-03-27 02:05:45 -04:00
Jim Cowart
d2abfd881a Added tests for defer and delay. Removed 'whenHandledThenExecute'. Added postal.reset. Fixed bug in IE with setTimeout call in defer. 2012-03-27 00:55:58 -04:00
Jim Cowart
1f8bf876e2 README Updates 2012-03-22 01:34:53 -04:00
Jim Cowart
db785cecdb Refactoring publish and subscribe API signatures 2012-03-22 01:14:40 -04:00
Jim Cowart
b48bdfc276 Updated README, consolidated standard and AMD build processes 2012-03-20 02:04:35 -04:00
Jim Cowart
e542269058 Updated API to consistently use (data, envelope) signature wherever suscribers and publishers are involved 2012-03-19 23:01:38 -04:00
Jim Cowart
bc29519b4c Changed 'exchange' to 'channel', continued refactor for arg parsing, etc. 2012-03-18 21:51:56 -04:00
Jim Cowart
e59d3ab07a initial pass for perf cleanup 2012-03-01 03:40:47 -05:00
Jim Cowart
6d3e301cf4 Added the bindExchangeses call to the API, including initial tests 2012-02-26 16:22:54 -05:00