Bickio
868f343980
Do not open compose box if user sidebar search is empty.
...
Fixes #2357 .
2016-12-13 11:04:08 -08:00
reallyly
94b28e0afb
pep8: Fix E128 violations.
...
With some line-wrapping tweaks by tabbott.
2016-12-13 10:50:14 -08:00
Igor Tokarev
fae59502ab
URL preview: Improve test coverage.
2016-12-13 10:43:02 -08:00
Steve Howell
bb43c4d4c9
Remove select-default-language.png.
...
This accidentally got committed on the prior commit. It is
not used anywhere.
2016-12-12 12:55:52 -08:00
Cynthia Lin
c0f87481c6
docs: Add user guide for *Message display settings* feature
2016-12-12 12:43:45 -08:00
Tim Abbott
441c92e42f
travis: Remove postgres-9.6 from production suite as well.
2016-12-12 10:12:08 -08:00
Zach Breit
3368b90f34
docs: Add user guide for 'Changing the Default Language'
2016-12-12 09:29:58 -08:00
Steve Howell
a119719b79
Make provision messaging more explicit.
...
Say "do this" when we want users to run `./tools/provision.py`.
2016-12-10 08:57:41 -08:00
Rafid Aslam
e0d2839dd7
docs: Fix broken link in git-guide.md
...
Update 'how to resolve a merge conflict' link because it is
broken, GitHub has change the link to the newer one.
2016-12-10 06:09:46 -08:00
Juan Verhook
9869fb8d87
Add UserPresence rows to test databases.
...
Fixes : #2426
mypy: Added annotations to populate_db.py
2016-12-09 15:41:21 -08:00
Cynthia Lin
78a0d9456e
docs: Add user guide for *Keyboard shortcuts* feature
2016-12-09 15:37:49 -08:00
Adarsh S
31be2534b3
Fix Error: templates have no tests! while running TemplateTestCase.
...
We need to test all the templates only when we are running the full
test suite. While running just the Test Class we need not check all
the templates.
2016-12-09 12:09:55 -08:00
Brock Whittaker
1886f0a015
redesign: Convert subscriptions page to overlay.
...
This is a major change to the /#subscriptions page, converting it to
by a side-by-side list of streams and their settings in an overlay.
There are no new features added/removed, but it's a huge changeset,
because it replaces the old navigation logic and moves the stream
creation modal to appear in the right side of this overlay.
2016-12-09 11:08:08 -08:00
Jason Le
67f28fe62d
Speed up rate limiting test in test_external.
...
Patches out the `time.sleep` and mocks the `time.time` to one second
ahead.
Resolves #2239 .
2016-12-09 10:52:11 -08:00
Zac Pullar-Strecker
4eb6adf547
mypy: Annotate zerver/tests/test_narrow.py
2016-12-09 05:48:22 -08:00
Cynthia Lin
eb35d53ed1
docs: Add user guide for *Zulip glossary*
2016-12-09 05:07:57 -08:00
Brock Whittaker
9823e4de33
components: Change label.checkbox style.
...
Change the label.checkbox style to be grey instead of green which I
think blends with the current aesthetic more.
2016-12-08 11:49:45 -08:00
Tim Abbott
d2d404afcc
travis: Remove npm cache in prod installation.
...
With this change in place, we would have been able to catch the bug
fixed in the last commit in CI.
2016-12-08 10:34:09 -08:00
Tim Abbott
95a49f6ea2
node_cache: Fix buggy production deployment code.
...
The previous version of the production deployment code for release
tarballs did not correctly install the node_modules directory.
2016-12-08 10:34:04 -08:00
Tim Abbott
8b77889f8a
test-all: Run the pep8 linter by default.
2016-12-07 23:22:59 -08:00
Tim Abbott
ff71559bdf
register: Only display full URL when subdomains is enabled.
2016-12-07 23:21:45 -08:00
Brock Whittaker
faddd3b1e0
register: Move help box out of inline'd block.
...
Now it will be full width again (display is block).
2016-12-07 23:19:20 -08:00
Arpith Siromoney
226e3cbf02
Reactions backend: make endpoints more REST-ful.
...
Adding a reaction is now a PUT request to
/messages/<message_id>/emoji_reactions/<emoji_name>
Similarly, removing a reaction is now a DELETE request to
/messages/<message_id>/emoji_reactions/<emoji_name>
This commit changes the url and updates the views and tests.
This commit also adds a test for invalid emoji when removing reaction.
2016-12-07 22:28:02 -08:00
Igor Tokarev
0bac986f26
Fixed compose box PM recipient typeahead handling of focus.
...
This closes #2315 .
2016-12-07 22:13:47 -08:00
Tomonori Murakami
a9e409a50f
admin: Do not allow removing or deactivating the last org admin.
...
Modified by tabbott to cover and test some additional cases.
Fixes #2396 .
2016-12-07 21:59:33 -08:00
Tommy Ip
fe4a0e72fc
Add new button to download ~/.zuliprc from settings page.
...
Added new option to download .zuliprc file directly from settings
page. This should help reduce friction when setting up new
bots/integrations. This new feature is available in the bot cards and
the 'show your API key' section. One caveat is that the filename is
automatically set to 'zuliprc' instead of '.zuliprc', since as most
browsers do not allow filenames to start with a dot.
Fixes #2327 .
2016-12-07 21:28:41 -08:00
Tomasz Kolek
9933abf833
css: Fix problem with too long stream name on stream deletion modal.
...
Add overflow-wrap rule to zulip.css for deactivation_stream_modal h3.
Fixes : #2596 .
2016-12-07 21:23:23 -08:00
Tomasz Kolek
4fe3cd98f8
css: Fix problem with too long stream name in left sidebar.
...
Add overflow-wrap rule for .stream-name class to left-sidebar.css.
2016-12-07 21:21:47 -08:00
Tomasz Kolek
eac002c6bd
css: Fix problem with too long stream error formatting.
...
Add overflow-wrap rule for #response span to subscriptions.css.
2016-12-07 21:20:57 -08:00
Vamshi Balanaga
9fd375c249
integrations: Add documentation for mention
2016-12-07 21:19:03 -08:00
Joy Chen
bfb6ac5fdb
streams: Add default stream description tests and functions.
...
This includes making the default stream description setting into a
dict. That is an API change; we'll discuss it in the changelog but it
seems small enough to be OK.
With some small tweaks by tabbott to remove unnecessary backwards
compatibility code for the settings.
Fixes #2427 .
2016-12-07 21:12:44 -08:00
Joy Chen
dd95a5e03f
streams: Add default stream description population data.
2016-12-07 21:02:17 -08:00
anirudhjain75
beaa62cafa
mypy: Convert several directories to use typing.Text.
...
Specifically, these directories are converted: [analytics/, scripts/,
tools/, zerver/management/, zilencer/, zproject/]
2016-12-07 20:51:05 -08:00
Niels Terwiesch
2288120155
docs: Add user guide for emoji
2016-12-07 20:48:39 -08:00
Tim Abbott
0855cf29f7
settings: Move INLINE_URL_EMBED_PREVIEW.
2016-12-07 20:48:19 -08:00
Igor Tokarev
c93f1d4eda
Add oembed/Open Graph/Meta tags data retrieval from inline links.
...
This change adds support for displaying inline open graph previews for
links posted into Zulip.
It is designed to interact correctly with message editing.
This adds the new settings.INLINE_URL_EMBED_PREVIEW setting to control
whether this feature is enabled.
By default, this setting is currently disabled, so that we can burn it
in for a bit before it impacts users more broadly.
Eventually, we may want to make this manageable via a (set of?)
per-realm settings. E.g. I can imagine a realm wanting to be able to
enable/disable it for certain URLs.
2016-12-07 17:40:18 -08:00
Tim Abbott
b68fef8933
actions: Extract update_to_dict_cache.
2016-12-07 17:26:16 -08:00
Tim Abbott
90f76c079d
lint: Require space after headings in markdown.
2016-12-07 17:15:53 -08:00
Tim Abbott
279d160f99
lint-all: Fix markdown_whitespace_rules indentation.
2016-12-07 17:15:47 -08:00
Robert Hönig
b44c4680ff
docs: Add user guide for *Search for messages*.
2016-12-07 17:12:34 -08:00
Rafid Aslam
7856217a63
Migrate JS modules to CommonJS style.
...
Closes #1488 .
2016-12-07 16:11:52 -08:00
anirudhjain75
4bb6735e77
Annotate zephyr_mirror_backend.py.
...
With some tweaks by tabbott to update tuple->Tuple and update comments.
2016-12-07 15:57:55 -08:00
Brock Whittaker
83ca1ab149
register: Make /register responsive again.
...
After some tremendous changes the container now shouldn’t break badly
on narrow screens as flexbox doesn’t set it off the screen.
2016-12-07 15:33:57 -08:00
Juanvulcano
2e5eb74eec
help: Create name-change.md.
2016-12-07 12:27:24 -08:00
actuallyatoaster
25ed6876be
docs: Add user guide for changing password.
2016-12-07 11:59:54 -08:00
Rafid Aslam
b621817194
test_public_urls: Automate test files (in templates/zerver/help/).
...
This automates including of markdown files under
`templates/zerver/help/` to be tested by `test_public_urls` (in
zerver/tests/test_signup.py).
Fixes #2465 .
2016-12-07 11:25:22 -08:00
Rafid Aslam
0fbbadd303
docs: Extract testing docs to their own TOC section
...
Fixes : #2422 .
2016-12-07 07:49:20 -08:00
Sampriti Panda
a9e2de09da
integrations: Add documentation for heroku
2016-12-07 05:39:45 -08:00
Yago González
e65c42cb5f
eslint: Turn on errors for new-cap rule.
...
Now the eslint rule "new-cap" is set as: ["error", { "newIsCap": true, "capIsNew": false }]
2016-12-07 05:33:16 -08:00
1Niels
aad53443b5
docs: Add user guide for Edit Your Profile.
2016-12-06 18:19:53 -08:00