Rhea Parekh
3a6921e54b
gitter import: Add gitter data conversion script.
2018-07-23 08:36:30 -07:00
Tim Abbott
db1260fb93
export: Clean up comments on why tables are not currently exported.
2018-07-23 08:28:20 -07:00
Rhea Parekh
c42d6b6983
export: Remove 'zerver_pushdevicetoken' from the to be imported list.
...
PushDevicetoken is automatically created when a user logs
in a server from mobile. This shouldn't be imported.
2018-07-23 08:21:00 -07:00
Rhea Parekh
fe299277f3
import: Import BotStorageData and BotConfigData.
2018-07-23 08:21:00 -07:00
Rhea Parekh
f01ff28e03
export: Export BotStorageData and BotConfigData.
2018-07-23 08:21:00 -07:00
Rhea Parekh
2978e025df
import: Import UserGroup.
2018-07-23 08:21:00 -07:00
Rhea Parekh
98a7762a51
export: Export user groups.
2018-07-23 08:20:58 -07:00
Rhea Parekh
bc2307108d
import: Import Service.
2018-07-23 08:20:58 -07:00
Rhea Parekh
0fcf6d9a40
export: Export Service.
2018-07-23 08:20:58 -07:00
Rhea Parekh
f444e5b628
import: Import MutedTopic.
2018-07-23 08:20:58 -07:00
Rhea Parekh
6eab6446fc
export: Export MutedTopic.
2018-07-23 08:20:58 -07:00
Rhea Parekh
091d101e7d
import: Import UserHotspot.
2018-07-23 08:20:58 -07:00
Rhea Parekh
8897e187c0
export: Export UserHotspot.
2018-07-23 08:20:58 -07:00
Rhea Parekh
6f7b7e143f
import: Map user IDs for custom profile field of type 'USER'.
...
The CustomProfileField object which has the `field_type`
`USER` needs to be updated with the new user IDs.
2018-07-23 08:19:04 -07:00
Rhea Parekh
3879e345d9
import: Add function to re-map foreign keys for ManyToMany fields.
...
This will be used while for any ManyToMany field which
is being imported.
We add an internal function which takes in the old ID list
of the ManyToMany field and return the new updated ID list.
2018-07-23 08:19:04 -07:00
Tim Abbott
bdc95b5d72
slack webhooks: Eliminate unnecessary use of Service model.
...
The user ID of the bot user is a much more useful value to be sending
to the third-party API here.
2018-07-23 08:12:08 -07:00
Rhea Parekh
b6ce93e029
outgoing webhooks: Fix sample values for slack outgoing webhooks.
...
This switches us to use the correct timestamp, service_id and token
formats. The 'service_id' should be the ID of the bot user. The token
should be a sample token generated from 'random_api_key()'.
2018-07-23 08:07:56 -07:00
Harshit Bansal
bf70955c0c
emoji: Update `emoji-datasource` packages.
...
This commit updates the `emoji-datasource` packages to version 4.0.4.
This update brings following changes to emoji infra:
1: Fix for the bleeding sprite sheets.
2: The category of some emojis has been changed. Categorywise breakup of
net gain or loss is as follows:
Travel & Places: 58 (gain)
Symbols: 47 (loss)
Smileys & People: 52 (gain)
Objects: 11 (loss)
Food & Drink: 3 (gain)
Animals and Nature: 46 (gain)
Activities: 9 (loss)
3: There were some changes in the image farm of the package which were
breaking our old emoji farm. I fixed them by modifying the remapped
emoji map.
Fixes : #8235 .
2018-07-23 08:04:58 -07:00
Harshit Bansal
6c28a60db0
emoji: Hardcode octopus emoji.
...
Google emojiset's octopus is really cute and whole Zulip community
loves it. So using a CSS hack, we hardcode octopus emoji to use image
from Google's emojiset only irrespective of the choosen emojiset.
2018-07-23 08:04:58 -07:00
Harshit Bansal
3f73826ffa
emoji: Extract `get_emoji_code()`.
2018-07-23 08:04:58 -07:00
Harshit Bansal
69eaa2de67
emoji: Move `remapped_emojis` list to emoji_setup_utils.py.
2018-07-23 08:04:58 -07:00
Joshua Pan
015bc8b01e
tests: Reach 100% coverage for keydown_util.
...
This commit pretty much just gets line coverage.
2018-07-23 08:42:11 -04:00
Akash Nimare
5f4895f780
user-groups: Centre align popover content.
2018-07-22 20:14:29 -07:00
Shubham Padia
3125fab756
right-sidebar: Add title attribute to `userlist-toggle`.
...
Fixes #9785 .
The userlist-toggle icon is visible for smaller screens and was
missing a title attribute.
2018-07-22 20:01:45 -07:00
Shubham Padia
f574790b09
left-sidebar: Add title attribute to `streamlist-toggle`.
...
The streamlist-toggle icon is visible for smaller screens and was
missing a title attribute.
2018-07-22 20:01:45 -07:00
Vishnu Ks
2b28042ddf
models: Rename remaining audit log event types to past tense.
...
This makes the realm audit event type log entries more consistent.
2018-07-22 20:00:28 -07:00
Vishnu Ks
28167585b1
models: Rename several RealmAuditlog event types to past tense.
...
These event types haven't been used in production yet, and thus are
save to change without a migration.
2018-07-22 20:00:05 -07:00
amanagr
2d5ef27874
message-model: Add `zulipterminal` to sent_by_human clients.
...
Tweaked by tabbott to also more fully document this feature.
2018-07-22 12:32:55 -07:00
Cynthia Lin
84a977967b
subs: Fix regression in Filter streams input focus during modal opening.
...
This behavior was originally implemented in commit 6993f89
, but due to not
specifying a toggle option, the Subscribed/All streams switcher tab was
focused after the input was focused, leading to the input's loss of focus.
Fixes #9981 .
2018-07-22 10:20:44 -04:00
Joshua Pan
0596632457
lint: Exclude frontend_tests/node_tests from $().text rule.
2018-07-20 12:13:56 -07:00
Lyla Fischer
ccba727919
user docs: Update mute-a-topic.md.
2018-07-20 10:10:17 -07:00
Lyla Fischer
e07bf51fc9
user docs: Update the message-actions template.
2018-07-20 10:10:17 -07:00
Steve Howell
b9c9dd9b5a
lint: Turn off the CSS checker (officially).
...
Our CSS checker globs for .css files. Since the
SCSS cutover, it has been a no-op, so there's no
sense launching it. See #8894 for details on
future plans.
2018-07-20 10:03:28 -04:00
Lyla Fischer
010dbcc49f
user docs: Trim language in mute-a-stream.
2018-07-20 07:59:29 +05:30
Lyla Fischer
5a588353c1
user docs: Fix some wording in desktop notifications doc.
2018-07-20 07:24:49 +05:30
Abhigyan Khaund
29a95f3cbf
desktop: Update app version to v2.3.3.
2018-07-19 10:54:58 -07:00
Anders Kaseorg
a0293e8a86
zerver/lib/import_realm.py: Avoid shelling out for mkdir.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
195cc78470
zerver/lib/cache.py: Avoid shelling out for mkdir.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
8698198452
tools/update-authors-json: Avoid shelling out for cp.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
6a8f0165ee
tools/test-help-documentation: Avoid shelling out for mkdir.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
f01942e510
tools/test-emoji-name-scripts: Avoid shelling out for cp.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
07f5b81406
tools/minify-js: Avoid shelling out for mkdir, cp.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
2d12b5b3d9
tools/diagnose: Avoid shelling out for pwd.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
09b8ccd510
scripts/nagios/check-rabbitmq-consumers: Avoid shelling out for mv.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
dbe65231fc
puppet/zulip/files/nagios_plugins/zulip_app_frontend/check_send_receive_time: Avoid shelling out for mv.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
f15cef27db
frontend_tests/run-casper: Avoid shelling out for mkdir, rm.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Anders Kaseorg
8d52f0e0c0
analytics/management/commands/check_analytics_state.py: Avoid shelling out for mv.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-07-19 10:43:37 -07:00
Lyla Fischer
f3b0b8edc8
user docs: Remove the admin.md macro.
2018-07-19 22:30:51 +05:30
Rishi Gupta
b6d1b956f2
user docs: Rename restrict-editing-of-old-messages-and-topics.
2018-07-19 22:30:51 +05:30
Rishi Gupta
5ab373f714
user docs: Update article on configuring message editing and deletion.
2018-07-19 22:30:51 +05:30