Christie Koehler
d4f0565c92
docs: Improve Zulip in Production page navigation and ToC.
...
Improves readability of ToC and makes pages more navigable by shortening
Zulip in Production page headings.
2016-08-24 14:48:11 -07:00
Christie Koehler
8782f6a198
docs: Improve navigation of prod-maintain-secure-upgrade page.
...
- Adds a heading for Upgrading and clarifies wording on Backups heading.
- Adds intro text with links to other sections.
2016-08-24 14:46:40 -07:00
Tim Abbott
4e33b001af
Pull latest translations from Transifex.
...
A big addition here is tons of strings translated for Malayalam.
2016-08-24 14:42:00 -07:00
Tim Abbott
682d78bc30
puppet: Add default logrotate configuration.
...
This should prevent Zulip from eating all the disk now that we are
using the race-free WatchedFileHandler rather than
TimedRotatingFileHandler.
2016-08-24 14:30:54 -07:00
Tim Abbott
7965320877
Update changelog for Zulip 1.4 release.
2016-08-24 14:26:53 -07:00
Tim Abbott
4c834172ed
tools: Use 'upstream' as expected name for main zulip repo.
...
Fixes : #1698 .
2016-08-24 14:23:37 -07:00
Tim Abbott
797a7ef97b
notifications: Don't spoof emails as from users by default.
...
The previous default configuration resulted in delivery problems if
the Zulip server was authorized in the SPF records for the domains of
all users on the Zulip server.
2016-08-24 14:10:52 -07:00
Steve Howell
6af0bdfe6e
bots: Add --config-file to contrib_bots/run.py.
2016-08-24 12:09:11 -07:00
Steve Howell
acb3c6b75a
bots: Fix typo in contrib_bots/lib/readme.md.
2016-08-24 12:08:39 -07:00
Tim Abbott
1c40df9363
static_asset_compiler: Use correct package name on trusty.
2016-08-22 23:47:03 -07:00
Tim Abbott
97b622dffa
puppet: Fix postgres_appdb_tuned manifest on trusty.
2016-08-22 23:41:07 -07:00
Tim Abbott
750e43518f
puppet: Ensure supervisord starts on boot with systemd.
...
This is important to ensure that Zulip comes up properly after a
reboot on Ubuntu Xenial.
2016-08-22 23:25:54 -07:00
Rishi Gupta
4bfac78303
Refactor /integrations page links to support subdomains.
...
Also changes all links to /integrations to be relative rather than
absolute, so that users will primarily access the /integrations page
for their subdomain.
2016-08-22 22:39:53 -07:00
Tim Abbott
e3affe96a5
subdomains: Use subdomain host in password reset emails.
2016-08-22 22:39:52 -07:00
Tim Abbott
2b0a486077
Eliminate cross-realm PM conversation with ADMIN_DOMAIN.
...
In the future, we can use UserProfile.is_staff to control this, but
there isn't a current use case for it.
2016-08-22 21:46:16 -07:00
Tim Abbott
3bdbc33e94
initialize_voyager_db: Fix zulip.com hardcoding.
2016-08-22 21:36:15 -07:00
Tim Abbott
55d7947b76
email_mirror: Use ERROR_BOT for error reporting.
...
This has the nice side effect of getting rid of the now-unnecessary
ADMIN_DOMAIN from this codepath -- we really just want whichever
realm ERROR_BOT is in.
2016-08-22 21:28:01 -07:00
Tim Abbott
7d19d1809d
android: Default to the GOOGLE_CLIENT_ID needed by the Android app.
2016-08-22 21:06:40 -07:00
Brock Whittaker
edb7d72dc2
Fix 1px private message group header height difference.
...
Due to the border-top being tied to the .message-header-contents
element rather than the recipient_row in private message groups, the
floating container would be 1px more vertical when representing private
message groups than with public message groups.
2016-08-22 20:37:49 -07:00
Steve Howell
ba9e7e290d
frontend: Extract dispatch_normal_event().
...
Extract dispatch_normal_event() from the inner
function dispatch_event() in get_events_success()
in server_events.js. Also, alphabetize the cases in
the switch statement. This starts to address #1541 ,
but see the discussion on the ticket for how we can
continue to clean up our event dispatching.
2016-08-22 20:18:02 -07:00
Tim Abbott
3d83f25b15
contrib_bots: Expand documentation.
2016-08-22 19:53:16 -07:00
Steve Howell
8d0c68ac39
bots: Add example bots for "followup" and "help".
...
This commit also starts to build out the infrastructure for
helping Zulip contributors to more easily author bots in
a way that sets up for running some bots on the server itself.
2016-08-22 19:43:12 -07:00
Steve Howell
cd2e36d66f
export: Add lib.utils.query_chunker().
2016-08-22 19:27:32 -07:00
Steve Howell
fd6ee7117f
tests: Renamed AuthedTestCase to ZulipTestCase.
2016-08-22 19:07:44 -07:00
Steve Howell
29ba10dfdd
docs: Add docs for Django backend tests.
2016-08-22 19:07:44 -07:00
Tim Abbott
95fbd5ba31
Update zulip.com/integrations link to point to zulipchat.com.
...
zulip.com will stop running at some point in the near future, and we
don't want these links to break.
2016-08-22 17:26:41 -07:00
Tim Abbott
2be597dd09
puppet: Move support for accepting a loadbalancer to zulip manifests.
...
Previously, we didn't have an easy process for how one should do this.
Now, it's an (undocumented) zulip.conf setting!
2016-08-22 17:19:03 -07:00
Tim Abbott
13a51737d8
update-prod-static: Fix buggy color code usage.
2016-08-22 16:38:23 -07:00
Tim Abbott
55f2c49bbf
build-release-tarball: Fix code for handling update-prod-static.log.
...
This is still messy code, but at least the links to where the log file
is are correct.
2016-08-22 16:37:48 -07:00
Tim Abbott
96a5388fcb
mandrill: Fix hardcoded check for settings.VOYAGER.
...
Since this delayed sending feature is the only thing
settings.MANDRILL_API_KEY is used for, it seems reasonable for that to
be the gate as to whether we actually use Mandrill.
2016-08-22 16:25:28 -07:00
Tim Abbott
916a77e764
settings: Use DEFAULT_FROM_EMAIL for error traceback reporting.
2016-08-22 16:22:52 -07:00
Tim Abbott
602c7c69a9
lint: Document line length checking.
2016-08-19 12:08:22 -07:00
Tim Abbott
2e2dee3396
lint: Ban lines longer than 140 characters without #ignorelongline.
2016-08-19 12:03:09 -07:00
Tim Abbott
e1e384acc0
realm_emoji: Fix management command usage output.
2016-08-19 11:59:38 -07:00
Taranjeet Singh
7fc170d808
lint-all: Fix line with length greater than 120.
...
This updates file tools/lint-all.
2016-08-19 11:56:43 -07:00
Taranjeet Singh
eef1d78e68
bitbucket2.py: Fix line with length greater than 120.
...
This updates file zerver/views/webhooks/bitbucket2.py.
2016-08-19 11:56:43 -07:00
Taranjeet Singh
86ecf28588
prod_settings_template.py: Fix line with length greater than 120.
...
This updates file zproject/prod_settings_template.py.
2016-08-19 11:56:43 -07:00
Taranjeet Singh
230cc228c2
profile_request.py: Fix line with length greater than 120.
...
This updates file zilencer/management/commands/profile_request.py.
2016-08-19 11:56:43 -07:00
Taranjeet Singh
57253c6ba3
makemessages.py: Fix line with length greater than 120.
...
This updates file zerver/management/commands/makemessages.py.
2016-08-19 11:56:43 -07:00
Taranjeet Singh
5e5ad9de0c
bugdown/__init__.py: Fix line with length greater than 120.
...
This updates file zerver/lib/bugdown/__init__.py.
2016-08-19 11:56:43 -07:00
Taranjeet Singh
1819157a5f
show-last-messages: Fix line with length greater than 120 characters.
...
This updates file tools/deprecated/iframe-bot/show-last-messages.
2016-08-19 11:56:43 -07:00
Steve Howell
f6b332ecdb
docs: Add linters.md to document our linters.
...
(Also, link to it from the testing docs.)
2016-08-19 11:55:52 -07:00
Steve Howell
bf6a9ebe8a
docs: Add Community links to the overview page.
2016-08-19 09:54:17 -07:00
Tim Abbott
399f4f8870
Add management command to send password reset emails.
...
This is a convenient tool to have around.
We require an unusual argument value of "YES" to send to everyone on
the server, since that's something one should do with a great deal of
care.
2016-08-18 20:12:36 -07:00
Rishi Gupta
64179b2fd2
confirmation: Use realm host in activation URLs.
...
This is preparation for merging the subdomains feature.
2016-08-18 20:12:36 -07:00
Tim Abbott
b8050ce02f
Add realm.host property.
2016-08-18 18:48:40 -07:00
Tim Abbott
b5d85fe5f1
settings: Disable DisallowedHost error emails by default.
...
These error messages are pretty spammy because most servers on the
public Internet receive some amount of HTTP(S) scanning traffic.
We still log them, just don't email the administrators.
2016-08-18 18:44:20 -07:00
Tim Abbott
7950d3181e
zmirror: Fix hardcoding of zulip.com support email address.
...
We now use support_email == settings.ZULIP_ADMINISTRATOR just like
every other support email address reference.
2016-08-18 18:36:07 -07:00
Tim Abbott
e0432f21f1
Move webathena views to its own file.
2016-08-18 18:26:49 -07:00
Tim Abbott
05d3094420
webathena: Remove hardcoding of zulip.com server.
2016-08-18 18:21:38 -07:00