zulip/static/templates
David Wood 272ed90685 settings: Create an explicit invite_to_stream_policy setting.
This commit creates a new organization setting that determines whether
a user can invite other users to streams. Previously this was linked
to the waiting period threshold, but this was both not documented and
overly limiting.

With significant tweaks by tabbott to change the database model to not
involve two threshhold fields, edit the tests, etc.

This requires follow-up work to make the create stream policy setting
work how this code implies it should.

Fixes #12042.
2019-04-29 17:11:28 -07:00
..
settings settings: Create an explicit invite_to_stream_policy setting. 2019-04-29 17:11:28 -07:00
widgets poll_widget: Add highlight for vote count if current user votes. 2019-03-01 16:35:18 -08:00
.gitignore
actions_popover_content.handlebars popovers: Avoid passing message to actions popover template. 2018-12-29 14:19:18 -08:00
admin-settings-modals.handlebars settings_user: Add modal for user info and roles form. 2018-07-30 13:48:36 -07:00
admin_default_streams_list.handlebars admin_default_streams_list.handlebars: Use fa-4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
admin_emoji_list.handlebars settings_emoji: Use display_name in handlebars. 2018-08-07 10:22:08 -07:00
admin_filter_list.handlebars linkifiers: Add no-select to trash icon. 2019-03-08 15:05:05 -08:00
admin_invites_list.handlebars settings_invites: Display links for multi-use invitations. 2019-02-15 14:28:07 -08:00
admin_profile_field_list.handlebars custom profile field: Remove unnecessary table header from edit form. 2018-08-21 11:42:58 -07:00
admin_tab.handlebars invites: Add UI for revoking multiuse invites. 2019-02-15 14:13:31 -08:00
admin_user_group_list.handlebars user groups: Display error on user group name edit failure. 2018-08-13 16:13:49 -07:00
admin_user_list.handlebars org_settings: Disable `Deactivate` button for yourself in Users tab. 2019-03-18 22:41:09 -07:00
alert_word_settings_item.handlebars alert_word_settings_item.handlebars: Use fa-4.7 icon prefixes. 2018-07-11 20:31:17 +05:30
all_messages_sidebar_actions.handlebars all_messages_sidebar_actions.handlebars: Use fa-4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
announce_stream_docs.handlebars create stream: Use English grammar for message about announcement. 2018-02-01 11:26:57 -08:00
archive_message_group.handlebars message_list: Rename show_date_separator to show_group_date_divider. 2019-02-08 11:30:15 -08:00
archive_recipient_row.handlebars subject -> topic: Fix group.subject references. 2018-11-16 11:05:43 -08:00
bankruptcy_modal.handlebars
bookend.handlebars message view: Decode HTML in Stream subscription messages. 2017-10-11 09:59:48 -07:00
bot_avatar_row.handlebars settings: Interchange Username and Bot Type positions. 2018-10-16 17:09:20 -07:00
bot_owner_select.handlebars settings_user: Refactor `open-user-form` click handler. 2018-07-30 13:48:36 -07:00
compose-invite-users.handlebars compose: Hide subscribe button and change text for waiting period users. 2018-08-13 10:18:35 -07:00
compose_all_everyone.handlebars
compose_announce.handlebars compose: Warn users when posting to the #announce stream. 2017-12-20 07:36:50 -05:00
compose_not_subscribed.handlebars compose: Hide sub-btn in compose-to-unsub warning if user can't subscribe. 2018-11-02 11:57:04 +05:30
compose_notification.handlebars unicode: Replace "×" with HTML and HEX entities. 2017-08-22 16:31:53 -07:00
compose_private_stream_alert.handlebars compose: Improve line wrapping for multiline compose box alerts. 2018-03-06 13:01:41 -08:00
confirm_delete_user.handlebars settings: Confirm before deleting user groups. 2018-10-12 10:38:56 -07:00
confirm_dialog.handlebars settings: Add confirm_dialog module. 2018-10-12 10:37:06 -07:00
default_language_modal.handlebars settings: Add modal fade. 2018-04-28 12:55:15 -07:00
delete_topic_modal.handlebars delete topic: Update wording in confirmation modal. 2019-02-06 22:16:24 -08:00
draft.handlebars markdown: Add .rendered_markdown for all elements with rendered MD content. 2019-04-05 17:13:20 -07:00
draft_table_body.handlebars drafts: Add reminder of hotkey. 2019-02-13 16:16:34 -08:00
edit_bot.handlebars settings: Rename "user avatar" to "profile picture" 2019-03-15 13:29:56 -07:00
edited_notice.handlebars refactor: Extract edited_notice template. 2019-03-01 15:42:12 -08:00
email_address_hint.handlebars subscription: Improve email-hint popover style. 2018-03-23 09:55:44 -07:00
embedded_bot_config_item.handlebars linter: Make html singleton tags use 2 space indentation. 2018-04-07 20:08:31 -07:00
emoji_popover.handlebars emoji_picker: Add emoji showcase. 2017-09-29 21:09:00 +00:00
emoji_popover_content.handlebars emoji_popover_content.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
emoji_popover_emoji.handlebars emoji: Rename `css_class` to `emoji_code` in emoji.js. 2018-07-23 12:35:08 -07:00
emoji_popover_search_results.handlebars emoji_picker: Change emoji picker to be category based. 2017-08-14 12:52:35 -07:00
emoji_showcase.handlebars emoji: Rename `css_class` to `emoji_code` in emoji.js. 2018-07-23 12:35:08 -07:00
feedback_container.handlebars ui: Render feedback widget client side. 2019-01-04 10:54:10 -08:00
group_pms.handlebars css: Use user_circle_fraction for group PM circles. 2019-02-18 14:22:37 -08:00
hotspot_overlay.handlebars template_parser: Add parsing support for self closing tags as per HTML5. 2018-02-15 17:47:43 -05:00
input_pill.handlebars input-pill: Refactor pills to eliminate fixed positioning of elements. 2018-07-23 10:21:13 -07:00
intro_reply_hotspot.handlebars hotspots: Change styling of intro to reply hotspot. 2018-10-02 11:38:26 -07:00
invitation_failed_error.handlebars invite: Clean error handling and use ui_report. 2019-01-17 10:28:59 -08:00
invite_subscription.handlebars invites: Use stream_id instead of stream names in invitation. 2019-02-01 15:47:20 -08:00
loader.handlebars org settings: Fix a bug where the loading spinner was not visible. 2018-08-08 10:59:23 -07:00
me_message.handlebars bug fix: Fix hovers for /me messages. 2019-03-08 15:24:01 -08:00
message_avatar.handlebars Revert "user-profiles: Lazy load profile pictures when in view." 2019-04-12 16:50:37 -07:00
message_body.handlebars markdown: Add .rendered_markdown for all elements with rendered MD content. 2019-04-05 17:13:20 -07:00
message_controls.handlebars refactor: Extract message_controls template. 2019-03-01 15:42:12 -08:00
message_edit_form.handlebars markdown: Add .rendered_markdown for all elements with rendered MD content. 2019-04-05 17:13:20 -07:00
message_edit_history.handlebars markdown: Add .rendered_markdown for all elements with rendered MD content. 2019-04-05 17:13:20 -07:00
message_group.handlebars message_list: Rename show_date_separator to show_group_date_divider. 2019-02-08 11:30:15 -08:00
message_reaction.handlebars reactions.js: Migrate webapp to use the new reactions API. 2017-11-20 15:27:20 -08:00
message_reactions.handlebars accessibility: Make another reactions button semi-accessible. 2018-11-08 14:10:48 -08:00
mobile_message_buttons_popover.handlebars compose: Create the mobile compose popover. 2018-10-31 16:47:48 -07:00
mobile_message_buttons_popover_content.handlebars compose: Create the mobile compose popover. 2018-10-31 16:47:48 -07:00
more_topics.handlebars css: Hover individual topic rows. 2019-03-14 13:54:35 -07:00
muted_topic_ui_row.handlebars muting: Add stream_id to markup for mute settings. 2018-12-14 16:05:35 -08:00
new_stream_users.handlebars linter: Make html singleton tags use 2 space indentation. 2018-04-07 20:08:31 -07:00
no_arrow_popover.handlebars popovers: Rename template to `no_arrow_popover`. 2019-02-14 16:16:04 -08:00
non_editable_user_group.handlebars user pills: Rename class `notmem` to `not-editable` for generalization. 2018-08-21 11:50:01 -07:00
notification.handlebars
propagate_notification_change.handlebars linter: Enforce 2 space indents on tags spread over multiple lines. 2018-04-07 20:08:44 -07:00
recipient_row.handlebars copy: Fix extra space before > in copy-paste styling. 2019-03-01 16:26:28 -08:00
remind_me_popover_content.handlebars reminders: Add various design improvements for the UI/reminder msg. 2018-05-21 09:07:37 -07:00
settings_tab.handlebars settings: Remove obsolete default_desktop_notifications setting. 2018-04-28 13:46:07 -07:00
sidebar_private_message_list.handlebars pm list: Remove "(more conversations)" feature. 2019-04-11 16:26:54 -07:00
single_message.handlebars templates: Remove dead <div class="messagebox-border">. 2019-03-06 12:47:42 -08:00
starred_messages_sidebar_actions.handlebars left sidebar: Add an "unstar all messages" option. 2019-03-07 20:52:00 -08:00
stream_creation_form.handlebars streams_edit: Prevent newline characters in the description. 2019-02-20 12:27:54 -08:00
stream_member_list_entry.handlebars streams: Update button styles to new styles. 2017-08-23 12:29:32 -07:00
stream_privacy.handlebars stream_privacy.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
stream_sidebar_actions.handlebars popovers: Remove a few entries from stream popover. 2019-03-06 17:36:06 -08:00
stream_sidebar_row.handlebars left sidebar: Simplify filter icon CSS logic. 2019-04-13 13:21:51 -07:00
stream_types.handlebars stream settings: Hide creating admin-only streams in members UI. 2019-01-24 10:51:49 -08:00
subscription.handlebars stream settings: Rename average messages to estimated messages. 2018-06-23 12:48:15 -07:00
subscription_count.handlebars subscriptions_settings_modal: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
subscription_invites_warning_modal.handlebars dark-mode: Make all modals compatible with night mode. 2018-02-09 14:21:13 -08:00
subscription_members.handlebars subscriptions: Add tooltip, only subscribers can add user in private stream. 2019-01-05 16:21:41 -08:00
subscription_setting_icon.handlebars subscriptions_settings_modal: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:17:11 +05:30
subscription_settings.handlebars stream-settings: Remove unnecessary delete text from button. 2018-09-21 12:17:17 -07:00
subscription_stream_privacy_modal.handlebars streams: Improve 'is-announcement-only' checkbox. 2018-06-01 10:05:13 -07:00
subscription_table_body.handlebars user docs: Update stream guidelines link in stream subscriptions modal. 2018-10-01 12:45:59 -07:00
subscription_type.handlebars stream settings: Rephrase info to state guest user can't join public stream. 2018-11-12 17:00:38 -08:00
subscriptions.handlebars refactor: Render Stream Settings in two steps. 2018-07-26 11:20:46 -07:00
tab_bar.handlebars top left: Remove home-link markup in the main app. 2019-01-30 13:53:20 -08:00
topic_edit_form.handlebars topic_edit_form.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:31:17 +05:30
topic_list_item.handlebars css: Hover individual topic rows. 2019-03-14 13:54:35 -07:00
topic_muted.handlebars muting: Rename container template to feedback_widget.html. 2019-01-04 10:48:19 -08:00
topic_sidebar_actions.handlebars messages: Add support for quickly deleting all messages in a topic. 2019-02-01 17:09:44 -08:00
typeahead_list_item.handlebars typeahead: Rename `codepoint` to `emoji_code`. 2019-01-05 15:09:04 -08:00
typing_notification.handlebars
typing_notifications.handlebars
unstar-messages-modal.handlebars left sidebar: Add an "unstar all messages" option. 2019-03-07 20:52:00 -08:00
uploaded_files_list.handlebars uploaded_files_list.handlebars: Upgrade to font-awesome 4.7 icon prefixes. 2018-07-11 20:31:16 +05:30
user-groups-admin.handlebars help: Add user-groups. 2019-02-28 17:11:27 -08:00
user-info-form-modal.handlebars admin: Display email addresses in user-edit widget. 2019-03-04 09:17:05 -08:00
user_group_info_popover.handlebars popovers: Add a popover for group mentions. 2018-02-16 13:37:02 -08:00
user_group_info_popover_content.handlebars refactor: Simplify logic for circles. 2019-02-18 14:22:37 -08:00
user_info_popover_content.handlebars popovers: Add a clear status option in user popover. 2019-02-26 14:40:17 -08:00
user_info_popover_title.handlebars popovers: Add guest avatar marker to user info popover. 2018-12-30 11:07:00 -08:00
user_presence_row.handlebars buddy list: Use user-list-arrow class. 2019-03-04 15:35:40 -08:00
user_presence_rows.handlebars
user_profile_modal.handlebars user status: Change Last seen to Last online. 2019-03-14 15:19:09 -07:00