Vaibhav
62b1ccee26
css: Nest emoji results heading inside results container.
2019-06-03 12:36:32 -07:00
Vaibhav
1f425d8e58
css: Nest emoji preview and canonical name inside showcase container.
2019-06-03 12:36:32 -07:00
Vaibhav
a418984bf2
css: Nest `.message_reaction .emoji` inside `.message_reactions`.
2019-06-03 12:36:32 -07:00
Tim Abbott
cd1356f024
version: Bump major PROVISION_VERSION.
...
This should ensure that folks need to re-provision downgrade if they
switch branches to before this big frontend package upgrade.
2019-06-03 12:32:49 -07:00
Thomas Ip
3b105921bb
dependencies: Upgrade winchan to 0.2.1.
2019-06-03 12:24:00 -07:00
Thomas Ip
537014ee47
dependencies: Upgrade typescript to 3.5.1.
2019-06-03 12:24:00 -07:00
Thomas Ip
676acd4ed1
eslint: Allow unused variables with _ prefix in typescript.
2019-06-03 12:24:00 -07:00
Thomas Ip
be48eb165d
dependencies: Upgrade webpack-dev-server to 3.5.1 and install types.
2019-06-03 12:24:00 -07:00
Thomas Ip
545508da7b
dependencies: Upgrade webpack(-cli) to 4.32.2 (3.3.2).
...
webpack 4.20.0 require webpack-cli 3.1.1.
2019-06-03 12:24:00 -07:00
Thomas Ip
4097025df7
dependencies: Upgrade svgo to 1.2.2.
2019-06-03 12:24:00 -07:00
Thomas Ip
19d18bdfbb
dependencies: Upgrade source-sans-pro to 2.45.0.
2019-06-03 12:24:00 -07:00
Thomas Ip
57e9b21d90
dependencies: Remove source-map-loader.
...
The loader is not currently used.
2019-06-03 12:24:00 -07:00
Thomas Ip
238ea25fca
dependencies: Upgrade sortablejs to 1.9.0.
...
Also set it to concrete version.
2019-06-03 12:24:00 -07:00
Thomas Ip
eccd258407
dependencies: Upgrade sass-loader to 7.1.0.
...
v7.1.0 allows the loader to use any sass implementation. The new
reference implementation of sass, dart-sass, is faster than libsass
in toy benchmarks but perform about the same when compiling
bootstrap. So we will stay on libsass for now.
2019-06-03 12:24:00 -07:00
Thomas Ip
37b0b0f246
dependencies: Upgrade plotly.js to 1.48.1.
...
v1.41.0 introduced the {resposive: true} option, we could use it.
2019-06-03 12:24:00 -07:00
Thomas Ip
ecd746e8c8
dependencies: Upgrade nwmatcher to 1.44.0.
2019-06-03 12:24:00 -07:00
Thomas Ip
ec47608aaf
dependencies: Upgrade node-sass to 4.12.0.
2019-06-03 12:24:00 -07:00
Thomas Ip
e75017b0b5
dependencies: Upgrade moment(-timezone) to 2.24.0 (0.5.25).
2019-06-03 12:24:00 -07:00
Thomas Ip
657448b053
dependencies: Upgrade jquery-validation to 1.19.0.
2019-06-03 12:24:00 -07:00
Thomas Ip
562f6c1c39
dependencies: Upgrade htmlparser2 to 3.10.1.
2019-06-03 12:24:00 -07:00
Thomas Ip
de606373c2
dependencies: Upgrade handlebars to 4.1.2.
2019-06-03 12:24:00 -07:00
Thomas Ip
34aaa64a72
dependencies: Upgrade eslint to 5.16.0.
2019-06-03 12:24:00 -07:00
Thomas Ip
efb37d9794
dependencies: Upgrade @typescript-eslint/parser to 1.9.0.
2019-06-03 12:24:00 -07:00
Thomas Ip
1268616ca2
dependencies: Upgrade @typescript-eslint/eslint-plugin to 1.9.0.
...
Updated .eslintrc with new rules.
2019-06-03 12:24:00 -07:00
Thomas Ip
7643417c82
dependencies: Upgrade packages with patch level updates.
2019-06-03 12:24:00 -07:00
Thomas Ip
9a84a60029
dependencies: Upgrade yarn to 1.16.0.
2019-06-03 12:24:00 -07:00
Vaibhav
30da8bdf9b
css: Rename info-overlay tab-switcher to `.tab-switcher.allow-overflow`.
...
This apparently is no longer used in any place hence there were no
changes required in the templates.
2019-06-03 12:16:16 -07:00
Vaibhav
56e97d5c37
css: Use SCSS nesting in app_components.scss for `.new-style`.
2019-06-03 12:16:16 -07:00
Vaibhav
c6b50fbba6
css: Add `:focus` rule for `.new-style .button.btn-warning`.
...
Same as the `:hover` rule similar to other buttons.
2019-06-03 12:16:16 -07:00
Vaibhav
09791b9c29
css: Use SCSS nesting in app_components.scss for `.button`.
2019-06-03 12:16:16 -07:00
Vaibhav
331f1fc4b7
css: Reorder app_components.scss so `.button` are in same place.
2019-06-03 12:16:16 -07:00
Vaibhav
6d588b683c
css: Use SCSS nesting in app_components.scss for `.tab-switcher`.
2019-06-03 12:16:16 -07:00
Vaibhav
8ebc8602a5
css: Reorder app_components.scss so `.tab-switcher .ind-tab` are together.
2019-06-03 12:16:16 -07:00
Vaibhav
5460c4fce5
css: Use SCSS nesting in app_components.scss for `.informational-overlays`.
2019-06-03 12:16:16 -07:00
Vaibhav
a3ec301218
css: Reorder app_components.scss so `.informational-overlays` are seperate.
...
Two rules corresponding to `.informational-overlays` were placed among the
`.new-style` rules. The file is reordered to seperate them.
2019-06-03 12:16:16 -07:00
Vaibhav
082e0bc6f6
css: Use SCSS nesting in app_components.scss for `.overlay`.
2019-06-03 12:16:16 -07:00
Vaibhav
6abd05f77b
css: Reorder app_components.scss so that `.overlay.show` are in one place.
2019-06-03 12:16:16 -07:00
Vaibhav
ff7aedd78a
css: Use SCSS nesting in app_components.scss for `.clear_search_button`.
2019-06-03 12:16:16 -07:00
Tim Abbott
d0d497fc2d
docs: Update contributor count to over 500.
2019-06-03 12:14:40 -07:00
Rishi Gupta
849bc382f9
portico: Remove core-team profiles from /team.
...
This makes the Zulip team look smaller than we are.
2019-06-03 12:14:40 -07:00
Tim Abbott
2bd6d275a7
test_import_realm: Fix test robustness.
...
The previous version hardcoded assumptions about user IDs.
2019-06-02 15:00:16 -07:00
Tim Abbott
a85fee333c
test_import_export: Fix some spelling errors.
2019-06-02 14:57:03 -07:00
Mateusz Mandera
6c3ba25474
retention: Use RETURNING to speed up database queries.
...
We add RETURNING to fetch relevant message and usermessage ids in
archiving queries and use them to make other queries faster and slower.
A side-effect of this implementation is that with cross-realm messages,
the UserMessage of the recipient and the Message will not be deleted -
but cross-realm messages are rare, will still get correctly put in the
archive tables and so failing to delete should not be a problem for now.
They will be fully handled later.
2019-06-02 14:55:14 -07:00
Mateusz Mandera
426e3bbbd9
retention: Remove redundant LEFT JOIN in archiving UserMessages.
...
zerver_archivedmessage is already INNER JOIN-ed earlier in the query, so
we check the pub_date in it, instead of joining zerver_message, which
would just redundantly join the analogical rows.
2019-06-02 14:55:14 -07:00
Vishnu Ks
a9a44392d1
tests: Add test to highlight that bs4 modifies html sometimes.
2019-06-02 14:53:13 -07:00
Vishnu Ks
8718846c2a
import: Use html.parser instead of lxml in bs4.
...
lxml parser appends html and body tags to the soup object which
are not reqired. There are no other major parsing diffrences between
the two parsers as long the HTML input is perfectly formated.
lxml parser is much faster than html.parser but it hardly matters
in our case.
https://www.crummy.com/software/BeautifulSoup/bs4/doc/#differences-
between-parsers
2019-06-02 14:53:13 -07:00
Puneeth Chaganti
64c40287f1
url preview: Rename type_ variable to oembed_resource_type.
2019-06-02 14:31:39 -07:00
Puneeth Chaganti
30dcf805ea
url preview: Use oEmbed preview for Vimeo, instead of custom code.
2019-06-02 14:31:39 -07:00
Puneeth Chaganti
717d1e504d
ldap: Turn off the AUTH_LDAP_ALWAYS_UPDATE_USER setting.
...
The `AUTH_LDAP_ALWAYS_UPDATE_USER` is `True` by default, and this would sync the
attributes defined in the `AUTH_LDAP_USER_ATTR_MAP` to the user profile. But,
the default code in `django-auth-ldap` would work correctly only for `full_name`
field. This commit disables the setting by default, in favour of using the
`sync_ldap_user_data` script as a cron job.
2019-06-02 11:24:19 -07:00
Mateusz Mandera
569d79b9d8
email_mirror: Add support for "+include-quotations" in address.
...
We add an option to disable the stripping of quotations from the email
body, if "+include-quotations" token is included in the email address.
2019-06-02 10:50:59 -07:00