Scott Feeney
c98deb5988
Toggle user sidebar popover when chevron clicked again
...
Fixes Trac #1679 .
(imported from commit 998f3497f22f83297c9afd7c3e8ea6446b8a06db)
2013-08-28 16:10:33 -04:00
Zev Benjamin
ade55dc39c
Fix PATH for Postgres backup cron job
...
(imported from commit 9e4b868d444d73f9eab1507851b1b3ab47655977)
2013-08-28 15:16:25 -04:00
Leo Franchi
cfb623ae5c
Bump os x app to 0.3.6
...
(imported from commit 51ddf87797a94b97dec8ce998a08a83ed8837196)
2013-08-28 14:20:20 -04:00
Waseem Daher
ae4d53f977
Push inline message editing button to everyone.
...
Leaving the feature flag in in case certain realms don't like it,
so we can easily blacklist them from this feature.
(imported from commit 2a5884008be05216d195a582a327d7641bc419d5)
2013-08-28 13:48:45 -04:00
Steve Howell
5b598a6d9c
Avoid churning the cache for stream name changes that don't change the cache key.
...
(imported from commit 1cc1ed01eaaaec4e6ddd6901fb5b877f831b604c)
2013-08-28 13:34:26 -04:00
Steve Howell
6aecdda7f7
Allow stream renames like corporate -> Corporate
...
(imported from commit 46d5078fb700631ef2a5b847eeeb055ff75d87d1)
2013-08-28 13:34:25 -04:00
Zev Benjamin
1d13c091ef
pg_backup_and_purge.py: Set up logging
...
(imported from commit 0948f548b005505a7f0c38c3af245815ec9efd6c)
2013-08-28 13:30:51 -04:00
Steve Howell
857680102f
Remove enforce_arity checks from Dict
...
(imported from commit 8fdb6d8807e5c16349c7fcf71f25ce73348a5fe1)
2013-08-28 12:29:11 -04:00
Zev Benjamin
724ce3744c
zephyr_mirror: Tweak error text
...
(imported from commit 7bb9d42a261e08d3abe5d80b9ba2e88f1d0b03bf)
2013-08-28 10:41:53 -04:00
Jessica McKellar
b27f27f932
node tests: add some asserts for stream_data.delete_sub.
...
(imported from commit 3428f32206105b240e230e1050e7c16cd9c3729c)
2013-08-28 10:24:52 -04:00
Jessica McKellar
2be988e6b7
Give recipient_cache and associated functions a clearer name.
...
(imported from commit 14b12b196e33dfc4eeca5ab0f12c130ddaef1065)
2013-08-28 10:23:40 -04:00
Jessica McKellar
95c70967d2
rename-stream: support non-ASCII stream names.
...
(imported from commit 5fe2c803c0645bb6367f39bfe58acc478a66a0eb)
2013-08-28 10:23:39 -04:00
Jessica McKellar
9ffc292a57
Update a stream name in the UI when it has been changed.
...
(imported from commit 1fb90a83a62243997d870e1b5da0590402bd8529)
2013-08-28 10:23:39 -04:00
Jessica McKellar
081ae7771a
Add a MessageList method to update message recipients.
...
(imported from commit 3c24f045aa5726fcab8b9acd91105044e7783b63)
2013-08-28 10:23:39 -04:00
Jessica McKellar
8f3c5dc924
Add a management command to rename a stream.
...
(imported from commit b3acadc09b289b48e2ac298e50a5427545b6a473)
2013-08-28 10:23:39 -04:00
Jessica McKellar
97f0320dd1
Add the backend facilities for renaming a stream.
...
An important part of this is updating the various caches that cache
the display_recipient.
(imported from commit 888bf54fd205516cf31a25ba3f4e45ad11bbd4d5)
2013-08-28 10:23:39 -04:00
Jessica McKellar
c1439c8853
actions: factor stream name checks into a function.
...
(imported from commit e107e895f247f6bfafe2c21de12d8a3c5de9268a)
2013-08-28 10:23:39 -04:00
Jessica McKellar
1f4f799030
Flush the per-process recipient cache after every request.
...
This cache was created to make recipient lookups within a single
request (e.g. when fetching old messages) cheaper. To support stream
name changes, we need to invalidate this cache on every request so
that users get a consistent view of the name change.
(imported from commit 801051b9f6a108c1f50be7eca9a1242d661919b1)
2013-08-28 10:23:39 -04:00
Jessica McKellar
cd4daaa41f
Factor the display_recipient cache key into a function.
...
(imported from commit 4a80c4db6ddcf8104f45b6b068e598378e655bc0)
2013-08-28 10:23:37 -04:00
Jessica McKellar
d64c09b1ed
Add a cache_delete for deletion of items from memcached.
...
(imported from commit 4fbdc4c4b230a5ab029dacc2463437f81fb0d023)
2013-08-28 10:23:04 -04:00
Jessica McKellar
21d857e577
Add a cache_delete_many for bulk deletion of items from memcached.
...
(imported from commit 33fc65dce89e51b99f13b50216d975272a028c16)
2013-08-28 10:23:03 -04:00
Jessica McKellar
2dbe6914d9
Factor out finding active user IDs to a function.
...
(imported from commit c2d25b24833be900af40d45331e4b9eb9e3a2dc6)
2013-08-28 10:23:03 -04:00
Tim Abbott
648e85160d
Fix buggy application of subscription update events.
...
(imported from commit 4c76dc3ee5d3d1a298591c0c60dbe0e3aa30e0af)
2013-08-27 19:12:20 -04:00
Tim Abbott
77dbbe7f23
zephyr_mirror: Require zcrypt when mirroring to invite-only streams.
...
(imported from commit 1b88a8fc9bc26f2f9b1bb3f037093f85255feb17)
2013-08-27 18:26:12 -04:00
Allen Rabinovich
ddd790e642
Change edit button CSS to keep it from jumping
...
(imported from commit 17a03ca9294765256af0d4c6eb292b755d06158e)
2013-08-27 15:11:40 -07:00
Jeff Arnold
5d8083a5e0
Fix capitalization typo in MIT Webathena instructions
...
(imported from commit 1c62f5d1a5e92c211c2f30b1e67d367d6d2d7aff)
2013-08-27 18:08:02 -04:00
Zev Benjamin
f7a7527049
Start and stop all our processes in one invocation of supervisorctl
...
With the supervisor speedups, these run much faster.
(imported from commit d8b96178f7c57861e9de8dd640a861c22df6e9ad)
2013-08-27 17:30:57 -04:00
Leo Franchi
9d895e53d5
Add SHELL, PATH, and ROOT variables to crontab
...
(imported from commit 3e556b12bb1c5332bd08ba267d24e0dd524bff7d)
2013-08-27 17:28:07 -04:00
Jeff Arnold
db88a03115
In the docs, clarify that MIT users need to link with Webathena
...
(imported from commit dc16e63631f69434f9bb2f495eeae944298da131)
2013-08-27 17:13:14 -04:00
Jeff Arnold
8d5047a6ce
In the docs, clarify that the .humbug-api-key name is correct
...
(imported from commit 769b64dfb2c0668ebc3bc9494476ce542d0bac60)
2013-08-27 17:13:14 -04:00
Tim Abbott
8601c2d766
Disable Webathena-related UI for desktop app.
...
(imported from commit 4de9ecbd5acd90826da1941593fe03aa8a6bd80c)
2013-08-27 16:21:41 -04:00
Tim Abbott
314d0fc053
zephyr_mirror: Subscribe to mail zephyrs even if we're not using them.
...
This should enabled us, in the future, to enable support for mail
zephyrs without requiring users to re-auth.
(imported from commit 2665743212da567fe85742d30cca42b902e41a0d)
2013-08-27 16:21:41 -04:00
Steve Howell
04a0e88724
Add recipient bar features to summary bar.
...
The summary bar now has the following features:
* invite-only locks
* narrowing links to stream/topic/person
* exterior topic links
(imported from commit ddb987b8e04e7dfc2d602c958270b7bc0e37fb5f)
2013-08-27 15:46:33 -04:00
Steve Howell
03b58e1528
Make narrowing click handlers work more generally.
...
Previously, narrowing would only work from recipient rows, not
other message table rows (e.g. summary rows). This led to the trap
that you could add a narrows_by_recipient class to an element,
expect that narrowing would work, but the actual handler would
break or silently fail if it weren't part of a recipient row.
Now the click handler looks for the closest table row (tr). It's
encapsulated in rows.get_closest_row(), so if we go to a
non-table-based design, it should be easy to address in one
place.
(imported from commit e116b7573c4bb06599ced84a0adcf8dc23d63593)
2013-08-27 15:46:33 -04:00
Leo Franchi
071415ae93
Update desktop apps to 0.3.5 in sparkle
...
(imported from commit cf7c1b9dbbc0cbda5c4776d7b4f523f9f4f885a8)
2013-08-27 15:42:06 -04:00
Tim Abbott
e95a81addb
Add Webathena login button to our mirroring page.
...
(imported from commit 43d8323bb502299027436a8c94c04f55d87bf953)
2013-08-27 15:41:43 -04:00
Steve Howell
667372068c
Add idempotency test coverage for muting.js
...
(imported from commit 50496866fa11df433150ff28f0f1e58e9e8b33bc)
2013-08-27 15:40:54 -04:00
Scott Feeney
967d0f7473
Don't wait for DOM ready to register Handlebars helpers
...
This fixes a bug (hit by a branch of mine) wherein you could not
render Handlebars templates from a DOM-ready callback in a file that
came before templates.js alphabetically.
(imported from commit 48091d016776eb6f12d33db199781e776af18fc5)
2013-08-27 15:32:20 -04:00
Scott Feeney
bee38a43f0
Fix incorrect use of self-closing tags
...
<td /> is not valid HTML.
(imported from commit e7914f88a7eedde887a8f6751d7516de1ccf99bf)
2013-08-27 15:32:20 -04:00
Scott Feeney
e1b82b03e5
Fix unescaped & in markup
...
(imported from commit b0d9f9ce825b04a444a947b17d98b15c63aa6c8e)
2013-08-27 15:32:20 -04:00
Allen Rabinovich
f6ec501505
Modify lock icon styles to display it in the stream list swatch or to the right of the stream name in the list
...
(imported from commit b70ed2520b38229ccaed62ed84786cb9152e50a9)
2013-08-27 12:20:08 -07:00
Jessica McKellar
908abbbd8b
tutorial: adjust the placement of the stream and subject popovers.
...
(imported from commit e61df7b0ac25d63601763a37007d9f4cefded081)
2013-08-27 15:09:28 -04:00
Jessica McKellar
eacd27dc8f
Don't let the tutorial popovers get clipped on long names or small windows.
...
(imported from commit 069016ab38eb2d0d09b751ca22a53aba9d6980ba)
2013-08-27 15:09:28 -04:00
Scott Feeney
9f054eb15f
Add a detailed docstring to rest_dispatch()
...
(imported from commit 6ff92e71e995e544c19828258a11d97e68294e3a)
2013-08-27 14:27:28 -04:00
Scott Feeney
f225c467b0
Strip whitespace from email/key during API auth
...
Trac #1681
(imported from commit 4c97bfea052d2da7673ba5a9520f7ddc7515d975)
2013-08-27 14:27:28 -04:00
Scott Feeney
141877a06c
Give a helpful error if API key is wrong length
...
Trac #1680
(imported from commit 0a50e7a93b37a5a3e74fb99c97a8917d8fbcc8f9)
2013-08-27 14:27:28 -04:00
Jeff Arnold
b2c89d21ff
Add MIT encrypted zephyr class documentation
...
(imported from commit b911cd4294f0b515e8ce1927e6d7e9f79a472eca)
2013-08-27 14:25:38 -04:00
Jeff Arnold
2d0f8a9bba
Update documentation for MIT zephyr
...
(imported from commit 96cbd71e5d574bf8a0fb2e7fe17c75e4ec4ebfdb)
2013-08-27 14:25:38 -04:00
Tim Abbott
611955e9fa
zephyr_mirror: Use the new reasonable --log-path option.
...
(imported from commit 2208e4c47cf49e3005cc3b93314b8c2a0ffc23c6)
2013-08-27 14:21:26 -04:00
Tim Abbott
6707ed4270
zephyr_mirror: Rename confusing log path variables.
...
(imported from commit a120f653c1b9283b91f339cccea52bd5ad89b69f)
2013-08-27 14:21:26 -04:00