YJDave
28ca52b493
user setting: Enhance email change modal.
...
* Disable spellcheck in email field.
* Decrease width of email change modal.
* Autofocus email field in email change modal.
2018-01-08 14:35:03 -05:00
YJDave
88b2498a8a
user setting: Change wording of strings in email change modal.
...
Change email field title to "New email" and close button
title to "Cancel".
2018-01-08 14:35:03 -05:00
YJDave
0a92dfd120
user setting: Set email change warning icon inline to email field.
2018-01-08 14:35:03 -05:00
Alena Volkova
9d1063d362
urls: Move the json/fetch_api_key endpoint to be an API-style route.
2018-01-08 13:15:52 -05:00
Alena Volkova
7c22045158
test_decorators: Replace the json/fetch_api_key endpoint in tests.
...
This endpoint is about to become an API-style route and have the legacy
decorator removed from its view. Other endpoints will be used in tests
instead of it.
2018-01-08 13:15:52 -05:00
Rhea Parekh
b583f1f0ff
slack importer: Add regex for markdown mapping.
...
* For strikethrough formatting: Slack's '~strike~' to Zulip's '~~strike~~'.
* For bold formatting: Slack's '*bold*' to Zulip's '**bold**'.
* For italic formatting: Slack's '_italic_' to Zulip's '*italic*'.
* For mentioning formatting: Slack's <@slack_id|short_name> to Zulip's @**full_name**.
* Checking links.
2018-01-08 08:05:50 -05:00
Rhea Parekh
dd51f348e5
Slack importer: Update documentation.
2018-01-08 08:05:50 -05:00
Rhea Parekh
a6e0bcd5f6
Slack importer: Map messages and usermessages.
2018-01-08 08:05:50 -05:00
Rhea Parekh
24a86a524b
slack importer: Quiet the unzip command.
2018-01-08 08:05:50 -05:00
Rhea Parekh
4019a456d1
slack importer: Rename messages file.
...
Rename messages file from '/message-000001.json' to
'/messages-000001.json'
2018-01-08 08:05:50 -05:00
Rhea Parekh
400c968b0e
slack importer: Remove unnecessary comment.
2018-01-08 08:05:50 -05:00
Rhea Parekh
c875428a83
slack importer: Extract get_user_full_name() helper.
2018-01-08 08:05:50 -05:00
Robert Hönig
3420ed1fcc
validator.py: Cover missing lines in check_dict().
2018-01-07 15:23:17 -05:00
Eeshan Garg
a01f8c088a
api docs: Document the POST /api/v1/users/me/subscriptions endpoint.
...
There is a JavaScript equivalent for this endpoint but the npm
package has not yet been released.
2018-01-07 15:19:51 -05:00
Eeshan Garg
ae59b08316
api docs: Document the GET /api/v1/users/me endpoint.
...
Note that there is no JavaScript equivalent for requesting this
endpoint in zulip-js yet.
2018-01-07 15:19:51 -05:00
Eeshan Garg
045aacbc67
api docs: Document the PATCH /api/v1/messages/<msg_id> endpoint.
...
Note that there is no JavaScript equivalent for requesting this
endpoint in zulip-js yet.
2018-01-07 15:19:51 -05:00
Eeshan Garg
6f01b042a1
api docs: Document the DELETE /api/v1/events endpoint.
...
Note that there is no JavaScript equivalent for requesting this
endpoint in zulip-js yet.
2018-01-07 15:19:51 -05:00
Cynthia Lin
da06832837
right-sidebar: Make Search people input collapsible with search icon.
...
Fixes #4816
2018-01-07 15:05:03 -05:00
Cynthia Lin
7c1a803927
left-sidebar: Fix styling of Streams header to not use links.
2018-01-07 15:05:03 -05:00
Robert Hönig
c745d1901c
bot_config.py: Add function for loading config file templates.
...
load_bot_config_template(bot) parses the <bot>.conf
template file, which can be found in the zulip_bots
package for each bot. It then returns the INI content
of that file as a dict.
2018-01-07 20:05:52 +01:00
Robert Hönig
ed7208fd6e
Make EmbeddedBotHandler.get_config_info comply with ExternalBotHandler.
2018-01-07 20:05:52 +01:00
Robert Hönig
9cc059f4aa
bot_config.py: Raise exception when getting config data from bot without config entries.
2018-01-07 20:05:52 +01:00
Robert Hönig
83d0c7be31
embedded bots: Run bot.initialize() if bot has this function.
2018-01-07 20:05:52 +01:00
Robert Hönig
dcd62f92fb
validator.py: Extend functionality of check_dict().
...
With this commit, check_dict() can be used to verify
that all keys and/or values of a dict are of a certain
type.
2018-01-07 20:04:52 +01:00
Robert Hönig
82db9a211e
bot settings: Set converter as default in embedded bot list.
...
The previous value 'xkcd' is not yet an embedded bot.
2018-01-07 18:52:04 +01:00
Robert Hönig
e28943cd9a
zjquery: Allow attribute selector '[]'.
2018-01-07 18:49:16 +01:00
Robert Hönig
a7b35f24b9
zjquery: Add support for trigger() with string as argument.
2018-01-07 18:47:55 +01:00
Balaji2198
d6ae9341d3
refactor: Remove obsolete .user_offline.
...
This is an obsolete css class in right-sidebar.css.
2018-01-07 10:04:35 -05:00
Balaji2198
9e814e1b2d
refactor: Remove obsolete .ps-scrollbar-y.
...
This is an obsolete css class in left-sidebar.css.
2018-01-07 10:04:35 -05:00
Balaji2198
f520a28bc7
refactor: Remove obsolete .ps-scrollbar-y-rail.
...
This is an obsolete css class in left-sidebar.css.
2018-01-07 10:04:35 -05:00
Balaji2198
bebbdce5dc
refactor: Remove obsolete .hidden-filter.
...
This is an obsolete css class in left-sidebar.css.
2018-01-07 10:04:35 -05:00
Eeshan Garg
30795c864d
python-zulip-api: Upgrade to release 0.4.0.
2018-01-07 09:52:13 -05:00
Vishnu Ks
ec207e5697
slack importer: Use standalone database for running tests.
2018-01-07 09:50:27 -05:00
Vishnu Ks
5cadc6365a
slack importer: Extract data into directory of zip file.
...
Currently the zip file is extracted to the root of
zulip directory no matter where the the zip file.
The extracted data is not useful after running the command
which pollutes the zulip directory. It make more sense to
extract it to the same directory of zip file especially
when the zip file gets downloaded to /temp like in the tests.
2018-01-07 09:50:27 -05:00
Robert Hönig
29a343cb44
Rename BotUserConfigData to BotConfigData.
...
This is in compliance with the naming of
BotStorageData.
2018-01-06 14:13:18 -05:00
Cynthia Lin
c82e73e0c9
org settings: Improve design of User groups page.
2018-01-06 11:50:52 -05:00
Cynthia Lin
a937750b1a
node tests: Add 100% test coverage for user_groups.js.
2018-01-06 11:50:52 -05:00
Cynthia Lin
5b70bb80b1
org settings: Add typeahead to user group member inputs.
...
Fixes #165 .
2018-01-06 11:50:52 -05:00
Cynthia Lin
58d37702a4
org settings: Add functionality for updating data of user groups.
2018-01-06 11:50:52 -05:00
Cynthia Lin
48f7e8c0d0
org settings: Add functionality for saving state of edited user groups.
2018-01-06 11:50:52 -05:00
Cynthia Lin
d6a937aa2a
org settings: Add functionality for adding/removing users from groups.
2018-01-06 11:50:52 -05:00
Cynthia Lin
a8c20876b9
org settings: Add user group save functionality for editing groups.
2018-01-06 11:50:52 -05:00
Cynthia Lin
7da0c126e4
org settings: Add user group deletion functionality.
2018-01-06 11:50:52 -05:00
Cynthia Lin
168e7bb2d6
org settings: Add user group creation functionality.
2018-01-06 11:50:52 -05:00
Cynthia Lin
8c8cd5fbf1
org settings: Render user group data dynamically.
2018-01-06 11:50:52 -05:00
Cynthia Lin
83706e1bcd
org settings: Add User groups content and design.
2018-01-06 11:50:52 -05:00
Cynthia Lin
7790e2b23c
org settings: Add framework for User groups page.
2018-01-06 11:50:52 -05:00
Alena Volkova
5bbc46762f
tests: Improve error handling of import failures.
...
Fixes #6776 .
2018-01-05 12:03:37 -05:00
Umair Khan
7145e6c97b
travis: Enable test-queue-worker-reload.
...
Fixes #1341
2018-01-05 08:24:57 -05:00
Umair Khan
6259390f40
test-queue-worker-reload: Add wait to avoid race condition.
...
The autoreload code of Django works by looping over the files associated
with all the loaded modules. This loop is run after every 1 second. If
the file is found for the first time by the loop, it is assumed that the
file is new and is not modified between the time it is loaded and is
checked by the loop. This assumption is the source of a race condition.
We can either implement a more sensitive version of the loop or we can
just allow enough time to the Django loop to touch every file at least
once.
For the time being, we are going with the second option.
2018-01-05 08:24:57 -05:00