Anthony Johnson
f733088a0b
Merge branch 'spam'
2015-11-22 17:46:28 -08:00
Anthony Johnson
f9165ed408
Add some spam protection features
...
This adds validation to the project description field
2015-11-22 17:45:34 -08:00
Eric Holscher
045843a85e
Merge pull request #1825 from destroyerofbuilds/fix/robotstxt/allow
...
fix(robotstxt): Remove invalid Allow property from robots.txt.
2015-11-19 16:09:11 -08:00
Hutson Betts
6c9f8e8bd7
fix(robotstxt): Remove invalid Allow property from robots.txt.
2015-11-17 16:57:09 -05:00
Anthony
cf9a3e7793
Merge pull request #1805 from rtfd/cookie-httponly
...
Set CSRF cookie to httponly
2015-11-04 14:47:41 -08:00
Anthony
301833ca17
Merge pull request #1804 from rtfd/pip-cache
...
Add explicit pip cache path to pip install calls and models
2015-11-04 14:45:26 -08:00
Anthony Johnson
a4e468864d
Change context var name for csrf
2015-11-04 14:40:43 -08:00
Anthony Johnson
dbb930de52
Grab csrf token from session, not cookies
2015-11-03 18:46:48 -08:00
Anthony Johnson
1771bd9d86
Set CSRF cookie to httponly
...
Also, set httponly on session cookie in base settings, though it is already
overridden in prod settings.
2015-11-03 15:41:34 -08:00
Anthony Johnson
6cd929b769
Add explicit pip cache path to pip install calls and models
...
This moves the pip cache to a project-local path, so that it persists into new docker containers.
Fixes #1783
2015-11-03 15:33:01 -08:00
Anthony Johnson
e7bc900c5f
Merge branch 'donate-form-arbitrary'
...
Missing migration was added after PR merge
2015-10-30 16:01:09 -07:00
Anthony
e793dc07fc
Merge pull request #1780 from rtfd/fix-confpy-paths
...
Check for _static path in confpy overrides
2015-10-30 15:59:12 -07:00
Anthony Johnson
0edd842ec1
Consider static html _static option in confpy overrides
2015-10-30 15:58:33 -07:00
Eric Holscher
e2dbb00a16
Merge pull request #1799 from rtfd/donate-form-arbitrary
...
Make dollar input field into optional arbitrary value input
2015-10-30 15:14:29 -07:00
Eric Holscher
bc96f5b123
Merge pull request #1801 from rtfd/cache-direct
...
Alter direct calls to redis using intermediate redis settings
2015-10-30 15:06:15 -07:00
Anthony Johnson
1eacfdceb6
Use broker url for redis client configuration
2015-10-30 14:13:07 -07:00
Anthony Johnson
8394965b53
Alter direct calls to redis, use cache backend instead
...
Bumps up redis_cache version, gets access to redis client used by cache layer
2015-10-30 14:03:21 -07:00
Anthony Johnson
e0f1f98353
Missing migration
2015-10-30 13:36:18 -07:00
Anthony Johnson
6ddc6df534
Make dollar input field into optional arbitrary value input
...
Drops choices on model and moves most display bits into the tempalte
2015-10-29 16:45:04 -07:00
Eric Holscher
2bcb8bb568
Merge pull request #1798 from rtfd/donate-form-js
...
Fix donate form javascript form submit
2015-10-29 14:39:21 -07:00
Anthony Johnson
9a4af31e45
Fix donate form javascript form submit
2015-10-29 14:29:45 -07:00
Eric Holscher
013797032b
Merge pull request #1796 from rtfd/proxy-middleware
...
Add middleware to proper set REMOTE_ADDR
2015-10-28 15:27:19 -07:00
Eric Holscher
8d3ab486e6
Add middleware to proper set REMOTE_ADDR
2015-10-28 15:15:53 -07:00
Eric Holscher
b0863190e8
Fix linting once more
2015-10-28 14:20:56 -07:00
Eric Holscher
c7477fcac3
Fix linting
2015-10-28 14:15:23 -07:00
Eric Holscher
c9c2e3625f
Handle subdomain case in single version middleware
2015-10-28 14:07:14 -07:00
Eric Holscher
e1d4fde2d4
Don't include doc serving urls when there's no subdomain
2015-10-28 13:46:55 -07:00
Anthony
f9f4bf1710
Merge pull request #1794 from rtfd/fix-latest-filtering
...
Only consider public versions on compare
2015-10-28 11:27:02 -07:00
Eric Holscher
8d4cab1a16
Only consider public versions on compare
2015-10-28 11:24:26 -07:00
Eric Holscher
bc29e9481c
Add ability to disable admin with a setting
2015-10-28 10:48:53 -07:00
Anthony Johnson
7a30bb63bf
Add humanize for some numeric display tags
2015-10-28 00:49:52 -07:00
Anthony
799a522e7c
Merge pull request #1686 from rtfd/fix-deleting-files
...
Clean up logic around how we delete files for deleted projects and inactive versions
2015-10-23 10:47:40 -07:00
Anthony
1392891b9e
Merge pull request #1761 from rtfd/payment-form
...
Coalesce implementations of Stripe payment forms
2015-10-22 16:42:04 -07:00
Anthony Johnson
f3878bb653
Lint fix
2015-10-22 11:41:23 -07:00
Anthony Johnson
b33dcf25b9
Add error handling to stripe token creation in payment js
2015-10-22 11:26:00 -07:00
Anthony Johnson
a2d01b8700
Use payments.utils as canonical source for stripe module
...
This eliminates the need to specify the api_key everywhere
2015-10-22 10:45:23 -07:00
Anthony
bb5a50a005
Merge pull request #1570 from rrahn/feature/rtd_version_slug
...
Added RTD_VERSION_SLUG environment variable.
2015-10-21 18:00:28 -07:00
Eric Holscher
391fbe2424
Remove forced _static path that confuses users
2015-10-21 16:02:17 -07:00
Anthony Johnson
c8e511a342
Fix bug when Gold customer full name is None
...
Return username instead
2015-10-21 13:15:16 -07:00
Anthony Johnson
2ae3f787ea
Update Stripe's jquery.payment, and change KO field binding type
...
This uses `textInput` for better handling of text field operations like pasting and
autofill. This should allow for card numbers to be pasted in on payment forms.
2015-10-21 13:09:26 -07:00
Anthony Johnson
5c6c4af34f
Return deleted stripe objects
2015-10-21 09:59:37 -07:00
Anthony
d41452b423
Merge pull request #1732 from Carreau/py3
...
Make some part of the codebase single source
2015-10-20 12:50:09 -07:00
Anthony
3127629ae5
Merge pull request #1775 from techtonik/master
...
Use modern URL scheme for localhost static
2015-10-20 12:45:49 -07:00
Anthony
ad4e034191
Merge pull request #1778 from bleyle/patch-1
...
Fixed two typos.
2015-10-20 12:43:38 -07:00
bleyle
8a78bc0b7a
Fixed two typos.
2015-10-20 10:25:25 -07:00
anatoly techtonik
7e06ea02a8
Use modern URL scheme for localhost static
2015-10-20 08:30:25 +03:00
Eric Holscher
af9f1d5217
Merge pull request #1765 from techtonik/master
...
Move hiredis cache to deploy configuration
2015-10-19 14:37:02 -07:00
Eric Holscher
4ea1c3852f
Merge pull request #1766 from techtonik/patch-1
...
Use cross-platform way of setting SITE_ROOT
2015-10-19 14:36:45 -07:00
anatoly techtonik
3f5eff8dd7
Attempt to make pyflake8 happy
2015-10-18 10:48:47 +03:00
anatoly techtonik
2b206d6e33
Use cross-platform way of setting SITE_ROOT
2015-10-18 10:38:51 +03:00