Akhil
1bcc0dbd81
org-settings: Add UI for changing the notifications stream.
...
Added a dropdown in the organization settings page with a search-box and
required styles. Also added an element to disable it. Added a method to
populate the dropdown using list_rendering.js. Also altered response to
the event of deletion of the notifications stream on the frontend. On
selection of a new stream or on clicking 'Disable', a patch request is
made with stream-id to /json/realm.
Fixes : #3708 .
2017-06-15 04:08:29 -07:00
Akhil
ff9a929d7a
typeahead: Remove highlighting and add common template.
2017-06-13 16:16:17 -04:00
hackerkid
648b2823bb
Show user presence and last seen status in user popover.
2017-06-11 07:09:21 -05:00
Harshit Bansal
643936454e
alert_words_ui: Convert error message alert to status message alert.
...
Convert the error message alert to a status message alert which can be
used to display the status of any operation performed.
2017-06-09 15:23:53 -07:00
Harshit Bansal
b0d7d05ef6
alert_words_ui.js: Move the error message to the top.
2017-06-09 15:23:53 -07:00
Brock Whittaker
5606435a90
components: Make button component styles sensible.
...
This removes the old base button style which was a blue button and
kills the unnecessary .white class which was essentially just acting as
the new button base.
This then removes all references throughout the settings/subscriptions
pages to those button styles.
This also fixes the strange button styles that changed the :hover and
:active opacity to 0.05 which led to unpredictable results on various
backgrounds.
2017-06-08 17:09:31 -07:00
Aditya Bansal
b5d5e6f9b5
topic_sidebar_actions.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:28 -07:00
Aditya Bansal
2d6101bf8c
topic_list_item.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:28 -07:00
Aditya Bansal
293abb275c
subscription_table_body.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:28 -07:00
Aditya Bansal
8d9cb3aa71
subscription_stream_privacy_modal.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:27 -07:00
Aditya Bansal
7e71bf6f2f
subscription_creation_form.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:27 -07:00
Aditya Bansal
b24e3ce0f0
attachment-item.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:27 -07:00
Aditya Bansal
a02937e3b4
new_stream_users.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:27 -07:00
Aditya Bansal
a204407983
message_reactions.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:27 -07:00
Aditya Bansal
88c68073fa
message_edit_form.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:27 -07:00
Aditya Bansal
82e8b4a5ae
invite_subscription.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:27 -07:00
Aditya Bansal
226b41c62e
actions_popover_content.handlebars: Upgrade font-awesome icon style.
2017-06-08 14:07:27 -07:00
Sarah
9ebb503340
settings_notifications.js: Save notification settings on change.
...
Refactor settings_notifications to save each setting on change.
Fixes #3264 .
2017-06-07 13:39:27 -07:00
Harshit Bansal
0aaf434176
settings/bots: Fix broken tooltip.
2017-06-07 13:24:07 -07:00
Abhijeet Kaur
60ff82ed7c
bots: Add UI for creating different types of bot.
...
Add 'Type of bot' option for bots by adding dropdown option in
settings->"Your bots". For now, this allows creating incoming webhook
bots in addition to default bots.
This will enable users to add a bot as an incoming webhook
(in addition to add full-featured bots).
With various minor tweaks and cleanups by tabbott.
Fixes #2186 .
2017-06-06 21:11:22 -07:00
Jack Zhang
84e5fe733c
message-editing: Show date lines between edits from different days.
...
Added show_date_row field to each item of content_edit_history.
We use date lines to separate events that happened on different days.
Fixes #4638 .
2017-06-06 11:04:30 -07:00
Cynthia Lin
8e0b1bec9d
bookend: Remove .sea-green class for Unsubscribe state.
2017-06-06 08:31:09 -07:00
Cynthia Lin
11e68606b4
design: Improve design of Subscribe/Unsubscribe buttons in message view.
...
Tweaked by tabbott to use an existing button style.
Fixes #5196 .
2017-06-05 16:55:56 -07:00
Tim Abbott
235bf65668
bookend: Only show bookend buttons in trailing bookends.
...
Apparently, this template was just always missing this check.
Fixes #5237 .
2017-06-05 16:27:57 -07:00
Tim Abbott
113b64ad4b
bookend: Add missing i18n tags on bookends.
2017-06-05 16:27:57 -07:00
Cynthia Lin
b561b19d24
settings: Add notice for non-admin users about read-only access.
...
With contributions from Brock Whittaker and Tim Abbott.
Fixes #5165 .
2017-06-05 15:41:36 -07:00
Vaida Plankyte
5fe7ed8afa
settings: Make notification settings header consistent.
...
Fixes #5172 .
2017-06-05 10:37:05 -07:00
Tim Abbott
eb25c6be87
user_info_popover: Fix incorrect icon for sending a private message.
...
Thanks to Nash Vail for noticing this issue.
2017-06-04 09:57:55 -07:00
K.Kanakhin
2434f2d96c
messages: Add support for admins deleting messages.
...
This makes it possible for Zulip administrators to delete messages.
This is primarily intended for use in deleting early test messages,
but it can solve other problems as well.
Later we'll want to play with the permissions model for this, but for
now, the goal is just to integrate the feature.
Note that it saves the deleted messages for some time using the same
approach as Zulip's message retention policy feature.
Fixes #135 .
2017-05-29 21:59:38 -07:00
Harshit Bansal
7126f6f30c
settings: Allow either admin or realm emoji author to delete it.
...
If a realm is configured to allow any user to upload a realm emoji
then that user should also be allowed to delete the emoji in case
he feels it doesn't look good or if he uploaded a wrong emoji file.
This commit tweaks the realm emoji settings UI to allow an user who
uploaded an emoji to delete it.
Fixes : #4761 .
2017-05-29 20:21:26 -07:00
Sarah
e304c47970
settings_org: Split out separate forms for orgs settings/permissions/auth.
...
Steve Howell also contributed to this PR.
2017-05-25 14:18:04 -07:00
Sarah
01cb480b2c
settings-org.js: Create property_types object and refactor set_up.
...
Create property_types object for realm settings. In set_up function,
iterate over property_types to find settings that were updated, send those
new values to the server, and report that the changes were made.
2017-05-23 16:32:36 -07:00
Tim Abbott
835f0c9961
HTML: Fix duplicate useless IDs in message_edit_form.
...
These ID elements in the message edit forms were never used, and were
they used, would have been broken anyway. We fix this by just
removing them.
Fixes #4913 .
2017-05-22 18:40:21 -07:00
Steve Howell
e00f9f3dcb
Split out Organization Permissions page.
2017-05-18 12:37:03 -07:00
Tim Abbott
e12d3100db
settings: Fix whitespace leak in organization description.
...
Previously, the way the organization description textarea was
generated, there'd be a newline and ~12 spaces added each time on
reloaded the page and hit "save changes".
This change makes it so that the organization description only changes
when the user actually changes it.
2017-05-17 12:11:10 -07:00
Brock Whittaker
ed767481f5
settings: Clean up organization and user settings pieces.
...
This cleans up the styling of the organization and the user settings
components to be more responsive and have more consistent styling with
the rest of the overlays.
2017-05-17 12:08:31 -07:00
Tim Abbott
00c7f7d42f
Remove date separators from the top of the message feed.
...
Now that we have the date visible in the recipient rows, we no longer
need a top-of-feed date separator.
Fixes #4581 .
2017-05-16 14:47:04 -07:00
Tim Abbott
2007144c23
css: Fix arrangement of streams in new user invitations.
...
Previously, they were line-wrapped in an ugly fashion.
2017-05-15 20:43:24 -07:00
digi0ps
6f7b973d3b
settings: Fix error handler for Default Streams.
...
Updates the error handler code to be consistent with how errors
are displayed everywhere else.
2017-05-15 20:34:45 -07:00
digi0ps
63587d6b70
settings: Add submit button for Default Stream form.
2017-05-15 20:34:17 -07:00
Aditya Bansal
debcf507bd
Clean organization-settings-admin to use 4 space indents.
2017-05-15 11:51:21 -07:00
Aditya Bansal
8530997542
Clean default-streams-list-admin to use 4 space indents.
2017-05-15 11:51:21 -07:00
Tim Abbott
f25d7dd721
settings: Fix spelled of muted topics message.
2017-05-12 12:38:29 -07:00
Aditya Bansal
33f3d773b0
Clean user-list-admin to use 4 space indents.
2017-05-12 12:23:01 -07:00
Aditya Bansal
0c39a45d72
Clean bot-list-admin to use 4 space indents.
2017-05-12 12:23:01 -07:00
Brock Whittaker
f1a7db2503
Add placeholders to all empty lists.
...
This adds placeholders that state that the lists are empty.
2017-05-11 17:49:27 -07:00
Brock Whittaker
e294035c93
Fix table display.
...
This fixes the way that tables display across the settings page,
so that the buttons shouldn't collapse to the second line anymore.
2017-05-11 17:49:26 -07:00
Brock Whittaker
478011c0af
Remove headers from templates.
2017-05-11 17:49:26 -07:00
Tim Abbott
223624be25
settings: Add support for longer, markdown-powered realm descriptions.
...
This makes it possible to create much prettier login pages.
Further work on styling may be necessary.
2017-05-11 13:59:46 -07:00
Steve Howell
958ed20a0f
Only render one stream at a time for editing.
...
We used to render the subscriptions_settings template for every
stream when you loaded "Manage Streams," which can be very slow
for a big realm. Now we only render the right pane on demand.
2017-05-11 08:46:52 -07:00
hackerkid
9aaf175ec6
Move add new default stream box to top.
...
Fixes #4734 .
2017-05-10 16:56:30 -07:00
Mahim Goyal
a2adcfd7fc
popovers: Add direct copy to clipboard link feature.
...
Change the onClick function of copy link of
conversation to actually copy the link to clipboard.
Fixes : #4621 .
2017-05-09 09:59:23 -07:00
Tim Abbott
d3c05eaf42
templates: Fix alignment issue deactivated users table.
2017-05-05 14:14:37 -07:00
Brock Whittaker
8c715a79b9
Change admin active users list to render progressively.
2017-05-05 14:14:37 -07:00
Brock Whittaker
1a8a8b6d0c
Change admin bots list to render progressively.
2017-05-05 14:14:37 -07:00
Brock Whittaker
db40d62092
Change admin streams list to render progressively.
2017-05-05 14:14:37 -07:00
Brock Whittaker
0e4f2f732d
Change admin default streams list to render progressively.
2017-05-05 14:14:37 -07:00
Brock Whittaker
6c3606cf36
Change admin deactivated users table to render progressively.
2017-05-05 14:14:37 -07:00
Brock Whittaker
2fafc6bec5
Change streams subscriber lists to render progressively.
2017-05-01 16:56:54 -07:00
Brock Whittaker
f599b517d3
Switch checkbox styling to new style in #invite.
...
The checkboxes in invite are now converted in this commit to the new
style.
2017-05-01 16:01:36 -07:00
Brock Whittaker
3ff55034fe
admin: Restyle administration checkboxes to match new style.
...
This restyles the administration checkboxes to look similar to those
that are currently present in the settings section.
2017-05-01 16:01:36 -07:00
K.Kanakhin
f13d6a18eb
realm-emoji: Add realm emoji uploading instead url providing.
...
- Add file_name field to `RealmEmoji` model and migration.
- Add emoji upload supporting to Upload backends.
- Add uploaded file processing to emoji views.
- Use emoji source url as based for display url.
- Change emoji form for image uploading.
- Fix back-end tests.
- Fix front-end tests.
- Add tests for emoji uploading.
Fixes #1134
2017-05-01 14:50:20 -07:00
Jack Zhang
df817f12f4
emoji: Rename reaction-popover to emoji-popover.
...
The name emoji-popover should now be more appropiate, as there's no more
need to distinguish between reacting to messages and composing messages.
2017-04-30 15:15:33 -07:00
Jack Zhang
a9505654da
emoji: Replace the old compose emoji picker with the reactions picker.
...
This removes the old compose emoji picker in its entirety, changing
the few callbacks needed to launch the reactions-style emoji picker
instead and hook it up properly.
Callbacks for reactions and composing messages are distinguished by
selecting for, respectively, the .reaction and .composition classes.
Fixes #4122 .
2017-04-30 15:14:42 -07:00
Jack Zhang
58a92a0eff
emoji: Extend reaction_popover_content template for compose.
2017-04-30 15:09:43 -07:00
Aditya Bansal
cab87fef2a
Refactor: Extract default-language-modal to be a partial.
...
We are doing this refactor for the sake of keeping our template
consistent with the indentation policy and maintaining its
readability at the same time.
2017-04-29 08:35:25 -07:00
fionabunny
d3e7e6542a
home.py: move user_profile full_name to register_ret.
...
Move the user_profile data section down into fetch_initial_state_data
so it entirely pulls from register_ret for #3853 .
2017-04-28 23:31:28 -07:00
Tim Abbott
df8f4a837c
home: Get page_params.enable_desktop_notifications from register_ret.
2017-04-28 23:15:35 -07:00
Tim Abbott
c4eeb13353
account-settings: Always display the medium-size avatar.
2017-04-28 23:09:32 -07:00
Tim Abbott
2a16cc1d24
home: Get enable_stream_desktop_notifications from register_ret.
2017-04-28 22:01:46 -07:00
Tim Abbott
2a8a101fe2
home: Get page_params.enable_stream_sounds from register_ret.
2017-04-28 21:56:58 -07:00
Tim Abbott
30db811167
home: Get page_params.enable_sounds from register_ret.
2017-04-28 21:54:05 -07:00
fionabunny
b7c6d46bf9
home.py: move password_auth_enabled as realm_password_auth_enabled.
...
Part of #3853 .
2017-04-28 21:23:48 -07:00
Cory Lynch
e972453a73
message edit: Remove Topic and Content labels.
...
Removed the components from the template and
cleaned up the relevant css.
Fixes #4562
2017-04-28 20:57:06 -07:00
Tim Abbott
a0e276c54a
settings: Fix autocomplete in email change form.
2017-04-28 14:39:18 -07:00
Cory Lynch
ba7b7a9a36
Change edit_message_content to have unique IDs for different messages.
...
Fixes bugs of when multiple messages are being edited simultaneously.
Specifically, typeahead is no longer broken, copying messages to clipboard
is less buggy, and resizing is no longer
broken when multiple messages are being edited.
2017-04-28 12:15:34 -07:00
Aditya Bansal
e961d6a834
Clean account-settings.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
6f49579e65
Clean actions_popover_content.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
acef0b1f32
Clean bot_avatar_row.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
ae2585ac8d
Clean admin_user_list.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
af880b8bab
Clean ui-settings.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
73cd6948de
Clean realm-filter-settings-admin.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
d5bb128f56
Clean notification-settings.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
338c2d618a
Clean display-settings.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
a2d0976002
Clean deactivation-user-modal.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Aditya Bansal
4219bec14f
Clean auth-methods-settings-admin.handlebars to use 4 space indents.
2017-04-26 00:16:22 -07:00
Brock Whittaker
c506a92d05
left-sidebar: Restyle to have new look.
...
This restyles the color swatches to either be locks or hashes,
and changes the notifications to be rounded rather than squared.
2017-04-25 17:47:36 -07:00
digi0ps
8fb9d2bff3
settings: Redesign settings/administration panel buttons.
...
This redesigns all the ugly bold-colored buttons in the settings and
administration pages.
2017-04-25 16:33:59 -07:00
Harshit Bansal
6cb03ea78e
frontend: Add UI necessary to change emoji set.
...
Note that this code is disabled until the infrastructure for the
feature can be finished.
Tweaked by tabbott to use slightly cleaner names for the various sets.
2017-04-24 22:31:30 -07:00
Brock Whittaker
323ff6edca
/me: Fix presentation and markup for /me statuses.
...
This fixes the /me elements to be display inline-block and inline
rather than display block with top and left properties.
This also fixes an unrelated issue with emoji reactions not being
able to be clicked on with /me messages.
Fixes : #4218 .
2017-04-20 14:36:17 -07:00
Joshua Pan
c6d0e49cdf
Add tabindex to reaction popover content handlebars.
2017-04-18 22:31:08 -07:00
Aditya Bansal
065dd9ae10
Clean emoji-settings-admin.handlebars to use 4 space indents.
2017-04-18 12:06:31 -07:00
Aditya Bansal
1f09e38101
Clean bot-settings.handlebars to use 4 space indents.
2017-04-18 12:06:30 -07:00
Aditya Bansal
c12f93efc4
Clean stream_privacy.handlebars to use 4 space indents.
2017-04-18 12:06:28 -07:00
Aditya Bansal
c98cf5ba63
Clean message_edit_history.handlebars to use 4 space indents.
2017-04-18 12:06:28 -07:00
Aditya Bansal
23f8ec9759
Clean single_message.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
5f7c89b087
Clean stream_sidebar_row.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
83da92c316
Clean recipient_row.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
0494944f3f
Clean draft.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
face3562af
Clean subscription_settings.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00