fiatjaf
4ef1e042c5
test_users.py fully ported.
2018-05-15 22:43:30 +00:00
fiatjaf
a2d2c8a030
mocking celery calls.
...
I've tried, but celery doesn't want to be integration-tested.
2018-05-15 22:22:08 +00:00
fiatjaf
8187e5adc0
celery integration test almost working.
2018-05-14 22:55:07 +00:00
fiatjaf
550b5a6c2e
running current tests with pytest and using mock.patch in a single case.
2018-05-14 04:29:37 +00:00
fiatjaf
1e6f6b4256
more fixes for celery on python3.
2018-05-14 00:34:55 +00:00
fiatjaf
8f920d4610
use mock from unittest package.
2018-05-13 14:08:53 +00:00
fiatjaf
28cd2177e3
--failfast option for flask test.
2018-05-13 05:08:43 +00:00
fiatjaf
686dd754a9
fix httpretty on random places.
2018-05-13 05:07:14 +00:00
fiatjaf
df0a8cfc05
Merge branch 'python3' into develop
2018-05-13 05:05:13 +00:00
Giovanni T. Parra
c49d59306a
Merge pull request #185 from rohitdatta/background-worker-2
...
Background Worker Take 2
2018-05-13 02:02:15 -03:00
Rohit Datta
19ae7fcbb6
python3 random fixes from @rohitdatta
...
* fixed unicode python3 issues
* set flask app to formspree
* test?
* update travis
* travis?
2018-05-13 02:00:23 -03:00
fiatjaf
ece371db02
run celery task in a request_context.
...
SERVICE_URL is used to give the fake request_context awareness of
the application url so url_for(_external=) can be used.
a structlog instance is created for each celery task as
@app.before_request doesn't seem to be running for these fake
request_contexts.
2018-05-12 10:44:23 -05:00
fiatjaf
0ea38e18a7
setup travis with pipenv.
2018-05-12 15:34:41 +00:00
fiatjaf
f1a7ba9908
migrate to python3, flask1 and pipenv/pipfiles.
2018-05-12 15:17:22 +00:00
fiatjaf
882224d741
run celery task in a request_context.
...
SERVICE_URL is used to give the fake request_context awareness of
the application url so url_for(_external=) can be used.
a structlog instance is created for each celery task as
@app.before_request doesn't seem to be running for these fake
request_contexts.
2018-05-12 05:15:25 +00:00
Rohit Datta
2ff42e9897
serialize the user email for celery
2018-05-11 19:04:22 -05:00
Rohit Datta
7877108aea
add requirements for celery
2018-05-11 10:29:34 -05:00
Rohit Datta
c6dd814c30
add in background worker
2018-05-11 10:29:34 -05:00
Rohit Datta
e9d70c3d24
add in background worker
2018-05-11 10:23:06 -05:00
Rohit Datta
57ec92326f
Fail gracefully for non-upgraded users accessing billing page
2018-05-07 20:37:45 -05:00
Rohit Datta
fa330a1de5
Merge pull request #182 from rohitdatta/webhook-security
...
Check Webhook Signature for Stripe Webhooks
2018-05-07 19:59:31 -05:00
Rohit Datta
97c5a19418
Update index.html
2018-04-28 19:35:43 -05:00
fiatjaf
94d856e39d
add korean.
2018-04-26 17:07:45 +00:00
fiatjaf
f13506f02e
Merge branch 'vendor-ionicons'
2018-04-23 18:22:04 +00:00
fiatjaf
cb185d2230
vendor ionicons and retranspile scss.
...
the ionicons cdn was causing a glitch in this site.
2018-04-23 18:19:37 +00:00
Rohit Datta
f561850bf3
require billing address for fraud prevention
2018-04-18 19:15:55 -05:00
Rohit Datta
5865f8d645
fixed flask cli
2018-04-18 19:12:11 -05:00
Rohit Datta
9bf21f5bdc
Merge pull request #162 from rohitdatta/flask-cli
...
Use Flask CLI
2018-04-11 12:43:40 -05:00
Rohit Datta
2caa71e95d
Merge branch 'master' into flask-cli
2018-04-11 12:37:36 -05:00
Rohit Datta
b00c80a0e6
updated look for static docs
2018-04-08 18:24:22 -05:00
Rohit Datta
564663dbac
Redirect after billing changes to billing dashboard
2018-04-06 10:45:42 -05:00
Rohit Datta
a9250ddb4a
explicit confirmation
2018-04-05 08:47:15 -05:00
Rohit Datta
6b60b4477d
Merge pull request #183 from rohitdatta/toggle-emails-storage
...
Toggle emails storage
2018-04-04 11:24:13 -05:00
Rohit Datta
3a80549acd
make stripe signature optional for testing purposes
2018-03-30 23:16:57 -05:00
Rohit Datta
d31b18a157
don't check the header info when testing
2018-03-30 23:03:29 -05:00
Rohit Datta
96008869c6
add check to incoming stripe webhooks
2018-03-30 22:50:09 -05:00
Rohit Datta
bd62c60604
add unit tests for form settings
2018-03-30 21:34:38 -05:00
Rohit Datta
b3bad1e696
update tests
2018-03-30 18:44:18 -05:00
Rohit Datta
d84c7b79bf
removed the old recaptcha settings toggle
2018-03-30 17:34:21 -05:00
Rohit Datta
ba6d3c89b8
finish up the front end with fallback for the form settings page
2018-03-30 17:32:03 -05:00
Rohit Datta
481aadaba3
added front end for form settings
2018-03-30 15:53:55 -05:00
Rohit Datta
276f78980a
add DB migrations
2018-03-29 18:11:35 -05:00
Rohit Datta
62b8232273
add serbian
2018-03-29 17:27:28 -05:00
Rohit Datta
b125259b31
add icelandic
2018-03-28 15:28:02 -05:00
Rohit Datta
2ac2f9038b
Add Catalan on homepage
2018-03-28 14:06:16 -05:00
Rohit Datta
206e4edb50
Merge pull request #181 from pauguerrero/patch-1
...
add Catalan translation
2018-03-28 14:04:34 -05:00
fiatjaf
c04ad90aac
get rid of all flask and sqlalchemy init warnings.
2018-03-26 18:09:44 +00:00
fiatjaf
ed7614f7ac
mention the host in the confirmation email subject.
2018-03-26 18:05:07 +00:00
fiatjaf
2b346f680f
change global 'lang' attribute on translated captcha pages.
2018-03-26 17:29:35 +00:00
Rohit Datta
4eec9f5542
Merge pull request #179 from rohitdatta/ip-logging
...
Add ip logging for user events
2018-03-26 09:37:57 -05:00