zulip/static
Tim Abbott 74c628b105 editing: Fix live update of ability to edit messages.
Previously, we didn't check the organization-level settings when
rendering a message list; instead, we only checked it when putting
messages into the message_store.  That resulted in the state being
stale in the event that the setting controlling whether one can edit
messages was changed.

We remove some node tests, because revidving the node test for their
new home in message_list_view would be more work than we probably want
to do with an upcoming release.  We basically need to be better about
exporting functions like populate_group_from_message_container and
set_topic_edit_properties, so we can do fine grained testing.

When we get around to the node tests, rather than exporting these
functions, it might make sense to create a new module with a name
like message_container.js, which would have all of these
last-second type of data manipulations on message objects.  This
would be nice to split out of message_list_view.js.  MLV is our
biggest module, and it's mostly cohesive, but it's real job
should be about assembling messages into a DOM list, which is
probably 80% of the code now.  The 20% that I'd want to consider
splitting out is actually closer in spirit to message_store.js.

Thanks to Steve Howell for helping with the node tests.
2017-08-23 12:03:35 -07:00
..
assets py3: Switch almost all shebang lines to use python3. 2017-08-16 17:54:43 -07:00
audio Change audible notification to a "knock" sound. 2014-02-12 17:09:39 -05:00
generated Move static/third/gemoji to static/generated/emoji. 2016-12-27 20:16:23 -08:00
html frontend: Add header to static/5xx.html. 2017-07-28 17:45:23 -07:00
images about: Add a banner to /about/ with a picture from PyCon. 2017-08-22 23:34:34 -07:00
js editing: Fix live update of ability to edit messages. 2017-08-23 12:03:35 -07:00
locale locale: Update Japanese strings. 2017-08-07 16:58:10 -07:00
styles informational-overlays: Remove outline on focus. 2017-08-23 11:05:52 -07:00
swagger Delete the old zulip.com "referrals" system. 2017-07-07 14:59:18 -07:00
templates realm: Add clear error message for too-long realm name. 2017-08-22 22:04:52 -07:00
third markdown.js: Remove paragraph break from numbered lists. 2017-07-28 12:32:20 -07:00
ts Add typescript support to asset compilation. 2017-05-28 17:28:28 -07:00
.gitignore gitignore: Forget obsolete path static/js/bundle.js . 2017-07-19 14:19:20 -07:00
favicon.ico Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
node_modules Create static/node_modules symlink. 2016-08-25 15:32:08 -07:00
robots.txt Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00