Umair Khan
b886e38a58
Increase test quality for GitHubAuthBackendTest.
2016-10-11 16:19:55 -07:00
Umair Khan
4fcd36b124
Add negative tests for Social auth backend.
...
Fixes : #1948
2016-10-11 16:19:55 -07:00
Rishi Gupta
d75731f988
Realm creation flow: Remove invite page.
...
Previously, we sent users to an "invite your friends" page after they
created an organization. This commit removes that step in the flow and sends
users directly to the home page. We also remove the now-unused
initial_invite_page.html template, initial_invite.js (which pre-filled the
invite emails with characters from literature), and the /invite URL route.
2016-10-11 15:54:05 -07:00
Tim Abbott
d5f28abac7
casper: Use zulipdev.com rather than localhost consistently.
...
This fixes a problem where any absolute redirects in the routes
visited by the Casper tests will cause failures due to switching the
users to a "different" server where the cookies they'd received are no
longer valid.
Now, we at least consistently use the same hostname in the Casper
tests as EXTERNAL_HOST.
2016-10-11 15:54:05 -07:00
Brock Whittaker
3494fa0635
Add lightbox media queries.
...
Add media queries to hide the image actions if on mobile (probably
unnecessary to have), and make the image description (name, author)
close to full width.
2016-10-11 15:22:31 -07:00
Brock Whittaker
162ee29aee
Lightbox Overlay Style Fixes.
...
This fixes two minor issues with the lightbox styling:
1. The width was not supposed to be calc(100% - 20px) anymore. It now
should just be full width.
2. The exit button was not vertically aligned exactly nor horizontally
centered between the edge of the nearest button and the edge of the
screen. Both are fixed with the new margin.
2016-10-11 15:22:14 -07:00
Christie Koehler
952d91f60a
docs: Fix broken image links on prod install page.
2016-10-11 15:19:43 -07:00
K.Kanakhin
7c3ffa6790
travis-ci: add production Python 3 test suite.
...
- Add production testing to .travis.yml file for PY3 env
Fixes #1710 .
2016-10-11 14:19:03 -07:00
K.Kanakhin
14545d1647
create-production-venv: Add PY3 support to production venv creation script.
...
Create production python virtual env based on system python version.
2016-10-11 14:19:00 -07:00
K.Kanakhin
e7642daa2a
py3_prod: Add py3 production requirements file.
2016-10-11 14:19:00 -07:00
Supriya
598c7a506b
docs/custom-apps: Fix spelling error.
2016-10-11 13:39:59 -07:00
Christie Koehler
24e2690ec2
tools: Improve git scripts.
...
Minor fixes that enable the ability to:
- Re-run fetch-rebase-pull-request.
- Specify the name of the remote repo as an optional second parameter.
The default remains 'upstream'.
2016-10-11 13:38:38 -07:00
Eklavya Sharma
41587edd2e
bugdown: Change parameter name.
...
Change the parameter name of some functions from 'md' to 'content',
since the name 'md' seems to be the reason why this parameter was
wrongly annotated.
2016-10-11 11:31:01 -07:00
Eklavya Sharma
f35d0f1c75
bugdown: Fix type annotations.
...
In some functions the first parameter was wrongly annotated as
`markdown.Markdown`. Change that to `text_type`.
2016-10-11 11:31:01 -07:00
Eklavya Sharma
81617fcdb0
Annotate zerver/tests/test_upload.py.
2016-10-11 11:29:14 -07:00
Eklavya Sharma
f7092b1a90
Annotate zerver/tests/test_email_mirror.py.
2016-10-11 11:28:52 -07:00
Eklavya Sharma
b741c7351d
email_mirror: Use correct string types.
2016-10-11 11:27:35 -07:00
Eklavya Sharma
ccce3ec0be
zerver/lib/digest.py: Fix a type annotation.
2016-10-11 11:27:35 -07:00
Eklavya Sharma
d92368e0f5
test_email_mirror: Add trivial annotations.
...
Add annotations of the form `type: () -> None` to test methods.
2016-10-11 11:27:35 -07:00
Eklavya Sharma
1dbabfe1ab
Annotate zerver/tests/test_bugdown.py.
2016-10-11 11:27:35 -07:00
Eklavya Sharma
8e2f659f3d
test_bugdown: Add trivial annotations.
...
Add annotations of the form `type: () -> None` to test methods.
2016-10-11 11:27:35 -07:00
Kouhei Sutou
c2b4fd86e4
settings: Combine split words for translators
2016-10-11 22:40:47 +09:00
Tim Abbott
7639dc87a8
Revert "requirements: Install the Zulip API bindings by default."
...
This reverts commit de5b6d9e37
.
This change appears to have caused problems provisioning due to a
conflict with the `--install-option` feature used by talon.
2016-10-10 23:36:01 -07:00
Tim Abbott
de5b6d9e37
requirements: Install the Zulip API bindings by default.
...
Fixes : #1957 .
2016-10-10 17:41:46 -07:00
Tomasz Kolek
8fa9ee1473
Add github tests for commits more than limit.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
ad5d5f2c99
Add beanstalk tests for commits more than limit.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
07003ca52d
Add gitlab tests for commits more than limit.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
a3e4415614
Add bitbucket2 tests for commits more than limit.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
6fc1193743
Add to gitlab remove branch message handler.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
312905007e
Add EMPTY_SHA const to zerver/lib/webhooks/git.py.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
89ef6c73d1
Normalize github and beanstalk remove branch event message.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
56208d7ea1
Add bitbucket2 remove branch message handler.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
b031d6b029
Add bitbucket2 force push event handler.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
b69b5e55ce
Add git integration method to build message for remove branch events.
...
Add get_remove_branch_event_message method to zerver/lib/webhooks/git.py
for normalizing remove branch message in all git integrations.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
f084dd05a8
Normalize github and beanstalk force push event message.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
5f7c1519d1
Add git integration method to build message for force push events.
...
Add get_force_push_commits_event_message method to zerver/lib/webhooks/git.py
for normalizing force push message in all git integrations.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
e56e3f4aee
Normalize bitbucket2 push event subject.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
741a91d249
Normalize bitbucket push event subject.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
1f0f197479
Normalize github and beanstalk push event subjects.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
32934a02e9
Add template for subject that contains repo name and branch name.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
bc4ce7e781
Normalize gitlab push event message.
...
Fixes : #1884 .
2016-10-10 17:39:05 -07:00
Tomasz Kolek
6a727bc476
Normalize bitbucket2 push event.
...
Normalize bitbukcet2 push event by creating it by
get_push_commits_event_message common function.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
06ad0102a2
Remove now-unused build_commit_list_content.
2016-10-10 17:38:41 -07:00
Tomasz Kolek
809bc5f29b
Normalize bitbucket push event.
...
Normalize bitbukcet push event by creating it by
get_push_commits_event_message common function.
2016-10-10 17:33:02 -07:00
Tomasz Kolek
1c1a003ba1
Normalize github push event.
...
Normalize github push event by creating it by
get_push_commits_event_message common function.
2016-10-10 17:33:02 -07:00
Tomasz Kolek
8697a1e5a2
Add common git integration method to build message for push events.
...
This adds get_push_commits_event_message method to
zerver/lib/webhooks/git.py for normalizing push messages in all git
integrations.
2016-10-10 17:32:41 -07:00
Tim Abbott
fec6527656
dev-overview: Document cloud server option.
2016-10-10 17:10:39 -07:00
zeddmaxx
1348b9dde3
dev-overview: Improve organization of installation overview page.
...
Fixes #1814 .
[substantially tweaked by tabbott]
2016-10-10 17:06:59 -07:00
reyha
34766e38c3
irc-mirror: Update the installation link.
...
This updates the link to python-irc to its current URL.
2016-10-10 16:23:11 -07:00
Ilona Brand
4bf908c2d6
Add emoji map to the compose box.
...
- Expand a box full of emojis into the
compose window for users to graphically select emojis.
- Append an emoji to the end of the message when a user
clicks the emoji in the emoji box.
- Trap the escape key to always close the emoji box
before closing anything else if the box is open.
- Fixes : #147 .
2016-10-10 16:12:25 -07:00