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
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
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
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
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
Tim Abbott
1c8d17b7c9
settings: Extract deactivation-user-modal.handlebars.
2017-02-08 22:53:36 -08:00
Tim Abbott
a28bb77b51
settings: Extract deactivation-stream-modal.handlebars.
2017-02-08 22:53:36 -08:00
Tim Abbott
d9b63dd97c
settings: Extract realm-domains-modal.handlebars.
2017-02-08 22:53:36 -08:00
Harshit Bansal
7d10cbc32b
Add RealmAlias.allow_subdomains to model, frontend, and API.
...
Includes a database migration.
Fixes #1868 .
2017-02-08 22:03:27 -08:00
Yago González
87a7691bfc
translations: Improve some strings.
2017-01-28 18:58:09 -08:00
Tim Abbott
b3cb9213d1
Fix malformed double-translated string in alert words code.
2017-01-28 18:23:56 -08:00
Yago González
7fe090f902
translations: Improve some poorly-worded strings.
2017-01-28 18:04:17 -08:00
Harshit Bansal
b4186fdfdd
views/realm_aliases.py: Use domain instead of id as handle for RealmAlias.
...
We need to make the change for the API, and the next commit introduces a
unique_together constraint on (realm, domain) anyway.
2017-01-26 17:24:25 -08:00
Harshit Bansal
0ff22f68b3
settings.css: Make long domains list wrap properly in admin settings.
2017-01-26 17:24:25 -08:00
Harshit Bansal
f0e5380ff1
handlebar templates: Rename admin_alias_list to admin-alias-list.
2017-01-26 17:24:25 -08:00
Harshit Bansal
38c50a81ad
admin settings: Restyle realm alias modal.
2017-01-26 17:24:25 -08:00
Steve Howell
ee00d848b9
refactor: Eliminate use of page_params.fullname.
...
We now use people.my_full_name().
2017-01-21 21:45:12 -08:00
Tim Abbott
9be76e91dd
Fix capitalization in 'Add a new bot'.
2017-01-16 18:00:10 -08:00
Tim Abbott
c4836bca44
Rename titles for 'Zulip Labs' to 'Experimental settings'.
2017-01-16 18:00:10 -08:00
Tim Abbott
86ddd2277e
Fix capitalization in 'Deactivate your account'.
2017-01-16 18:00:10 -08:00
Tim Abbott
9921f3279f
Fix capitalization in 'Deactivate account'.
2017-01-16 18:00:10 -08:00
Tim Abbott
b68a970018
Fix capitalization and grammar in 'Add a new filter'.
2017-01-16 18:00:10 -08:00
Tim Abbott
1a16c9bd53
Fix capitalization and grammar in 'Delete streams'.
2017-01-16 18:00:10 -08:00
Tim Abbott
6bc1653333
Fix capitalization in 'Create bot'.
2017-01-16 18:00:10 -08:00
Tim Abbott
15b718e2d1
Fix capitalization in 'Your bots'.
2017-01-16 18:00:10 -08:00
Tim Abbott
ee0e4c88bd
Fix capitalization in 'Add new default stream'.
2017-01-16 18:00:10 -08:00
Tim Abbott
45dc2d599c
Fix capitalization in 'Add a new emoji'.
2017-01-16 18:00:10 -08:00
Tim Abbott
8dc96166fd
Fix capitalization in 'Your account'.
2017-01-16 18:00:10 -08:00
Tim Abbott
37e7898303
Fix capitalization in 'Default streams'.
2017-01-16 18:00:10 -08:00
Tim Abbott
572e3565fb
Fix capitalization in 'Add/Custom Alert Word(s)'.
2017-01-16 18:00:10 -08:00
Tim Abbott
1703c0c897
Fix capitalization in 'Select default language'.
2017-01-16 18:00:10 -08:00
Tim Abbott
3667ca8114
Fix capitalization in 'Default language'.
2017-01-16 18:00:10 -08:00
Tim Abbott
e1e7788e67
Fix capitalization in 'Deactivated users'.
2017-01-16 18:00:10 -08:00
Tim Abbott
ab75b41a6f
Fix capitalization in 'Save changes'.
2017-01-16 18:00:10 -08:00
Tim Abbott
2bbad279ae
Fix capitalization in 'Display settings'.
2017-01-16 18:00:10 -08:00
Tim Abbott
0667ae5d26
Fix capitalization in 'Change password'.
2017-01-16 18:00:10 -08:00
Harshit Bansal
ceb636dbd9
Manage allowed domains from admin settings.
...
Fixes : #1867 .
2017-01-06 12:03:31 -08:00
Prabod Rathnayaka
6f087e468e
Add setting hiding private message content in desktop notifications.
...
Tweaked by tabbott to fix a refactoring bug, set the default to True,
fix the real-time sync, and add tests for this.
Fixes #2355 .
2016-12-30 14:10:34 -08:00
Brock Whittaker
71dd9387f8
Removing #full_name IDs.
...
There was a duplicate #full_name ID being added many times in tables.
They should be removed because they are not being called anywhere and
should not exist in multiples.
2016-12-29 16:15:14 -08:00
Brock Whittaker
a9e49338de
Change #name_change_container to class.
...
This changes the selector #name_change_container to a class because
there should never be more than one of an ID.
2016-12-29 16:15:14 -08:00
Harshit Bansal
9931ad1324
Loosen realm filter pattern validator to support Git commit IDs.
...
Specify, we no longer require a prefix.
Also improves the clarity of the examples in the documentation.
Fixes : #2696 .
2016-12-27 20:31:08 -08:00
paxapy
8e7fa6b2de
emoji: Add add_emoji_by_admins_only realm setting.
...
This setting controls whether normal users can add realm emoji.
Fixes #978 .
2016-12-27 15:46:14 -08:00
Igor Tokarev
3cb7d665da
emoji: Display emoji author in admin interface.
...
Fixes : #984 .
2016-12-27 15:45:55 -08:00
JefftheBest1
0e6078fade
Wrapped text in admin user and bot tables.
...
Fixes : #2569 .
2016-12-21 14:55:50 -08:00
Sampriti Panda
425a55e568
settings: Implement delete avatar functionality
2016-12-21 13:35:22 -08:00
vaibhav
75bf501553
Add optional waiting period for users to create streams.
...
This adds support for only allowing normal users with account age
equal or greater than a "waiting period" threshold to create streams;
this is useful for open organizations that want new members to
understand the community before creating streams.
If create_stream_by_admins_only setting is set to True, only admin users
were able to create streams. Now normal users with account age greater
or equal than waiting period threshold can also create streams.
Account age is defined as number of days passed since the user had
created his account.
Fixes : #2308 .
Tweaked by tabbott to clean up the actual can_create_streams logic and
the tests.
2016-12-15 16:54:30 -08:00
Umair Khan
db5d86ab9e
i18n: Title attribute should be translatable.
2016-12-15 13:44:13 -08:00
Tommy Ip
fe4a0e72fc
Add new button to download ~/.zuliprc from settings page.
...
Added new option to download .zuliprc file directly from settings
page. This should help reduce friction when setting up new
bots/integrations. This new feature is available in the bot cards and
the 'show your API key' section. One caveat is that the filename is
automatically set to 'zuliprc' instead of '.zuliprc', since as most
browsers do not allow filenames to start with a dot.
Fixes #2327 .
2016-12-07 21:28:41 -08:00
Brock Whittaker
9f0383520c
settings: Fix Zulip Labs Spacing Issue.
...
This fixes the spacing issue with Zulip Labs not having a space between
the icon.
2016-12-02 14:49:05 -08:00
Brock Whittaker
d8636980ae
settings: Convert bot and alert word settings to use new buttons.
2016-12-02 13:03:43 -08:00
Tim Abbott
b61d6bc251
settings: Use new checkboxes and buttons in display settings.
2016-12-02 13:03:40 -08:00
Tim Abbott
e13a892479
settings: Remove unnecessary outer div from display settings.
2016-12-02 13:03:35 -08:00
Tim Abbott
85d6fdda4d
settings: Use new checkboxes and buttons in UI settings.
2016-12-02 13:03:32 -08:00
Brock Whittaker
51fbe4395d
settings: Use new checkboxes and buttons in notification settings.
2016-12-02 13:03:23 -08:00
Brock Whittaker
2aa9512506
Add data-name to realm filter settings section.
...
This new settings section, was added into master but doesn't have the
correct data-name attribute to be called by the new modal.
2016-12-02 11:56:24 -08:00
Vladislav Manchev
d7e1e4a2c0
Add initial implementation of custom realm filters.
...
This PR was abandoned by Vladislav and then substantially modified by
Igor Tokarev and Tim Abbott to complete it and fix a number of bugs.
Fixes #544 .
2016-11-17 17:11:25 -08:00
Tomasz Kolek
ea58005796
Fix styling in api_key_box section on settings page.
...
Before fix, "Your API key" section was to close left side of the box.
2016-11-15 09:32:10 -08:00
umkay
f4c621ffe3
admin: Enable admins to toggle supported auth methods via UI.
...
Add a table to the administration page that will allow realm admins to
activate and deactivate the supported authentication methods for that
realm.
2016-11-06 16:29:35 -08:00
Brock Whittaker
bdd20f6b8b
settings: Fix Zulip Labs Spacing Issue.
...
This fixes a spacing issue with Zulip Labs not having a space before
the icon.
2016-10-25 16:59:08 -07:00
Tomasz Kolek
4790316b57
Add user setting option to always send push notifications.
...
Add option in user's settings for getting mobile push notifications
even if a Zulip browser is online. Default is False.
Fixes : #1596 .
2016-10-25 10:52:29 -07:00
Rishi Gupta
b6da450b96
admin.js: Use RealmAlias instead of Realm to show the restricted domains.
...
Passes the allowed domains for a realm to the frontend, via
page_params.domains. Groundwork for allowing users to add and
remove domains via the admin setting page, rather than via the
realm_alias.py management command.
2016-10-25 10:07:20 -07:00
Amy Liu
3ee777a11a
Add UI for deactivating your own Zulip account.
...
Fixes #1009 .
2016-10-20 22:29:30 -07:00
Brock Whittaker
7984c5af68
Add data-name groups to templates.
...
The data-name attribute in this case allows for a particular settings
section element to show up when the appropriate sidebar category is
clicked (which will have the same value in the data-section key).
2016-10-16 16:37:21 -07:00
Kouhei Sutou
c2b4fd86e4
settings: Combine split words for translators
2016-10-11 22:40:47 +09:00
Brock Whittaker
cc8b8c1614
Separate default streams list from admin_tab template.
...
This separates default streams list settings into its own template in
the templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
7be19dd860
Separate streams list from admin_tab template.
...
This separates streams list settings into its own template in the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
b196fb9798
Separate bot list from admin_tab template.
...
This separates bot list settings into its own template in the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
a56379e4d7
Separate deactivated user list from admin_tab template.
...
This separates deactivated user list settings into its own template in
the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
ecb6c7df40
Separate user list from admin_tab template.
...
This separates user list settings into its own template in the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
d2f3e9eb7f
Separate emoji settings from admin_tab template.
...
This separates emoji settings into its own template in the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
403c6322ae
Separate organization settings from admin_tab template.
...
This separates organization settings into its own template in the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
b81967d6ef
Separate account settings from settings_tab template.
...
This separates account settings into its own template in the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
26fda72157
Separate UI settings from settings_tab template.
...
This separates UI settings into its own template in the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
330edddeff
Separate alert word settings from settings_tab template.
...
This separates alert word settings into its own template in the
templates/settings folder.
2016-10-05 22:27:15 -07:00
Brock Whittaker
68b8a7b40d
Separate bot settings from settings_tab template.
...
This separates bot settings into its own template in the
templates/settings folder.
2016-10-05 22:27:14 -07:00
Brock Whittaker
aca78df56f
Separate notification settings from settings_tab template.
...
This separates notification settings into its own template in the
templates/settings folder.
2016-10-05 22:27:14 -07:00
Brock Whittaker
ff3d5ca4db
Separate display settings from settings_tab.handlebars.
...
This separates the display settings module from the
settings_table.handlebars template.
Additionally, it fixes the node tests to search in the
static/templates/settings directory and initialize any templates in there
while running tests on the settings templates.
2016-10-05 22:26:40 -07:00