Brock Whittaker
983be4e8ce
right-sidebar: Add perfectScrollbar to the right sidebar.
...
This adds the perfectScrollbar to the right side and theoretically
updates it any time a piece of code interacts with the sidebar and
updates the counts of users displayed in it.
2017-09-27 19:21:20 -07:00
rht
241e318eba
zerver/tornado: remove `import six`.
2017-09-27 19:10:28 -07:00
rht
035ed93111
zerver/lib: remove `import six`.
2017-09-27 19:10:28 -07:00
Brock Whittaker
43fd0e8134
/apps/: Show download instructions selectively based on device.
...
This shows the download instructions only selectively based on
whether the device has download instructions for it. This means
currently it shows the page for Windows, Mac, and Linux.
2017-09-27 18:48:52 -07:00
Brock Whittaker
ce6a262c28
settings: Fix "Notifications stream" list scrolling.
...
The list needs to be set to use perfectScrollbar so that it can
scroll due to the fact that it resides within another instance of
perfectScrollbar.
Fixes : #6351 .
2017-09-27 18:46:19 -07:00
Brock Whittaker
2ed3c615de
popovers: Fix padding to be more uniform.
...
The popovers for the message down chevron and left sidebar had
strange side padding and non-uniform padding between the top and
bottom. This changes them to all have the same padding as the
nav `#gear_menu`; none on the sides and 5px on the top and bottom.
2017-09-27 18:46:08 -07:00
Robert Hönig
f6f601f22b
linter: Add tests for first 10 python custom rules.
2017-09-27 18:27:43 -07:00
Brock Whittaker
d92a98be38
left-sidebar: Move "< All Streams" right ten pixels.
...
This moves the chevron arrow and the "All Streams" text over 10px
so that it will be inline with the hashes below and not be up
against the edge of the screen in some collapsed modes.
2017-09-27 18:09:45 -07:00
Brock Whittaker
55bc9e3f76
left-sidebar: Simplify and make more uniform the "All streams" header.
...
The issue before was that the left sidebar would become too tall for
the screen because the standard header that has “STREAMS” and buttons
is 20px tall, and this one is 30px tall. This makes it much shorter,
changes the text to be the same style as the “STREAMS” text (medium
grey, uppercase text).
The markup is then fixed to be significantly less verbose than before —
changing a list to just a simple link.
2017-09-27 18:09:45 -07:00
Brock Whittaker
38b3eeb332
left-sidebar: Combine two selections for `#stream-filters-container` to one.
...
This combines two different selections of the
`#stream-filters-container` into one chained selection and writes a
comment on how it is possible due to the return value of `.css`.
2017-09-27 18:09:45 -07:00
rht
c2290b0328
Remove the rest of print_function.
2017-09-27 18:06:47 -07:00
rht
8aa8991caa
docs: Remove import print_function.
2017-09-27 18:06:47 -07:00
rht
ed9b3ca440
zilencer: Remove import print_function.
2017-09-27 18:06:47 -07:00
rht
74f8a527e4
analytics: Remove print_function.
2017-09-27 18:05:45 -07:00
rht
32650c8fdc
zerver/management: Remove print_function.
2017-09-27 18:05:45 -07:00
rht
26f5d9a32c
zerver/tests: Remove print_function.
2017-09-27 18:05:45 -07:00
rht
b8aa92194c
zerver/tornado: Remove print_function.
2017-09-27 18:05:45 -07:00
rht
2e12fe5e2e
zerver/lib: Remove print_function.
2017-09-27 18:05:45 -07:00
rht
e4c824ed61
zerver/views: Remove print_function.
2017-09-27 18:05:45 -07:00
Vishnu Ks
17cc32f168
settings: Show error or success message when deleting uploaded files.
...
Fixes #6519
2017-09-27 17:50:22 -07:00
Vishnu Ks
8faa9ab214
settings: Show upload quota and total uploads size in uploaded files page.
...
Fixes #6408
2017-09-27 17:50:22 -07:00
Vishnu Ks
865bc06945
settings: Show attachment size and upload date in uploaded files page.
2017-09-27 17:50:22 -07:00
Vishnu Ks
2f32439fc3
node_tests: Fix broken assert.equal in templates.js.
2017-09-27 17:50:22 -07:00
Vishnu Ks
94e099eaab
auth: Make multiuse invite link work with oAuth2.
...
This works by attaching to the user's session the multi-use invitation
key, allowing that to be used in the Google/GitHub auth flows.
2017-09-27 17:47:40 -07:00
Brock Whittaker
945e97ec35
portico: Style "confirm email change" page.
...
This adds the white box styling to the "confirm email change" page.
Fixes : #6706 .
2017-09-27 17:41:45 -07:00
Steve Howell
de0b47fd4e
Always notify service bots about stream mentions.
...
Before this change, we were only triggering service bots
for stream mentions when the bot was subscribed to the
stream.
2017-09-27 17:22:12 -07:00
Brock Whittaker
4e86bffb15
/help/: Remove "overflow: hidden" from sidebar on mobile.
...
This removes the "overflow: hidden" value in CSS on screens that
are less than 1000px wide.
Fixes : #6700 .
2017-09-27 17:18:33 -07:00
rht
b937e1fede
Remove the rest of `import six` outside zerver.lib.
...
We no longer need the six module, now that we're Python 3 only.
2017-09-27 17:09:15 -07:00
rht
daef6a7dbc
zerver/tests: Remove `import six`.
2017-09-27 17:07:40 -07:00
rht
a7803cbf1b
zerver/tornado: remove `import six`.
...
Tweaked by tabbott to remove the changes in
zerver/tornado/handlers.py, which are hard to test.
2017-09-27 17:07:08 -07:00
rht
0fa3c1d876
zerver/management: Remove `import six`.
2017-09-27 17:06:16 -07:00
rht
2ae47525d3
zerver/worker: Remove `import six`.
2017-09-27 17:06:16 -07:00
rht
106375bd68
zerver/views: remove `import six`.
2017-09-27 17:03:03 -07:00
Tim Abbott
28eaf5620e
emails: Use common_context for email change notifications.
...
This also lets us remove `realm_uri`.
2017-09-27 16:48:18 -07:00
Rishi Gupta
d0a9e92f1d
emails: Fix duplicate html structure added to compiled emails.
2017-09-27 16:48:18 -07:00
Vishnu Ks
69b68286ee
devtools: Mention to run inline css command in /emails section.
2017-09-27 16:48:18 -07:00
Vishnu Ks
dfaa939af2
emails: Store the compiled emails in separate directory.
2017-09-27 16:48:18 -07:00
Vishnu Ks
caaa90f22d
emails: Extract CSS from email_base_default.
2017-09-27 16:48:18 -07:00
Vaida Plankyte
207e06d558
frontend: Add header & body illustrations to emails.
2017-09-27 16:32:43 -07:00
Vaida Plankyte
6222a487ec
frontend: Add buttons to emails.
2017-09-27 16:16:43 -07:00
Vaida Plankyte
0993617214
frontend: Add new style to emails.
2017-09-27 16:16:43 -07:00
Vaida Plankyte
cb7353a3b5
frontend: Remove inline color assignments in emails.
2017-09-27 16:16:43 -07:00
Steve Howell
1b518f1983
Return mentioned users in get_user_info_for_message_updates().
...
The dictionary result for get_user_info_for_message_updates()
now has a `mention_user_ids` field that is a set of user ids
who were mentioned in a message.
2017-09-27 16:01:50 -07:00
Steve Howell
646abb57b7
refactor: Extract get_user_info_for_message_updates.
...
We'll want to expand this to get users that were mentioned in
the prior message, but this commit is just a refactoring.
2017-09-27 16:01:50 -07:00
Steve Howell
5abf52de71
Extract get_idle_userids().
...
This function will help us send missed-message mails for
updates, in a future commit.
2017-09-27 16:01:50 -07:00
Tim Abbott
06e6b3abe1
event_queue: Fixed stream_push_notify code path in missedmessage_hook.
...
This finishes implementing the stream_push_notify feature, which
previously didn't work if you were not idle when the message was sent.
2017-09-27 15:57:48 -07:00
Tim Abbott
2b1ea1555c
event_queue: Simplify API of maybe_enqueue_notifications.
2017-09-27 15:57:47 -07:00
Tim Abbott
fa461c6a4f
missedmessage_hook: Fix name of ClientDescription argument.
...
This was previously incorrectly named to suggest it was the EventQueue
object.
2017-09-27 15:57:47 -07:00
Tim Abbott
d6732d0781
event_queue: Fix handling of private messages in missedmessage_hook.
...
Previously, we didn't correctly trigger email/push notifications for
PMs in these cases.
2017-09-27 15:57:47 -07:00
Tim Abbott
bfa8f0efdb
tests: Add an end-to-end test for missedmessage_hook.
...
This checks what arguments it passes into the enqueuing function.
Note, however, that the arguments are wrong for various cases, we'll
update the tests as we fix those bugs.
2017-09-27 15:57:47 -07:00