Commit graph

3193 commits

Author SHA1 Message Date
David Lord
7ccc8fb877 rewrite quickstart Unique URLs section 2018-02-24 08:03:30 -08:00
David Lord
77be08419c Merge pull request #2629 from zcchen/master
prevent double slash /a//b when blueprint prefix ends with slash
2018-02-23 16:00:30 -08:00
David Lord
399cbf4e3c only strip one slash when registering blueprint
add test and changelog
2018-02-23 15:47:06 -08:00
zcchen
458b923e57 Add re.sub for blueprint add_url_rule handler, prevent '/a//b/'(blueprint.url_prefix='/a/' and the route is '/b/') happened. 2018-02-23 15:47:06 -08:00
David Lord
f27c537937 Merge pull request #2635 from pallets/feature/server-name-routing
Require opt-in for subdomain matching
2018-02-23 08:47:20 -08:00
David Lord
4f8661e6e3 use subdomain arg in url_map.bind_to_environ
rename new subdomain test, parametrize
test allowing subdomains as well as ips
add subdomain_matching param to docs
add some references to docs
add version changed to create_url_adapter
2018-02-23 08:39:31 -08:00
Armin Ronacher
1e81474e7e Do not enable subdomain matching by default
Updated tests for new subdomain matching
Added a test to validate matching behavior
2018-02-23 07:53:27 -08:00
David Lord
be259fe037 Merge pull request #2636 from pallets/test-cli-runner
add test_cli_runner for testing app.cli commands
2018-02-19 16:14:11 -08:00
David Lord
8d5c870199 add test_cli_runner for testing app.cli commands 2018-02-19 15:34:46 -08:00
Hsiaoming Yang
5ec80a65ea Merge pull request #2630 from anowlcalledjosh/2627-test_request_context-docs
Fix docs for test_request_context
2018-02-13 10:33:08 +09:00
Josh Holland
cf65d94b3a Fix docs for test_request_context
Fixes #2627.
2018-02-12 22:26:02 +00:00
David Lord
da5614aa8a Merge pull request #2624 from pallets/metadata
update metadata
2018-02-08 13:12:25 -08:00
David Lord
e2eb6c4538 install python in travis osx env 2018-02-08 13:04:19 -08:00
David Lord
aa4db37a7f revert copyright year to project start
add copyright header to files
2018-02-08 12:43:30 -08:00
David Lord
ef3226e53b update project metadata
new readme
readme as setup.py long_description
links in changes
git in authors
add travis osx env
break out docs build in travis
remove python_requires for now
2018-02-08 12:43:22 -08:00
David Lord
803d8e4173 Merge pull request #2622 from pallets/versions
bump dependency versions
2018-02-06 08:14:09 -08:00
David Lord
54f57678ba bump dependency versions 2018-02-06 08:03:09 -08:00
David Lord
870309db98 Merge pull request #2611 from pallets/cli-test-docs
document testing cli commands
2018-01-28 18:56:45 -08:00
David Lord
b6dff4fabe document testing cli commands 2018-01-28 18:48:39 -08:00
David Lord
e73c4e8fe7 Merge pull request #2610 from pallets/cli-syntaxerror
add note about syntax errors in custom scripts
2018-01-28 14:48:38 -08:00
David Lord
2f356bf6b2 add note about syntax errors in custom scripts
mention pycharm version support
2018-01-28 14:41:47 -08:00
David Lord
c02cec6f3a Merge pull request #2609 from pallets/nightly-travis
allow nightly to fail on travis
2018-01-28 14:16:33 -08:00
David Lord
2cb068bbf0 allow nightly to fail on travis 2018-01-28 12:06:59 -08:00
David Lord
f23e388b81 Merge pull request #2530 from pallets/feature/factory-detection
Improved bad factory error handling
2018-01-28 11:27:07 -08:00
David Lord
b5381e2b12 use traceback to detect call more reliably 2018-01-28 11:20:42 -08:00
David Lord
751998cd7a Merge pull request #2603 from greyli/patch-8
Update cli help for FLASK_ENV
2018-01-23 15:39:42 -08:00
David Lord
5d9260bba5 fix changelog list formatting 2018-01-23 15:37:33 -08:00
David Lord
552b055ffd add rst extension for changelog
fix changelog version
2018-01-23 15:34:52 -08:00
David Lord
d08a0fab8e Merge pull request #2607 from FadhelC/SameSite-cookie-feature
Added support for cookie SameSite attribute
2018-01-23 15:20:16 -08:00
Grey Li
929cc49a7f Update cli help for FLASK_ENV 2018-01-23 15:17:35 -08:00
David Lord
e431e8809d clean up samesite docs 2018-01-23 15:11:50 -08:00
David Lord
69bfb90e4c Merge pull request #2606 from pallets/run-ssl
add HTTPS support for flask run command
2018-01-23 10:09:42 -08:00
David Lord
b0e8e7d485 add HTTPS support for flask run command 2018-01-23 10:03:53 -08:00
Fadhel_Chaabane
1fdd2d30eb Changed Werkzeug min version to 0.14 to support SameSite cookie's attribute 2018-01-23 15:02:07 +00:00
Fadhel_Chaabane
c65bdc0c9f New Feature: Added Support for cookie's SameSite attribute. 2018-01-23 13:57:50 +00:00
David Lord
5d6445df98 Merge pull request #2596 from Nickatak/master
Fix for docs issue #2595
2018-01-14 20:07:43 -08:00
Nickatak
049432869f Fix typo in example. 2018-01-14 16:02:43 -08:00
David Lord
cf1f1df77b Merge pull request #2593 from pallets/env-docs
clean up FLASK_ENV docs
2018-01-10 15:46:42 -08:00
David Lord
b2de7b49a7 clean up FLASK_ENV docs [ci skip] 2018-01-10 15:46:11 -08:00
David Lord
d2de076f41 Merge pull request #2592 from pallets/tests-env
reset standard os env after each test
2018-01-10 14:01:59 -08:00
David Lord
8dfb664336 reset standard os env after each test 2018-01-10 13:53:45 -08:00
David Lord
a61abb506e Merge pull request #2591 from pallets/run-behavior
match run command behavior in app.run
2018-01-10 12:14:44 -08:00
David Lord
56d5408b37 match run command behavior in app.run
output extra server information
handle env var changed by load_dotenv
enable threading by default
2018-01-10 12:02:13 -08:00
Armin Ronacher
a1afc8f1a7 Add Support for FLASK_ENV (#2570)
This introduces environments to Flask
2018-01-06 17:07:56 +01:00
Hsiaoming Yang
8cdcf398cf Remove python 2.6 and 3.3 everywhere. (#2583) 2018-01-06 10:49:50 +01:00
Hsiaoming Yang
e154e1b88a cleanup werkzeug import (#2582) 2018-01-06 10:49:01 +01:00
David Lord
2b5fe883de Merge pull request #2558 from pallets/appveyor
add appveyor configuration
2018-01-05 13:32:57 -08:00
David Lord
9a612ea46e windows python 2 doesn't provide inet_pton 2018-01-05 13:27:31 -08:00
David Lord
ab317feebd fix windows failure to remove temp file 2018-01-05 12:36:01 -08:00
David Lord
84de2a2f5c Merge pull request #2581 from pallets/config-enotdir
silence ENOTDIR when loading config file
2018-01-05 07:55:41 -08:00