Andy Perez
bdaf3275f7
message feed: Fix display height of empty messages.
...
Ideally, empty messages are never created. However, sometimes even
non empty messages can act as if empty, such as one consisting only
of an opening and closing blockquote tag. This sets the
.message_content to have a minimum height equal to the line height.
This is overridden with zero (the default) in the case of collapse.
2017-11-17 11:40:22 -08:00
David Rosa Tamsen
4906bc8e4a
docs: Prevent readthedocs from overriding collapse_navigation setting.
...
Expand bullets "[+]" show up on locals instance, but they
do not show up online on readthedocs. The expand icon is valuable
to indicate that each section has more content.
The problem is readthedocs appends code to conf.py that overrides the
html_theme_options prior to a build. This commit prevents this from
happening so that collapse_navigation remains set to False.
In response to merged PR 7326.
2017-11-17 11:28:37 -08:00
Tim Abbott
57c78da915
test-documentation: Build docs in parallel.
...
We already do this by default in tools/build-docs, but since we
migrated test-documentation to not run that directly (to disable
collapsing), we need to add the recent parallelism fix here too.
It saves about 5-10s when running this test suite for me, which is
good, but definitely leaves me feeling like there could be more
improvement.
2017-11-17 11:06:56 -08:00
Tommy Ip
f1eb9ff403
gitignore: Add .cache/.
2017-11-17 11:03:08 -08:00
Tim Abbott
026410dd1b
api: Fix a typo in an anchor tag URL.
2017-11-17 11:03:08 -08:00
Tim Abbott
484ded60ce
docs: Fix unintentional whitespace in ReadTheDocs homepage.
2017-11-17 11:03:08 -08:00
Mohd Ali Rizwi
2b858ab47b
api: Fix code blocks in headings.
...
These didn't look good, and were unnecessary.
Fixes part of #7395 .
Commit message tweaked by tabbott.
2017-11-17 11:03:08 -08:00
Brock Whittaker
2b6587c6bf
overlays: Move overlays earlier in index.html.
...
It appears as though the ordering of the overlays in the DOM is
overriding their z-index in Safari on mobile. This moves them up to
the top of the template ahead of the header so that the header will no
longer display above the overlays in positioning.
Fixes : #7248 .
2017-11-17 11:03:08 -08:00
Tim Abbott
1b28ddd8a7
requirements: Update to new pyoembed release.
...
This should mean we no longer need to maintain a fork.
2017-11-17 11:03:08 -08:00
Brock Whittaker
4fb7292dd4
message-feed: Add dark mode support for inline code.
2017-11-17 10:30:24 -08:00
Brock Whittaker
874598b291
left-sidebar: Change icons to be translucent.
...
This changes the icons to be translucent rather than grey and also
makes them get darker on hover rather than lighter (which didn’t really
make sense) on the normal theme.
2017-11-17 10:30:24 -08:00
Brock Whittaker
5081294c5b
streams: Remove unnecessary font color declaration, change to translucent.
...
This changes a declaration from grey to translucent and another to
remove an unnecessary color declaration.
2017-11-17 10:30:23 -08:00
Brock Whittaker
015cd65e8f
message-feed: Change borders from grey to translucent.
...
This changes the borders from grey to translucent and bins them to the
nearest tenth of opacity.
2017-11-17 10:30:23 -08:00
Brock Whittaker
7d2607c919
settings: Change borders from grey to translucent.
...
This also changes the .settings-section table borders to be darker
which keeps it inline with the rest of the styling.
2017-11-17 10:30:23 -08:00
Brock Whittaker
30f45ac061
reactions: Change from grey to translucent.
...
This keeps the look the same on a white background but works better on
color backgrounds, as it shares a similar saturation.
2017-11-17 10:30:23 -08:00
Brock Whittaker
d13e556923
reactions: Remove unecessary color declaration.
2017-11-17 10:30:23 -08:00
Brock Whittaker
e14e61c22e
compose: Change borders from gray to translucent.
...
This works better on color backgrounds while staying the same on white.
The compose input borders are also darkened slightly.
2017-11-17 10:30:23 -08:00
Brock Whittaker
83f329b41a
components: Change checkboxes from grey to translucent.
...
This works better with color background and looks the same on white.
2017-11-17 10:30:23 -08:00
Brock Whittaker
aeed2e6863
dark-mode: Remove unnecessary CSS and fix dark mode bugs.
2017-11-17 10:30:18 -08:00
Brock Whittaker
151e5b0e51
app: Remove column-middle background color.
...
The declaration making the background color white seems to be
unnecessary.
2017-11-17 08:44:04 -08:00
Brock Whittaker
f5f217570c
message-feed: Change private message blue to be translucent.
...
This looks the same on white, different on dark blue.
2017-11-17 08:44:04 -08:00
Brock Whittaker
2d9a570ceb
drafts: Remove unnecessary white background on messages.
...
This removes the white background behind the messages that isn’t useful
since they are already on a white background.
2017-11-17 08:44:04 -08:00
Brock Whittaker
53616cc714
gear-menu: Inherit body color.
...
Instead of overriding the default link color with grey, just inherit
the body color.
2017-11-17 08:44:04 -08:00
Brock Whittaker
a77b41dce4
navbar: Remove background attribute on search bar.
...
This removes the background color declaration on the search bar so it
can inherit the standard input background color.
navbar: Let search bar inherit from base color.
2017-11-17 08:44:04 -08:00
Brock Whittaker
3df96a27cc
message-feed: Make stream labels inherit color.
...
Instead of overriding the default link color with grey, just inherit
the base color.
2017-11-17 08:44:04 -08:00
Brock Whittaker
ff39aa0eb5
message-feed: Remove white backgrounds on messages.
...
They aren’t necessary either I don’t believe.
2017-11-17 08:44:04 -08:00
Brock Whittaker
cd3ea16785
navbar: Remove white background.
...
It’s never been necessary afaik.
2017-11-17 08:44:04 -08:00
Brock Whittaker
e0e7c0091b
compose: Change from grey to translucent black.
2017-11-17 08:44:04 -08:00
Brock Whittaker
3c4900205c
streams: Fix width bug with stream creation form footer.
...
The footer was a few pixels short and would create a gap in the bottom
right hand corner of the streams overlay when the stream creation flow
is open.
2017-11-17 08:44:04 -08:00
Brock Whittaker
1514ea9be6
streams: Inherit base color rather than redefining text color.
...
This also removes an unecessary font-weight declaration that
was immediately being overridden.
2017-11-17 08:44:04 -08:00
Brock Whittaker
efb7206756
settings: Change grey colors to translucent black.
2017-11-17 08:44:04 -08:00
Brock Whittaker
e806300b51
settings: Use `.modal-bg` class to control background color.
...
This lets the `.modal-bg` class dictate background color instead of
manually setting it for all modals.
2017-11-17 08:44:04 -08:00
Brock Whittaker
537c1c211b
right-sidebar: Remove base color definition.
...
The right-sidebar should just inherit the color of the body, not invent
a new lighter shade of grey.
2017-11-17 08:44:04 -08:00
Brock Whittaker
3ebccda703
left-sidebar: Make <ul> links inherit body color.
...
The links were overridden with a dark grey to not display normal link
color but should really just inherit the body color.
2017-11-17 08:44:04 -08:00
Brock Whittaker
9852861f8a
compose: Change white background to be on #compose.
...
This changes the white background placement to be on #compose rather
than .compose-content.
2017-11-17 08:44:04 -08:00
Brock Whittaker
ca46a2152b
popovers: Restyle border-bottom below avatar in user popovers.
...
This styles the border-bottom to be an opacity based solution to
work the same with the normal mode and better with dark mode.
2017-11-17 08:44:04 -08:00
derAnfaenger
6049cd27b1
migrations: Fix conflict.
2017-11-17 08:24:56 -08:00
derAnfaenger
395f1e9270
embedded bots: Add database config storage.
...
Storage limititations are only set on the value of
a config entry, since this is the only user-accessible
part of the schema. Keys are statically set by each
embedded bot.
2017-11-16 23:06:38 -08:00
Sarah
35e60d5e14
new-feature-tutorial: Add references to Django.
...
With some tweaks by tabbott to update links for our recent
documentation migration.
Fixes #670 .
2017-11-16 22:57:31 -08:00
Aditya Bansal
dd037df2c4
thumbor: Add dependencies and virtualenv setup script.
...
In this commit we add new dependencies needed for running thumbor.
Also we add the script for creating the virtual environment ready
for thumbor.
Note: Thumbor will use python2 and thus have different virtualenv
dedicated to it.
Credits to @TigorC and @joshland as well for there work on this.
2017-11-16 22:38:29 -08:00
Aditya Bansal
66060c703c
update-locked-requirements: Add py2 option to compile requirements.
...
In this commit we add a new option which could be used to specify
python version. When 'py2' is specified, future/futures are not
removed from the requirements lock file generated.
2017-11-16 22:34:14 -08:00
Aditya Bansal
79576797b0
thumbor: Auto generate thumbor_key and add it to zulip settings.
2017-11-16 22:34:14 -08:00
Tim Abbott
fa0fb9e299
casper: Switch to use a newer casper off master.
...
Newer casper should fix some problems we've had with contenteditable.
2017-11-16 22:20:38 -08:00
Tim Abbott
7b5ae1ee38
node: Update yarn.lock.
2017-11-16 22:20:38 -08:00
Tim Abbott
41a0fd97c4
build-release-tarball: Improve help/error output.
2017-11-16 22:19:58 -08:00
Tim Abbott
780d83efab
build-release-tarball: Add support for --help.
2017-11-16 22:19:58 -08:00
Tim Abbott
8dc82f97c7
python: Wrap long def lines in test files.
...
We don't have our linter checking test files due to ultra-long strings
that are often present in test output that we verify. But it's worth
at least cleaning out all the ultra-long def lines.
2017-11-16 22:00:53 -08:00
rht
4f5b1c0a5a
zerver/tests: Use python 3 syntax for typing in most files.
2017-11-16 21:52:01 -08:00
Tim Abbott
569cb1d2fb
docs: Move readme-symlink symlink to be just called readme.
...
This name was always a little confusing.
2017-11-16 21:43:25 -08:00
Vishnu Ks
068912ca7d
tests: Add test for default stream group signup flow.
2017-11-16 21:17:31 -08:00