YJDave
8f65de1970
stream settings: Always show stream type, regardless of subscribed or not.
2018-01-22 18:26:36 -05:00
YJDave
c22285c154
stream settings: Allow org admin to update settings of unsub-stream.
...
As per backend validations.
2018-01-22 18:26:36 -05:00
rht
953478a189
katex: Update the `require` path to point to the new one.
...
This fixes #7620 .
2018-01-20 08:09:17 -05:00
Aditya Bansal
40f161ca63
settings_user_groups.js: Remove unnecessary call to get a person.
2018-01-20 08:01:06 -05:00
ihsavru
a5be1fb109
lightbox: Fix responsiveness issues with image description.
...
Fixes #7789
2018-01-19 17:12:38 -08:00
akashnimare
37c792aee5
apps: Update desktop app to latest release.
2018-01-20 00:46:31 +05:30
YJDave
8905744bb1
stream settings: Add period at the end of error messages.
2018-01-19 13:05:43 -05:00
Aditya Bansal
1324d2e3c0
reminders: Make shortcuts to setup reminder in message feed work.
2018-01-19 11:33:11 -05:00
Aditya Bansal
7d8d7f7f9b
reminders: Add alert message for set reminder success or failure.
2018-01-19 11:33:11 -05:00
Aditya Bansal
0f71a7ecca
reminders: Add UI for setting up reminders for messages in the feed.
2018-01-19 11:33:11 -05:00
Aditya Bansal
732321818d
scheduledmessage: Adjust schedule_message to accept callbacks.
2018-01-19 11:33:11 -05:00
Aditya Bansal
9efc1b08a1
reminders: Add slash command to set reminders from reminder bot.
2018-01-19 11:33:11 -05:00
Aditya Bansal
f272ea9087
scheduledmessages: Start using/expecting delivery_type as a param.
2018-01-19 11:33:11 -05:00
Aditya Bansal
5a794f9871
compose.js: Add schedule_message() to handle scheduling of messages.
...
In this we add code to support '/remind' command for causing
messages to be scheduled.
2018-01-19 11:33:11 -05:00
Aditya Bansal
b71ed33e64
compose: Extract the 'Sending...' from template to be added with Js.
...
In this we change the way 'Sending...' is displayed. Instead of
hardcoding it into the template we make change the paradigm so
that we can have a flexible message about what's happening
rather than just always saying 'Sending...'. For eg. this will
help in the upcoming feature of Scheduled Messages by having this
message say 'Scheduling...'.
2018-01-19 11:33:11 -05:00
Brock Whittaker
6b03e25382
help: Add "Add a link preview" documentation.
...
This is a server setting so I created the section "Server settings" in the help sidebar for this to go under, and rewrote the copy and retook the images that were originally done by @Privisus due to some issues.
2018-01-19 06:15:30 -05:00
Tarun Kumar
9b7b600772
user docs: Fix screenshot in TeX documentation.
...
Changes the screenshot to use $$ instead of $.
2018-01-18 16:42:15 -08:00
Sampriti Panda
6c32379985
compose: Fix browser extensions interfering with compose box.
...
Make sure that clicks outside <body> triggered by extensions
don't close the compose box.
2018-01-18 15:53:06 -05:00
Tim Abbott
b04bb1a973
locale: Update translation files.
...
This includes adding the new Turkish language.
2018-01-18 09:13:05 -08:00
infinitelooped
252a485621
integrations: Add documentation for Groove.
2018-01-17 13:00:11 -05:00
Privisus
e5fc49e23a
integrations: Add documentation for Raygun.
2018-01-17 12:53:22 -05:00
Privisus
c758636c1e
integrations: Add webhook code, API endpoint, and tests for Raygun.
2018-01-17 12:53:22 -05:00
Ricky
a90e99dd3e
webhooks: Add Beeminder webhook.
2018-01-17 09:24:12 -05:00
fredfishgames
4cb9edecda
integrations: Add documentation for Opbeat.
2018-01-17 09:17:19 -05:00
Shreyansh Dwivedi
b0fb7aa6b2
bugdown: Add preview for vimeo videos.
...
This also amends a commit from Brock Whittaker <brock@zulipchat.com>
that merges two separate functions for YouTube videos and Vimeo videos
into a generic video recall function.
Fixes #7550 .
2018-01-17 09:11:43 -05:00
Cynthia Lin
9fe284b442
dark-mode: Fix background color of table headers.
2018-01-17 03:29:07 -05:00
Cynthia Lin
be21f831a0
settings: Normalize white boxes in settings.
2018-01-17 03:29:07 -05:00
Cynthia Lin
e1764446c1
user settings: Change alert words styling to match other settings forms.
...
Fixes #8065 .
2018-01-17 03:29:07 -05:00
Cynthia Lin
a028097266
dark-mode: Change Stream list chevrons colors to have more contrast.
...
Fixes #7794 .
2018-01-16 17:18:50 -05:00
Cynthia Lin
56f341ffb5
dark-mode: Combine similar CSS selectors together.
2018-01-16 17:18:50 -05:00
Steve Howell
8530ed0b5e
org settings: Make button-clicking code more clear.
...
On the "Organization settings" page, we had two Save buttons
for admins that had identical markup. This was confusing for
people reading the code. Now the two buttons have different
markup and individual, targeted click handlers (albeit still
calling the same function to do most of the work).
The context of this fix is that I was debugging a
Casper flake where our Casper tests were essentially clicking
on the same button twice. Depending on the timing,
the second button click could cause a "No changes saved!"
behavior that confused the Casper test. It is unclear whether
Casper was clicking both buttons here (in which case this fix
is necessary) or the same button twice (in which case this fix
just removes a nasty red herring for debugging).
The code still has the flaw that both buttons basically submit
the same data to the server, despite the appearance on the page
that there are two forms. The best fix for that is probably
just to move the Language/Notifications stuff to another
panel. I wanted to avoid touching this code altogether, but
the minor modifications here were necessary to improve the
Capser testing situation.
2018-01-16 13:25:19 -05:00
Rohitt Vashishtha
cc8942e0dc
/team: Fetch zulip-js repository data.
2018-01-16 12:23:19 -05:00
Viraat Chandra
64034241a0
webhooks: Create Intercom integration and docs.
2018-01-16 08:51:17 -05:00
Robert Hönig
93f47fa700
outgoing webhooks: Rename "Base URL" to "Endpoint URL".
...
Based on user feedback. "Endpoint URL" gives a clearer
idea of the field's purpose.
2018-01-16 08:11:51 -05:00
Angelika Serwa
374025e10b
settings UI: Fix settings sidebar.
...
Fixes broken settings page on continuous use of tab key.
Sets settings sidebar visibility to hidden when not visible.
Fixes : #7982 .
2018-01-12 07:31:53 -05:00
Xavier Cooney
6dbc7c5656
org-settings: Fix pointers near disabled checkboxes.
...
Fixes #7768
2018-01-12 07:26:38 -05:00
Brock Whittaker
842afd1821
dark-mode: Make alert words compatible.
...
The alert word highlighting is too light to work with the font
when it is white, so this changes it to have a translucent background
so that the color adjusts to be more visible on a darker background.
This is originally taken from #7844 and is a modification of the
solution in #7847 .
The reason this approach is better for the codebase is now there is
only one color to change for alert words which reduces the likelihood
that someone in the future will change the color of one theme's
alert words and not the other.
Fixes : #7844 .
2018-01-11 17:24:41 -08:00
Robert Hönig
3accf7b935
embedded bots UI: Fix wrong _.each argument order.
2018-01-11 06:30:54 -05:00
Andy Perez
c209069fcd
bugdown: Improve image inlining logic.
...
Fix #7537
2018-01-09 16:43:22 -05:00
Andy Perez
25b32a5ed7
markdown: Fix backend rendering regex.
...
An image link such as [example](http://www.example.com/example.png )
is supposed to be inlined by the backend. The regex
backend_only_markdown_re in markdown.js does not recognize this link
as an image link, causing issues when adding fixtures to
zerver/fixtures/markdown_test_cases.json .
2018-01-09 16:43:22 -05:00
Robert Hönig
d1d8365a6b
embedded bots: Add config data UI.
...
This adds UI fields in the bot settings for specifying
configuration values like API keys for a bot. The names
and placeholder values for each bot's config fields are
fetched from the bot's <bot>.conf template file in the
zulip_bots package. This also adds giphy and followup
as embedded bots.
2018-01-09 11:50:54 -05:00
infinitelooped
ffa7637215
integrations: Add webhook code, API endpoint, and tests for Groove.
2018-01-09 09:32:52 -05:00
rht
763a96228f
left sidebar: Remove plus icon from the stream bar.
2018-01-09 09:05:23 -05:00
YJDave
2d52131554
user settings: Fix live updates in email change setting.
...
To toggle email change display, replace display = None
to disabled = true.
Email field shouldn't be removed from settings, it should only
disabled if email changes are disabled in realm.
2018-01-08 14:35:03 -05:00
YJDave
b523fd52f8
user setting: Disable email field if, user not allowed to change email.
2018-01-08 14:35:03 -05:00
YJDave
28ca52b493
user setting: Enhance email change modal.
...
* Disable spellcheck in email field.
* Decrease width of email change modal.
* Autofocus email field in email change modal.
2018-01-08 14:35:03 -05:00
YJDave
88b2498a8a
user setting: Change wording of strings in email change modal.
...
Change email field title to "New email" and close button
title to "Cancel".
2018-01-08 14:35:03 -05:00
YJDave
0a92dfd120
user setting: Set email change warning icon inline to email field.
2018-01-08 14:35:03 -05:00
Cynthia Lin
da06832837
right-sidebar: Make Search people input collapsible with search icon.
...
Fixes #4816
2018-01-07 15:05:03 -05:00
Cynthia Lin
7c1a803927
left-sidebar: Fix styling of Streams header to not use links.
2018-01-07 15:05:03 -05:00
Robert Hönig
82db9a211e
bot settings: Set converter as default in embedded bot list.
...
The previous value 'xkcd' is not yet an embedded bot.
2018-01-07 18:52:04 +01:00
Balaji2198
d6ae9341d3
refactor: Remove obsolete .user_offline.
...
This is an obsolete css class in right-sidebar.css.
2018-01-07 10:04:35 -05:00
Balaji2198
9e814e1b2d
refactor: Remove obsolete .ps-scrollbar-y.
...
This is an obsolete css class in left-sidebar.css.
2018-01-07 10:04:35 -05:00
Balaji2198
f520a28bc7
refactor: Remove obsolete .ps-scrollbar-y-rail.
...
This is an obsolete css class in left-sidebar.css.
2018-01-07 10:04:35 -05:00
Balaji2198
bebbdce5dc
refactor: Remove obsolete .hidden-filter.
...
This is an obsolete css class in left-sidebar.css.
2018-01-07 10:04:35 -05:00
Cynthia Lin
c82e73e0c9
org settings: Improve design of User groups page.
2018-01-06 11:50:52 -05:00
Cynthia Lin
5b70bb80b1
org settings: Add typeahead to user group member inputs.
...
Fixes #165 .
2018-01-06 11:50:52 -05:00
Cynthia Lin
58d37702a4
org settings: Add functionality for updating data of user groups.
2018-01-06 11:50:52 -05:00
Cynthia Lin
48f7e8c0d0
org settings: Add functionality for saving state of edited user groups.
2018-01-06 11:50:52 -05:00
Cynthia Lin
d6a937aa2a
org settings: Add functionality for adding/removing users from groups.
2018-01-06 11:50:52 -05:00
Cynthia Lin
a8c20876b9
org settings: Add user group save functionality for editing groups.
2018-01-06 11:50:52 -05:00
Cynthia Lin
7da0c126e4
org settings: Add user group deletion functionality.
2018-01-06 11:50:52 -05:00
Cynthia Lin
168e7bb2d6
org settings: Add user group creation functionality.
2018-01-06 11:50:52 -05:00
Cynthia Lin
8c8cd5fbf1
org settings: Render user group data dynamically.
2018-01-06 11:50:52 -05:00
Cynthia Lin
83706e1bcd
org settings: Add User groups content and design.
2018-01-06 11:50:52 -05:00
Cynthia Lin
7790e2b23c
org settings: Add framework for User groups page.
2018-01-06 11:50:52 -05:00
YJDave
d80d5a2443
stream settings: Restore original stream name in UI on error.
...
Update stream-name-editable span in UI if it throws error
changing stream name.
2018-01-04 16:52:54 -05:00
YJDave
de13dd41c2
stream narrow: Set message if narrows to never-subscribed private stream.
...
If user narrows to never-subscribed private stream, display
nonsubbed_private_nonexistent_stream_narrow_message.
2018-01-04 16:52:54 -05:00
YJDave
6a94b33eb0
stream membership: Display add-subscribers option only if user can add.
...
Display add-subscribers-to-stream option only if stream is
public or user is subscribed to private stream.
2018-01-04 16:52:54 -05:00
YJDave
31cfd16f85
stream settings: Update subscription-btn display instant.
...
If user unsubscribe from private stream, then immediately remove
subscription option from settings.
2018-01-04 16:52:54 -05:00
YJDave
7ccaf2dc48
stream settings: Hide subscribe/unsubscribe as needed.
...
For public stream, always show subscription option.
For private stream, if user is subscribed display unsubscribe option.
If user is not subscribe, do not display subscription option.
2018-01-04 16:52:24 -05:00
YJDave
690e82e624
stream settings: Display edit icon only if user is allowed to edit.
...
Only show edit option for stream name and description if user is admin and
either stream is public or stream is private and admin is subscribed to
private stream.
As per backend restrictions for editing stream name/description.
2018-01-04 16:47:31 -05:00
YJDave
335bed15ee
org setting: Remove title strings from settings.
...
Fixes #7882
2018-01-04 16:41:05 -05:00
YJDave
2aad083f1f
create stream: Disable announce stream label, not only checkbox.
...
If stream is private, disable announce stream label with checkbox.
2018-01-04 16:37:09 -05:00
YJDave
a870bb3cae
create stream: Remove disabling announce stream, if all users checked.
...
Remove disabling announce stream option in stream creation,
if all users are checked to add into stream.
2018-01-04 16:37:09 -05:00
YJDave
ae25f07c69
create stream: Show notification stream name for announcement.
...
Display stream name in which new stream notification will be announced.
2018-01-04 16:37:09 -05:00
YJDave
bb250f47a6
settings: Apply 'settings-info-icon' style to informational tooltip icons.
2018-01-04 16:37:09 -05:00
YJDave
2124f4c8d9
settings: Add style for settings informational icons.
2018-01-04 16:37:09 -05:00
YJDave
19eef98305
stream setting: Change email address popover placement to right.
2018-01-04 16:25:28 -05:00
YJDave
8c7d4bb5ad
stream setting: Fix bug in email address popover.
...
Email address popover was not showing, because add popover
jquery function was executed before DOM elements get load.
2018-01-04 16:25:28 -05:00
YJDave
f83a694fb6
stream subscription: Clean up error handling.
2018-01-04 16:23:57 -05:00
Steve Howell
11af2a6d0f
minor: Fix typo for muting message.
...
The word "in" was missing.
2018-01-04 11:38:31 -05:00
YJDave
ce43daa236
stream settings: Fix all dead code related to #subscriptions-status.
...
Remove all references of #subscriptions-status and add error handling
of stream settings endpoints.
Fixes #4647
2018-01-04 11:35:37 -05:00
Cynthia Lin
b530ee145f
click_handlers: Include expanded mobile sidebars as popovers.
...
This prevents the sidebars from automatically closing when users
click inside the popover area. Fixes #7896 .
2018-01-04 09:12:07 -05:00
Brock Whittaker
d026ad4678
settings_display: Change two "!" to one.
...
There is an extra exclamation mark in the ui response for changing
the emojiset, which has been removed.
2018-01-03 13:29:49 -05:00
Cynthia Lin
9e060b46d5
portico: Raise z-index of exit button in navigation sidebar.
...
Fixes #7971 .
2018-01-03 11:25:22 -05:00
Alena Volkova
45f0c76c44
settings: Limit the creation of generic bots.
...
This commit adds a setting to limit creation of generic bots
to admins for realms that want that restriction. (Generic
bots, apart from being considered spammy on some realms,
have less locked down permissions than webhook bots).
Fixes #7066 .
2018-01-02 18:12:22 -05:00
Steve Howell
ec2015ee8c
Extract settings_display.report_emojiset_change().
...
This mostly moves code from server_events_dispatch, but
it also de-duplicates the logic in emoji_success(), and
it does early-return for the "text" case to keep the
function a bit flatter.
2018-01-02 15:13:50 -05:00
Aastha Gupta
daf86eb664
settings: Add "text" option to emoji_set model.
...
We no longer have a special UI setting and model
field ("emoji_alt_code") for saying users want text-only
emojis. We now instead make "text" be a fifth choice
for "emojiset".
Fixes #7406
2018-01-02 14:55:01 -05:00
YJDave
5ff84e97b5
markdown: Add markdown shortcuts.
...
Markdown shorcuts:
ctrl/cmd+b ->insert bold text
ctrl/cmd+i ->insert italic text
ctrl/cmd+l ->insert link
Fixes #5978
2018-01-02 13:48:50 -05:00
YJDave
fa44d2ea69
settings: Remove autoscroll_forever setting.
...
Fixes #6845
2018-01-02 10:35:49 -05:00
Cynthia Lin
c31e148ea8
user docs: Add links back to homepage to the bottom of the sidebars.
2017-12-31 08:08:25 -05:00
Cynthia Lin
20a745390b
user docs: Allow redirection of external URLs in documentation sidebars.
...
Fixes #7916 .
2017-12-31 08:08:25 -05:00
Utkarsh Patil
50be484964
onboarding: Fix error-password overlap bug
...
Apply appropriate spacing between password field and error message.
Fixes : #7796 .
2017-12-30 11:05:39 -05:00
Cynthia Lin
781e8b442f
general UI: Add a description for the message view source icon.
2017-12-30 11:00:44 -05:00
Cynthia Lin
e71970ca46
general UI: Add a description for the message edit icon.
...
Fixes #7745 .
2017-12-30 11:00:44 -05:00
YJDave
dd406e87e9
settings: Check if xhr response text include ':' or not.
...
We join extra text message for notification and xhr response text by ':'.
Before joining, check if xhr response text already include ':', to
prevent notification with more than one ':'.
2017-12-28 15:54:57 -05:00
YJDave
c06028159e
org setting: Clean code of realm domain modal.
...
Remove extra lines for reporting alert messages on modal
and add predefined ui_report functions instead.
2017-12-28 15:54:57 -05:00
Balaji2198
de27142e16
stream settings: Fix link to docs about public/private streams.
2017-12-27 15:04:34 -08:00
Cynthia Lin
5df9011ae5
user docs: Apply highlights to documentation indexes.
2017-12-27 15:15:05 -05:00