vaibhav
7fbf517c9c
zulip-bot-server: Add optparse for parsing the flaskbotrc file path and
...
commandline arguments.
2017-06-22 10:37:05 -04:00
vaibhav
26f1799ea4
zulip-bot-server: Add error handling and informative error messages.
2017-06-22 10:37:05 -04:00
vaibhav
f25cf988a3
docs: Add flask server documentation.
...
Flask server is a simple python server which can be used to interact with bots
through outgoing webhook services.
2017-06-22 09:48:09 -04:00
sinwar
0e24930770
provision: Avoid spending ~3s on apt operations in no-op provision.
...
Fixes #5186
2017-06-22 09:37:40 -04:00
Vaida Plankyte
0ed4e22e54
docs: Fix lint/whitespace errors in GCI docs.
2017-06-22 09:30:28 -04:00
Vaida Plankyte
72d126ab78
docs: Change GCI links to point to main repo.
2017-06-22 09:30:28 -04:00
Vaida Plankyte
f880ee4ba0
docs: Move GCI docs into main repo.
2017-06-22 09:30:28 -04:00
Vaida Plankyte
15b058121f
docs: Fix linking & typos in WIP PR section in git-guide.
2017-06-22 09:28:52 -04:00
digi0ps
4c6abc033b
register: Modify short name help text.
...
Fixes #5432
2017-06-22 08:54:29 -04:00
Vaida Plankyte
7b146fa56f
frontend: Fix unnecessary positive tabindex assignments.
2017-06-22 08:29:52 -04:00
Vaida Plankyte
c85446c8bf
frontend: Fix deprecated Windows 7 app link.
2017-06-22 08:12:33 -04:00
Sarah
205d523ab2
test_events: Refactor to use do_set_user_display_settings_test.
...
Remove individual setting tests and replace with
test_set_user_display_settings.
2017-06-22 08:00:56 -04:00
Vaida Plankyte
6d2b1e2284
docs: Clarify tools/ script usage in git-guide.
2017-06-22 07:48:32 -04:00
Greg Price
3286fbe8e3
docs/translating: Follow-on cleanups from removing Django templates.
...
This follows up the recent commit
3d1d09b3d
docs: Remove discussion of old Django templating engine.
with a small grammar fix and removing another vestige of making the
distinction between Jinja2 and Django templates, and also rearranges
the logic slightly to reflect that backend and frontend templates
have separate sections.
Probably a bigger restructuring is in order to help the reader
navigate through all the good content in this doc, but that's
a bigger job for another day.
2017-06-21 19:05:54 -07:00
Cory Lynch
df83cee86b
people.js: Ignore diacritics in search bar.
...
Fixes #5315
2017-06-21 19:13:44 -04:00
sinwar
8ff2e5a22b
requirements: Upgrade moto to latest version.
...
Fixes #5454
2017-06-21 19:05:50 -04:00
Yago González
e7bd18ec09
timerender: Make get_full_time produce a ISO 8601 date string.
...
Having get_full_time produce a date string non-compliant with RFC2822 or
ISO 8601 caused problems when showing edition timestamps on a message's
edit history.
Now it returns an ISO 8601 date string (1978-10-31T13:37:42Z).
2017-06-21 16:46:39 -04:00
Rohitt Vashishtha
45f27cd058
bots: Allow optional config files for bots.
2017-06-21 16:43:58 -04:00
Rohitt Vashishtha
f33e6858cd
bots: Add HTTP status code support to mock http conversations.
2017-06-21 16:43:58 -04:00
Abhijeet Kaur
c42d935be8
bots: Move "EmbeddedBotHandler" class to "zerver/lib/bot_lib.py" file.
...
This would keep embedded classes for zulip at one place, that is, in
"zerver" directory. This also fixes break in PyPI package for bindings.
2017-06-21 16:01:16 -04:00
Cynthia Lin
27e1393610
docs: Update keyboard shortcuts documentation.
2017-06-21 15:54:09 -04:00
Cynthia Lin
e832ebdc98
hotkeys: Add collapse/show message hotkey.
...
Fixes #4540
2017-06-21 15:54:09 -04:00
James Rowan
19ffb84ac2
Make notification email for new login give browser and os.
...
notify_new_login.subject: include browser and os in subject line.
test_new_users: test for subject line to include browser/os.
2017-06-21 14:36:41 -04:00
Cynthia Lin
96dc204841
hotkeys: Document `u` hotkey.
2017-06-21 10:38:05 -04:00
Cynthia Lin
a9afe43735
hotkeys: Add `u` hotkey for opening message sender profile.
...
Fixes #4873
2017-06-21 10:38:05 -04:00
Abhijeet Kaur
a45c224fda
bots: Update EmbeddedBotWorker class in queue_processors.py.
...
Update EmbeddedBotWorker.get_bot_api_client in
'zerver/workers/queue_processors.py' to return an EmbeddedBotHandler
object instead of ExternalBotHandler object.
This change is as a followup for splitting the BotHandler class into
two separate classes for external and embedded bots.
2017-06-21 10:22:53 -04:00
Abhijeet Kaur
55c0dee1c3
bots: Add a separate class "EmbeddedHandlerBots" in bot_lib.py.
...
Add another class for bot type as embedded bot, for bots that run directly
on Zulip server. This class uses internal 'internal_send_messages' from
actions.py instead of using the 'send_message' function from Zulip Client
class.
We haven't gone ahead with creating an abstract superclass right away.
We just have two versions for now, it would be easier to iterate a little
more on the interfaces, and then only add the superclass when we're ready
to lock down the interface.
2017-06-21 10:22:53 -04:00
Abhijeet Kaur
bc6b66cdfc
bots: Remove unnecessary comment from test_giphy file.
...
This comment was added to explain the functionality of the
method called below it. Some changes in the method have led this
comment to be unnecessary.
2017-06-21 10:22:53 -04:00
Abhijeet Kaur
68777e93a0
bots: Rename BotHandlerApi class to ExternalBotHandler.
...
This change is done for better understanding of the class functionality
from its class name. Now there will be 3 different classes for bots,
namely 'ExternalBotHandler', 'FlaskBotHandler' and 'EmbeddedBotHandler'.
2017-06-21 10:22:53 -04:00
Robert Hönig
d45d9c9ab5
bots: Add linter rule to prevent open() calls.
...
Addresses #5395 .
2017-06-21 10:16:59 -04:00
Robert Hönig
fd41a481e4
linter: Fix `include_only` rule path comparison.
...
In order for the `include_only` linter rule to not have
any side effects, we need to explicitly add a trailing '/'
after every directory we want to include.
2017-06-21 10:16:59 -04:00
Umair Khan
a4afca7b73
ldap: Don't authenticate if realm is None.
...
Fixes #5431
2017-06-21 10:14:34 -04:00
Umair Khan
005037830c
test_auth_backends: Fix indentation.
2017-06-21 10:14:34 -04:00
Sampriti Panda
5dc053d6fb
bots: Add validation to add_bot_backend to prevent empty short names
...
Fixes #5487
2017-06-21 10:11:08 -04:00
Steve Howell
e49afe3ebc
lint: Add code to suggest removing exclusions.
...
If excluded lines no longer exist in a file, print a message
asking the user to remove the exclusion.
2017-06-21 08:12:58 -04:00
Cory Lynch
95d86c8aeb
zulip.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
bfd92235c5
typing_notifications.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
a5328be9a1
subscriptions.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
74fd7e0865
stats.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
25d0810f76
settings.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
c7697f8286
right-sidebar.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
c33dc4a5a5
reactions.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
6e9bf1b563
portico.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
67da0ef9dd
portico-signin.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
d04fbc0a53
popovers.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
fa73872828
media.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
1b2d44b016
lightbox.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
7bfb902032
left-sidebar.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
5f6ebaba45
landing-page.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00
Cory Lynch
94ccbb71b0
informational-overlays.css: Replace RGB colors with HSL colors.
2017-06-21 07:02:57 -04:00