Tim Abbott
b68fef8933
actions: Extract update_to_dict_cache.
2016-12-07 17:26:16 -08:00
Tim Abbott
90f76c079d
lint: Require space after headings in markdown.
2016-12-07 17:15:53 -08:00
Tim Abbott
279d160f99
lint-all: Fix markdown_whitespace_rules indentation.
2016-12-07 17:15:47 -08:00
Robert Hönig
b44c4680ff
docs: Add user guide for *Search for messages*.
2016-12-07 17:12:34 -08:00
Rafid Aslam
7856217a63
Migrate JS modules to CommonJS style.
...
Closes #1488 .
2016-12-07 16:11:52 -08:00
anirudhjain75
4bb6735e77
Annotate zephyr_mirror_backend.py.
...
With some tweaks by tabbott to update tuple->Tuple and update comments.
2016-12-07 15:57:55 -08:00
Brock Whittaker
83ca1ab149
register: Make /register responsive again.
...
After some tremendous changes the container now shouldn’t break badly
on narrow screens as flexbox doesn’t set it off the screen.
2016-12-07 15:33:57 -08:00
Juanvulcano
2e5eb74eec
help: Create name-change.md.
2016-12-07 12:27:24 -08:00
actuallyatoaster
25ed6876be
docs: Add user guide for changing password.
2016-12-07 11:59:54 -08:00
Rafid Aslam
b621817194
test_public_urls: Automate test files (in templates/zerver/help/).
...
This automates including of markdown files under
`templates/zerver/help/` to be tested by `test_public_urls` (in
zerver/tests/test_signup.py).
Fixes #2465 .
2016-12-07 11:25:22 -08:00
Rafid Aslam
0fbbadd303
docs: Extract testing docs to their own TOC section
...
Fixes : #2422 .
2016-12-07 07:49:20 -08:00
Sampriti Panda
a9e2de09da
integrations: Add documentation for heroku
2016-12-07 05:39:45 -08:00
Yago González
e65c42cb5f
eslint: Turn on errors for new-cap rule.
...
Now the eslint rule "new-cap" is set as: ["error", { "newIsCap": true, "capIsNew": false }]
2016-12-07 05:33:16 -08:00
1Niels
aad53443b5
docs: Add user guide for Edit Your Profile.
2016-12-06 18:19:53 -08:00
Robert Hönig
ce2671c5cf
eslint: Apply no-useless-escape rule to casper tests.
2016-12-06 18:06:57 -08:00
Rafid Aslam
ce94fb2eb1
deps: Change zxcvbn download method from download-zxcvbn to npm.
...
- Replace download-zxcvbn with downloading it from npm.
- Change zxcvbn.js path to node_modules (because npm put it to
`node_modules` directory.
- Bump `PROVISION_VERSION` in `version.py` to 2.4.
Fixes #2423 .
2016-12-06 17:54:56 -08:00
Rafid Aslam
0951b838ca
deps: Update zxcvbn to 4.4.1
...
Update zxcvbn to 4.4.1, and change `crack_time` to
`crack_times_seconds` because `crack_time` has been changed to
`crack_times_seconds` in 4.4.1.
2016-12-06 17:51:33 -08:00
actuallyatoaster
d11cdac876
docs: Add documentation for linking to a stream.
...
Fixes #2560 .
2016-12-06 17:47:26 -08:00
Tim Abbott
b8ec9a5a42
docs: Improve installation instruction headings.
...
The previous RTD headings were unclear and resulted in some users
attempting to install the Zulip production environment for doing
development. This clarifies the situation.
2016-12-06 17:36:42 -08:00
Sampriti Panda
7c3aff92d9
integrations: Add webhook payloads, webhook code, API endpoint, and tests for heroku
2016-12-06 11:05:00 -08:00
Tudor Nazarie
5b22959f1c
Annotate bots/jabber_mirror_backend.py
2016-12-06 09:52:08 -08:00
root
20a55ea6e0
integrations: Add webhook payloads for appfollow.
2016-12-05 23:48:00 -08:00
Zac Pullar-Strecker
e6e11aefb3
settings: Add option to disable websockets.
...
This can be useful in scenarios where the network doesn't support
websockets. We don't include it in prod_settings_template.py since
it's a very rare setting to need.
Fixes #1528 .
2016-12-05 21:55:22 -08:00
Bickio
84765e48a9
integrations: Add webhook code, API endpoint, and tests for papertrail
2016-12-05 21:48:11 -08:00
K.Kanakhin
7bf10ec74f
update-sockjs: Update sockjs from version 0.3.4 to 1.1.1.
...
- Add browserify to npm dependencies.
- Add SockJS-client to npm dependencies.
- Add npm postinstall script to generate browser version of SockJS-client
from npm package.
- Change deprecated SockJS object property 'protocol_whitelist' to
'transports'.
- Fix settings.
2016-12-05 21:36:10 -08:00
Cynthia Lin
aa7f11dd6c
docs: Add user guide for *Streams and Private Messages*
2016-12-05 21:22:37 -08:00
lonerz
abde152d9c
eslint: change array-callback-return from warning to error.
2016-12-05 21:21:19 -08:00
Mikebarson
690d72d35f
mypy: Convert more zerver/lib files to typing.Text.
...
This commit touches files in zerver/lib/bugdown/ and
zerver/lib/webhooks.
2016-12-05 21:17:24 -08:00
Maydha K
c51d2c3d8f
docs: Add user guide for signing out
2016-12-05 16:59:18 -08:00
Vamshi Balanaga
f89e732d9e
integrations: Add webhook code, API endpoint, and tests for mention.
2016-12-05 16:46:32 -08:00
sidhant bhavnani
4634c3d656
Change call signature for users_subscribed_to_stream()
...
The function users_subscribed_to_stream() now takes realm now, instead of domain.
2016-12-05 15:46:19 -08:00
Tim Abbott
fb3a6eead0
.eslintrc.json: Convert tabs to spaces.
2016-12-05 10:02:19 -08:00
Arpith Siromoney
6ae613c235
Eslint: Add additioanl rules, some for GCI.
...
This commit adds rules for GCI, turns on rules that do not error
on our codebase, and changes frontend_tests/.eslintrc.json's no-sync
rule to off (as per AirBnB's style guide).
Rules for GCI:
no-restricted-syntax, no-nested-ternary, spaced-comment,
space-infix-ops, newline-per-chained-call, padded-blocks,
no-whitespace-before-property, space-in-parens
Rules that do not error:
no-useless-constructor, no-dupe-class-members, no-duplicate-imports,
no-iterator, no-undef, dot-notation, no-case-declarations, no-unneeded-ternary,
eol-last,
Finally, eqeqeq is changed from 2 to ['error', 'allow-null'], going
from jslint defaults to airbnb's recommendation (there were no errors)
2016-12-05 10:01:56 -08:00
lonerz
dc6849952b
eslint: change space-before-function-paren from warning to error.
...
Also fix violations.
2016-12-05 09:50:37 -08:00
Cynthia Lin
f354892ba4
docs: Add user guide for *Create a stream*
2016-12-05 05:48:13 -08:00
lonerz
a8b39e6c0f
Switch yoda eslint rule from warning to error (in .eslintrc)
2016-12-04 19:48:10 -08:00
lonerz
025fe9980b
Switch no-empty eslint rule from warning to error (in .eslintrc)
2016-12-05 01:35:14 +00:00
bulat22101
9f68efa47b
mypy: Convert zerver/tests/ to use typing.Text.
2016-12-04 14:47:21 -08:00
Jianchun1
88e2ff3e1c
docs: Add chinese translation style guide.
2016-12-04 14:36:04 -08:00
Noel Tautges
07a74a8d9c
mypy: Convert zerver/views/webhooks/ to use typing.Text.
2016-12-04 11:45:46 -06:00
Arpith Siromoney
cfa2987d27
Eslint: add rules that do not error
2016-12-04 08:34:59 -08:00
Tim Abbott
15bfedec99
travis: Improve debuggability of server wget failures.
...
The main improvement here is causing `wget` errors to be ignored so
that we see the server logs in the event of a `wget` failure.
2016-12-03 20:48:57 -08:00
Cynthia Lin
dd62123d4b
docs: Add user guide for *Format Your Messages*.
2016-12-03 20:44:01 -08:00
AZtheAsian
441743cb89
integrations: Add webhook code, API endpoint, and tests for stripe.
...
This integration still needs documentation.
2016-12-03 20:42:43 -08:00
Rafid Aslam
0290aeb6ab
lint: Fix several no-unused-vars eslint rule violations.
...
These changes were extracted by tabbott from the original commit
to merge now because they have been reviewed as safe.
2016-12-03 18:43:47 -08:00
Rafid Aslam
426cb13e23
Remove `enforce_arity` function from util.js.
...
Remove `enforce_arity` function from util.js, because it is
not used anymore.
2016-12-03 18:43:46 -08:00
anirudhjain75
3b891ef080
integrations: Add webhook payloads for mention.
2016-12-03 18:04:22 -08:00
Tim Abbott
abc581898f
eslint: Add components.js module to globals list.
2016-12-03 18:02:47 -08:00
Tim Abbott
d5dd7a27d5
Remove tools/deprecated/inject-messages.
2016-12-03 16:58:17 -08:00
Tim Abbott
1a161c6e33
eslint: Fix comma-dangle rules in JS support files.
...
This was done via eslint --fix.
2016-12-03 15:00:24 -08:00