Aman Khantaal
f0a9b7e4a1
Drafts: Click on a message will open it for edit.
2017-02-28 10:10:12 -08:00
Umair Khan
802de53ede
backend: Handle GitHub authentication failure.
...
In case of AuthFailed exception return None.
2017-02-28 09:55:37 -08:00
Raghav Jajodia
f140810ad9
Fix stray zerver/views/__init__.py in new-feature-tutorial.
...
That file was cleaned out a while ago :).
2017-02-28 09:45:56 -08:00
K.Kanakhin
23706a3c9e
Add server error response for failed handlebars template compilation.
...
- Add stamp file creation for the failed templates compilation.
- Add error response to `home` route if stamp file exists. It appears
just for the development environment.
- Add jinja2 template for failed handlebars templates compilation error.
Fixes #3650 .
2017-02-28 09:44:08 -08:00
Elliott Jin
11ba94f11a
test-backend: Raise zerver/views/integrations.py test coverage to 100%.
2017-02-28 09:31:06 -08:00
Elliott Jin
2ea0430bf1
Clean up timestamp formatting in Google Calendar bot.
2017-02-28 09:29:07 -08:00
Joshua Pan
8514df180b
README.md: fix https://www.zulip.org link
2017-02-27 22:19:34 -08:00
hackerkid
8a2b7751a5
requirements: Move PyJWT to common.txt.
2017-02-27 16:04:49 -08:00
hackerkid
ea55b372ac
requirements: Remove JWT.
...
We are using PyJWT, not JWT.
2017-02-27 16:04:49 -08:00
Brock Whittaker
2751fa44e6
Remove transition on compose box height.
...
The transition "all" by default also affected the transition
on the height change of the compose box which ended up making the
compose box appear to be laggy and choppy.
2017-02-27 15:59:49 -08:00
Tim Abbott
f6f2c62caf
zulip-puppet-apply: Fix running it as ./zulip-puppet-apply.
2017-02-27 15:25:14 -08:00
Raghav Jajodia
27f80e7741
hotkeys: 'Esc' key on topic field closes the message_edit form.
...
Pressing Escape key when on topic field closes the message_edit form
Fixes #3796 .
2017-02-27 00:22:18 -08:00
Feorlen
57e64daeb9
Explain Django "Invalid HTTP_HOST header" log message.
2017-02-27 00:13:32 -08:00
Harshit Bansal
bbcd927375
bot_data.js: Replace `remove()` with `deactivate()`.
...
On receiving a `remove` event of type `realm_bot`, instead
of deleting the bot from `bots` dict, set it's `is_active`
flag to false.
2017-02-26 23:56:51 -08:00
Harshit Bansal
a900a2076a
bot_data.js: Add `is_active` field to `bot_dict`.
2017-02-26 23:56:51 -08:00
Harshit Bansal
9d5be410af
page_params: Modify `bot_list` to hold active as well as inactive bots.
...
Modify the `bot_list` to hold all the bots owned by an user
irrespective of whether the bot is active or inactive. Also
include the `is_active` field in `active_bot_dict_fields` to
distinguish between inactive and active bots.
2017-02-26 23:56:51 -08:00
Joshua Pan
4db73b4e91
README.md: change relative links to absolute links
2017-02-26 22:24:56 -08:00
Harshit Bansal
1948cb6a89
Add UI for changing the bot owners.
...
Add neccesary UI in #administration and #settings for
changing the bot owner. The bot owner select control
is rendered dynamically in order to avoid performance
issues in case of large number of users.
Fixes : #2719 .
2017-02-26 21:39:22 -08:00
Harshit Bansal
8b11deedb3
views/users.py: Allow changing bot's owner.
...
Modify the `patch_bot_backend()` route to support
changing the bot owner.
2017-02-26 21:39:22 -08:00
Tim Abbott
9cd6bb4251
README: Tweak peer review stream docs.
2017-02-26 21:22:13 -08:00
Joshua Pan
75e8cd5a6a
README.md: Document peer review stream. Fixes #3395 .
2017-02-26 21:19:38 -08:00
Brock Whittaker
a66cd814af
Huge performance update for subscriber list in streams.
...
Previously the mechanism worked such that the innerHTML was being
appended to directly potentially thousands of times which has horrific
performance implications. By concating all the strings together before
appending to the HTML it all gets rendered in one chunk without forcing
a re-render of previous elements. Performance is ~15x-20x faster now.
2017-02-26 21:11:23 -08:00
Tim Abbott
8691f1466a
populate_db: Disable use of memcached when populating database.
...
This fixes an issue where one would get errors of the form:
`ValueError: unsupported pickle protocol: 3`
in a `run-dev.py` server run against Python 2 if you ran `provision`.
Provision currently runs `populate_db` with Python 3, storing Python 3
based data in memcached, which then can't be read by Python 2.
2017-02-26 21:08:47 -08:00
Elliott Jin
6bdefb92e9
test-backend: Raise zerver/views/zephyr.py test coverage to 100%.
2017-02-26 20:54:25 -08:00
K.Kanakhin
132534b3bb
realm-icon: Add realm icon frontend tests.
2017-02-26 19:55:02 -08:00
adnrs96
a4f99fdb22
Clean search_operators.html to use 4 space indents.
2017-02-26 19:33:39 -08:00
adnrs96
9320fbd1a0
Clean accounts_home.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
05ad108268
Clean zulipchat_migration_tos.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
8a08f39cde
Clean tutorial_finale.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
d7ed6bd645
Clean terms.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
74b6978cc1
Clean settings_overlay.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
92d6d5a213
Clean reset_emailed.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
3664236713
Clean reset_confirm.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
aba825f858
Clean reset.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
35b3daacf3
Clean missed_message_email.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
8f5670dfbc
Clean logout.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
11bf32073d
Clean find_my_team.html to use 4 space indents.
2017-02-26 19:32:21 -08:00
adnrs96
5116f00b2a
Clean drafts.html to use 4 space indents.
2017-02-26 19:32:20 -08:00
adnrs96
07b2fe7d27
Clean debug.html to use 4 space indents.
2017-02-26 19:32:20 -08:00
adnrs96
2465191a9a
Clean deactivated.html to use 4 space indents.
2017-02-26 19:32:20 -08:00
adnrs96
15414aaeab
Clean about.html to use 4 space indents.
2017-02-26 19:32:20 -08:00
adnrs96
0b9669d1df
Clean create_realm.html to use 4 space indents.
2017-02-26 19:32:20 -08:00
adnrs96
f37d354cc5
Clean accounts_send_confirm.html to use 4 space indents.
2017-02-26 19:32:20 -08:00
Tomasz Kolek
e1d73ea36f
github: Add list and fixtures for ignored events to webhook.
2017-02-26 19:17:53 -08:00
Tomasz Kolek
349835e619
Add PR edited, assigned and unassigned to github webhook integration.
2017-02-26 19:16:12 -08:00
Sampriti Panda
fcfa3123d3
Fix compose box opening when clicking drafts button.
2017-02-26 18:37:03 -08:00
Tim Abbott
74a3c4a13f
bugdown: Add a Zulip emoji test.
2017-02-26 18:30:16 -08:00
Harshit Bansal
40d137d621
bugdown: Change rendered emoji image to `unicode/<codepoint>.png.`
...
Use `name_to_codepoint.json` file (and the similar structure in
emoji_codes.js) to map emoji names directly to codepoints and change
the rendered emoji image to `unicode/<codepoint.png>` rather than
`<emoji_name>.png`.
Fixes : #3539 .
2017-02-26 18:30:15 -08:00
Harshit Bansal
3651a432d5
build_emoji: Add `name_to_codepoint` dict to emoji_codes.js file.
2017-02-26 18:28:42 -08:00
Harshit Bansal
1b0d3cbb39
tools/build_emoji: Generate `name_to_codepoint.json` file.
...
Generate the `name_to_codepoint.json` file in build_emoji which will be
used by bugdown/ to map emoji names to codepoints directly.
2017-02-26 18:28:42 -08:00