Cynthia Lin
589551b6ee
settings: Change "Custom alert words" to "Alert words".
2017-03-15 11:25:37 -07:00
Rishi Gupta
ddd0b854f9
Remove references to page_params.domain.
...
Continuation of 098797c
, which removed the page_params.domain field.
2017-03-14 17:17:42 -07:00
Raghav Jajodia
b0e2c4ffee
settings: refactor code to hide "Email Change" button.
...
Previously, the code to hide "Change email" button on page load when
email changes are disabled was present in settings.js using jquery to
hide the button. Now, the show/hide is handled in the account-settings handlebars.
2017-03-14 14:43:35 -07:00
Raghav Jajodia
ef7e15ee00
admin: Add realm option to prevent users from changing their name.
...
A realm option to prevent users from changing their name is added.
Fixes #3950 .
2017-03-14 14:10:08 -07:00
adnrs96
43b19a6997
Clean user_presence_row.handlebars to use 4 space indents.
2017-03-10 11:07:49 -08:00
adnrs96
ccec320f1d
Clean stream_sidebar_actions.handlebars to use 4 space indents.
2017-03-10 11:07:49 -08:00
adnrs96
ebf3eaf9ae
Clean stream_member_list_entry.handlebars to use 4 space indents.
2017-03-10 11:07:49 -08:00
adnrs96
d9a0fcc931
Clean tutorial_message.handlebars to use 4 space indents.
2017-03-10 11:07:49 -08:00
adnrs96
e08d28bd0f
Clean email_address_hint.handlebars to use 4 space indents.
2017-03-10 11:07:49 -08:00
adnrs96
11418ed9c8
Clean draft_table_body.handlebars to use 4 space indents.
2017-03-10 11:07:49 -08:00
adnrs96
bf577297c7
Clean tab_bar.handlebars to use 4 space indents.
2017-03-10 11:07:49 -08:00
Harshit Bansal
c6681917c1
settings: Add UI to allow a user to reactivate his own bots.
...
Using this UI, a user can now reactivate the bots owned by him.
Until now if a bot was deactivated, there was no way to use the
old bot's original email address. But now they can be reactivated
and their email can be reused.
Fixes : #1183 .
2017-03-10 10:59:49 -08:00
Harshit Bansal
0dbca4a3c3
settings: Display all the bots owned by an user.
...
Add UI to display all the bots owned by an user whether active
or inactive in "Your Bots" section.
2017-03-10 10:59:49 -08:00
Harshit Bansal
876d7bbcdc
settings: Rename `bots_list` to `active_bots_list`.
2017-03-10 10:59:49 -08:00
Tim Abbott
900891b072
settings: Rename settings-status to account-settings-status.
2017-03-10 10:53:06 -08:00
Raghav Jajodia
05f0d1953b
account-settings: Removed 'Updated settings' message from admin.
...
The 'Updated Settings' message we get at the bottom
of admin-page when we change the name is removed.
Fixes #3815 .
2017-03-10 10:53:06 -08:00
Kanak Garg
5023b69ca5
stream settings: Add "View Stream" button.
...
This adds a button to #subsciption page called "View Stream"
that narrows the user to that particular stream.
This fix involves typical changes to JS/CSS to add new features,
and we also add a "preview_url" field to the sub object in
stream_data.js.
Fixes #3878
2017-03-10 08:26:57 -08:00
Raghav Jajodia
c17e574211
Remove product_name setting and return to harcoding 'Zulip'.
...
This removes some confusion in grep for frontend strings with Zulip in
them and also cleans up the code in some places.
Fixes #1602 .
2017-03-09 21:48:15 -08:00
Saurav Pratihar
9ab4b3b6cc
topics: Add tooltip showing full topic name in left sidebar.
...
This is useful if the topic name is too long and thus is cut off for
display purposes.
Fixes #3979 .
2017-03-09 11:12:32 -08:00
adnrs96
621e0749dc
Clean subscription_table_body.handlebars to use 4 space indents.
2017-03-09 01:17:25 -08:00
adnrs96
46ea4ea05f
Clean subscription_stream_privacy_modal.handlebars to use 4 space indents.
2017-03-09 01:17:25 -08:00
adnrs96
8b164b57ad
Clean muted_topic_ui_row.handlebars to use 4 space indents.
2017-03-09 01:17:25 -08:00
adnrs96
25c656a6cc
Clean message_reaction.handlebars to use 4 space indents.
2017-03-09 01:17:25 -08:00
adnrs96
33a8aa7bf2
Clean bot_owner_select.handlebars to use 4 space indents.
2017-03-09 01:17:23 -08:00
adnrs96
f5afcb5a4b
Clean topic_edit_form handlebar to use 4 space indents.
2017-03-09 01:17:23 -08:00
Rafid Aslam
1143a2d8c4
attachment: Add file icon to the green box when file has no extension.
...
Fixes #3848 .
2017-03-09 00:56:37 -08:00
Tim Abbott
84d4f62abf
lint: Exclude Acme placeholders from translations.
...
These strings represented a small waste of time for our translators.
2017-03-09 00:38:15 -08:00
Tim Abbott
cc07190fdc
capitalization: Clean up failed message sending options.
2017-03-09 00:36:13 -08:00
Tim Abbott
3b59e6c3cc
subs: Rename /#subscriptions to /#streams.
...
Fixes #3653 .
2017-03-08 16:57:58 -08:00
Rishi Gupta
5cfd1e1266
bot settings: Change placeholder from bot_user_name to cookie.
2017-03-08 16:26:13 -08:00
Rishi Gupta
3797fa657e
Change bot domains to string_id.EXTERNAL_HOST.
...
Change applies to both subdomains and non-subdomains case, though we use
just the EXTERNAL_HOST in the non-subdomains case if there is only 1 realm.
Fixes #3903 .
2017-03-08 16:26:13 -08:00
Umair Khan
523f8ecd79
capitalization: Fix Upload New Avatar.
2017-03-08 12:33:37 -08:00
Umair Khan
3dd823b0af
capitalization: Fix Stream Name.
2017-03-08 12:33:36 -08:00
Umair Khan
fdb709d0b7
capitalization: Fix No Drafts.
2017-03-08 12:29:07 -08:00
Umair Khan
9faf73eaa9
capitalization: Fix Generate new API Key.
2017-03-08 12:29:07 -08:00
Umair Khan
569418f0b4
capitalization: Fix Full Bot Name.
2017-03-08 12:29:07 -08:00
Umair Khan
7d398f4ce3
capitalization: Fix Exit Tutorial.
2017-03-08 12:29:07 -08:00
Umair Khan
7420d77cc3
capitalization: Fix Edit User.
2017-03-08 12:29:07 -08:00
Umair Khan
1863ce41f1
capitalization: Fix Delete Avatar.
2017-03-08 12:29:07 -08:00
Umair Khan
a67b405f3b
capitalization: Fix Delete Alert Word.
2017-03-08 12:29:07 -08:00
Umair Khan
780e3d8d12
capitalization: Fix Deactivate Account.
2017-03-08 12:29:07 -08:00
Umair Khan
6728d212a6
capitalization: Fix Copy from Stream.
2017-03-08 12:29:07 -08:00
Umair Khan
33325d94ab
capitalization: Fix Change Password.
2017-03-08 12:29:07 -08:00
Umair Khan
7973b7ffd2
capitalization: Fix Allow Subdomains.
2017-03-08 12:29:07 -08:00
Umair Khan
0a41c12a07
capitalization: Fix Alert Word.
2017-03-08 12:29:06 -08:00
Umair Khan
0d31bcc2f7
capitalization: Fix API Key.
2017-03-08 12:29:06 -08:00
Brock Whittaker
4d5aa3ddc9
Restyle and refactor .message_controls for better UX.
...
This refactors the .message_controls to stop relying on absolute
positioning and strange CSS, and throws them inline.
This also restyles so they hang to the right of the time which is now
always present.
Fixes : #3761 .
2017-03-06 22:24:21 -08:00
Steve Howell
a17deb144a
Use data-stream-id in topics popover.
2017-03-05 15:44:44 -08:00
Steve Howell
6630b84dc0
Remove data-stream-name from subscription_settings.
2017-03-05 15:44:43 -08:00
Tim Abbott
60b6a56da8
deps: Upgrade handlebars to latest version.
...
Fixes #3939 .
2017-03-04 22:05:23 -08:00
Raghav Jajodia
cd2d798498
admin: Added realm option to prevent users from changing their email.
...
A realm option to prevent users from changing their email address is added.
Fixes #3777 .
2017-03-04 17:32:48 -08:00
hackerkid
2f073d9999
Remove sender name from message info action lines.
2017-03-04 16:25:29 -08:00
hackerkid
dafee5abe5
Remove timestamp from message info popover.
2017-03-04 16:25:29 -08:00
Sourav Badami
4616ee7762
Enable display of emoji as their alt codes in reactions.
...
This currently only supports this in emoji reactions, not in actual
emoji in message bodies, but it's a great start for people who want a
text-only view.
Tweaked to update the text by tabbott.
Fixes #3169 .
2017-03-03 15:19:34 -08:00
Pranjay Patil
8b003aa48d
alert-words: Fix broken alert word UI.
...
This fixes the alert word UI in settings by updating the CSS property
referenced in the alert_word_settings_item.handlebars file.
Fixes #3823
2017-03-01 11:54:17 -08:00
Tim Abbott
49687272a9
bots: Fix indentation in bot_avatar_row.handlebars.
2017-02-28 20:02:23 -08:00
Brock Whittaker
b8f2685b18
Change bots actions to sidebar.
...
This changes the bot actions to a sidebar that resides in the settings
overlay.
2017-02-28 20:02:23 -08:00
Brock Whittaker
e9e722d48b
Restyle individual bots.
...
This restyles the individual bots to be in a grid and to look more
modern than the last setup.
2017-02-28 20:02:23 -08:00
Brock Whittaker
def5323ef4
Restyle subscriber list in subscription settings panel.
...
This restyles the subscriber list in the subscription settings panel to
have a more padded and lighter aesthetic and replaces the dark red
buttons with transparent buttons that have only red borders and inner
text.
2017-02-28 16:47:15 -08:00
Steve Howell
339c9ad43b
Remove unused my_fullname HTML class.
2017-02-28 16:26:01 -08:00
Steve Howell
bcfc3060c9
Remove unused device-related code in activity list.
...
This speeds up rendering big activity lists. When we are ready
to add this back, we should measure the performance impact for
large lists.
2017-02-28 16:26:01 -08:00
Tim Abbott
1656c04517
drafts: Remove unnecessary label capitalization.
2017-02-28 10:10:12 -08:00
Aman Khantaal
f0a9b7e4a1
Drafts: Click on a message will open it for edit.
2017-02-28 10:10:12 -08:00
Harshit Bansal
1948cb6a89
Add UI for changing the bot owners.
...
Add neccesary UI in #administration and #settings for
changing the bot owner. The bot owner select control
is rendered dynamically in order to avoid performance
issues in case of large number of users.
Fixes : #2719 .
2017-02-26 21:39:22 -08:00
Steve Howell
c6069bc9cd
Reformat user_presence_row.handlebars to have 4-space indents.
2017-02-26 16:18:02 -08:00
Tim Abbott
fc56141550
settings: Fix typo in icon upload.
2017-02-26 12:42:58 -08:00
Tim Abbott
4ea997493b
events: Normalize realm_icon events to be standard.
...
This lets us save on semi-duplicate code, both in server_events.js and
in zerver/lib/events.py, and makes our event structure a bit more
predictable.
2017-02-26 12:16:07 -08:00
K.Kanakhin
257bb40698
realm-icon: Add realm icon feature.
...
- Add realm icon fields to realm model.
- Add migration for new realm model's field.
- Add views for icon uploading and deleting.
- Add routes for realm icons views.
- Add JS widget for realm icon upload setting.
- Add realm icon upload to administration
organization setting.
- Add tests for realm icons.
Fixes #3660 .
2017-02-26 12:16:07 -08:00
Tim Abbott
5a204d7c84
subs: Fix capitalization in stream privacy modal.
2017-02-25 18:36:48 -08:00
Tim Abbott
bd03bb76fd
subs: Remove unnecessary data-is-private variable.
2017-02-25 18:33:07 -08:00
Harshit Bansal
f20993787c
subscriptions: Add a modal for changing stream privacy.
...
Change the remaining "Admin settings" with a button, namely
changing a stream's privacy, to instead be a "[Change]" link
opening a confirmation modal.
Fixes : #3493 .
2017-02-25 18:23:15 -08:00
Brock Whittaker
c35d821786
Restyle uploaded files table.
...
This restyles the uploaded files table to be lighter, more minimal, and
easier to parse than the previous table.
2017-02-24 15:05:06 -08:00
Brock Whittaker
0f9a5108fc
settings: Change admin pages to have readonly view for non-admins.
...
This changes the layout of administration for non-administrators such
that they can view organization settings and emoji settings and
displays everything as readonly unless they have the capability to edit.
For now, we just enabled this for the emoji settings and organization
settings features.
2017-02-23 14:20:31 -08:00
Brock Whittaker
5fc0c0b6ac
Fix the styling for drafts.
...
This fixes the appearance for drafts to be uniform with the rest of the
site along with general polishing.
2017-02-23 13:00:56 -08:00
Umair Khan
5bf83f9e0a
change-email: Implement confirmation flow.
...
This adds to Zulip support for a user changing their own email
address.
It's backed by a huge amount of work by Steve Howell on making email
changes actually work from a UI perspective.
Fixes #734 .
2017-02-23 03:15:17 -08:00
Sampriti Panda
1929cc5190
Implement persistent drafts functionality
...
* Created a drafts modal to display/restore/delete drafts
* Created a Draft model to support storing draft data in localstorage
* Removed existing restore-draft functionality
* Added casper and node tests for drafts functionality
Fixes #1717 .
2017-02-23 02:58:23 -08:00
Tim Abbott
e15a661720
accounts: Remove unhelpful avatar size advice.
2017-02-22 22:50:16 -08:00
Brock Whittaker
c7349178f0
Re-add "Delete Avatar" button to "Your account".
...
This re-adds the deleted "Delete Avatar" button back to the
settings/your-account tab view in the overlay, which only appears
if you do not currently have a gravitar.
2017-02-22 22:50:16 -08:00
adnrs96
1458d0d3a2
Clean subscription_creation_form handlebar to use 4 space indents.
2017-02-23 07:14:41 +05:30
adnrs96
cfe57da14b
Clean message_group handlebars to use 4 space indents.
2017-02-23 07:14:41 +05:30
adnrs96
13b7247ae2
Clean invite_subscription handlebar to use 4 space indents.
2017-02-23 07:14:41 +05:30
hackerkid
10324ba592
Change reaction button color when user reacts.
...
This makes it easy to see whether you were one of the people who
reacted to a give message.
2017-02-21 23:09:46 -08:00
Kartik Maji
1a697b6e02
Add frontend to show message edit history.
...
Fixes #268 .
Modified significantly by tabbott to:
* improve code cleanliness / repetition
* add missing translation tags
* move code into message_edit.js
* correspond with the new backend.
* not display the option for messages only topic-edited
2017-02-19 17:41:06 -08:00
aakash-cr7
b72262e8ec
Add UI for seeing all muted topics in settings page.
...
Fixes #2322 .
2017-02-17 00:10:18 -08:00
paxapy
9a5179c460
Add support for managing and deleting attachments.
...
Modified substantially by tabbott to fix tons of issues.
Fixes #454 .
2017-02-16 23:44:44 -08:00
Tommy Ip
abf522adfb
Add styling to distinguish bots from human users in message view.
...
With work by Brock Whittaker and Tim Abbott on rebasing + changing
styling.
Fixes #1107
2017-02-16 17:00:21 -08:00
adnrs96
3361502141
Clean tutorial_subject handlebar to use 4 space indents.
2017-02-16 14:45:09 -08:00
adnrs96
5c2d3dc4b7
Clean tutorial_stream handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
dcc9f8d75b
Clean tutorial_reply handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
049bfff463
Clean tutorial_home handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
66fcc75e5d
Clean topic_sidebar_actions handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
e331288084
Clean sidebar_private_message_list handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
51d0211372
Clean reaction_popover_content handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
45d3eaff5f
Clean new_stream_users handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
71063e806b
Clean message_reactions handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
dc9a7e17c5
Clean message_info_popover_title handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
71951b6995
Clean message_info_popover_content handlebar to use 4 space indents.
2017-02-16 14:45:08 -08:00
adnrs96
4a93a7e9d5
Clean group_pms handlebar to use 4 space indents.
2017-02-17 03:16:46 +05:30
adnrs96
b5507f2de7
Clean bankruptcy_modal handlebar to use 4 space indents.
2017-02-17 03:16:46 +05:30
adnrs96
65f7ba9861
Clean announce_streams_docs handlebar to use 4 space indents.
2017-02-17 03:16:46 +05:30