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
hackerkid
9aaf175ec6
Move add new default stream box to top.
...
Fixes #4734 .
2017-05-10 16:56:30 -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
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
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
Tim Abbott
a0e276c54a
settings: Fix autocomplete in email change form.
2017-04-28 14:39:18 -07:00
Aditya Bansal
e961d6a834
Clean account-settings.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
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
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
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
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
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
Steve Howell
153c24d071
Remove dead code related to bot/stream settings.
...
We had never-enabled code to allow users to set default
streams for their bots (for event registration, default sending, etc.).
This commit removes the code.
2017-04-07 15:20:12 -07:00
digi0ps
a935325420
settings: Fix positioning of user upload spinner.
...
Previously the "Uploading" text was floating outside the upload
widget.
Fixes #4223 .
2017-04-05 12:22:15 -07:00
Brock Whittaker
5501dafd2f
settings: Fix avatar settings 'float' property.
...
This fixes the float of the avatar box so it does not visually
extend past the .settings-section container.
2017-04-04 17:53:40 -07:00
Harshit Bansal
0605a9fb0f
templates: Rename `admin-alias-list.handlebars`.
...
Rename `admin-alias-list.handlebars` to
`admin-realm-domains-list.handlebars`.
Fixes : #3145 .
2017-04-04 15:48:03 -07:00
Harshit Bansal
885ec07192
frontend: `realm_alias` to `realm_domain` migration.
...
* Change the classes and ids of different widgets and modals
and make suitable changes in `admin.js`.
* Remove any other occurrences of `alias` or `realm_alias`
from admin.js.
2017-04-04 15:48:03 -07:00
Yago González
2f5addc174
i18n: Add missed strings.
2017-03-27 14:30:28 -07:00
Yago González
58880b6695
frontend: Remove unnecessary punctuation.
2017-03-27 14:30:28 -07:00
Harshit Bansal
d17b759fa2
admin: Display last active time of users in admin users table.
...
Fixes : #2097 .
2017-03-27 13:39:47 -07:00
K.Kanakhin
234a1f8e61
retention-period: Add retention period to front-end admin organization settings.
...
- Add message retention period field to organization settings form.
- Add css for retention period field.
- Add convertor to not negative int or to None.
- Add retention period setting processing to back-end.
- Fix tests.
Modified by tabbott to hide the setting, since it doesn't work yet.
The goal of merging this setting code now is to avoid unnecessary
merge conflicts in the future.
Part of #106 .
2017-03-25 17:57:18 -07:00
Ayush Jain
bddcfb1c96
Add realm-level settings to control inline image and url preview.
...
This gives users more control in case they don't want previews,
especially for the "previews of linked websites" feature.
Fixes : #2640 .
2017-03-21 15:46:17 -07:00
Sarah Stringer
aa880b0419
Add organization description field to realm settings.
...
This adds an organization description field to the Realm model, as well as
an input field to the organization settings template. Added three tests.
Set the max length of the field to 100 characters.
Fixes #3962 .
2017-03-19 14:05:01 -07:00
Amala Deshmukh
e1624fae0b
settings: Explain that users can spell their name how they like.
...
Fixes #2944 .
2017-03-17 14:53:20 -07:00
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
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
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
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
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
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
1863ce41f1
capitalization: Fix Delete Avatar.
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
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
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
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
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
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
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
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
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
Tim Abbott
7a76f3dcc8
settings: Redesign the account settings template.
...
This is technically part of the settings page redesign in the next
commit, but it's probably useful to keep separate, since it touches
totally different code.
2017-02-09 23:33:28 -08:00
Tim Abbott
64ec7e236d
settings: Add missing data-name for auth methods template.
2017-02-08 23:21:21 -08:00
Tim Abbott
febfb1844d
settings: Move auth methods template to settings/ subdirectory.
2017-02-08 23:21:21 -08:00
Tim Abbott
6aea77403d
settings: Add data-name entries for administration pages.
2017-02-08 23:11:31 -08:00