rht
ee06da9350
bugdown: Linkify Bitcoin URI.
2018-01-19 06:07:43 -05:00
Umair Khan
ea8f1efb63
tests: Re-raise exception if not import error.
2018-01-19 06:02:05 -05:00
Umair Khan
8f316183e0
tests: Make import error tracebacks terse.
...
This will also disable exception chaining; we do not need it here.
2018-01-19 06:02:05 -05:00
Greg Price
9565a5375f
version: Belatedly bump PROVISION_VERSION.
...
This should have been done in 167a71292
yesterday, which added a
library to requirements; oops.
2018-01-18 17:46:37 -08:00
Greg Price
e68f426286
docs/production: Revise doc on authentication methods.
...
Hopefully this version makes it somewhat clearer how the different
methods relate to each other, how to choose between them, what
`ZulipRemoteUserBackend` is for, and how the latter works.
2018-01-18 17:45:03 -08:00
Tarun Kumar
9b7b600772
user docs: Fix screenshot in TeX documentation.
...
Changes the screenshot to use $$ instead of $.
2018-01-18 16:42:15 -08:00
Vishnu Ks
7dbb4cdae2
uploads: Remove ExceededQuotaError class.
...
We are no longer using it.
2018-01-18 15:38:08 -08:00
Steve Howell
a5e55cee9b
bot docs: Clean up "Testing a bot's output".
...
The main cleanup here is to move the examples out of the bulleted
list, which was getting rendered in an ugly/confusing way.
I also removed some redundant text, fixed some typos, and changed
the wording a bit.
2018-01-18 16:09:24 -05:00
Sampriti Panda
6c32379985
compose: Fix browser extensions interfering with compose box.
...
Make sure that clicks outside <body> triggered by extensions
don't close the compose box.
2018-01-18 15:53:06 -05:00
Tim Abbott
b04bb1a973
locale: Update translation files.
...
This includes adding the new Turkish language.
2018-01-18 09:13:05 -08:00
Tim Abbott
2c16c76551
beeminder: Fix buggy coding tag at top of file.
2018-01-18 09:07:06 -08:00
Umair Khan
a994dba583
tests: Give more descriptive import error.
...
This code takes care of the environment running Python 3.4 when
test label is passed directly to the test-backend command:
./tools/test-backend test_alert_words
2018-01-18 07:13:26 -05:00
Umair Khan
0eda941822
tests: Verify imports in test modules.
2018-01-18 07:13:26 -05:00
Umair Khan
7248a3366b
tests: Change print_error_message to check_import_error.
2018-01-18 07:13:26 -05:00
Umair Khan
f3c86c9e58
tests: Remove old import testing code.
...
We will add the modified version of this code in the next commit.
2018-01-18 07:13:26 -05:00
Umair Khan
c26cdee95d
get_test_names: Update to accept ParallelTestSuite arg.
2018-01-18 07:13:26 -05:00
Alena Volkova
aa58e1fcda
tests: Make import failure error messages more consistent.
2018-01-18 07:13:26 -05:00
Alena Volkova
13b1334fe4
tests: Refactor error handling of import failures.
2018-01-18 07:13:26 -05:00
Greg Price
1ef2d9d637
billing: Simplify logging of Stripe errors.
...
Several changes:
* De-duplicate code for different error types.
* No need to list lots of error subtypes where we aren't treating
them differently; StripeError is the base class of them all.
* Unexpected, non-Stripe-related, exceptions we can handle in the normal
way. Just make them show up in the billing-specific log too.
* The Stripe client library already logs type, code, param, and message
before raising an error, so we don't need to repeat those; just add the
HTTP status code (because it's not there already and sure why not),
and the Python exception type the client library chose to raise
in case that makes things a bit easier to interpret.
2018-01-17 18:10:17 -08:00
Greg Price
858b9d7bc1
billing: Log important requests to Stripe.
2018-01-17 18:10:17 -08:00
Greg Price
3d423a3c7b
logging: Fix corrupted default format for our logfiles.
...
This was changed by accident when the syntax was rearranged,
in 3f4bf2d22
"zerver/lib: Use python 3 syntax for typing"
back in November.
2018-01-17 18:10:17 -08:00
Greg Price
e8ceea7f0f
billing: Send logs to a dedicated file.
...
This will help make them easy to read through. Include messages to
the logger name `stripe`, which Stripe's client library logs to.
2018-01-17 18:10:17 -08:00
Greg Price
3aa5529b96
billing: Better error message for dev on lacking Stripe credentials.
...
Normal server admins will never run this code, and zulipchat.com will
have this information configured before users see it, so this message
is really just for development.
2018-01-17 16:44:04 -08:00
Greg Price
455b77225f
requirements: Note one requirement as needed only for zilencer.
...
Otherwise it's potentially puzzling why this is there, for an admin
looking at a normal install without zilencer.
2018-01-17 16:44:04 -08:00
Greg Price
2b6e526ea2
zilencer: Make /billing appear without i18n prefix.
...
This copies what we do in `zproject/urls.py` for pages in the
main Django app.
2018-01-17 16:44:04 -08:00
Vishnu Ks
0bca0286a1
billing: Integrate Stripe, using Stripe Checkout.
...
Stripe Checkout means using JS code provided by Stripe to handle
almost all of the UI, which is great for us.
There are more features we should add to this page and changes we
should make, but this gives us an MVP.
[greg: expanded commit message; fixed import ordering and some types.]
2018-01-17 16:43:54 -08:00
Vishnu Ks
a978336765
billing: Create model for customers paying with Stripe.
...
[greg: reduced migration dependencies, revised commit message.]
2018-01-17 16:15:14 -08:00
Vishnu Ks
167a712922
requirements: Include stripe in common.in.
2018-01-17 16:12:32 -08:00
Shubham Dhama
797fa62fde
test auth.py: Add tests for json_fetch_api_key function.
2018-01-17 15:15:51 -05:00
rht
6142a70dc7
docs: Update architecture-overview to point to Python 3.x.
2018-01-17 13:04:11 -05:00
infinitelooped
252a485621
integrations: Add documentation for Groove.
2018-01-17 13:00:11 -05:00
Privisus
e5fc49e23a
integrations: Add documentation for Raygun.
2018-01-17 12:53:22 -05:00
Privisus
c758636c1e
integrations: Add webhook code, API endpoint, and tests for Raygun.
2018-01-17 12:53:22 -05:00
Rhea Parekh
7153d20205
slack importer: append Message id from the db.
2018-01-17 11:46:27 -05:00
Rhea Parekh
58f1f0e13e
slack importer: append Recipient id from the db.
...
Recipient id should be updated from the database,
otherwise there will be foreign key clashes.
2018-01-17 11:46:27 -05:00
Rhea Parekh
138aba3d89
slack importer: Add unit tests for slack message conversions.
2018-01-17 09:38:53 -05:00
Rhea Parekh
c86411d9a2
slack importer: Move message conversions to a new module.
2018-01-17 09:38:53 -05:00
Rhea Parekh
c1d336f5d1
slack importer: Refactor checking for availability of realm subdomain.
2018-01-17 09:38:53 -05:00
Eeshan Garg
a0526206f9
api/delete-queue: Add JavaScript example.
2018-01-17 09:27:35 -05:00
Eeshan Garg
af1290fde7
api/get-events-from-queue: Recommend using zuliprc.
...
Recommend using a zuliprc file instead of hardcoding the API
credentials in a config object.
2018-01-17 09:27:35 -05:00
Eeshan Garg
8ed0a0950e
api/register-queue: Recommend using zuliprc.
...
Recommend using a zuliprc file instead of hardcoding the API
credentials in a config object.
2018-01-17 09:27:35 -05:00
Eeshan Garg
df00e6a45f
api/create-user: Add JavaScript example.
2018-01-17 09:27:35 -05:00
Eeshan Garg
0e778e152d
api/get-profile: Add JavaScript example.
2018-01-17 09:27:35 -05:00
Eeshan Garg
dd88cfac16
api/get-all-users: Recommend using zuliprc.
...
Recommend using a zuliprc file instead of hardcoding the API
credentials in a config object.
2018-01-17 09:27:35 -05:00
Eeshan Garg
e18b9ae1c1
api/remove-subscriptions: Add JavaScript example.
2018-01-17 09:27:35 -05:00
Eeshan Garg
6d92c88997
api/add-subscriptions: Add JavaScript example.
2018-01-17 09:27:35 -05:00
Eeshan Garg
4d8c20b773
api/get-subscribed-streams: Recommend using zuliprc.
...
Recommend using a zuliprc file instead of hardcoding the API
credentials in a config object.
2018-01-17 09:27:35 -05:00
Eeshan Garg
b32bb7d5f4
api/get-stream-id: Add JavaScript example.
2018-01-17 09:27:35 -05:00
Eeshan Garg
370d2c6bab
api/get-all-streams: Recommend using zuliprc.
...
Recommend using a zuliprc file instead of hardcoding the API
credentials in a config object.
2018-01-17 09:27:35 -05:00
Eeshan Garg
e781a57ca2
api/private-message: Recommend using zuliprc.
...
Recommend using a zuliprc file instead of hardcoding the API
credentials in a config object.
2018-01-17 09:27:35 -05:00