Aditya Bansal
4ebcbfadd7
pep8: Add compliance with rule E261 to api/setup.py.
2017-05-07 23:21:50 -07:00
Raghav Jajodia
a3a03bd6a5
mypy: Added Dict, List and Set imports.
...
Fixed mypy errors associated with the upgrade.
2017-03-04 14:33:44 -08:00
Tim Abbott
ffc24e9f66
api: Add bindings for new get_presence endpoint.
2017-02-10 23:52:56 -08:00
Tim Abbott
36d54cf5ff
Replace references to zulip.com/dist with zulip.org/dist.
...
Now that zulip.org has all the files to distribute, there's no reason
to still point to the soon-to-be-decommissioned zulip.com/dist.
2017-01-28 17:56:25 -08:00
Tim Abbott
ea8e34008d
lint: Fix pep-8 rules on recently added files.
2016-12-27 20:16:23 -08:00
Tim Abbott
9248edaaeb
api: Require a recent version of the typing module.
2016-12-13 22:55:40 -08:00
Tim Abbott
34c3e03ef8
api: Update list of example scripts to include.
2016-12-13 22:55:40 -08:00
Tim Abbott
204ab0a3da
api: Update author to Zulip open source project.
2016-12-13 22:55:40 -08:00
Rafid Aslam
c5316b4002
lint: Fix E127 pep8 violations.
...
Fix pep8: E127 continuation line over-indented for visual indent
style issue.
2016-12-01 10:23:55 -08:00
Anders Kaseorg
d1dc2cf30e
Mark scripts executable
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-11-26 13:20:22 -08:00
Tim Abbott
4a4664d268
mypy: Remove a bunch of now-unnecessary type: ignore annotations.
...
Since mypy and typeshed have advanced a lot over the last several
months, we no longer need these `type: ignore` annotations.
2016-10-17 11:48:34 -07:00
Tim Abbott
0219aba2b2
api: Annotate setup.py and fix import.
2016-08-04 15:57:03 -07:00
Eklavya Sharma
149938d468
Change shebangs from python2.7 to python.
2016-05-29 05:03:08 -07:00
Tim Abbott
a1b306f9ce
Finish purging 'fromt typing import *' from Zulip codebase.
2016-04-07 14:11:21 -07:00
Tim Abbott
2c1377319f
Add type: ignore for mypy __cmp__ bug.
2016-04-03 15:40:24 -07:00
Tim Abbott
5d5976e4ae
Add PEP-484 type annotations to api/.
...
It's not clear this is net constructive since it makes our API
bindings harder to install.
2016-04-03 15:40:23 -07:00
Tim Abbott
8c0b110e9a
Add python-typing dependency.
2016-03-30 21:50:25 -07:00
Ashish
2050f5c7fa
Add API example for fetching historical messages.
...
Fixes : #269 .
2016-03-29 19:04:43 -07:00
Tim Abbott
52f9574047
Fix missing python-six dependency for Zulip API.
2016-01-26 21:09:42 -08:00
Tim Abbott
f3783fb4a1
Apply Python 3 futurize transform libfuturize.fixes.fix_print_with_import.
2015-11-01 09:26:16 -08:00
Tim Abbott
f97649b35c
Apply Python 3 futurize transform libfuturize.fixes.fix_next_call.
2015-11-01 09:26:16 -08:00
Steven Oud
d5435fad1d
Consistently use /usr/bin/env python2.7 in shebangs and commands.
2015-10-21 22:58:21 +00:00
Waseem Daher
6bb9b129f7
Update Zulip support email to zulip-devel@googlegroups.com.
...
Ideally some of these templates should really point to the
local installation's support email address, but this is a
good start.
Exceptions:
* Where to report security incidents
* MIT Zephyr-related pages
* zulip.com terms and conditions
2015-09-29 17:59:47 -07:00
Luke Faraone
7b6e584336
Remove accidentally left-in import of zulip in setup.py.
...
This is **actually** 0.2.2 :)
(imported from commit 4ae69809b550d76b7c3bdf7b1420b25b6e41f73b)
2013-10-31 16:27:59 -04:00
Luke Faraone
de42c2a86c
Switch to four-spaces indentation in setup.py
...
(imported from commit 621e5755e8cfd7117e012f4245de0916e45060bb)
2013-10-31 16:23:03 -04:00
Luke Faraone
8f6e4c4163
Update support email address
...
(imported from commit 3265ea2ec037093bd883a440fe9f8c6d72642a31)
2013-10-31 16:22:51 -04:00
Luke Faraone
cb00186c6a
Optionally use setuptools if it is installed.
...
Thanks to to github.com/roryk for the suggestion.
(imported from commit 9e4365dc56f1bc2f1a1a49be4a7b662d94bf42a9)
2013-10-31 16:22:51 -04:00
Rory Kirchner
aa17018a38
Parse __version__ from __init__.py
...
This way we don't crash if dependencies aren't installed.
License assent:
https://github.com/zulip/python-zulip/pull/3#issuecomment-18182458
(imported from commit f1aa37e97c60a06234c004ada48e08984a085d6f)
2013-10-31 16:22:51 -04:00
Tim Abbott
70c666c3c6
[manual] Rename humbug@humbughq.com to zulip@zulip.com.
...
This requires renaming the account in Google Apps at the time we
deploy this; we'll probably want to do this during off hours to avoid
any user-visible downtime.
This also updates some related email addresses.
(imported from commit fce7629b359a4f278bbf7815c8d177a8fa0484fe)
2013-10-08 08:57:29 -04:00
Leo Franchi
8b11b835ae
Remove demos/ from setup.py install as it's no longer there
...
(imported from commit 5a0deb8fcf3ebdb79115d4c573b5770ad4a6ca52)
2013-10-02 17:41:21 -04:00
Tim Abbott
b4d74b4fbc
Rename /usr/local/share/humbug/ to /usr/local/share/zulip/.
...
(imported from commit 6b5d13b36f96c7174e70ce1391f1d66724c45a62)
2013-08-08 10:22:32 -04:00
Tim Abbott
03293b7be9
Rename humbug-send to zulip-send.
...
(imported from commit 61400841f8fffe4c706d867aaa012059bcba271d)
2013-08-08 10:22:31 -04:00
Tim Abbott
747a9c536f
Rename the 'humbug' API module to 'zulip'.
...
(imported from commit b3a3d7c05459cbb0110cd0fbe2197d779f3a6264)
2013-08-08 10:22:31 -04:00
Tim Abbott
2ea1bb05a5
Rename ~/.humbugrc to ~/.zuliprc.
...
(imported from commit a0d53dd20097a56971874dc1d84c6f95267e84f2)
2013-08-08 10:22:31 -04:00
Tim Abbott
1f1af26048
Change Humbug => Zulip in text/comments.
...
(imported from commit 2f9d73431ae40e1b9e9e11bc2f4f62f566ae758a)
2013-08-07 10:00:07 -04:00
Tim Abbott
0d077e7f41
[manual] Use api.zulip.com to access the Humbug API.
...
This needs to be deployed after the nginx configuration is deployed.
(imported from commit 167a3d9d27595d40883bb400ebcc44c4ad9b6a2f)
2013-07-25 17:27:46 -04:00
Scott Feeney
83cd963c49
Remove unused imports
...
(imported from commit 9e3050c72a2d1137b9096c6cfa1c3945341b9a56)
2013-06-27 16:22:39 -04:00
Tim Abbott
84b073b05c
API: Release several additional API calls to users.
...
(imported from commit 8b32fa126ab76dc80ee775482a9749dff17edf37)
2013-06-25 16:34:45 -04:00
Leo Franchi
360ded396e
Include folders with subfolders when creating api tarball
...
(imported from commit b9d564a6cc4ee6e2afa0108b6d9f18af039fc8cf)
2013-03-26 18:20:02 -04:00
Waseem Daher
8ae102a99b
Revert "Ship all of our examples in the API update tarball."
...
This reverts commit 4162114707f69bcfb6ecea95d7bdf4c080b4b168.
(imported from commit a4d68bc2a68209bed8e00e6d58dd5f5d3a3187f9)
2013-03-15 00:27:42 -04:00
Waseem Daher
226378304c
Ship all of our examples in the API update tarball.
...
(imported from commit 4162114707f69bcfb6ecea95d7bdf4c080b4b168)
2013-03-15 00:22:49 -04:00
Jessica McKellar
7202c50271
Install the demos directory in /usr/local/share/ as well.
...
(imported from commit 7516e5318f9e30544f53703ead4bca60f2dd7828)
2013-02-22 17:00:42 -05:00
Tim Abbott
346d16c034
api: Fix need to manually update list of integrations.
...
(imported from commit 6842230f939483d32acb023ad38c53cb627df149)
2013-02-19 10:17:06 -05:00
Tim Abbott
63827c2301
Make the Nagios integration configurable, available, and documented.
...
(imported from commit 1208fc08ed366a892763c3b29b9aeafa90b29981)
2013-02-14 17:50:00 -05:00
Tim Abbott
61369c87ec
Move trac integration to a subdirectory.
...
(imported from commit fea539e275a5c81d9fde7f66ef8396d77f8d8b6d)
2013-02-14 17:50:00 -05:00
Tim Abbott
4ed2ffb4ce
api: Fix installation of example and integrations.
...
Previously we were installing data files to e.g. /usr/local/example
and /usr/local/integrations, which is really not OK.
(imported from commit 0efb50412f93efabfe55443d5cac57a8ebb9fe06)
2013-02-14 17:50:00 -05:00
Waseem Daher
2660db7e18
api: Move integrations into their own subdirectory.
...
(imported from commit e1a64fbbc64e64e7a2c2fdda4cc9bc77ff3bc852)
2013-02-07 14:15:44 -05:00
Jessica McKellar
d30c8b857e
Only include send_message-related examples in API release.
...
(imported from commit 058a121b4b3c6b2829396c3c7a1007656a9e09da)
2013-02-05 14:09:29 -05:00
Luke Faraone
0e4f1b6d24
Basic setup.py script for API
...
Refer to the API version via an import.
(imported from commit ef28f4edc0d519b4c6a49ef414279685a3d38202)
2013-02-01 15:52:28 -05:00