Jessica McKellar
ee7a1f0953
tutorial: add helpful in-app links and be consistent with realm welcome message.
...
(imported from commit 2057dbe2606d32721192021ed2046ed9f412d8a7)
2014-01-23 17:06:29 -05:00
Jessica McKellar
6aaa11027f
Fix the Desktop App banner covering top links in the left sidebar.
...
Before this commit, while the banner is open you can't click on the
Home link.
(imported from commit 4d41bacc50d8115b4868fbda537c9bd64250040a)
2014-01-23 17:06:28 -05:00
Jessica McKellar
993a20bdee
tutorial: be flexible about the work-focused warm-up message recipient.
...
(imported from commit 190f0cb27dda8cb89c2682affe1daee4248fe846)
2014-01-23 17:06:28 -05:00
Jessica McKellar
117c98796e
Send some messages to warm up the first user in a realm.
...
(imported from commit b4d92d474b27c9a0eabf99576a0f441a7d919106)
2014-01-23 17:06:28 -05:00
Jessica McKellar
fcd89d5861
tutorial: show content as if in a stream narrow.
...
(imported from commit 716640dd5d0abeafdd8fd2f1b033a6203486a405)
2014-01-23 17:06:27 -05:00
Jessica McKellar
ebd6408ec7
Make the tutorial shorter, and visually highlight important concepts.
...
(imported from commit 543d0ff838edbc2148df4b8d08331c793c7af4f6)
2014-01-23 17:06:27 -05:00
Jessica McKellar
a677db4672
Start users in a narrow to the notifications stream after the tutorial.
...
They'll see the welcome messages they need without being overwhelmed
by the home view.
(imported from commit 195cb4defa1dc0aa5ba8870226036e4dfd111c0f)
2014-01-23 17:06:27 -05:00
Jessica McKellar
7702461700
Unconditionally subscribe new users to the notification stream if it is public.
...
(imported from commit 7d7f14eb6fee43ca6f18adddda741665ce22d24a)
2014-01-23 17:06:26 -05:00
Jessica McKellar
e5a24c2d21
tutorial: tweak Desktop app banner language.
...
(imported from commit 727dd269314092a28b39e43300ee322416e3e18e)
2014-01-23 17:06:26 -05:00
Leo Franchi
1c9a59fd3f
Add newlines outside code blocks in marked.js to match bugdown
...
(imported from commit 7618260dbfa11209b3cc45d007407476897c2a20)
2014-01-23 16:50:29 -05:00
Leo Franchi
07dae5fcb9
Locally echo messages that are loaded from storage and resent
...
(imported from commit 474a0994d82bdbff9c98b453d3e1e4dc7732f5bd)
2014-01-23 16:28:59 -05:00
Leo Franchi
4ac59a71bd
[socket] Persist queued requests across restarts in localStorage
...
(imported from commit a3a7b0c8292c53807d179b343d371eebc11ef10b)
2014-01-23 16:28:59 -05:00
Leo Franchi
fd4b68aa72
[socket] Save pending and queued requests together
...
(imported from commit aecf59b26938c831da03a6a31545f2522387e67f)
2014-01-23 16:28:59 -05:00
Leo Franchi
56d9446c41
[socket] Use socket req ids that contain queue ids
...
(imported from commit 781eafe60bf117d79ce3a30deea02ec1e875060a)
2014-01-23 16:28:58 -05:00
Leo Franchi
24cb5fb079
Add a localstorage.js module
...
(imported from commit 9f3ab248ce84ce296bb1fb918de3b2dd8cde1ded)
2014-01-23 16:28:58 -05:00
Leo Franchi
e24dcb3952
Report proper displayed/receive time and local echo data
...
(imported from commit 63aba6ef05b1a55d61e975831ebbaa074f8ea74f)
2014-01-23 16:28:58 -05:00
Leo Franchi
439633fd03
More markdown compatibility fixes
...
* Escape " as "
* Enable GFM newlines
* Output a linebreak after <br> in the generated markup
(imported from commit c007ec422054f9fc66a810b66aac70f70a2a1952)
2014-01-23 16:28:58 -05:00
Leo Franchi
c1442f386f
Local echo messages that mention the sender should be highlighted
...
(imported from commit 58184f00e63fd50ed4a68d12afe0779ae3745749)
2014-01-23 16:28:57 -05:00
Leo Franchi
86cb451dcb
Render <a> with title and target attributes
...
(imported from commit 0e195db0a3ff1ebe3d567a1ab6408c4a1bfe1e2d)
2014-01-23 16:28:57 -05:00
Leo Franchi
97a69cbc12
Convert realm filters in client-side markdown parser
...
(imported from commit ef12b9ed28cf0176881d33caa1973fe4d9b90d0b)
2014-01-23 16:28:57 -05:00
Leo Franchi
b1a6fdf5e2
Add support for realm filters to marked.js
...
(imported from commit cea1720b6535a23469185f0ad2677edd373e7cfb)
2014-01-23 16:28:57 -05:00
Leo Franchi
c0d56c822f
Use the batched_flag_updater in ui.js as well as zulip.js
...
(imported from commit 6dea64d068d013471baf4022a8041f54da5c111e)
2014-01-23 16:28:57 -05:00
Leo Franchi
b7b322d8cd
Parse user mentions client side
...
(imported from commit b2919912792b8a02afad45f48e1c8df4783b93a9)
2014-01-23 16:28:56 -05:00
Leo Franchi
0f8cb25d89
Parse emoji client-side
...
(imported from commit 3bf150d866689b301ee31218cb3d570119b766cf)
2014-01-23 16:28:56 -05:00
Leo Franchi
0de824f73e
Add a zulip module to marked, which supports emoji and user mentions
...
This is partially inspired by https://github.com/chjj/marked/pull/238
(imported from commit 03b84cde88fc8c2fe31c1003a5ce852cc364733e)
2014-01-23 16:28:56 -05:00
Leo Franchi
87ce2bd0be
More standardization of client-side markdown parsing
...
(imported from commit bc010d69ee92758481d3645f84f2a68dcafacf7a)
2014-01-23 16:28:56 -05:00
Leo Franchi
53739622fd
Animate/rotate the retry spinner while retrying local send after failure
...
(imported from commit 13daa2b956baecb8e30fbc5807bcd969eb46a653)
2014-01-23 16:28:56 -05:00
Leo Franchi
03ceef0c40
Trigger a JS event on the inital load of messages completing
...
(imported from commit 9f1dc0c2f631bdd0a0b020b4b9565ee910e07c98)
2014-01-23 16:28:55 -05:00
Leo Franchi
34722de1da
Don't allow editing of in-flight locally delivered messages
...
(imported from commit 771ba4910a8f8e50803baa5f7ec75208077ed2dd)
2014-01-23 16:28:55 -05:00
Leo Franchi
883122b129
Allow editing of locally echoed messages that failed to be sent
...
(imported from commit eff8d55af7a1ff123ed2a2e45e58ff74de96beac)
2014-01-23 16:28:55 -05:00
Leo Franchi
c3f798297e
Show message failure message on hover of error
...
(imported from commit 8379c3c35c612d3609d2ab378eb6ca2f7ec120b1)
2014-01-23 16:28:55 -05:00
Leo Franchi
00f64113e9
Support locally echoing messages when sending
...
(imported from commit 00b5c5f9b933d119553c32cadff0f17b9f7c2879)
2014-01-23 16:28:55 -05:00
Leo Franchi
5b8e46f971
Allow emails in display recipient until local PMs are reified from server
...
(imported from commit 73f87449206c3789a4d74b8f776588d588ef88e1)
2014-01-23 16:28:55 -05:00
Leo Franchi
835e385b75
[third] Add marked.js, a javascript markdown parser
...
(imported from commit e85d9b50328ce7d31882464fcc283478f7a9f753)
2014-01-23 16:28:54 -05:00
Leo Franchi
0b2ba855f9
Add helper for rough determination of markdown client-side
...
(imported from commit 3b6439f54e55fbca0f586392d1a0add4d7f694b8)
2014-01-23 16:28:54 -05:00
Leo Franchi
f5af245c09
Clear compose box immediately after message is sent
...
(imported from commit 07cf0ca34dea1a64c37261e153730a9564281b3b)
2014-01-23 16:28:54 -05:00
Leo Franchi
9b42cdd826
Add a feature flag for local echo
...
(imported from commit 8aad03929333c77da62160aeb58013a0844c6eab)
2014-01-23 16:28:54 -05:00
Zev Benjamin
d5c6408efe
Handle a Firefox error relating to websockets.
...
We've only gotten one error report for this error, and it didn't have a stack
trace, so it's hard to know whether this will actually fix the issue or not.
(imported from commit 7bff052347a33f67d8479b1cb23f6e5e24defc75)
2014-01-23 13:32:40 -05:00
Leo Franchi
49c4ad61a1
Delay render on narrowing to end, to ensure only one render happens
...
(imported from commit c38574417e339275a90b235ecabc96e0deab95f8)
2014-01-23 13:29:18 -05:00
Steve Howell
2283aa52cb
Use "stream" as our type for updates to Stream.name.
...
(imported from commit 2eedbff5fac77b9e654ba88900167048573e4056)
2014-01-23 13:27:11 -05:00
Tim Abbott
09dbaabcb6
Update unread flags between multiple browser windows.
...
(imported from commit 1c5e2bc0233c28c72ce4c8253fa0717ae4793f84)
2014-01-23 13:21:59 -05:00
Tim Abbott
8fa49388c0
Sync the starred message flag to browsers without reload.
...
(imported from commit e685104275f471d1cd9b94e1803c26f714628f36)
2014-01-23 13:21:59 -05:00
Tim Abbott
59cd1663df
Rename confusing update_message_* functions in ui.js.
...
(imported from commit eeb2b1f92deb807676a75f1263d994a8c606b249)
2014-01-23 13:21:59 -05:00
Tim Abbott
59b0af835e
Use clearer variable name for toggle_star argument.
...
(imported from commit 6cc604b0cbe8a3a16ff4772e811af1fb4b41aa1e)
2014-01-23 13:21:59 -05:00
acrefoot
c93d0abfb0
Add circle Z logo to static images; do not rename without changing github-services
...
github.com/github/github-services/lib/services/humbug.rb:4
log_url = 'https://zulip.com/static/images/logo/zulip-icon-512x512.png '
(imported from commit 0fd4b54d18128a2edcb16b09168d948109679825)
2014-01-22 16:44:09 -05:00
Steve Howell
1746af4df6
Reflect is_admin changes on the client.
...
The client's update_person() method will look for an is_admin
change and update the gear menu as needed, as well as the underlying
data structures that help draw the admin page user list.
(imported from commit af8c173886d63dd102c63336bbca176f49e1036d)
2014-01-22 14:43:29 -05:00
Steve Howell
887c2059b1
Make the Administration menu item be show/hide-driven.
...
Always render the Administration menu item from the back end, but
make it be hidden by default until the page is loaded. Then, the
client can un-hide it as needed.
(imported from commit 66e607eec430d7179b4d5ac3f5416f5be8ac26c9)
2014-01-22 14:43:29 -05:00
Steve Howell
81d975c5ff
Account for update_user not having a full_name field.
...
Going forward, the back end may supply fields other than
full_name, like is_admin, so we should make sure the field
is in the hash first.
(imported from commit be94b9698bae0866444739e2846ff65a3ab27eb6)
2014-01-22 14:43:28 -05:00
Steve Howell
93deefec8d
Remove defensive code in update_person().
...
The code to keep page_params.people_list and realm_people_dict
values in sync with people_dict was unnecessary, as they are
the same underlying object.
(imported from commit 0a901213977ed21a0587ed1590ab5434be756f51)
2014-01-22 14:43:27 -05:00
Leo Franchi
9160fb3ed5
Remove debug that slipped in to previous commit
...
(imported from commit 1aeb04b0e8fc0b37da4a8aa123b567d2f96cc32a)
2014-01-22 14:04:25 -05:00