Commit graph

3152 commits

Author SHA1 Message Date
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
David Lord
c9692adfbb silence ENOTDIR when loading config file 2018-01-05 07:40:51 -08:00
David Lord
1bfddf8488 Merge pull request #2580 from pallets/session-attrs
improve documentation for session attributes
2018-01-04 13:04:29 -08:00
David Lord
4f89c6cd5c Merge pull request #2541 from nsiregar/#2535_update_pycharm_instruction
update pycharm instructions
2018-01-04 12:56:38 -08:00
David Lord
57b2807ea8 improve documentation for session attributes
add test for session attributes
2018-01-04 12:56:18 -08:00
David Lord
5a25d8d029 smaller, optimized image
reword / reformat the docs
fix tox build directory
2018-01-04 12:34:25 -08:00
David Lord
6f2dea78bf Merge pull request #2565 from greyli/patch-6
Docs: Update CLI for factory pattern
2018-01-04 09:39:47 -08:00
David Lord
a028819725 cleanup 2018-01-04 07:29:15 -08:00
David Lord
6788e0b4e0 Merge pull request #2577 from pallets/jsonify-str
Use string concat in jsonify
2018-01-03 13:17:59 -08:00
David Lord
04f0dc162f concat newline in jsonify
ref pallets/werkzeug#1130
2018-01-03 13:06:14 -08:00
Grey Li
abbff76e46 Docs: Update CLI for factory pattern 2017-12-20 20:50:45 +08:00
David Lord
6a2631bd91 Merge pull request #2559 from pallets/fix-appveyor
Better appveyor config
2017-12-17 13:11:53 -08:00
Hsiaoming Yang
5834298afb Better appveyor config 2017-12-17 02:43:06 +09:00
David Lord
f06fb65803 add appveyor configuration 2017-12-16 07:33:38 -08:00
David Lord
c16fad1c39 Merge pull request #2536 from greyli/patch-4
Docs: update built-in server description
2017-12-16 07:08:31 -08:00
David Lord
5003fb2d18 Merge pull request #2555 from pallets/deprecate-26-33
remove tests and docs for python 2.6 and 3.3
2017-12-16 07:06:54 -08:00
David Lord
2c7a1ffa71 remove tests and docs for python 2.6 and 3.3 2017-12-16 07:00:00 -08:00
Hsiaoming Yang
ead614a422 Merge pull request #2556 from accraze/patch-1
Fix sentry raven install docs
2017-12-16 23:13:55 +09:00
Andy Craze
8e37f3886d Fix sentry raven install docs
The documentation for installing Sentry's raven client was incorrect. It should state that the client must be installed with the extra flask dependencies as mentioned in getsentry/raven-python#1075
2017-12-14 19:45:09 -08:00
David Lord
5dffa6db53 Merge pull request #2554 from camilojimenez/2550-some-tests-fail
fix non-passing tests for logging on pytest >= 3.3.0
2017-12-14 12:21:34 -08:00
David Lord
1e9f49e586 use config fixture, get plugin via unregister 2017-12-14 12:20:03 -08:00
Camilo
29e76fbb22 restore the logging plugin only if it was active to begin with 2017-12-14 09:40:34 -05:00
David Lord
abf1d7591a Merge pull request #2553 from greyli/patch-6
Docs: Escape backslash for display
2017-12-14 05:33:32 -08:00
Camilo
069a5e9bbd fix non-passing tests for logging on pytest > 3.3.0 2017-12-14 01:55:22 -05:00
Grey Li
abecdec212 Docs: Add missing backslash 2017-12-14 14:38:37 +08:00
Hsiaoming Yang
2858f82388 Merge pull request #2552 from greyli/patch-6
Docs: Fixed typo
2017-12-14 14:26:56 +09:00
Grey Li
0011797bb1 Docs: Fixed typo 2017-12-14 11:08:33 +08:00
David Lord
bceebdb5b6 Merge pull request #2548 from morenoh149/patch-1
Fix docs, how to get db connection in pattern
2017-12-08 12:59:46 -08:00
Harry Moreno
2e0a3f17a8 Fix docs, how to get db connection in pattern
The docs are inaccurately suggestion a db connection would be available at `g.db`, after calling `get_db()` a connection will be available at `g._database` but even then I think instructing the user to use `get_db()` is the best way forward.
2017-12-08 15:18:02 -05:00
Vladimir Kroz
2c94dd3a86 Fix code example for HTTP Methods
`return` is required to make 'http methods' example work
2017-12-05 17:59:04 +01:00
Ngalim Siregar
4065bd1e1f Update PyCharm image
add highlighted area to pycharm image
2017-12-03 17:05:20 +09:00
Ngalim Siregar
99aa1e1d71 update pycharm instructions 2017-12-03 16:37:52 +09:00
Hsiaoming Yang
265ed3c1e9 Rename GitHub templates to md. They are Markdown. 2017-12-02 09:17:18 +01:00
Grey Li
229d5ccacf Docs: update built-in server description 2017-12-01 16:03:52 +08:00
David Lord
a5a44ab029 include tox.ini in sdist
#2531
2017-11-26 12:50:36 -08:00
Adrian Moennich
26cc8fba36 Fix broken test 2017-11-25 00:53:43 +01:00
Adrian Moennich
875c30bad1 Merge remote-tracking branch 'upstream/0.12-maintenance' 2017-11-25 00:44:07 +01:00
ThiefMaster
dd8adc11be Fix ValueError for some invalid Range requests
fixes #2526
2017-11-25 00:37:49 +01:00
Armin Ronacher
b1234e3396 Enable threads by default for the dev server (#2529)
Enable threads by default for dev server
2017-11-25 00:17:09 +01:00
David Lord
082ab9d37c Merge pull request #2525 from proog/docs-twisted-port
Docs: update Twisted Web example
2017-11-22 16:35:47 -08:00