dangraw
d24c26b9e4
stream edit: Add <Enter> keyboard shortcut to invite users to stream.
...
Fixes #15185 .
2020-06-21 09:57:00 -07:00
Tim Abbott
96044d0bd1
stream_edit: Extract submit_add_subscriber_form.
2020-06-21 09:57:00 -07:00
sahil839
f10efa27b8
users: Add docs link next to the label of dropdown for changing user's role.
...
This commit adds link to 'roles and permissions' docs next to the label
of dropdown for changing user role.
2020-06-21 09:41:46 -07:00
sahil839
3498287b8c
invite: Add docs link next to the user-role dropdown label in invite modal.
...
This commit adds link to 'roles and permissions' docs next to the
label of user role dropdown in invite modal.
2020-06-21 09:41:46 -07:00
Mateusz Mandera
60c4896c3a
import: Fix import and export parallelism defaults.
...
Fixes #14960 .
The default of 6 thread may not be appropriate in certain
configurations. Taking half of the numer of CPUs available to the
process will be more flexible.
2020-06-21 09:39:31 -07:00
orientor
c4ccf0d6b3
openapi: Fix wrong schemas.
...
In a recent commit, due to conflicts with old schemas the new
schemas were added as oneOf. But the old schemas were wrong. So
change them accordingly.
2020-06-21 01:42:40 -07:00
Tim Abbott
3b4a9f8a9c
test_middleware: Remove night mode test.
...
We removed the quoted string this test was for.
2020-06-21 01:17:42 -07:00
MariaGkoulta
b10f156250
settings: Add automatic theme detection feature.
...
With this implementation of the feature of the automatic theme
detection, we make the following changes in the backend, frontend and
documentation.
This replaces the previous night_mode boolean with an enum, with the
default value being to use the prefers-color-scheme feature of the
operating system to determine which theme to use.
Fixes : #14451 .
Co-authored-by: @kPerikou <44238834+kPerikou@users.noreply.github.com>
2020-06-21 01:09:01 -07:00
Tim Abbott
9bd8ead32d
i18n: Update translation data from Transifex.
2020-06-20 23:33:18 -07:00
SiddharthVarshney
1a8e9d1164
user-profile: Change color of `name` field.
...
With the previous color it was hard to read the text and
also that color does not matches with the zulip style.
This commit changes the color of `name` field for
user-profile modal for better visability both in day
and night mode.
2020-06-20 23:32:49 -07:00
sahil839
63389b3bd3
invite: Add option to invite user as an organization owner.
...
We can now invite new users as realm owners. We restrict only
owners to invite new users as owners both for single invite
and multiuse invite link. Also, only owners can revoke or resend
owner invitations.
2020-06-20 23:04:59 -07:00
Aman Agrawal
a052d24231
recent_topics: Support arrow key navigation.
...
Add arrow key navigation support for recent topics.
Simple jquery is used to allow navigation for filter buttons,
a grid system is used for navigation inside table.
2020-06-20 22:50:47 -07:00
Aman Agrawal
05f7cb7750
click_handlers: Trigger click on enter keypress on icons in RT.
...
To allow user to perform all actions using keyboard in recent
topics overlay, we convert enter to click event on icons.
2020-06-20 22:29:48 -07:00
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