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
Aditya Bansal
bdcff375ab
Clean deactivated-users-admin.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
4c1b89a2ef
Clean attachment-item.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
e5d57c31b8
Clean muted-topics-settings.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
2a15fa17b9
Clean admin_auth_methods_list.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
c0ca8b10ed
Clean deactivation-stream-modal.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
0e906b683d
Clean realm-domains-modal.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
257b930492
Clean admin-realm-domains-list.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
e21731c1ae
Clean streams-list-admin.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
71c5444b86
Clean alert-word-settings.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Aditya Bansal
b11866c2a8
Clean message_edit_form.handlebars to use 4 space indents.
2017-04-18 12:06:25 -07:00
Tim Abbott
c47dd65c14
Organization settings: Fix 'save changes' button on auth methods.
...
This shouldn't be shown for non-administrators.
2017-04-16 12:21:36 -07:00
Abhijeet Kaur
c9166581fe
Organization settings: Update "organization settings" view-only support.
...
Remove "Save changes" button for non-administrator users.
2017-04-16 12:21:36 -07:00
Abhijeet Kaur
ddfdf0e4c6
Organization settings: "Filter settings" tab view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view "Filter settings".
("Actions" column and form to add a new filter are not available).
Fixes : #3636
2017-04-16 12:21:36 -07:00
Abhijeet Kaur
dc801eb5ed
Organization settings: "Default streams" tab view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view "Default streams" ("Actions"
and the form to add new default stream is not visible).
2017-04-16 12:21:36 -07:00
Abhijeet Kaur
f1e966bfaa
Organization settings: "Bots" tab view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view "Bots" ("Actions"
column is not made visible).
2017-04-16 12:21:36 -07:00
Abhijeet Kaur
3f0e33e498
Organization settings: "Users" tab view-only support.
...
This changes the layout of "organization settings" for
non-administrators such that they can view "Users" (Actions are not
visible).
2017-04-16 12:21:30 -07:00
Tim Abbott
496158c2d7
popovers: Move historical notice to actions popover.
...
This is still kinda ugly, so may need further work, but it at least is
now in a per-message location, not a per-sender-block location.
2017-04-14 17:17:19 -07:00
Raghav Jajodia
09090fa8a6
message_edit: Replace image tag with inline SVG tag for clipboard image.
2017-04-14 14:07:59 -07:00
Raghav Jajodia
ae48eaa90d
single_message: Show "Copied!" success message after copying.
...
As the user clicks the "Copy and close" button, the message_edit
closes and a success message is shown for a few seconds.
2017-04-14 14:07:36 -07:00
Raghav Jajodia
2bb632824e
message_edit: Modify css for hover over 'Copy' button.
...
Replace background-image of copy button with an image
and change color on hover.
2017-04-14 14:01:57 -07:00
Raghav Jajodia
fd5ad3658d
message_edit: Only show "Copy" button for View Source/Topic-edit-only.
...
The "Copy" button will only be shown for "View Source"
or "Topic editing only". Also replaced "Copy to clipboard"
with "Copy and close" to make autoclose less surprising.
Fixes #4238 .
2017-04-14 14:01:57 -07:00
hackerkid
cd5334c827
Show local time of user in user_popover.
2017-04-14 10:38:29 -07:00
hackerkid
15cdd23525
Add option for setting timezone in user display settings.
2017-04-14 10:38:21 -07:00
derAnfaenger
ecf9a50610
Clarify UI description of message retention.
2017-04-14 10:13:34 -07:00