Tim Abbott
ac86cfcc37
Annotate zephyr_mirror.py.
2016-08-04 15:57:03 -07:00
Tim Abbott
bde3c666a9
zephyr_mirror: Add typing import.
2016-08-04 15:57:03 -07:00
Tim Abbott
3fec3f122f
docs: Add missing annotation to conf.py.
2016-08-04 15:57:03 -07:00
Tim Abbott
641aa08721
compilemessages: Add mypy annotations.
2016-08-04 15:57:03 -07:00
Tim Abbott
a787dee48b
makemessages: Add missing annotations and fix string types.
2016-08-04 15:57:03 -07:00
Tim Abbott
552fc06844
jabber_mirror: Add missing annotation.
2016-08-04 15:57:03 -07:00
Tim Abbott
2da6b6bfd8
views.messages: Add some more annotations.
2016-08-04 15:57:03 -07:00
Tim Abbott
2f13b0b18a
actions: Fix various string annotations.
2016-08-04 15:57:03 -07:00
Tim Abbott
0d39ed82d1
Annotate cron_file_helper.
2016-08-04 15:57:03 -07:00
Tim Abbott
4f782bc186
test_events: Fix annotation gaps.
2016-08-04 15:57:03 -07:00
Tim Abbott
2eb5baa024
zendesk: Add missing type annotation.
2016-08-04 15:57:03 -07:00
Tim Abbott
d7d8d6b4d2
parallel: Add missing annotation.
2016-08-04 15:57:03 -07:00
Tim Abbott
d00719f204
Annotate IFTTT tests.
2016-08-04 15:57:03 -07:00
Tim Abbott
d449f6ba72
Annotate bitbucket2 tests.
2016-08-04 15:57:03 -07:00
Tim Abbott
5253c044e7
test_helpers: Add some missing annotations.
2016-08-04 15:57:03 -07:00
Tim Abbott
a7086d3d8a
trello: Fix accidentally commented type annotation.
2016-08-04 15:57:03 -07:00
Tim Abbott
4840e493b2
decorator: Add missing annotation.
2016-08-04 15:57:03 -07:00
Tim Abbott
ef5b5bb45b
views/streams: Add missing annotations.
2016-08-04 15:57:03 -07:00
Tim Abbott
92062b9526
process_queue: Add missing annotation.
2016-08-04 15:57:02 -07:00
Tim Abbott
89267f926e
Annotate tools/run-dev.py.
2016-08-04 15:57:02 -07:00
Tim Abbott
cc11229377
test_auth_backends: Add missing type annotations.
2016-08-04 15:57:02 -07:00
Tim Abbott
0689485666
Add lint check for malformed type annotations missing :.
...
Also fix the 2 annotations that weren't being checked because of this.
2016-08-04 15:53:23 -07:00
Tim Abbott
af823f7a76
Annotate circleci integration.
2016-08-04 15:53:23 -07:00
Tim Abbott
0ca7af6137
Annotate zilencer tests.
2016-08-04 15:53:23 -07:00
Tim Abbott
1f2b3588d2
Annotate zilencer/models.py and fix str types in zilencer views.
2016-08-04 15:53:23 -07:00
Tim Abbott
55611cd21a
Annotate test_i18n.py.
2016-08-04 15:53:23 -07:00
Tim Abbott
3839a25c74
Annotate generate_secrets.py.
2016-08-04 15:53:23 -07:00
Tim Abbott
028efdcb78
integrations: Add detailed module docstrings.
2016-08-04 12:13:25 -07:00
Tim Abbott
4a7e6e852f
integration guide: Update documentation instructions.
2016-08-04 12:04:12 -07:00
Tim Abbott
6ab09064ac
integration guide: Increase visibility level of hello world guide.
2016-08-04 11:55:19 -07:00
Tim Abbott
613781f034
integration guide: Swap created files above updated files.
2016-08-04 11:53:05 -07:00
Tim Abbott
0691832817
docs: Document new WEBHOOK_INTEGRATIONS API.
2016-08-04 11:52:28 -07:00
Tim Abbott
5f37485e7f
docs: Improve integration guide link to writing documentation.
2016-08-04 11:49:17 -07:00
Tomasz Kolek
09d081d9bd
Replace hardcoded integration-lozenges to generating ones.
2016-08-04 11:41:18 -07:00
Tomasz Kolek
0e33b8bd4d
Add integrations library.
...
Define Integration and WebhookIntegration classes.
Change webhook part of integration's guide.
Replace hardcoded webhook urls to generating
based on WEBHOOKS list.
2016-08-04 11:39:20 -07:00
Taranjeet Singh
cbed266af7
gitignore: Update to remove all_messages_log.*.
2016-08-04 11:34:54 -07:00
Tim Abbott
604e2821f8
Remove tools/deprecated/backup.
2016-08-04 11:34:53 -07:00
Steve Howell
7cc1b1ebc4
Add test coverage for parsers in tools/lib.
...
Now, `tools/test-all` calls a new program called `tools/tests-tools`
that runs unit tests in `test_css_parser.py` and 'test_template_parser.py`.
This puts 100% line coverage on tools/lib/css_parser.py.
This puts about 50% line coverage on tools/lib/template_parser.py.
2016-08-04 10:47:09 -07:00
Steve Howell
5af47e0eef
Make fn param optional with template_parser.validate().
...
The caller can now pass in text directly. This is mostly for
testing, but it could be useful in other situations.
2016-08-04 10:47:09 -07:00
Steve Howell
1f8ba1d1b5
Make minor changes to css_parser.py
2016-08-04 10:47:09 -07:00
Steve Howell
f0c6af2285
Describe events/initial state in new-feature-tutorial.md.
2016-08-04 09:45:37 -07:00
Tim Abbott
03f6cb4b3e
testing: Remove now-unnecessary istanbul install docs.
2016-08-04 09:43:05 -07:00
Tim Abbott
09b677b605
test-js-with-node: Fix istanbul not being in PATH.
2016-08-04 09:29:30 -07:00
Tim Abbott
82b1218af9
test-js-with-node: Fix return status on failure.
2016-08-04 09:27:54 -07:00
Tim Abbott
1d6ebd2b3d
check_fts_update_log: Fix psycopg2 arguments.
...
* Fixes passing a string argument rather than an actual Python
argument.
* Switches to hardcoding the database to connect to rather than the
user, so this check can be run as an arbitrary user.
2016-08-03 14:58:46 -07:00
Tomasz Kolek
c96722b124
Add istanbul cover info to help in test-js-with-node.
2016-08-03 14:57:03 -07:00
Tomasz Kolek
87b554906d
Add clear success message after node tests run.
...
Fixes : #1489 .
2016-08-03 14:56:58 -07:00
Umair Khan
6c248a662d
prod_settings_template.py: Add GitHub team and org.
2016-08-03 12:01:15 -07:00
Umair Khan
b38ca0c690
Add tests for GitHub team and organization auth.
2016-08-03 12:01:15 -07:00
Umair Khan
faa3e9b724
Give logical defaults to social auth settings.
...
Both key and secret settings of team and organization default to
SOCIAL_AUTH_GITHUB_KEY and SOCIAL_AUTH_GITHUB_SECRET respectively.
SOCIAL_AUTH_GITHUB_TEAM_ID and SOCIAL_AUTH_GITHUB_ORG_NAME default
to `None`.
2016-08-03 12:01:15 -07:00