Raghav Jajodia
fc965eb5f6
admin: Add No-change-made message.
...
A 'no changes made' message is displayed whenever save-changes button
is clicked, albeit no changes are made in the admin page.
2017-01-25 23:10:14 -08:00
Tim Abbott
06cd40d461
travis: Run test-api in Travis CI.
2017-01-25 16:42:17 -08:00
Tim Abbott
015ab412bc
test-api: Log API tests status.
2017-01-25 16:42:09 -08:00
Steve Howell
9177f17d73
Simplify tools/test-help-documentation.py.
...
It now uses the test_server_running() context manager to
get a test server running.
2017-01-25 16:33:19 -08:00
Steve Howell
5799183e10
Add use_db flag to test_server_running().
2017-01-25 16:33:19 -08:00
Steve Howell
38f5f3a76e
tests: Move logging into test_server.py for Casper.
2017-01-25 16:33:19 -08:00
Steve Howell
6de1e8be46
Add test-api to tools/test-all.
2017-01-25 16:33:19 -08:00
Steve Howell
eb69791712
Fix update_message() in our API.
...
This was regressed in b3df1ddeb1
.
2017-01-25 16:33:19 -08:00
Harshit Bansal
8c428dc130
Fix `ZulipLDAPAuthBackend` not to rely on user's email domain.
...
In case realms have subdomains and the user hasn't been populated
yet in the Django User model, `ZulipLDAPAuthBackend` should not
rely on user's email domain to determine in which realm it should
be created in.
Fixes : #2227 .
2017-01-25 15:24:49 -08:00
Feorlen
eea6eb23f5
Note in linters doc that untracked files aren't linted.
2017-01-25 05:54:46 -08:00
hackerkid
1d1dcab2b3
requirements: Add comment explaining why CommonMark can't be upgraded.
...
Fixes #3398 .
2017-01-24 14:22:06 -08:00
Sampriti Panda
4e78ca32de
register: Improve styling for frontend errors
2017-01-24 13:39:43 -08:00
Sampriti Panda
8fe612c319
register: Fix bugs in form field auto-fills
2017-01-24 13:39:43 -08:00
Sampriti Panda
3c3902471b
register: Improve styling for server-side errors
2017-01-24 13:39:43 -08:00
Tim Abbott
8a8e0ea48b
requirements: Upgrade moto and dateutil to latest version.
2017-01-24 13:02:57 -08:00
Tim Abbott
dd9e0b8463
errors: Move do_report_error into zerver/lib/.
2017-01-23 23:18:28 -08:00
Tim Abbott
e6fc4ae27d
errors: Move zilencer/error_notify.py to zerver/lib/.
2017-01-23 23:17:09 -08:00
Eitan Adler
0ce29d7ad6
Remove some some duplicate words in copy.
2017-01-23 23:15:04 -08:00
Tim Abbott
126b1c4edc
upgrade: Don't require authors updates deploying from Git.
...
Fixes #3392 .
2017-01-23 23:00:09 -08:00
Tim Abbott
4e171ce787
lint: Clean up E126 PEP-8 rule.
2017-01-23 22:06:13 -08:00
Tim Abbott
31e7dcd86b
lint: Tag remaining PEP-8 rules with explanations.
2017-01-23 21:43:33 -08:00
Tim Abbott
376aa3e404
lint: Clean up E702 PEP-8 rule.
2017-01-23 21:37:27 -08:00
Tim Abbott
de99f48ce7
lint: Clean up E401 PEP-8 rule.
2017-01-23 21:36:39 -08:00
Tim Abbott
d6e38e2a5c
lint: Clean up E123 PEP-8 rule.
2017-01-23 21:34:26 -08:00
Tim Abbott
9cc83f87fc
lint: Clean up E241 PEP-8 rule.
2017-01-23 21:21:14 -08:00
Tim Abbott
fe4f7b1170
lint: Clean up E711 PEP-8 rule.
2017-01-23 21:11:49 -08:00
Tim Abbott
9640a9e864
lint: Clean up E712 PEP-8 rule.
2017-01-23 21:11:18 -08:00
Tim Abbott
e385b93448
lint: Clean up E713 PEP-8 rule.
2017-01-23 21:08:52 -08:00
Tim Abbott
a088cdaa04
lint: Clean up E714 PEP-8 rule.
2017-01-23 21:07:45 -08:00
Tim Abbott
d96f392147
lint: Clean up E741 PEP-8 rule.
2017-01-23 21:07:04 -08:00
Tim Abbott
e5daec46ec
lint: Clean up E306 PEP-8 rule.
2017-01-23 21:05:08 -08:00
Tim Abbott
e3e92903eb
lint: Document why E305 is turned off.
2017-01-23 21:03:46 -08:00
Tim Abbott
e9158dd520
lint: Clean up E121 PEP-8 rule.
2017-01-23 21:02:39 -08:00
Tim Abbott
6f0d2a9445
lint: Clean up E115 PEP-8 rule.
2017-01-23 20:55:37 -08:00
Feorlen
378ac3abf3
Lint yaml files using text file rules.
...
Fixes #3404
2017-01-23 20:53:20 -08:00
Tim Abbott
df3d6aee5d
lint: Clean up E114 PEP-8 lint rule.
2017-01-23 20:52:58 -08:00
Tim Abbott
22d1aa396b
lint: Clean up W503 PEP-8 warning.
2017-01-23 20:50:04 -08:00
Tim Abbott
bde2da7dfd
lint: clean up PEP-8 W391 rule.
2017-01-23 20:39:02 -08:00
Zev Benjamin
f4d3cc6545
Annotate ignored pep8 rules to explain why they're ignored
2017-01-23 20:19:58 -08:00
Tim Abbott
b3df1ddeb1
edit: Remove duplicate update_message_backend endpoint.
2017-01-23 17:22:42 -08:00
Tim Abbott
46ab7762e7
edit: Eliminate unnecessary json_update_message wrapper.
2017-01-23 17:22:42 -08:00
Tim Abbott
33b02a02dd
update_message_backend: Fix memcached queries in loop.
...
This fixes a bug where update_message_backend would do one memcached
query per user receiving a given message. Right now we just do a
single bulk database query, but in principle we could use
generic_bulk_cached_fetch to use the cache as well.
2017-01-23 17:22:42 -08:00
Tim Abbott
0f7f9dc0fb
update_message_backend: Log number of changed messages.
...
This will be helpful for debugging potential performance problems.
2017-01-23 17:22:40 -08:00
Steve Howell
929e8a48d7
Add test_message_flags() to echo node tests.
2017-01-23 16:52:12 -08:00
Steve Howell
01aad70910
bug fix: Fix recent regression with at-mentioning.
...
One of my commits from yesterday erroneously set the
"mentioned" flag on messages that weren't mentioning
the current user, so you would get the pink/salmon
background when you sent at-mentions to other people.
Now we check the user_id before setting the flag.
2017-01-23 16:42:43 -08:00
Rafid Aslam
1e9baf8ee0
deps: Upgrade `docutils` to 0.13.1.
...
Fixes #3399 .
2017-01-23 15:23:58 -08:00
Adarsh S
ec44edb305
Add avatar_version to UserProfile.
...
avatar_version is used to keep track of the avatar version of the
user and to update the cache, everytime the user updates their avatar.
2017-01-23 23:29:07 +05:30
Tim Abbott
bbd853e208
puppet: Add redirect to https to zulip.org.
2017-01-22 21:52:50 -08:00
Tim Abbott
44776c43a1
puppet: Add configuration for zulip.org website.
...
This puppet configuration, plus cloning the zulip.github.io repo and
letsencrypt key setup, is all we need to run a zulip.org server.
2017-01-22 21:48:48 -08:00
Tim Abbott
a3b51bb9d2
Fix JS error syncing starred out-of-view messages.
...
Previously, if one starred very old messages (or ones in a stream
you're not subscribed to), your other open browsers would likely throw
an exception syncing the message flag.
2017-01-22 20:39:05 -08:00