Keegan McAllister
489fd58e43
Hide register, confirm, etc. on the deployed app
...
(imported from commit 8bcf84383d4ea4c24dfadaee330517bfc9801bbd)
2012-10-15 18:44:36 -04:00
Keegan McAllister
1876995abb
Redirect home to login on deployed server
...
(imported from commit 9642a3c6b7b0b55cf5731cc2e241aed51431c8ae)
2012-10-15 18:44:36 -04:00
Keegan McAllister
5141cd7ab9
Make a setting for where we redirect home for not logged in users
...
(imported from commit 95bae4e52d8a8a34c001975e8d3547db5ba256a2)
2012-10-15 18:44:36 -04:00
Tim Abbott
bcc895b95b
Avoid expensive queries to check whether the user has any messages.
...
(imported from commit 035ec44db7a2f61b1c04e80feebe9af1a214505c)
2012-10-15 17:10:55 -04:00
Keegan McAllister
ab9832092d
Remove an unnecessary @require_post
...
(imported from commit c8a43e696dbcfa4cdb494f286e6f0b989d328bd9)
2012-10-15 17:05:37 -04:00
Keegan McAllister
277f37aea4
Fix formatting
...
(imported from commit d87311335d97a6e01892b8e341edf95f41977340)
2012-10-15 17:05:36 -04:00
Keegan McAllister
bc43613a10
Some import cleanup
...
(imported from commit 265cebb011309b9a880035ccd587a5e51554803a)
2012-10-15 16:16:10 -04:00
Keegan McAllister
80e60c3120
check-all: Show unused imports if passed --imports
...
(imported from commit ecae64a3257b3ebd40656717718177270d02111a)
2012-10-15 16:16:10 -04:00
Keegan McAllister
fa729c838a
Move our various Markdown hacks into their own file
...
(imported from commit b03a5c64cc95964936c4aba7d667807969e35d21)
2012-10-15 16:16:09 -04:00
Zev Benjamin
828fc05da5
Don't display one's own email when replying to multi-person huddles
...
(imported from commit afcf48e17b3dc6f1103f089f8746d462e90c0db7)
2012-10-15 15:57:41 -04:00
Zev Benjamin
084608ebda
Clear compose box when replying to a message
...
(imported from commit 1fe21a6d1a5f6f946e14583dc81ede961dbf57c9)
2012-10-15 15:45:15 -04:00
Zev Benjamin
8f3aea5cbf
Fix narrowing to personals with a specific user
...
(imported from commit 06f84dd056e8212cb146a17bec37d0bbe63651d0)
2012-10-15 15:40:55 -04:00
Keegan McAllister
52bd41bff8
api: Verify certs for real
...
Now that we have a CA-signed cert for the app.
(imported from commit a2d8e95ea581d9af0ba6071b222e06ca82f0612c)
2012-10-15 15:31:12 -04:00
Tim Abbott
8bc511d24e
Re-initialize the markdown engine every 30 messages.
...
Otherwise, the performance leak associated with highlighted code can
cause get_updates to become increasingly slow.
(imported from commit 3c81f245a795e5dd2629c0e571054f2d87089cb7)
2012-10-15 15:29:49 -04:00
Keegan McAllister
0dcc7c2914
puppet: Remove humbug from sudoers
...
(imported from commit cdc8aafdcbfafe5fe97a18dfd32b5a7f15a77102)
2012-10-15 14:56:12 -04:00
Tim Abbott
18d48fcd40
Fix javascript referenced via http url.
...
(imported from commit e72e265f5a5ba6b6a362f5be03069f7cd40c8fc1)
2012-10-15 14:50:34 -04:00
Keegan McAllister
002e3a5a61
api: Check against the self-signed cert
...
(imported from commit f0444f1af206e5d7ee1c79f7486e9fe17daea0f7)
2012-10-15 13:29:47 -04:00
Keegan McAllister
45273643ec
Move humbug-self-signed.crt into a common directory
...
(imported from commit 0c914b87c06be7cd7b370d8d0f38efc9f1aaf57f)
2012-10-15 13:29:47 -04:00
Zev Benjamin
a85c1f62d2
Visually distinguish when a message is persistently vs. temporarily selected
...
(imported from commit d626b3460a3a3ad46bd9ebfb65d73a6c267c2251)
2012-10-15 13:25:39 -04:00
Zev Benjamin
0bf78df2f6
Display full names in narrow description for huddles
...
(imported from commit 665df20d129df4d7e516f145f064b90c6e0f34af)
2012-10-15 13:25:39 -04:00
Zev Benjamin
b42cf1d4c8
Fix persistent message selection across narrows
...
(imported from commit 958ce299108f8bbc8579e7446053d7fc9f018b81)
2012-10-15 13:25:39 -04:00
Tim Abbott
cd14988b47
Reset the failures count to 0 when restoring from suspend.
...
(imported from commit 11b03f8a0565063cc7381dd32a96af79bd26a0d1)
2012-10-15 13:20:54 -04:00
Tim Abbott
bb9c6c4e4a
zephyr_mirror: Fix --forward-class-messages always being on.
...
(imported from commit 8f284a8d8b8f9e1e3fdc8bd60d0ca073cd42e56c)
2012-10-15 13:13:57 -04:00
Tim Abbott
71146c8718
Use select_related to get the userprofiles for new message recipients.
...
(imported from commit afa729230f4ef6fb7f591b3f852fa0b271d64992)
2012-10-15 12:56:03 -04:00
Tim Abbott
002294d522
Save UserMessage objects within a transaction.
...
(imported from commit bd7f36801a754d4f9c09b5d370eee6b62a470b1a)
2012-10-15 12:54:53 -04:00
Tim Abbott
ec37eaf734
Use select_related() when querying UserProfile objects.
...
(imported from commit 584859312e089ad98c4b43032ea29f03eb44a97f)
2012-10-15 12:29:27 -04:00
Tim Abbott
917a06d5cf
Use select_related for the get_updates queries.
...
(imported from commit 403a5906f9619fb1d6dc10e57ebcaab7e8f00f16)
2012-10-15 11:54:12 -04:00
Tim Abbott
7ebc720347
performance: Use select_related when computing autocomplete lists.
...
(imported from commit fde08787998179451e6684a101c80aaafca917f6)
2012-10-15 11:39:10 -04:00
Tim Abbott
a92be363d7
performance: Cache display_recipients.
...
(imported from commit 9ca18bd75213423cbf17c6262113822d3009c320)
2012-10-15 11:38:54 -04:00
Tim Abbott
4062550ef7
Fix tab not toggling the compose window in Firefox.
...
(imported from commit 4dfd3d6eb3e81c519d0aefbfe0b3b1390adb241b)
2012-10-15 10:45:31 -04:00
Tim Abbott
db3c40fad1
Don't display yourself on list of huddle recipients.
...
(imported from commit 17919c153ad380adbb0a9dc2c111ea1686603414)
2012-10-12 18:41:04 -04:00
Tim Abbott
ec1533b0b1
Fix display of huddles.
...
(imported from commit c894411331fd0fa905d0c72d5cfa78317fad8c2b)
2012-10-12 18:37:34 -04:00
Tim Abbott
89aa539024
Display fullnames for headings on huddles and personals.
...
(imported from commit bfd296bd962b6c44d4da3e5dfa1a6791c4c46b8a)
2012-10-12 18:35:28 -04:00
Tim Abbott
41e935fd28
Send the sender_short_name to clients.
...
(imported from commit 1652f5cadbe9c90d4c6d53c97cb23305aaaaa34d)
2012-10-12 18:35:28 -04:00
Zev Benjamin
827cc31aa7
Be more efficient about adding new people to the people list
...
(imported from commit ff0a891fd8f60b01308c6be21d3f8eb645d4ee31)
2012-10-12 18:18:04 -04:00
Keegan McAllister
db0cf88cc0
Log additionally to a file server.log
...
(imported from commit eabf9473ae04d4ff95652d4f8c8ab76f70157519)
2012-10-12 18:01:51 -04:00
Tim Abbott
c4d2f98496
zephyr_mirror: Improve verbosity defaults.
...
(imported from commit 6754b992a72f4ed844eed3eab2a114bd5c73a713)
2012-10-12 17:47:43 -04:00
Tim Abbott
367f6c0a56
zephyr_mirror: Run both processes within a single application.
...
(imported from commit 8f379a682ede7076ddcbe046dee5be6592a5bbd9)
2012-10-12 17:35:14 -04:00
Tim Abbott
437b25fe44
zephyr-mirror: Deconfuse the --forward-from-humbug option.
...
(imported from commit 526b9253c550dbbe41881f5c6709ce2f09cbe241)
2012-10-12 17:35:14 -04:00
Tim Abbott
06a163a30e
zephyr_mirror: Avoid printing Hesiod errors to stderr.
...
(imported from commit 2f0016b196d764027e4e53a937167d04b3e96f49)
2012-10-12 17:35:14 -04:00
Tim Abbott
d783ccde8c
zephyr-mirror: Include timestamp and direction in all print statements.
...
(imported from commit b0e500ab1f168e618abaae139ce8a9dd5f0dc639)
2012-10-12 17:35:14 -04:00
Tim Abbott
7cfc6db542
Add a different stamp for auto-restarting just tabbott.
...
(imported from commit 8f0b1f0bf655d64329a42100eec3dbef1393ded0)
2012-10-12 17:35:14 -04:00
Tim Abbott
cb9ad456e7
zephyr-mirror: Clean up hardcoded path names.
...
(imported from commit 42338d94deb94312c2dee43851bc3c04e3ab373c)
2012-10-12 17:35:14 -04:00
Tim Abbott
959a69f700
Make the restart tool try again if it fails to restart.
...
(imported from commit 216dcdcaa096c26e26b385029d62d0310349a6c9)
2012-10-12 17:35:13 -04:00
Zev Benjamin
09deef9611
Improve autocomplete for multi-person huddles
...
(imported from commit 3dacbc6b8c8470177844987e509bc1d413a10766)
2012-10-12 17:29:52 -04:00
Zev Benjamin
bc4487ebf9
Fix autocomplete
...
There were two issues:
* The people_list population changed and I failed to noticed
* Typeahead source updating never worked before because calling .typeahead()
more than once does not change the data source
(imported from commit fda14029f4cd37260d82e7bb5689f5022e1b0d28)
2012-10-12 16:57:27 -04:00
Tim Abbott
78ad6a03f2
Restart the zephyr mirroring script for new versions.
...
(imported from commit 860b0e120308cf190dbde2a0182e99951404cbce)
2012-10-12 15:03:42 -04:00
Tim Abbott
fc6c62e84d
Clean up process_loop's structure.
...
(imported from commit 62e427bf22d56960286b237f54660e74fb2866d8)
2012-10-12 14:53:21 -04:00
Tim Abbott
01e2b264da
zephyr_mirror: Split out the main loop into its own function.
...
(imported from commit 4c5639b3679f7ef0188e622bf7721bd3ee71bddc)
2012-10-12 14:52:39 -04:00
Tim Abbott
dc9f80c2a3
zephyr_mirror: Forward mail zephyrs.
...
(imported from commit 5b56c8d171aeb49728590411ee6b53d7a29fbd15)
2012-10-12 14:35:36 -04:00