Tim Abbott
459421d045
eslint: Update node tests to use new comma-dangle rules.
...
* In most cases, eslint --fix with the right comma-dangle settings was
able to update the code correctly.
* The exceptions were cases where the parser incorrectly treated the
arguments to functions like `assert_equal` as arguments; we fixed
these manually. Since this is test code, we can be reasonably
confident that just fixing the failures suffices to correct any bugs
introduced by making changes automatically.
2016-12-03 15:00:24 -08:00
AZtheAsian
5e9918135b
eslint: change quote-props from off to error and fix violations.
2016-12-02 18:35:53 -08:00
Vladislav Manchev
d7e1e4a2c0
Add initial implementation of custom realm filters.
...
This PR was abandoned by Vladislav and then substantially modified by
Igor Tokarev and Tim Abbott to complete it and fix a number of bugs.
Fixes #544 .
2016-11-17 17:11:25 -08:00
Steve Howell
5e51a93688
Change stream_data.remove_subscriber() to accept user ids.
2016-11-09 15:03:08 -08:00
Steve Howell
537a3b8ca8
Change stream_data.add_subscriber() to accept user_ids.
...
We no longer require passing in an email to
stream_data.add_subscriber(), since we only track user ids
in stream_data.js.
2016-11-08 15:49:23 -08:00
Steve Howell
a03a7d4c95
peer_remove: Send user_id, not email, for unsubscribe events.
2016-11-08 15:36:29 -08:00
Steve Howell
2088e8420f
User user_id, not email, in peer_add events.
2016-11-04 11:37:14 -07:00
Umair Khan
36c6a5d758
Add support for changing user's name by admin.
...
Fixes : #1553
2016-10-11 16:36:48 -07:00
Sahil Dua
058587da77
Remove extra new lines at the ends of Zulip authoried files.
...
Fixes #1627 .
[tweaked by tabbott to avoid patching third-party modules, for now]
2016-09-26 21:05:24 -07:00
Steve Howell
01d28458fc
Add frontend_tests/node_tests/dispatch.js.
...
This tests the dispatching code in server_events.js.
2016-08-09 18:49:13 -07:00