Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Luke Faraone 9e71d0c7b2 Encode names before passing to urllib.
This otherwise causes Unicode bugs. See for example:

>>> import urllib
>>> urllib.quote_plus("hello&world+whats@up?")
'hello%26world%2Bwhats%40up%3F'
>>> urllib.quote_plus(u"faraoné")
/usr/lib/python2.7/urllib.py:1268: UnicodeWarning: Unicode equal
comparison failed to convert both arguments to Unicode - interpreting
them as being unequal
  return ''.join(map(quoter, s))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/urllib.py", line 1275, in quote_plus
    return quote(s, safe)
  File "/usr/lib/python2.7/urllib.py", line 1268, in quote
    return ''.join(map(quoter, s))
KeyError: u'\xe9'
>>> urllib.quote_plus(u"faraoné".encode("utf-8"))
'faraon%C3%A9'

(imported from commit 7c13b749bdc7f89e7b767ddd630be0ebce30802c)
2013-08-15 10:56:46 -04:00
api [manual] Bump API version to 0.2.0. 2013-08-09 15:34:57 -04:00
assets Change Humbug => Zulip in text/comments. 2013-08-07 10:00:07 -04:00
bots Rename Humbug-based variables in check-mirroring. 2013-08-08 10:22:32 -04:00
certs Switch api.zulip.com to signed PositiveSSL / Comodo certificate. 2013-07-15 16:49:54 -04:00
confirmation Move to a common random token generation function instead of several one-offs. 2013-08-09 14:59:26 -04:00
humbug Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers Use PyDNS instead of shelling out to host 2013-08-12 13:09:19 -07:00
static Use d.each() for iterating Dict instances. 2013-08-15 10:16:12 -04:00
templates apps: Link to apt.humbughq.com instead. 2013-08-14 17:14:52 -04:00
tools zulip.subject_dict -> composebox_typeahead.seen_topics 2013-08-14 13:15:00 -04:00
zerver Encode names before passing to urllib. 2013-08-15 10:56:46 -04:00
zproject Add administrative panel to allow for user deactivations etc. 2013-08-13 14:20:18 -04:00
.gitignore Remove old sqlite path zephyrdb from .gitignore files. 2013-08-07 10:00:08 -04:00
manage.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00