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