Shubham Dhama
98e6b287b5
zjquery: Implement empty function for when there is no argument.
2018-07-03 08:48:49 -04:00
Shubham Dhama
617c79545a
widgets: Extract function for current list update on narrow deactivation.
2018-07-03 08:48:49 -04:00
Steve Howell
1fdfe11e8b
node tests: Add tests for voting_widget.js.
...
This first commit starts by testing handling of
inbound data.
2018-07-02 13:46:30 -04:00
Jack Zhang
456c8fed83
user-docs: Remove save-changes macro from configure-mobile-notifications.md.
...
The instruction to click a 'Save changes' button is incorrect, the
account settings UI automatically saves changes.
2018-07-02 10:40:11 -07:00
Jack Zhang
69fd8f2896
user-docs: Remove save-changes macro from configure-email-notifications.md.
...
The instruction to click a 'Save changes' button is incorrect, the
account settings UI automatically saves changes.
2018-07-02 10:40:11 -07:00
Jack Zhang
66a37558d4
user-docs: Remove save-changes macro from configure-email-digest-notifications.md.
...
The instruction to click a 'Save changes' button is incorrect, the
notifications settings UI automatically saves changes.
2018-07-02 10:40:11 -07:00
Jack Zhang
22cc3f9d74
user-docs: Remove save-changes macro from change-a-users-name.md.
...
The instruction to click a 'Save changes' button is incorrect, the
account settings UI automatically saves changes.
2018-07-02 10:40:11 -07:00
Rhea Parekh
7c7e3dcd3f
slash commands: Add /settings command.
2018-07-01 20:32:36 -04:00
Rhea Parekh
fdef1d8d91
zcommand: Raise error when command doesn't begin with a slash.
2018-07-01 20:32:36 -04:00
Rhea Parekh
b22d266667
widgets: Add question for poll widget in the message itself.
...
Use the command '/poll question?', to start a question.
2018-07-01 19:56:19 -04:00
Rhea Parekh
784e7249a5
widgets: Add question in the poll widget itself.
...
The user can also edit the question after adding it.
The question in the poll can only be added/edited
by the user who started the poll.
The input bar will be disabled for the other users
if the question is not yet added. If the question is
added, the input bar will not be visible to the other
users.
2018-07-01 19:56:19 -04:00
Rhea Parekh
3d5cecdad5
widgets: Avoid voting while adding a new option in poll widget.
2018-07-01 19:56:19 -04:00
Rhea Parekh
19725b74d5
widgets: Add basic styling for poll widget.
2018-07-01 19:56:19 -04:00
Lenny Jagielski
b9393387e1
integrations: Fix heroku integration logging.
...
Now, every line in the commit log is properly quoted, but using a
Zulip markdown block quote (rather than just a single `>`).
Fixes : #9792
2018-07-01 12:43:31 -07:00
Eeshan Garg
bf175f6331
webhooks/github: Add support for PR review requests.
...
Fixes : #9732 .
2018-07-01 12:40:45 -07:00
Eeshan Garg
04ed123214
webhooks/github: Be more explicit about unsupported PR events.
...
This was technically a bug. For events that aren't unsupported
intentionally, the control should fall to the line that raises
UnknownWebhookEventType, and shouldn't be handled by anything else.
The events that are intentionally unsupported should be handled
more explicitly.
2018-07-01 12:40:45 -07:00
Rhea Parekh
2673a7f71f
widgets: Add basic styling for tictactoe widget.
2018-07-01 15:09:18 -04:00
Yago González
bba8b88707
api docs: Explain clearly how to create new streams.
...
Tweaked significantly by tabbott to cover this more clearly.
2018-07-01 08:41:37 -07:00
Eeshan Garg
3f40240017
pypi_packages: Upgrade to release 0.5.1.
2018-07-01 08:17:17 -07:00
Yago González
d151f4a234
messages: Allow fetching unedited messages' history.
...
When GETting an unedited message's edit history, the server wasn't able
to reply properly and produced a 500 error.
Now when that happens, we return a message history that only contains
the original message.
2018-07-01 08:16:59 -07:00
Rhea Parekh
838ab2fce5
export: Add variable MESSAGE_BATCH_CHUNK_SIZE in export.py.
...
Also use this variable in slack_data_to_zulip_data.
2018-07-01 07:08:13 -07:00
Rhea Parekh
6b7b6b38ad
slack import: Write messages batch-wise.
...
Messages can be bulky, and storing them in a single
data structure can cause a memory error.
In this commit, the messages are written to a file
batch-wise, thus avoiding the memory error.
2018-07-01 07:08:13 -07:00
Rhea Parekh
7f6c174099
slack import: Add 'id_list' field in channel_message_to_zerver_message.
...
The id_list would help to store the associated max ID
state between subsequent calls, which will help
in batch-wise processing of the messages.
2018-07-01 07:08:13 -07:00
Rhea Parekh
af20ef4789
slack import: Save messages within convert_slack_workspace_messages.
...
Previously, the messages where being stored in a output file from
outside the function 'convert_slack_workspace_messages', but
now we store it from the inside the mentioned function.
This will help in processing and saving the messages batch-wise
so as to avoid a memory error.
Reactions are returned separately from 'convert_slack_workspace_messages'
rather than 'message_json'.
Also updated test for 'convert_slack_workspace_messages' and an additional
test for reactions is added.
2018-07-01 07:08:13 -07:00
Rhea Parekh
2f88ca7446
slack import: Import skype and phone data of users.
2018-07-01 07:05:40 -07:00
Tim Abbott
ddc2ef2ce8
docs: Point Docker users to the Docker upgrade docs.
...
The normal instructions don't make sense for the Docker image.
2018-07-01 06:58:44 -07:00
Aditya Bansal
3cf8ba33d8
integrations: Upgrade to use font-awesome 4.7 icon prefixes.
2018-07-01 06:02:10 -07:00
Yago González
9a2036b52a
api docs: Make the Home page more straightforward.
...
Fixes #9854 .
2018-07-01 04:33:04 -07:00
Eeshan Garg
061e760d1e
webhooks: Add Clubhouse integration.
2018-07-01 04:01:17 -07:00
Yashashvi Dave
e7a172293f
user popover: Display name of user instead of id in user-type-custom field.
2018-07-01 02:05:00 -07:00
Yashashvi Dave
554a0773dc
custom fields: Add icon to delete value of date-type-custom-field.
2018-07-01 02:05:00 -07:00
Yashashvi Dave
52b6d0ce9f
custom fields: Add default value choice in choice-type-custom-fields.
...
Add default choice option in choice type of custom profile field.
2018-07-01 02:05:00 -07:00
Yashashvi Dave
aa39b1e28e
custom field: Allow admin to change custom fields order using drag & drop.
...
Using sortablejs library, allow admin to modify custom fields order
in admin settings using drag and drop of custom field list element.
Fixes #9351
2018-07-01 02:05:00 -07:00
Yashashvi Dave
2b478268f3
third: Add sortablejs library.
2018-07-01 02:05:00 -07:00
Yashashvi Dave
a6c03a4738
custom fields: Fix custom fields header not rendering properly.
...
Even when admin removes all custom fields from org, custom
fields header "Profile" doesn't get removed.
Render header "Profile" whenever custom fields data get changed.
2018-07-01 02:03:56 -07:00
Tim Abbott
5f7691b74e
upload: Remove unnecessary use of has_request_variables.
...
All the parameters for this function are parsed in urls.py.
2018-07-01 01:47:03 -07:00
Tim Abbott
19e099c9fc
README: Document support for Debian and Bionic.
2018-07-01 01:47:03 -07:00
Jack Zhang
781e995865
docs: Fix typos in mobile-push-notifications.
2018-06-30 13:48:01 -07:00
Rishi Gupta
89a59422cc
api docs: Fix link to IFTTT.
...
Old link is 404'ing.
2018-06-29 22:40:16 -07:00
Shubham Dhama
9a45e52f75
widgets: Fix empty message_content of "All messages" widgets.
...
Fixes : #9827 .
2018-06-28 14:04:37 -04:00
Eeshan Garg
e1e4d523aa
Replace remaining user-facing occurences of the term "invite-only".
...
Fixes #9611 .
2018-06-27 12:34:29 -07:00
Lyla Fischer
d71bc75a2e
user docs: Add troubleshooting to desktop notifications docs.
2018-06-27 12:22:38 -07:00
Lyla Fischer
d98c2e02b4
user docs: Remove admin-only stream management from member docs.
2018-06-27 11:52:41 -07:00
Akash Nimare
d5e3ab761b
settings: Unify code for setting-panel.
2018-06-27 11:48:50 -04:00
Akash Nimare
00a34fb46a
settings: Remove duplicate code from setting panel.
...
We don't need to update this classes since we have
already added those classes in the setting_panel_menu.js.
2018-06-27 11:48:50 -04:00
Akash Nimare
68cf2b1690
settings: Fix broken setting items in smaller window.
...
Fixes : #9780 .
2018-06-27 11:48:50 -04:00
Akash Nimare
c82734d9c5
streams-settings: Fix toggle icon not updating.
...
This commit fixes a regression which was introduced while
we were removing icon-vector and replacing the same with
font-awesome. We forgot to update the toggle icons from the
JS file.
2018-06-27 11:30:35 -04:00
Shubham Padia
2977a4cb6f
right-sidebar: Narrow pm/group-pm on clicking unread count badge.
...
Fixes #9797 .
Clicking on the unread count badge on the right sidebar did not
narrow the selected pm/group-pm. This commit moves the count div
inside selectable_sidebar_block. Also uses flexbox instead of
inline-blocks for user presences selectable_sidebar_block.
2018-06-27 11:26:24 -04:00
Shubham Padia
3442fde126
sidebar: Fix unread count shifted right in stream list.
...
The reason for the bug was 71e3f778cc
.
This commit makes the width 100% for selectable_sidebar_block only
on the right sidebar, the left sidebar selectable_sidebar_block
width is unset.
2018-06-27 11:26:24 -04:00
Shubham Dhama
238c27eb71
settings: Fix focusing of `your-account` prior complete loading.
...
Fixes : #9686 .
2018-06-27 11:20:54 -04:00