Kevin Mehall
8863340e98
Fix scroll glitch when new messages are loaded at top.
...
`process_condensing` before updating the scroll position, because it can
change the height of messages.
(imported from commit ca500351447fcabc3b03bb01a55a8e25bf8e9578)
2013-07-17 15:25:22 -04:00
Kevin Mehall
a0a91163fd
Preserve pointer position on automatic reload.
...
The server only saves the maximum position the pointer has ever had. So
on reload, it often jumped to the end instead of where the user was.
(imported from commit 418ccb1144286c67503578020e88ae7b3869acd6)
2013-07-17 15:25:21 -04:00
Scott Feeney
7c39700549
Fixes for @-notification autocomplete bugs ( #1418 )
...
* Fixed highlighting of @-mention autocompletes in the new msg content box
* Fixed emojis activating not after a space (10:30, happy:smile)
* You can now autocomplete multiple names i.e. "@Jessica F"
for Jessica Foo (this resolves Trac #1418 )
* You can no longer autocomplete a full email address, e.g.
"@lfaraone@h", the second @ stops the autocomplete. We may want to
change this later, but for now it matches the server-side behavior
which only completes `short_name`s.
(imported from commit 71fd195c3094484ea940a243102917cca61880d9)
2013-07-17 15:22:55 -04:00
Zev Benjamin
642f347790
puppet: Add check_postgres.pl nagios plugin
...
(imported from commit 9d9d0ff74dc0fdf17d81b9a0b450df7cb37d04d5)
2013-07-17 14:34:00 -04:00
Zev Benjamin
d16b336f29
puppet: Remove duplicate python-boto package declaration
...
(imported from commit ef3f8f73bc43363317be9b5875ed95e6fa13f4a3)
2013-07-17 14:34:00 -04:00
Zev Benjamin
81c05e02c2
nagios: Check for the expected number of autossh processes on munin.humbughq.com
...
(imported from commit 77d35b2aaacf303f6118d7794f481e393868da59)
2013-07-17 14:34:00 -04:00
Zev Benjamin
14e58ff6e4
Monitor postgres1
...
The fact that we weren't already was an oversight on my part.
(imported from commit 2082ae79ac2884f26e98b430bcb08c15938a26c0)
2013-07-17 14:34:00 -04:00
Zev Benjamin
431acdb186
munin: Rename postgres to postgres0
...
(imported from commit 07c324b5b7e0579e7b97b07c4fdf55f0e66f131c)
2013-07-17 14:34:00 -04:00
Zev Benjamin
b4a208445b
Run check_postgres.pl against the correct database
...
We were previously running it against the 'postgres' database, which
meant we weren't actually checking the non-clusterwide statistics.
(imported from commit a6be529b16d5f1927463e49a7f7f4cf0b5299213)
2013-07-17 14:34:00 -04:00
Tim Abbott
4ffdcedae0
If multiple users match a mention, prefer the first one created.
...
(imported from commit e5e67c6f78a13432b19cff07bc04bddb3bd539e7)
2013-07-17 14:26:39 -04:00
Tim Abbott
eecf96b520
Don't consider deactivated users for @-mentions.
...
(imported from commit 5e85f8c897e2ea9a3c0c37c3199666b490d6e07a)
2013-07-17 14:26:39 -04:00
Steve Howell
5439687b70
Swap Up and Down in keyboard help
...
(imported from commit 2da5e29cf36d81a046da8f8a028a73aaf986d9d1)
2013-07-17 14:13:43 -04:00
Steve Howell
15c9209af6
s/Respond/Reply/ and emphasize Reply help in Keyboard shortcuts help
...
Reply help is higher, because it's more common to reply to messages
than to compose new messages.
(imported from commit 74439e8f36796e638bb99e2c7786470cced666f1)
2013-07-17 14:13:43 -04:00
Steve Howell
35466e2857
Put help for / higher in Keyboard shortcuts help.
...
Two reasons:
1. It helps group the up/down keys together.
2. It's the least guessable hotkey of the group, so it's worth emphasizing.
(imported from commit b9b29b8dcf37ce29526aa7e55871acb05d1ef4bc)
2013-07-17 14:13:43 -04:00
Scott Feeney
1484bdf0ad
Tweak edit box CSS to fit better
...
* line-height of 18px, same as messages you're not editing
* width of 100%, so word wrapping is more similar
* smaller margins
(imported from commit 81fc4628e0485f66615df90504462465e5805e91)
2013-07-17 14:05:16 -04:00
Scott Feeney
7a5853d41a
Automatically size edit box to fit text ( #1385 )
...
(imported from commit 37cf8220334af1b70c4c9a781e66660430c19447)
2013-07-17 14:05:16 -04:00
Steve Howell
68574c1b12
Tweek menus section of keyboard help
...
(imported from commit 0d77d173cd76cbdffeab39611cc4970c1d51563c)
2013-07-17 12:31:00 -04:00
Jessica McKellar
849b49b22d
Make "subject" an alias for the "topic" operator.
...
(imported from commit 52c11ff48a286533906b99ed62839e6ae3e35b17)
2013-07-17 12:04:46 -04:00
Jessica McKellar
1defcf5718
Support operator aliases, and introduce the first, from: canonicalizing to sender:.
...
This also normalizes the casing of operators, which makes
Sender:wdaher@humbughq.com work when it would previously give an
"unknown operator" error.
(imported from commit fb3f748a474e1c9c710547ae3c05a4ace86c3230)
2013-07-17 12:04:46 -04:00
Jessica McKellar
ae31988e42
tutorial: tweak how we describe topics.
...
(imported from commit 49fb4769a0954ac5bf7ed15989227e6a6f54c6dd)
2013-07-17 12:04:45 -04:00
Jessica McKellar
dac5a46fa4
Rename user-visible uses of "subject" to "topic".
...
(imported from commit 19e08a13624686da8703fcb8b5eefe2e29edf64b)
2013-07-17 12:04:45 -04:00
Steve Howell
d61ebc2385
Support J/K as hotkeys for page_down/page_up
...
(imported from commit f4d092e3a3ccd5fad5e39fb6e6c454fbfeddfa50)
2013-07-17 11:48:47 -04:00
acrefoot
d8ad217bab
Add sender actions to sender info popover
...
(imported from commit 803f7e6c51f40dc7131608b2ed295f6760925f8c)
2013-07-17 11:48:41 -04:00
Waseem Daher
c7f031dc53
Don't partially color in the composebox on narrow.
...
(imported from commit 99c3744541b5f0d993d59c5e9589f5fd30495f9e)
2013-07-17 11:03:00 -04:00
Tim Abbott
2cda98609b
subs: Update checkbox states when values are changed off-page.
...
Previously, if you toggled the in_home_view checkbox either in a
different browser or via the button in the sidebar menus, it didn't
actually update the visible checkbox state in the streams page,
resulting in some potentially very confusing interactions.
(imported from commit 3424430231f89a23e970a2f1bfec82c6eb0d6735)
2013-07-17 10:36:58 -04:00
Tim Abbott
56810391de
Sync subscription property changes to client.
...
(imported from commit c0504840ea0f304da67d5e4561ab30465d4567a3)
2013-07-17 10:36:57 -04:00
Tim Abbott
8755fc05ca
Move subscription_property state change code to actions.py.
...
(imported from commit 57056af4e4fe021fafa1d0d511a9c551cd53c74d)
2013-07-17 10:36:57 -04:00
Tim Abbott
907bb154b1
Support changing one's name without a reload.
...
(imported from commit 4e7aea017f016494e2674f11b96681e098816f2d)
2013-07-17 10:36:57 -04:00
Jessica McKellar
fd0d8799ca
Focus on the right text box when you initiate a message edit.
...
(imported from commit ac55ec174ade75c0ebd987f934e3857dd3d94849)
2013-07-17 10:24:54 -04:00
Allen Rabinovich
5b84b2db87
Add light blue background color on narrow
...
(imported from commit a007bdc48c802b36fa5185ed9d153503298150fc)
2013-07-16 15:52:18 -07:00
Scott Feeney
82e33881b5
Add failing test for #1511 (focus when composing)
...
Next step is to make the test pass.
(imported from commit a9401366c63166f39b8b73d6228c845af10c931a)
2013-07-16 17:57:54 -04:00
Scott Feeney
bd63fdf81c
Fix Trac #1511 , compose focus when narrowed to PMs
...
(imported from commit a8fd2f018b6082599524d039826821d2337a6186)
2013-07-16 17:57:54 -04:00
Scott Feeney
3395ac2fb1
Allow CasperJS tests to use 'document' & 'window'
...
(imported from commit f3f3834d723c7b07e7aaff4ce8cab10a72255f22)
2013-07-16 17:53:44 -04:00
Zev Benjamin
eb93f20f95
On MIT, when narrowing to an unclass (or derivatives) also narrow to the base stream
...
Previously, narrowing to a stream also narrowed to
/^(un)*stream-name(.d)*$/, but not the other way around.
(imported from commit 6643f8d8306a737f4e96d473dd1fdbfdcd56e2a8)
2013-07-16 16:53:08 -04:00
Jessica McKellar
4ac64ed6eb
If you unnarrow while scrolling, wait for the scroll to finish.
...
Otherwise you may end up scrolled to a random place.
(imported from commit 99d73b1876e3bde288b14b00bd48b1013f40e268)
2013-07-16 14:17:42 -04:00
Steve Howell
68f2991746
streams.js: Simplify narrow_or_search_for_term
...
(imported from commit 8b8faf7ec35acdb7c7506ea57890901e0e04af71)
2013-07-16 13:29:19 -04:00
Steve Howell
e3392eeca6
search.js: label -> search_string
...
(imported from commit 5201c0d7d242d060d405692ff166f7febfc581cd)
2013-07-16 13:29:19 -04:00
Steve Howell
2d7d98adc7
Kill off typeahead_helper.update_autocomplete() and friends
...
(imported from commit f486c571911c0b5a62a43c976579c3a036881778)
2013-07-16 13:29:18 -04:00
Steve Howell
f8cad17c75
search.js: kill off labels, mapped, update_typeahead()
...
(imported from commit e0320b5315762d1776ef198fe57663ee6b74d7f8)
2013-07-16 13:29:18 -04:00
Steve Howell
73f013f077
search.js: Simplify stream suggestions
...
(imported from commit b12395a2b3415065e0c25a637d22bc385dbdda8b)
2013-07-16 13:29:18 -04:00
Steve Howell
6e385bc85d
search.js: Simplify people suggestions
...
(imported from commit ff3683f63e85e4d021de299d62bf2585fd6b99d9)
2013-07-16 13:29:18 -04:00
Steve Howell
82233a5de9
search.js: Introduce search_object var
...
(imported from commit ce4b32891011c548b0b9f6851537f3110d0f2329)
2013-07-16 13:29:18 -04:00
Steve Howell
b4e05d3430
search.js: Construct descriptions while constructing suggestions.
...
(imported from commit 5de6d0799de6d132e6e7ac28658d0f25b71cc7ed)
2013-07-16 13:29:18 -04:00
Steve Howell
d216069e29
search.js: Kill off get_object_parts()
...
(imported from commit fabfa6c3bf8cb0749ba1379882eda8cb9c8316ed)
2013-07-16 13:29:17 -04:00
Steve Howell
ec7a5c0ea5
search.js: Simplify operators suggestion
...
(imported from commit 55f84b69be5e8f75a8e0ab5a7a00ba6f88873db8)
2013-07-16 13:29:17 -04:00
Steve Howell
9041b1f7ac
search.js: Isolate person suggestions
...
(imported from commit afec996b39b662c5000f7f2217e139b872bee990)
2013-07-16 13:29:17 -04:00
Steve Howell
200a4d2d83
search.js: Isolate stream suggestions
...
(imported from commit 627a57d0be0b53ed4027408be949c060e6674224)
2013-07-16 13:29:17 -04:00
Steve Howell
e2634042a0
search.js: Avoid sorter callback
...
(imported from commit d930af6e0beca6165c750dfecf85b092475e868c)
2013-07-16 13:29:17 -04:00
Steve Howell
ba71dd212b
search.js: Avoid matcher callback
...
(imported from commit aa5289b174dfeb3e89debc344b106a8446b4f6a5)
2013-07-16 13:29:17 -04:00
Steve Howell
eca2ca675b
search.js: Decouple object labeling from object rendering.
...
(imported from commit f761401d3e287aa2771ce4203f1b2b8f57c7ca86)
2013-07-16 13:29:17 -04:00