Steve Howell
9aa7ebadd7
me messages: Turn off collapse feature.
...
This is totally broken on master. If you "collapse" a /me
message, it adds the "More..." link without actually
hiding any content.
I have another branch related to collapse/condense that
will make this easier to resurrect.
2019-03-07 11:32:09 -08:00
Rohitt Vashishtha
3ed85f4cd7
Revert "bugdown: Process word boundaries properly in realm_filters."
...
This reverts commit ff90c0101c
but keeps
the test cases added for reference.
This was reverted because it was both not a clean solution and created
other realm filters bugs involving dashes (etc.).
2019-03-07 11:03:35 -08:00
Tim Abbott
00903a19c0
Revert "templates: Avoid empty message_content div for /me messages."
...
This reverts commit 3a73d03e8e
.
This was making casper test 08 fail.
2019-03-06 18:28:27 -08:00
Rishi Gupta
99ea5f4e32
popovers: Remove a few entries from stream popover.
...
These options are pretty low-value, since clicking the stream does the
narrow, and it's likely that almost nobody sends messages via these
buttons.
2019-03-06 17:36:06 -08:00
Hemanth V. Alluri
ae126c452b
stream-descriptions: Create wrapper for rendering stream descriptions.
...
In commit de65a04
we can see that if the need ever arises to modify
how stream descriptions are rendered, we would need to make changes
at 5 different call points which can be quite cumbersome. So this
functionality has been extracted to a new method called
'render_stream_descriptions'.
2019-03-06 17:16:14 -08:00
Tim Abbott
e0c6136ce1
puppet: Fix nginx configuration logic for S3 backend.
...
Apparently, our testing environment for this configuration was broken
and didn't test the code we thought it did; as a result, a variable
redefinition bug slipped through.
Fixes #11786 .
2019-03-06 13:17:11 -08:00
Steve Howell
3a73d03e8e
templates: Avoid empty message_content div for /me messages.
...
This also makes the template a bit more readable.
(As an aside, copy/paste is broken for /me messages,
but that precedes this commit.)
2019-03-06 12:55:02 -08:00
Anders Kaseorg
d7c8d11586
templates: Remove dead <div class="messagebox-border">.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-03-06 12:47:42 -08:00
Tim Abbott
dee2de91a9
Revert "docs: Update dependencies for docs."
...
This reverts commit 4303b42abd
.
This appears to have broken various documentation links to
e.g. README.md on GitHub.
2019-03-06 09:55:51 -08:00
Vishnu Ks
3ac2be6c5f
version: Bump PROVISION_VERSION to facilitate dependency upgrade.
2019-03-06 09:31:24 -08:00
Vishnu Ks
65d0b5d501
requirements: Upgrade sphinx from 1.8.3 to 1.8.4.
2019-03-06 09:31:24 -08:00
Vishnu Ks
2c62e7cf6b
requirements: Upgrade isort from 4.3.10 to 4.3.11.
2019-03-06 09:31:24 -08:00
Vishnu Ks
d448034f17
requirements: Upgrade wheel from 0.32.3 to 0.33.1.
2019-03-06 09:31:24 -08:00
Vishnu Ks
1a2380fff4
requirements: Upgrade setuptools from 40.7.1 to 40.8.0.
2019-03-06 09:31:24 -08:00
Vishnu Ks
bf0ae7a132
requirements: Upgrade pip from 19.0.1 to 19.0.3.
2019-03-06 09:31:24 -08:00
Vishnu Ks
c20b73154c
requirements: Upgrade twilio from 6.23.1 to 6.25.0.
2019-03-06 09:31:24 -08:00
Vishnu Ks
837d6c99c6
requirements: Upgrade stripe from 2.20.0 to 2.21.0.
2019-03-06 09:31:24 -08:00
Vishnu Ks
737d054571
requirements: Upgrade SQLAlchemy from 1.2.17 to 1.3.0.
2019-03-06 09:31:24 -08:00
Vishnu Ks
089b31e88a
requirements: Upgrade sphinx-rtd-theme from 0.4.2 to 0.4.3.
2019-03-06 09:31:24 -08:00
Vishnu Ks
ee53411f55
requirements: Upgrade Scrapy from 1.5.2 to 1.6.0.
2019-03-06 09:31:24 -08:00
Vishnu Ks
d53b750acc
requirements: Upgrade python-dateutil from 2.7.5 to 2.8.0.
2019-03-06 09:31:24 -08:00
Vishnu Ks
02f20c91d5
requirements: Upgrade pyflakes from 2.1.0 to 2.1.1.
2019-03-06 09:31:24 -08:00
Vishnu Ks
8d56976a0c
requirements: Upgrade premailer from 3.2.0 to 3.3.0.
2019-03-06 09:31:24 -08:00
Vishnu Ks
2e69f50ced
requirements: Upgrade MarkupSafe from 1.1.0 to 1.1.1.
2019-03-06 09:31:24 -08:00
Vishnu Ks
980293c63c
requirements: Upgrade lxml from 4.3.0 to 4.3.2.
2019-03-06 09:31:24 -08:00
Vishnu Ks
b9dc7859d5
requirements: Upgrade isort from 4.3.4 to 4.3.10.
2019-03-06 09:31:24 -08:00
Vishnu Ks
d90192deb4
requirements: Upgrade httplib2 from 0.12.0 to 0.12.1.
2019-03-06 09:31:24 -08:00
Vishnu Ks
2c547f4855
requirements: Upgrade disposable-email-domains from 0.0.43 to 0.0.46.
2019-03-06 09:31:24 -08:00
Vishnu Ks
b0039827fb
requirements: Upgrade cryptography from 2.5 to 2.6.1.
2019-03-06 09:31:24 -08:00
Vishnu Ks
7709e6c420
requirements: Upgrade cffi from 1.11.5 to 1.12.2.
2019-03-06 09:31:24 -08:00
Vishnu Ks
21f61140f8
requirements: Upgrade indirect dependencies.
2019-03-06 09:31:24 -08:00
Samuel Searles-Bryant
4303b42abd
docs: Update dependencies for docs.
...
This updates recommonmark so that relative links to .md files will
correctly be converted to links to html pages by Sphinx/ReadTheDocs.
This was repoprted in https://github.com/rtfd/recommonmark/issues/89
This will allow us to in a future commit use relative links to .md
files so all of the hyperlinks work both on ReadTheDocs and on GitHub.
2019-03-06 09:29:21 -08:00
Harshit Bansal
4a9bd89f47
ldap: Continue syncing other fields even if a field is missing.
...
Earlier the behavior was to raise an exception thereby stopping the
whole sync. Now we log an error message and skip the field. Also
fixes the `query_ldap` command to report missing fields without
error.
Fixes : #11780 .
2019-03-05 16:19:27 -08:00
overide
58d28eed5d
markdown: Fix emojis not rendering with :bogus: in the line.
...
This fixes an issue where invalid emoji name prevents following
emojis from rendering.
This reverts the code change in
8842349629
, while still passing the
tests added in that commit (it seems the original commit had
misdiagnosed an ordering bug and thus introduced this issue).
Fixes : #11770 .
2019-03-05 16:05:25 -08:00
Harshit Bansal
0be410d3fe
refactor: De-duplicate code in `accounts_home.html` for social auth.
2019-03-05 14:02:12 -08:00
Harshit Bansal
3610aaece3
refactor: De-duplicate login button code in portico templates.
2019-03-05 14:02:12 -08:00
Harshit Bansal
0e401c4f18
minor: Fix an artifact of delivery email migration in `populate_analytics_db`.
2019-03-05 13:52:59 -08:00
Vishnu Ks
8356804bf1
api: Add endpoint for fetching used upload space info.
2019-03-04 18:46:13 -08:00
Vishnu Ks
ef3fbfeb98
events: Include realm_plan_type in initial state data.
2019-03-04 18:46:13 -08:00
Vishnu Ks
69627c9ee4
attachements: Send delete attachment event after deletion.
...
Also fix the mypy type of attachment_id.
2019-03-04 18:46:13 -08:00
Vishnu Ks
6af885bd5c
attachments: Export bytes_to_size function.
2019-03-04 18:46:13 -08:00
Vishnu Ks
4eb5b9ad80
realm: Restrict upload quota according to plan.
2019-03-04 18:46:13 -08:00
Vishnu Ks
94ae2dc24e
models: Cache currently_used_upload_space_bytes function.
2019-03-04 18:46:13 -08:00
Vishnu Ks
cc9f00f53e
events: Include realm_upload_quota in initial state data.
2019-03-04 18:46:13 -08:00
Vishnu Ks
e522308507
models: Move currently_used_upload_space function to Realm model.
2019-03-04 18:46:13 -08:00
Tim Abbott
36345fd02a
settings: Fix definition of DEPLOY_ROOT in dev_settings too.
2019-03-04 18:46:13 -08:00
Anders Kaseorg
4813d070b0
settings: Strip a useless zproject/.. from DEPLOY_ROOT.
...
And while we're at it, remove a useless duplicate definition.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-03-04 18:43:30 -08:00
Tim Abbott
25f6eccc65
css: Deduplicate some blocks for stream-privacy.
2019-03-04 16:05:16 -08:00
Steve Howell
aaf92a8977
css: Tweak the gutter below the top-left corner.
...
I think 16px is still enough to offset STREAMS,
and putting STREAMS slightly higher gives it more
emphasis.
2019-03-04 15:59:35 -08:00
Steve Howell
ed30b45afd
css: Clean up top-left icons and margins.
...
Making the icons slightly smaller helps us align the
icons and text in the top-left corner to the icons
and text in the streams section.
2019-03-04 15:59:35 -08:00