Cory Lynch
7e869cf5b2
compose.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
d1d1906460
components.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
7dd0ae33ad
activity.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Joshua Pan
bd9459f27d
node test: Enforce 100% node coverage in typeahead_helper.js.
2017-06-21 00:03:05 -04:00
Joshua Pan
1e4c133430
node tests: Test sort_recipientbox_typeahead() in typeahead_helper.js.
2017-06-21 00:03:05 -04:00
Joshua Pan
b48f8447e2
node tests: Fully cover compare_by_pms() in typeahead_helper.js.
2017-06-21 00:03:05 -04:00
Joshua Pan
1c34a3ae54
node tests: Fully cover sort_streams() in typeahead_helper.js.
2017-06-21 00:03:05 -04:00
Joshua Pan
ffde90fcd1
node tests: Add tests for sort_emojis() in typeahead_helper.js.
2017-06-21 00:03:05 -04:00
Joshua Pan
0563337240
node tests: Fully cover split_by_subscribers() in typeahead_helper.js.
2017-06-21 00:03:05 -04:00
Joshua Pan
a53a4b7f0d
node tests: Add tests for render stream typeahead item.
2017-06-21 00:03:05 -04:00
Joshua Pan
7a93a425f8
node tests: Add tests for render person typeahead item.
2017-06-21 00:03:05 -04:00
Joshua Pan
ee48ac1854
node tests: Fully cover compare_by_popularity() in typeahead_helper.js.
2017-06-21 00:03:05 -04:00
Joshua Pan
649558476e
node tests: Get rid of typeahead_helper dependency.
...
This also puts the global tests into their
own specific tests, which then allows us to
get rid of the typeahead_helper dependency.
2017-06-21 00:03:05 -04:00
Abhijeet Kaur
14fdc2aea6
bots: Add 'Bot type' column to bots list in organization settings.
2017-06-20 23:04:46 -04:00
Steve Howell
572ea370ea
Speed up custom checkers in `./tools/lint`.
...
The main thing here is to make looping over lines be the inner
loop, instead of looping over rules. This keeps regexes in
cache, and it also avoids some O(N) checks.
This is a significant speedup for me, reducing time from 16s
to 11s.
2017-06-20 22:26:12 -04:00
Rishi Gupta
ca3b9f3059
user docs: Clean up intro text.
2017-06-20 21:25:56 -04:00
Cory Lynch
c19be5e39e
Change conversation links to contain user's own email.
...
Fixes #2360 .
2017-06-20 21:22:45 -04:00
Cory Lynch
6d90d7ccbb
people.js: Ignore own email address in group PMs.
2017-06-20 21:22:45 -04:00
Cory Lynch
00ebb4f4d4
messages.py: Ignore own email in group PMs.
2017-06-20 21:22:45 -04:00
Vaida Plankyte
b7ea876056
docs: Document ability for admins to delete messages.
2017-06-20 21:17:53 -04:00
Cynthia Lin
ac25f515e0
docs: Update ReadTheDocs meta tags.
...
Fixes #5482
2017-06-20 20:59:16 -04:00
Aditya Bansal
4c8e4eea4e
user_events.js: Make node test coverage reach 100%.
2017-06-20 20:57:10 -04:00
Cory Lynch
ff9498f85b
bookend: Hide re-subscribe button for private streams.
...
Fixes #5181
2017-06-20 20:56:26 -04:00
Joshua Pan
5e611826da
node tests: Call settings_bot.set_up() to get initial line coverage.
2017-06-20 19:49:23 -04:00
Joshua Pan
8a6e8906bd
zjquery: Add .click() function.
2017-06-20 19:49:23 -04:00
vaibhav
d9bc3932ec
settings: Move "download personal API key" from "your-bots" to "your account"
...
Fixes : #5355 .
2017-06-20 15:46:23 -04:00
Harshit Bansal
aee130bf06
subs: Fix the real-time sync when adding/removing the subscribers.
...
We were incorrectly amending the HTML directly whenever a subscriber
was added/removed. For updating any list which is being managed by
`list_rendering.js`, instead of modifying the HTML directly we should
just update the data in list render instance and perform a re-render.
Fixes : #4812 .
2017-06-20 15:44:20 -04:00
Harshit Bansal
e82a53117a
stream_edit.js: Add `rerender_subscribers_list()` function.
...
This function can be used for updating the subscribers list correctly
when a subscriber is added or removed.
2017-06-20 15:44:20 -04:00
Harshit Bansal
3f0ccd66c5
stream_edit.js: Extract `get_email_for_subscribers()` function.
...
This function can be used for mapping subscribers's id to their email.
2017-06-20 15:44:20 -04:00
Umair Khan
4f223c19d8
sign-in: Show proper error for deactivated user.
...
Show a clear error message when a user tries to sign in with
a deactivated account.
Fixes #4757
2017-06-20 11:38:58 -04:00
Vaida Plankyte
009fa9be1e
docs: Add info on using tools/ scripts for fetching PRs.
2017-06-20 11:37:33 -04:00
Vaida Plankyte
0595764807
docs: Add alternative snippet for checking out branch.
2017-06-20 11:37:33 -04:00
Vaida Plankyte
22199d6044
docs: Fix code snippet typo in git-guide.md.
2017-06-20 11:37:33 -04:00
Sampriti Panda
c36c3ae20b
bots: Change bot_type to DEFAULT_BOT for bots with None bot_type
...
Fixes #5440
2017-06-20 11:34:40 -04:00
Yago González
d2b3a52812
requirements: Fix dependencies for cryptography.
...
Apparently the module "cryptography" (used by service_identity) has some
dependencies that weren't initially included in requirements/scrapy.txt.
Python 2 and 3: six, cffi, asn1crypto, idna
Python 2 only: enum34, ipaddress
Out of these modules, the ones that were already included in
requirements/common.txt have been removed, resulting in:
Python 2 and 3: asn1crypto
Python 2 only: ipaddress
Credits as well to @adnrs96, whose help was essential to catch this issue.
2017-06-20 10:18:00 -04:00
Harshit Bansal
c50b3672c2
webpack: Migrate `signup.js` bundle to webpack static asset pipeline.
2017-06-20 09:45:26 -04:00
Harshit Bansal
3953734a1c
webpack: Migrate `stats.js` bundle to webpack static asset pipeline.
2017-06-20 09:45:26 -04:00
vaibhav
9a6e326305
Add support for generating and downloading flaskbotrc.
...
Flaskbotrc is a file containing config of all active
outgoing webhook bots. It is used to provide configuration
of all active outgoing webhook bots to zulip-bot-server.
2017-06-20 09:43:45 -04:00
Umair Khan
bccd2caacb
testing: Fix search key.
...
The problem this commit solves is related to how we search for
testcases in the test files. We use a simple 'search_key' in file_data.
This will return a false positive if there is a 'longer_search_key' in
file_data.
While searching for TestCases we should use a longer key to remove the
possibility of collision. Using 'class TestCase(' should be precise
enough.
Fixes #4983
2017-06-20 08:35:07 -04:00
neiljp
f1b3e943c6
Extend message parameters passed in check_expected_responses
2017-06-20 07:19:12 -04:00
Cynthia Lin
9777496046
repository: Update information with Codecov migration.
2017-06-20 07:17:39 -04:00
sinwar
e9ec59c45d
requirements: Upgrade requests to latest version.
...
Fixes #5455
2017-06-20 06:59:18 -04:00
Aditya Bansal
b19134d4c2
travis: Remove docker-engine from held package list in production.
...
We are doing this in order to avoid facing troubles when travis
updates its trusty images. Here is a link to the blog post.
https://blog.travis-ci.com/2017-06-19-trusty-updates-2017-Q2
2017-06-20 06:45:40 -04:00
Cory Lynch
387f37c15e
popovers.js: Fix keyboard shortcuts with copying link.
...
Fixes #5374 .
2017-06-20 06:28:25 -04:00
Cory Lynch
d5bcfc415d
emoji_picker.js: Fix popover icon that persists after exit.
...
Another manifestation of #4329 , as this bug
also applied to the emoji popover.
2017-06-20 06:28:25 -04:00
Cory Lynch
801e4f6f6e
popovers.js: Fix chevron that persists when exiting.
...
Fixes #4329 .
2017-06-20 06:28:25 -04:00
Cory Lynch
005d06eb38
message_store.js: Add tests for message id change.
...
This gets message_store.js to 100% line coverage.
2017-06-20 06:24:27 -04:00
Cory Lynch
55917b6761
message_store.js: Remove obsolete clear() function.
2017-06-20 06:24:27 -04:00
Cory Lynch
10b86da128
message_store.js: Add tests for erorrs/edge cases.
2017-06-20 06:24:27 -04:00
Cory Lynch
24b9108d09
message_store.js: Increase coverage for add_message.
2017-06-20 06:24:27 -04:00