Rohitt Vashishtha
44afcb8d64
rendered_markdown: Add comment explaining the use of this module.
2020-05-21 12:37:34 -07:00
Rohitt Vashishtha
bb579742a2
markdown: Move helper function to rendered_markdown.js.
2020-05-21 12:32:52 -07:00
Rohitt Vashishtha
fa9431c0a4
markdown: Extract rendered_markdown.js to update dynamic elements.
...
Previously, we handled this code only in message_list_view.js.
Now we support rendering stream descriptions and some dynamic
elements can be rendered in them, so we extract this new module
and use it in both the places.
2020-05-21 12:32:52 -07:00
Rohitt Vashishtha
88367a129c
markdown: Disable tex and latex for math rendering.
...
We now parse tex and latex as regular languages, highlighting them
with pygments. We only allow 'math' to trigger latex rendering,
which is in line with the documentation.
2020-05-21 12:30:27 -07:00
Siddharth Varshney
ad723f1ab4
settings: Fix settings sidebar list bug.
2020-05-20 14:37:11 -07:00
Rohitt Vashishtha
52c25a9301
markdown-timestamp: Use data-timestamp attribute.
...
This commit shifts our timestamp syntax to be of the form:
<span class="timestamp data-timestamp="123456"></span>
since value is not a valid attribute of span elements.
2020-05-20 14:28:08 -07:00
Rohitt Vashishtha
b062e8332f
markdown: Add timestamp syntax to markdown processors.
...
This adds support for syntax like: !time(Jun 7 2017, 6:30 PM) so that
everyone sees the time in their own local timezone. This can be used
when scheduling online meetings, etc.
This adds some hardcoded values for timezones, because of there
being no sureshot way of determining the timezone easily. However,
since the main way of using the feature should be a typeahead for
entering the time, this shouldn't be cause of much concern.
Fixes #5176 .
2020-05-20 14:23:55 -07:00
Rohitt Vashishtha
22537602d2
minor: Update comment in feature_flags.
...
The earlier version of the comment implied that we want to remove
the features and not the flags that hide those features.
2020-05-20 13:51:54 -07:00
Tim Abbott
deeed5c4c8
css: Move some styles out of zulip.scss.
...
settings_section belongs next to the rest of itself, and the loading
indicator is clearly a common reused component.
2020-05-20 11:42:59 -07:00
Tim Abbott
0340ec8a0a
css: Remove duplicate #user_settings_avatar styling.
2020-05-20 11:41:55 -07:00
majordwarf
d816b3d46f
css: Reorder media queries in settings.scss.
2020-05-20 11:31:34 -07:00
majordwarf
ddaed17e77
css: Use SCSS nesting for `#settings_page` in media queries.
2020-05-20 11:31:34 -07:00
majordwarf
96ff5f30d3
css: Use SCSS nesting in settings for `.collapse-settings-btn`.
2020-05-20 11:31:34 -07:00
majordwarf
0f09835625
css: Use SCSS nesting in settings.scss for `.custom_user_field`.
2020-05-20 11:31:34 -07:00
majordwarf
aa1971d44a
css: Use SCSS nesting in settings.scss for `.profile-field-choices`.
2020-05-20 11:31:34 -07:00
majordwarf
fe4d2426b1
css: Reorder settings.scss to put `.profile-field-choices` in order.
2020-05-20 11:31:34 -07:00
majordwarf
c53847f5ae
css: Merge `#payload_url_inputbox` and `#service_name_list`.
2020-05-20 11:31:34 -07:00
majordwarf
d83eed6b62
css: Use SCSS nesting in settings.scss for `.required-text`.
2020-05-20 11:31:34 -07:00
majordwarf
3f9ed37b0b
css: Use SCSS nesting in settings.scss for `#attachments_list`.
2020-05-20 11:31:34 -07:00
majordwarf
204240d173
css: Reorder settings.scss to put `#attachments_list` alongside.
2020-05-20 11:31:34 -07:00
majordwarf
ec0c1722f0
css: Use SCSS nesting in settings.scss for `#muted_topics_table`.
2020-05-20 11:31:34 -07:00
majordwarf
280129abcd
css: Remove ignored CSS property in settings.scss.
...
`margin-bottom` property is ignored due to the display.With
'display: inline', the width, height, margin-top, margin-bottom,and
float properties have no effect.
2020-05-20 11:31:34 -07:00
majordwarf
e2ef46d0fb
css: Use SCSS nesting in settings.scss for `.table`.
2020-05-20 11:31:34 -07:00
majordwarf
83f68f6710
css: Reorder settings.scss to put `.table` next to each other.
2020-05-20 11:31:34 -07:00
majordwarf
f324298be2
css: Use SCSS nesting in settings.scss for `.admin-realm-form`.
2020-05-20 11:31:34 -07:00
majordwarf
3b5c7a27f4
css: Reorder settings.scss to put `.admin-realm-form` alongside.
2020-05-20 11:31:34 -07:00
majordwarf
ec709a715b
css: Use SCSS nesting in settings.scss for emoji's `input[type=text]`.
2020-05-20 11:31:34 -07:00
majordwarf
fbed5b3853
css: Merge `#emoji-file-name` ruleset in settings.scss.
2020-05-20 11:31:34 -07:00
majordwarf
2ee5b282d6
css: Use SCSS nesting in settings.scss for `button`.
2020-05-20 11:31:34 -07:00
majordwarf
f4e8086fbd
css: Use SCSS nesting for `.control-label`.
2020-05-20 11:31:34 -07:00
majordwarf
0b709f770b
css: Use SCSS nesting for `.edit-alert-word-buttons`.
2020-05-20 11:31:34 -07:00
majordwarf
0aabd97900
css: Use SCSS nesting in settings.scss for `.modal`.
2020-05-20 11:31:34 -07:00
majordwarf
16e069a735
css: Reorder settings.scss to put `.modal` next to each other.
2020-05-20 11:31:34 -07:00
majordwarf
c47b21a1a7
css: Use SCSS nesting in settings.scss for `#settings_page`.
2020-05-20 11:31:34 -07:00
majordwarf
ca5da9c8f4
css: Reorder settings.scss to put `#settings_page` next to each other.
2020-05-20 11:30:12 -07:00
majordwarf
e4187f3abb
css: Use SCSS nesting in settings.scss for `#api_key_buttons`.
2020-05-20 11:25:36 -07:00
majordwarf
2f2e3f4879
css: Use SCSS nesting in settings.scss for `.emojiset_choices`.
2020-05-20 11:25:36 -07:00
majordwarf
468efcf319
css: Use SCSS nesting in settings.scss for `#alert_words_list`.
2020-05-20 11:25:36 -07:00
majordwarf
d857437319
css: Reorder settings.scss to put `#alert_word_list` next to each other.
2020-05-20 11:25:36 -07:00
majordwarf
9008fbfc05
css: Use SCSS nesting in settings.scss for `.edit_bot_form`.
2020-05-20 11:25:36 -07:00
majordwarf
b85f587eac
css: Use SCSS nesting in settings.scss for `.bots_list`.
2020-05-20 11:25:36 -07:00
majordwarf
ad623a3bc3
css: Reorder settings.scss to put `.bot_list` next to each other.
2020-05-20 11:25:36 -07:00
majordwarf
e544fd1994
css: Use SCSS nesting in settings.scss for `.control-label-disabled`.
2020-05-20 11:25:36 -07:00
majordwarf
990358abc5
css: Use SCSS nesting in settings.scss for `#account-settings`.
2020-05-20 11:25:35 -07:00
majordwarf
71415e5b89
css: Use SCSS nesting in settings.scss for `#settings_page`.
2020-05-20 11:25:35 -07:00
majordwarf
aff0129a6a
css: Reorder settings.scss to put `#settings_page` next to each other.
2020-05-20 11:25:35 -07:00
Tim Abbott
3d435e12c3
css: Remove useless stream-label margin.
...
This margin was already 0px.
2020-05-20 11:24:04 -07:00
Tim Abbott
7aefe5f1ff
css: Extract styling for .zulip-icon.bot.
2020-05-20 11:22:06 -07:00
majordwarf
59e3c14211
css: Merge `.message_controls` css ruleset in zulip.scss.
2020-05-20 11:17:19 -07:00
majordwarf
ce07d8514a
css: Use SCSS nesting in zulip.scss for `.column-left.expanded`.
2020-05-20 11:17:19 -07:00