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
Steve Howell
c3a5a1d3d7
css: Simplify hash/lock icon geometry in left sidebar.
...
Instead of lining these up with margin tweaks, we just
set the min-width on their common parent.
2019-03-04 15:58:33 -08:00
Steve Howell
38e3e22606
css: Make right sidebar fonts be 14px.
...
They were slightly taller before. Now they match other
elements on the page.
2019-03-04 15:58:33 -08:00
Steve Howell
c57d6b22ec
css: Simplify font sizes for left sidebar elements.
...
Most elements, apart from chevrons, now have explicit
font sizes.
In some cases I chose integer values that were close
to the calculated values you would get with all the
ratio calculations.
And then I tweaked how the hashtag/lock icons get
aligned.
The alignment for those icons if off in this version; it'll be fixed
in an upcoming commit.
2019-03-04 15:58:33 -08:00
Steve Howell
c40597b5f5
fonts: Make STREAMS and USERS be 14px.
...
Before this they were 14.2px due to a complex set of
calculations.
2019-03-04 15:58:33 -08:00
Steve Howell
6be5129056
fonts: Use 14px for top left corner.
...
The fonts there used to be 14.2px due to an arcane
calculation. Now we explicity set a value.
If you expand Private Messages, the font inside now
is explicitly set to 13px. It used to be 12.8px due
to a complex calculation.
2019-03-04 15:58:32 -08:00