Vishnu Ks
e35fa80745
billing: Fix the position of 'processing' text.
2018-12-30 08:00:23 +05:30
Vishnu Ks
806fa1a834
billing: Make card change use create_ajax_request.
2018-12-30 08:00:23 +05:30
Vishnu Ks
41fbc699ad
billing: Make invoice upgrade use create_ajax_request.
2018-12-30 08:00:23 +05:30
Vishnu Ks
938438364f
billing: Use form.serializeArray in create_ajax_request.
2018-12-30 08:00:23 +05:30
Vishnu Ks
b655cfe379
billing: Extract autopay ajax request code as function.
2018-12-30 08:00:23 +05:30
Vishnu Ks
93b1795ed1
billing: Don't pass csrf token in Ajax requests.
...
The Ajax request will automatically fetch the value
from input[name='csrfmiddlewaretoken'] and set the
headers. This is done in csrf.js.
2018-12-30 08:00:23 +05:30
Vishnu Ks
ed196bb980
billing: Rename #invoice_seat_count to #invoiced_licenses.
...
Followup of b4a28f3147
2018-12-30 08:00:23 +05:30
Vishnu Ks
eebf526657
billing: Check for min license count in frontend.
2018-12-30 08:00:23 +05:30
Tim Abbott
25793aefa7
hotkey: Fix using pageup/pagedown inside message edit.
...
Our logic for doing pageup/pagedown calculation inside compose was
written too tightly, and ended up breaking the keys inside message
editing.
Fix this by using generic selectors that don't hardcode compose.
2018-12-29 15:59:28 -08:00
Vaibhav
93914d8cd8
markdown: Parse '/me' for multi-line messages.
...
Previously, messages with more than one line did not parse '/me' at
the beginning of the message. Since there's a reasonable way to
render multi-line messages, this commit adds support for doing so.
This change does potentially break with the expected behavior of other
slash commands, but it seems worth providing useful functionality over
a blind focus on consistency.
Fixes #11025 .
2018-12-29 15:32:50 -08:00
Vishnu Ks
96bb27fa84
signup: Fix bug in import settings when subdomain is root.
...
If branch for showing the profile details would
not have executed if the subdomain was root ("").
The check was changed to check for select input
instead of checking for subdomain.
2018-12-29 15:01:09 -08:00
Archit Kaushik
830dd68e45
message_list: Hide the message control icons when editing.
...
This avoids a bunch of potential confusion around users trying to
interact with these UI in situations that don't make sense.
(E.g. showing a menu to start editing the message when the menu is
already open).
Fixes #3802 .
2018-12-29 14:37:56 -08:00
Steve Howell
053a41d816
subject -> topic: Fix notifications.js.
2018-12-29 14:34:06 -08:00
Steve Howell
56a893cd94
subject -> topic: Fix hash_util.js.
...
This includes using a more modern URL for topic links.
(We already supported "../topic/..." urls.)
2018-12-29 14:34:06 -08:00
Steve Howell
95e213df87
subject -> topic: Fix message_list_view.js.
2018-12-29 14:34:06 -08:00
Steve Howell
4fec91d5b1
subject -> topic: Fix message_events.js.
2018-12-29 14:34:06 -08:00
Steve Howell
3fc8597119
popovers: Avoid passing message to actions popover template.
...
We instead get the specific fields from message
that we use. This is particularly helpful
for subject -> topic migration; we no longer
have to account for "subject" fields in
client-side templates.
2018-12-29 14:19:18 -08:00
Steve Howell
c293e37237
unread: Rename zero-subject-unreads to zero-topic-unreads.
2018-12-29 14:18:32 -08:00
Steve Howell
1903cc8ac7
refactor: Use message/topic in muting_ui.toggle_mute().
2018-12-29 14:15:43 -08:00
Steve Howell
411743e6dd
narrow: Use get_message_topic() helper.
2018-12-29 14:15:43 -08:00
Steve Howell
dc5321fed3
message_edit: Add util.get_edit_event_topic().
2018-12-29 14:14:43 -08:00
Steve Howell
9b4f804fd1
message_edit: Add util.get_edit_event_orig_topic().
...
This extracts this bit of parsing logic for message_edit events.
2018-12-29 14:14:40 -08:00
Steve Howell
bcc92744c2
compose fade: Use "topic" internally.
2018-12-29 11:40:59 -08:00
Steve Howell
773e85309c
topics: Make util more flexible about subject/topic.
2018-12-29 11:40:57 -08:00
Steve Howell
4e0969bb49
Rename util.set_topic -> set_message_topic().
2018-12-29 11:38:39 -08:00
Steve Howell
4b2181ffa2
Rename util.get_topic -> get_message_topic().
...
The specific name will help us when we fully cut
over to "topic" on message objects.
2018-12-29 11:38:39 -08:00
Steve Howell
2fdb44803d
filter: Eliminate a few "subject" references.
...
This continues the effort to isolate "subject" references
to util calls.
Also, we fix a comment.
Finally, we use canonicalized operators in a switch
statement.
2018-12-29 11:38:39 -08:00
Steve Howell
8121d19122
minor: Change "subject" to "topic" in comments.
2018-12-29 11:38:39 -08:00
Steve Howell
76a73e00f4
unread: Use topic_name as var.
2018-12-29 11:38:39 -08:00
Hemanth V. Alluri
b928bb3b26
static: Replace an if-else block in popovers.js with a switch statement.
2018-12-29 11:24:10 -08:00
Archit Kaushik
43fd8e658d
notifications: Fix styling for long compose alerts.
...
This adjusts the spacing so that the out-of-view notifications for
group PMs (which have particularly long text) don't end up with the
"x" to close the notification overlapping the text.
Fixes #11058 .
2018-12-29 11:15:39 -08:00
AsociTon
7a80456832
reactions: Make styling for night mode reactions more distinctive.
...
Fixes #10840 .
2018-12-29 10:40:32 -08:00
Eeshan Garg
c4fd0a659f
webhooks/statuspage: Update docs, logo and screenshots.
2018-12-29 10:29:16 -08:00
Eeshan Garg
1b539a51de
webhooks/opsgenie: Update docs, logo and screenshots.
...
Note that the word "genie" in Opsgenie is not supposed to be
capitalized.
2018-12-29 10:29:16 -08:00
Eeshan Garg
8bab4ceba4
webhooks/bitbucket2: Update docs, logo and screenshots.
2018-12-29 10:29:16 -08:00
Eeshan Garg
da663104f3
webhooks/trello: Update logo and screenshots.
2018-12-29 10:29:16 -08:00
Eeshan Garg
776bdab567
webhooks/jira: Update logo and screenshots.
2018-12-29 10:29:16 -08:00
Steve Howell
015af605cf
Use stream_id in web app for muting endpoints.
...
This is set up by the previous commit, which allows
stream_id as alternative for stream on the server side.
2018-12-27 20:26:30 -08:00
Rishi Gupta
b4a28f3147
billing: Rename seat_count to licenses where appropriate.
2018-12-22 13:30:15 -08:00
Rishi Gupta
7ab1406962
billing: Prepare for moving Plan to CustomerPlan.billing_schedule.
2018-12-22 13:30:15 -08:00
Vishnu Ks
8176d112fe
billing: Add frontend for license-based billing system.
2018-12-22 13:30:15 -08:00
Vishnu Ks
d086efd33f
billing: Deduplicate get_form_input in billing.js.
2018-12-22 13:30:15 -08:00
Steve Howell
72576b3a77
compose: Fix recent autocomplete regression.
...
As part of giving the stream/topic fields in the
compose box longer ids, I broke the autocomplete
code that handles re-focusing the cursor after
a user hits enter. The worst symptom of this was
that we tried to send a message before compose
finished (although it wouldn't fully deliver the
message).
The new code should be a bit easier to grep for
if we rename these fields again, as we explicitly
use selector syntax.
2018-12-22 08:07:23 -08:00
Steve Howell
ca22302763
minor: Avoid ui_util.focus_on() call.
...
The helper is unnecessary at this point and obscures
greps for selectors. We completely eliminate it in
the next commit.
2018-12-22 08:07:23 -08:00
Vishnu Ks
30a61d7505
billing: Fix plan input bug in upgrade.
2018-12-21 09:34:27 -08:00
Rishi Gupta
19645354c7
user docs: Update about-streams-and-topics.
2018-12-20 16:26:19 -08:00
Steve Howell
1656fd7729
Fix recent regression with mute undo.
...
The undo button was bound to the stream id
and topic for only the first call, when
the click handler was set.
2018-12-20 15:58:05 -08:00
Akash Nimare
bd49b2ad63
portico: Fix height of carousel container.
2018-12-20 18:49:41 +05:30
Tim Abbott
a4dccec356
linkifiers: Fix the new linkifier field widths.
...
This makes it much more reasonable to enter a longer URL.
2018-12-19 09:15:41 -08:00
seresheim
49dbd85a89
auth: Add support for Azure Active Directory authentication.
...
This takes advantage of all of our work on making the
python-social-auth integration reusable for other authentication
backends.
2018-12-18 16:39:03 -08:00