Steve Howell
0ca84ea981
Use better date format in activity reports.
...
(imported from commit 5114cdcaaf5bddb4578246b9c12163d0ba1fad45)
2013-11-01 14:51:36 -04:00
Steve Howell
80f9ae7514
Change column labels in /realm_activity.
...
(imported from commit 3435eebaefe46ff99a127a6834669b4be3186d8f)
2013-11-01 14:51:36 -04:00
Leo Franchi
9b4491db6a
Don't use hardcoded bots in nagios' check_send_receive
...
(imported from commit 82add135bf5b819bcc992af8420eec14cf829ccc)
2013-11-01 14:13:05 -04:00
Leo Franchi
db6550e99a
Make built-in bots come from settings.py, and allow localserver-specific ones
...
(imported from commit e21933e37487314ac986147562817a19227e8960)
2013-11-01 14:13:05 -04:00
Waseem Daher
4a29f1002d
Disable summarization via feature flags.
...
(imported from commit 8176b5364ee0b9f4be7cfe9ce65f502dec116d15)
2013-11-01 13:59:41 -04:00
Steve Howell
6382c417cf
Improve zulip_internal decorator.
...
I added the @wraps decorator, and I point request._query at the
function name to override the URL, since some of the internal
URLs have realm names and domain names in them. I basically
prefer the function names in most cases, so I just made this
automatic for zulip_internal functions, rather than having to
remember to address URL-vs.-function-name for every new endpoint.
(imported from commit 5583607f395be4dfae0bac31e1cdbffdf51fb3e8)
2013-11-01 13:43:38 -04:00
Steve Howell
8bbc9e886e
Add Desktop/iPhone/Android columns to /realm_activity.
...
(imported from commit b10916f5d63dabcb079f835af7f2829b266a924a)
2013-11-01 13:21:58 -04:00
Leo Franchi
422e8b2da6
[puppet] Release Desktop App v. 0.3.9 via sparkle
...
(imported from commit 1739c02b6493beb697e6eb30a0733fccf2c1a5cd)
2013-11-01 12:53:29 -04:00
Steve Howell
4f788067cc
Add "Use" column to /realm_activity.
...
(imported from commit d8f431b108c8d3846e00c47859004e952f7de422)
2013-11-01 12:51:45 -04:00
Steve Howell
b72eb72edb
Make emails linkable in /realm_activity.
...
(imported from commit c8e721b5a6b03bbddd86f24ec60bd750aee33323)
2013-11-01 12:51:44 -04:00
Steve Howell
73c5dfb454
Improve column headers for /realm_activity.
...
(imported from commit 703ef40ca0d177062b28ccd2802c7e690189ce2d)
2013-11-01 12:51:44 -04:00
acrefoot
83d2fcaf58
above-composebox notifications only on zulip.com realm
...
(imported from commit edc86511adb168e648652ecea54f7ee4f16b47eb)
2013-11-01 12:34:39 -04:00
acrefoot
434b7ac120
Give Feedback in non-obvious cases for sent messages
...
Displays a notification above the composebox in cases where the message
is not visible (further down), or where it's outside the current narrow or search.
It also offers a link to the appropriate narrow when it makes sense, and offers
timetravel when appropriate. There is currently a bug with timetravel (and you can
see this when using the popover menu) that makes "narrow to messages around this time"
not work for muted messages.
This resolves Trac #1518 .
(imported from commit 391ca0b9c07d91496f6585a4fd8e15723d1170e2)
2013-11-01 12:34:39 -04:00
Luke Faraone
c71166f116
api: Include MANIFEST.in
...
This should have been included in an earlier commit.
(imported from commit 683f3dbbe8730cc588836b7b27a881a50caa284d)
2013-11-01 12:08:04 -04:00
Steve Howell
95dc0894d8
Add /realm_activity report.
...
This report will eventually replace the per-realm report that is
now accessible through /activity. In order not to disrupt Waseem,
I'm leaving the old reports around until we've polished the new
ones.
The old report does 24 different queries to get per-realm user data.
The new approach gets all the data at once, and it slices and dices
the data in Python to accomodate our slightly quirky data model.
On localhost, this is a typical query:
LOG: duration: 5.668 ms statement: SELECT "zerver_useractivity"."id", "zerver_useractivity"."user_profile_id", "zerver_useractivity"."client_id", "zerver_useractivity"."query", "zerver_useractivity"."count", "zerver_useractivity"."last_visit", "zerver_userprofile"."id", "zerver_userprofile"."email", "zerver_client"."id", "zerver_client"."name" FROM "zerver_useractivity" INNER JOIN "zerver_userprofile" ON ("zerver_useractivity"."user_profile_id" = "zerver_userprofile"."id") INNER JOIN "zerver_realm" ON ("zerver_userprofile"."realm_id" = "zerver_realm"."id") INNER JOIN "zerver_client" ON ("zerver_useractivity"."client_id" = "zerver_client"."id") WHERE "zerver_realm"."domain" = 'zulip.com' ORDER BY "zerver_userprofile"."email" ASC, "zerver_useractivity"."last_visit" DESC
(imported from commit 0c71f4e32fe5a40f4496749dc29ad3463868d55e)
2013-11-01 11:46:26 -04:00
Steve Howell
3577ba7585
Add /user_activity page.
...
This page shows aggregate activity for a user on various
clients. This allows Waseem to troubleshoot things like users
switching between website and desktop, etc.
This particular page probably won't be used too much, but some of the
logic is gonna be reused in the per-realm activity pages.
(imported from commit b8c1fad5bfa45daab40954f92319f6f89a3fa433)
2013-11-01 11:46:26 -04:00
Tim Abbott
105380fcf1
puppet: Move certs/ into the zulip-internal puppet module.
...
(imported from commit 919edc305b2be42341ec58d4ad5c4f76779eb0f9)
2013-11-01 10:30:17 -04:00
Tim Abbott
7a48103763
Delete obsolete humbug-self-signed certificate.
...
(imported from commit c0ba128e121a266212a47d10de93d4987f36f7f6)
2013-11-01 10:30:17 -04:00
Tim Abbott
a53c7c0f45
Update local server install script for puppet move.
...
(imported from commit 4bd7292dd54e9091747dce44b41b57a42496bc3b)
2013-11-01 10:30:17 -04:00
Tim Abbott
ddbfe31449
Remove obsolete management command for mit.edufullname transition.
...
(imported from commit aed2a2d7bfedd98e2406bb18bf54f953a5ae7ef3)
2013-11-01 10:30:17 -04:00
Tim Abbott
11b92534e8
Remove obsolete management command for unread counts transition.
...
(imported from commit 52c6acbf4e8e53f86e880e475396d824c729405f)
2013-11-01 10:30:17 -04:00
Jessica McKellar
35e764e7d1
integration: add branch name to Stash messages.
...
(imported from commit 3421717acd0e85cb2a1b1f0bd15438f70fd3d82e)
2013-11-01 10:10:17 -04:00
Jeff Arnold
8ec2fd0908
Remove next sibling selectors
...
This change makes scrolling significantly faster
Partially addresses #1963
(imported from commit 26f0c40877b04a516f1e7a79b9a6100ef5b89c02)
2013-10-31 18:23:55 -04:00
Jessica McKellar
8684c98eef
tests: add basic navigation Casper tests.
...
(imported from commit 66ebb76123213167e551fb0d776a824e218a9032)
2013-10-31 17:34:34 -04:00
Jessica McKellar
6dad607aa6
Remove 'Messages' gear menu item: take 2.
...
The tab needs to exist, just don't show it.
(imported from commit 87531bb8e00498e2edac5838e47b85704789080a)
2013-10-31 17:34:28 -04:00
Luke Faraone
7fd9c607ea
Exclude api/setup.py from the linter's wrath.
...
(imported from commit 2e9718b6be472523b2684b6fcae4545f0a7fba49)
2013-10-31 17:26:52 -04:00
Jessica McKellar
b4d115f902
GitHub integration: only report pull requests for CUSTOMER38.
...
(imported from commit 4f253d544843b97f5faa64dcf8843498603f5a11)
2013-10-31 17:16:07 -04:00
Luke Faraone
7b6e584336
Remove accidentally left-in import of zulip in setup.py.
...
This is **actually** 0.2.2 :)
(imported from commit 4ae69809b550d76b7c3bdf7b1420b25b6e41f73b)
2013-10-31 16:27:59 -04:00
Luke Faraone
3be10e50ef
API 0.2.2 release.
...
(imported from commit 891ab7549e96c30dceb70bb18add1cd533fafd36)
2013-10-31 16:23:03 -04:00
Luke Faraone
e872cae552
Increment copyright year.
...
(imported from commit d42dfd080807a11d898a1c7b96b9f048e20bccf8)
2013-10-31 16:23:03 -04:00
Luke Faraone
81fafb5b6a
Document Python bindings on API page.
...
(imported from commit 660e6c22b2d6ecb47e99f01aa04f0d69bd108714)
2013-10-31 16:23:03 -04:00
Luke Faraone
de42c2a86c
Switch to four-spaces indentation in setup.py
...
(imported from commit 621e5755e8cfd7117e012f4245de0916e45060bb)
2013-10-31 16:23:03 -04:00
Luke Faraone
8f6e4c4163
Update support email address
...
(imported from commit 3265ea2ec037093bd883a440fe9f8c6d72642a31)
2013-10-31 16:22:51 -04:00
Rory Kirchner
b33819c16e
Added a stream class for use with the logging module.
...
License assent:
https://github.com/zulip/python-zulip/pull/3#issuecomment-18182458
(imported from commit 9faf9dd147032b1e56b113bc0f0d729a653e1e49)
2013-10-31 16:22:51 -04:00
Luke Faraone
cb00186c6a
Optionally use setuptools if it is installed.
...
Thanks to to github.com/roryk for the suggestion.
(imported from commit 9e4365dc56f1bc2f1a1a49be4a7b662d94bf42a9)
2013-10-31 16:22:51 -04:00
Rory Kirchner
aa17018a38
Parse __version__ from __init__.py
...
This way we don't crash if dependencies aren't installed.
License assent:
https://github.com/zulip/python-zulip/pull/3#issuecomment-18182458
(imported from commit f1aa37e97c60a06234c004ada48e08984a085d6f)
2013-10-31 16:22:51 -04:00
Waseem Daher
72a6c3d08e
Don't squish topic-editor height.
...
This height: 20px squishes the dropdown in Firefox.
(imported from commit 7535d1d28b384a676c835ca3adfff9bba893db5d)
2013-10-31 15:57:05 -04:00
Tim Abbott
429c41da79
Rename client-activity to client_activity to match other management commands.
...
(imported from commit b0b2cd372810923b3c808142f7b7eeef285d132d)
2013-10-31 15:29:50 -04:00
Tim Abbott
dbd4c187e3
Rename create-stream to create_stream to match other management commands.
...
(imported from commit 28daad12943ab5eb245d7737934b08f5b29e8f90)
2013-10-31 15:29:50 -04:00
Tim Abbott
5b1e504e13
Rename rename-stream to rename_stream to match other management commands.
...
(imported from commit 28522ac669a38e3de3f25b28c82ab0c787aecd0b)
2013-10-31 15:29:50 -04:00
Tim Abbott
013e84ef86
Remove obsolete explain_js_error management command.
...
(imported from commit 92f23e3bb7e6dbbad5162446b5f19e74728cf608)
2013-10-31 15:29:50 -04:00
Tim Abbott
217478e988
Remove obsolete clear_db management command.
...
do_destroy_rebuild_database is the "new" way to reset one's dev
database.
(imported from commit 8edb707ecd5e6e24b62eef324915cc3a4a5b8eda)
2013-10-31 15:29:50 -04:00
Tim Abbott
384f64d38d
Remove obsolete management commands from various field additions.
...
(imported from commit b44a2b683768c790839e82e2e9c9a18827670113)
2013-10-31 15:29:50 -04:00
Tim Abbott
f0580dd28c
Remove obsolete management command for activating MIT users.
...
(imported from commit a965eea8edfc9d73a00770d85cd517343f607338)
2013-10-31 15:29:50 -04:00
Tim Abbott
06d43a6f97
Remove obsolete management commands from the stream color transition.
...
(imported from commit d6d508d952714a1865ca4fddcb48d0ccedb6f4dd)
2013-10-31 15:29:50 -04:00
Tim Abbott
6d8fc371fb
Remove obsolete command to delete tutorial streams.
...
We don't have tutorial-bot anymore, so this is no longer needed.
(imported from commit b8a1bc9c2379a451e8cc1ed43b15f373bb3f2b06)
2013-10-31 15:29:50 -04:00
Tim Abbott
c8d07cc64c
Remove management commands from the mysql=>postgres migration.
...
(imported from commit 636f71b435a50e83fd8a9e40685d7c52b3b01f30)
2013-10-31 15:29:49 -04:00
Tim Abbott
ad128df3ac
Remove obsolete dots.svg (for generating pre-CSS presence dots).
...
(imported from commit 899ec477e33e742271de6e63b74d1dcf71d6f662)
2013-10-31 15:29:49 -04:00
Tim Abbott
21663601b4
Remove obsolete zulip.com/what-is-humbug page.
...
(imported from commit 0e2f317cf0bf262eb113caa7daab7d71ce564e9e)
2013-10-31 15:29:49 -04:00
Tim Abbott
a616800d8d
review: Rename humbug => zulip in test git repo path.
...
(imported from commit 1551003af066401914dbc055e75769911a335441)
2013-10-31 15:29:49 -04:00