Aman Agrawal
34e62f06f4
recent_topics: Renamed 'muted' filter for clarity.
2020-06-20 22:29:48 -07:00
Anders Kaseorg
7e9db327b3
request: Improve validator type so mypy can check it against REQ.
...
Old: a validator returns None on success and returns an error string
on error.
New: a validator returns the validated value on success and raises
ValidationError on error.
This allows mypy to catch mismatches between the annotated type of a
REQ parameter and the type that the validator actually validates.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Anders Kaseorg
596bfb47c4
papertrail: Replace custom validator with check_dict.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Anders Kaseorg
114f859d3a
api_travis_webhook: Fix message type annotation.
...
Not all values of this dict are strings, just the ones we use.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Anders Kaseorg
c0fa42dd8c
complete_zoom_user: Validate state type correctly.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Anders Kaseorg
64038163e7
update_user_backend: Validate profile_data type correctly.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Anders Kaseorg
c584462b32
update_storage: Validate storage type correctly.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Anders Kaseorg
717e349834
events_register_backend: Validate client_capabilities type correctly.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Anders Kaseorg
475fc5910f
update_user_custom_profile_data: Validate data type correctly.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Anders Kaseorg
6e33b9c6f2
get_events_backend: Validate narrow type correctly.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-20 22:29:15 -07:00
Tim Abbott
f1707cfec6
docs: Remove translating guide 'realm' details.
...
We now have linters that ensure "realm" never leaks into user-facing
strings, preferring "organization" instead.
2020-06-20 20:41:46 -07:00
apxwn
027e56e9b9
docs: Improve Russian translating guide.
2020-06-20 20:39:37 -07:00
Tim Abbott
0542c60466
docs: Do a general update pass on OpenAPI developer docs.
2020-06-20 19:06:07 -07:00
sahil839
318bc0ca1e
stream: Fix message on clicking add button with empty subscribers form.
...
This commit corrects the message shown when we click the add button
for subscribing users to stream with empty input.
We show 'No user to subscribe.' as the message when trying to add
subscribers with empty input.
Fixes #15450 .
2020-06-20 17:55:23 -07:00
SiddharthVarshney
3e1a0c0e32
portico: Fix UI of /accounts/go page.
...
Fixes : #14809
2020-06-20 17:54:06 -07:00
SiddharthVarshney
92059a5379
css: Use SCSS nesting for `.portico-landing.hello .gradients .gradient`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
5f8b8d62b9
css: Use SCSS nesting for `.portico-landing.hello .hero`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
c3847c9b30
css: Use SCSS nesting for `.portico-landing.hello .hero header`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
0453c0bc36
css: Use SCSS nesting for `.portico-landing.hello .hero header button`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
5a02fd4a6b
css: Use SCSS nesting for `.portico-landing.hello .hero .content`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
cabdc72722
css: Use SCSS nesting for `.portico-landing.hello .hero .waves`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
45ea511225
css: Use SCSS nesting for `.portico-landing.hello .hero .waves .wave`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
f96e38a8bd
css: Reorder css for `.portico-landing.hello .hero`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
be8027cb54
css: Use SCSS nesting for `.portico-landing.features-app`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
ce9a365c62
css: Use SCSS nesting for `.portico-landing.features-app .feature-block`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
d8a3ca0b2e
css: Use SCSS nesting for `.portico-landing.features-app .cta`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
c37d83347c
css: Use SCSS nesting for `.portico-landing.features-app .cta:hover`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
7ea662e035
css: Use SCSS nesting for `.portico-landing.features-app section`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
b3db95e879
css: Use SCSS nesting for `.portico-landing.features-app section a`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
544622a435
css: Use SCSS nesting for `.portico-landing.features-app section a.feature-block`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
553c3f1a50
css: Use SCSS nesting for `.portico-landing.features-app section .headliner`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
17ddbf33b1
css: Use SCSS nesting for `.portico-landing.features-app section.notifications`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
acfd7755bb
css: Use SCSS nesting for `.portico-landing.features-app section.notifications .feature-list`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
b19902e00c
css: Use SCSS nesting for `.portico-landing.features-app section.notifications .feature-list h3`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
88c2dfa580
css: Merge css for `.portico-landing.features-app section.notifications`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
6ec11e549d
css: Use SCSS nesting for `.portico-landing.features-app section.messages`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
ea1d2688c8
css: Use SCSS nesting for `.portico-landing.features-app section.messages .features`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
9a7c6504bb
css: Use SCSS nesting for `.portico-landing.features-app section.keyboard-shortcuts`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
621dd2a445
css: Use SCSS nesting for `.portico-landing.features-app section.keyboard-shortcuts img`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
00eb90a551
css: Use SCSS nesting for `.portico-landing.features-app section.hero`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
68268c8c1e
css: Use SCSS nesting for `portico-landing.show`.
2020-06-20 17:46:08 -07:00
SiddharthVarshney
d61fd5d9eb
css: Reorder `.portico-landing` and `.portico-landing.show`.
2020-06-20 17:46:08 -07:00
Tim Abbott
d503549f0b
retention: Add some more system documentation.
2020-06-20 17:35:07 -07:00
Steve Howell
fff2a81536
mypy: Fix payload_url.
2020-06-20 17:09:15 -07:00
Steve Howell
82036741b9
mypy: Fix service_interface
2020-06-20 17:09:15 -07:00
Steve Howell
704c84502b
mypy: Fix authentication_methods.
...
We know the key of the dictionary is a string
here, since we get it via json.
2020-06-20 17:09:15 -07:00
arpit551
0c6488b284
analytics: Added frontend for messages read over time graph.
...
The chart added is similar to the messages sent over time chart.
Fixes #15167
2020-06-20 16:52:33 -07:00
SiddharthVarshney
e763d30f18
help: Update help docs for ellipsis.
...
Update help docs where chevron was previously
mentioned for sidebar manu icons.
Add css for `i.zulip-icon` to position icon
properly.
2020-06-20 16:47:43 -07:00
SiddharthVarshney
c80ab21a24
docs: Add "ellipsis" in Glossary.
...
We have migrated ellipsis-v from chevron for sidebars,
it would be better to define it in glossary as it is gonna replace
"chevron" during conversations.
2020-06-20 16:47:43 -07:00
Ryan Rehman
d59ccd4c0f
message view: Fix link generation logic of the end of results notice.
...
This improves the logic and fixes the bug where the href was calculated
based on the current URL and not the filter of the current message list.
We now add the '/streams/public/' operator at the start of the operators,
similar to how it is represented in all other cases.
Fixes #15405
2020-06-20 16:26:25 -07:00