Christopher Nguyen
95653896a4
change make_response to use headers.update
2020-07-23 16:53:39 -07:00
Joshua Bronson
06f7f34d76
Merge pull request #3560 from greyli/fix-env-chdir
...
Stop change CWD to .env/.flaskenv location
2020-07-18 13:14:09 -04:00
Joshua Bronson
f81846c68b
Restore support for using pathlib.Path for static_folder.
...
* No longer causes AttributeError: 'PosixPath' object has no
attribute 'rstrip'.
* This was broken by e6178fe489
which was released in 1.1.2.
* Add a regression test that now passes.
See #3557 .
2020-07-06 08:55:19 -04:00
Grey Li
8fb45cc419
Update changelog for load dotenv behaivour change
2020-07-05 09:38:48 +08:00
David Lord
042754ba4a
use ast to parse FLASK_APP
...
enables keyword arguments to factory functions
2020-04-07 17:54:51 -07:00
David Lord
f2a8087cf5
deprecate passing script_info to factory
2020-04-07 15:54:36 -07:00
David Lord
23fb6f8065
update json docs
2020-04-07 13:37:14 -07:00
David Lord
187cfe90b8
remove simplejson
...
- remove encoding detection backport, json.loads supports it directly
- use str.translate instead of multiple str.replace
2020-04-07 09:55:39 -07:00
David Lord
8433de53c9
drop support for Python 2.7 and 3.5
2020-04-04 12:09:55 -07:00
David Lord
c0c76bd651
remove Python 2 from docs
2020-04-04 12:05:44 -07:00
David Lord
793bff721a
Merge branch '1.1.x'
2020-04-03 10:25:51 -07:00
David Lord
dbdc26f2dc
release version 1.1.2
2020-04-03 10:10:38 -07:00
David Lord
376a64137c
Merge remote-tracking branch 'origin/1.1.x'
2020-02-15 10:40:32 -08:00
frostming
c4de6a0bfc
strip the ending slash for static_url_path
2020-02-10 18:19:25 -08:00
David Lord
d1ffe44185
cli checks for cryptography library
2020-02-10 17:34:19 -08:00
David Lord
d96c18e887
Merge branch '1.1.x'
2020-02-10 16:44:33 -08:00
David Lord
3cafd1f82e
Merge branch '1.0.x' into 1.1.x
2020-02-10 16:43:49 -08:00
David Lord
830faf1a6e
clean up merge
2020-02-10 16:36:40 -08:00
Armin Ronacher
a526f7268a
Merge branch '1.1.x'
2020-02-10 20:37:28 +01:00
Armin Ronacher
b008697f3d
Merge branch '1.0.x' into 1.1.x
2020-02-10 20:37:21 +01:00
Armin Ronacher
f6161f42a5
Merge remote-tracking branch 'origin/0.12.x' into 1.0.x
2020-02-10 20:36:55 +01:00
David Lord
17cbfb2df5
next version 1.2.0
2020-02-09 15:20:23 -08:00
David Lord
46c3d4656d
send_file doesn't allow StringIO
2019-11-19 08:52:12 -08:00
David Lord
578592c01e
lazy load app on reload only
2019-11-18 17:54:46 -08:00
David Lord
a620f1c9c8
clean up config.from_file docs
2019-10-18 09:24:58 -07:00
Doron Horwitz
940fa38c28
get_cookie_name in SessionInterface for easier overriding in SecureCookieSessionInterface
2019-10-12 19:12:27 -07:00
David Lord
0202d4fdaa
pass sys.argv to flask cli
2019-07-10 12:44:04 -07:00
David Lord
fff9bedf53
pass sys.argv to flask cli
2019-07-10 11:45:20 -07:00
David Lord
4086e82b37
release version 1.1.1
2019-07-08 10:58:12 -07:00
David Lord
f19014c7a1
restore and deprecate json_available
2019-07-08 10:26:12 -07:00
David Lord
6e34811504
release version 1.1.0
2019-07-04 16:04:42 -07:00
David Lord
884deb0b5c
Merge branch '1.0.x'
2019-07-04 16:01:14 -07:00
David Lord
01d1e6fe0f
release version 1.0.4
2019-07-04 15:33:46 -07:00
David Lord
912bbd4e08
Merge branch '1.0.x'
2019-07-03 12:23:16 -07:00
ThiefMaster
10274d918e
Move dotenv warning to stderr
2019-07-03 15:08:10 +02:00
David Lord
e8b8fcbfd4
show warning for old logger config
2019-07-02 11:39:00 -07:00
David Lord
ba1fcd1887
use app.name as app.logger name
2019-07-01 14:56:18 -07:00
David Lord
1ee9405ff3
Merge branch '1.0.x'
2019-07-01 10:54:31 -07:00
Anthony Sottile
f65c6d3860
Fixes for PEP451 import loaders and pytest 5.x
...
- pytest 5.x drops python2 compatibility and therefore only implements PEP 451
- pytest 5.x made the repr of `ExcInfo` less confusing (fixed tests depending
on the old format)
2019-07-01 10:43:06 -07:00
David Lord
7b4f294465
Merge branch '1.0.x'
2019-07-01 09:52:06 -07:00
Anthony Sottile
8c68190ed0
Make the changelog UTF-8 compatible
2019-07-01 07:36:20 -07:00
David Lord
158db956a3
send_file quotes ":/" in UTF-8 filename
2019-06-27 07:55:22 -07:00
David Lord
8c5c7939a2
Merge branch '1.0.x'
2019-06-26 14:46:10 -07:00
David Lord
23881398e3
don't clear BadRequestKeyError args
2019-06-26 14:34:03 -07:00
David Lord
ff0c92a1c7
Merge branch '1.0.x'
2019-06-23 16:57:52 -07:00
David Lord
9e7c91115c
use sphinx-issues, rewrap changelog
2019-06-23 12:25:38 -07:00
David Lord
08404e8cd0
document behavior of very generic error handlers
2019-06-21 08:22:35 -07:00
David Lord
6b4ca46a4a
always pass InternalServerError instance to 500 handler
2019-06-19 14:52:25 -07:00
David Lord
4d904d4f29
move url matching after opening session
2019-06-13 12:40:01 -07:00
cslecrone
f7d690e474
don't require ssl module for flask cli
2019-05-31 17:27:52 -04:00