David Lord
1e5e3aae8a
remove more compat code
2020-04-04 12:10:00 -07:00
David Lord
24723fa6e8
remove _compat module
2020-04-04 12:10:00 -07:00
David Lord
8cf6480f91
remove deprecated code
2020-04-04 12:10:00 -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
39d2597028
update deprecation versions
2020-04-03 10:02:40 -07:00
Jeenu Viswambharan
7ddc55a3b3
clarify static_folder is relative to root_path
2020-04-03 07:28:44 -07:00
Shanavas M
e647a4a07a
Update deprecated for config.from_json
2020-03-18 12:37:51 +05:30
kevinanew
243c08238b
refactor variable choices into if blocks
2020-03-11 07:24:38 -07:00
David Lord
376a64137c
Merge remote-tracking branch 'origin/1.1.x'
2020-02-15 10:40:32 -08:00
Frost Ming
fe392e7884
Handle different sep across os
2020-02-12 13:17:03 +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
Marc Hernandez Cabot
ed93b738ed
fix docstring and remove redundant parentheses
2020-02-10 17:03:52 -08:00
raymond-devries
5ffacfc010
Feature request #3445 .
2020-02-10 13:09:53 -08:00
David Lord
17cbfb2df5
next version 1.2.0
2020-02-09 15:20:23 -08:00
Adrian
2f8157bc9e
Remove comment about extension backwards compat
...
0.7 was a long time ago; there's no reason for extension to supports such old versions.
2019-11-25 00:38:50 +01:00
Grey Li
66a28f0f28
Replace old pocoo links everywhere
...
pocco.org -> palletsprojects.com
2019-11-19 09:32:35 -08:00
David Lord
46c3d4656d
send_file doesn't allow StringIO
2019-11-19 08:52:12 -08:00
David Lord
050efbf013
Merge pull request #3425 from homeworkprod/patch-1
...
Update `versionadded` for `Config.from_file`
2019-11-18 18:23:39 -08:00
David Lord
c71de17d1d
rewrite the development server docs
2019-11-18 18:02:12 -08:00
David Lord
578592c01e
lazy load app on reload only
2019-11-18 17:54:46 -08:00
Jochen Kupperschmidt
bf13ec0142
Update versionadded for Config.from_file
...
According to the change log at https://github.com/pallets/flask/blob/master/CHANGES.rst , the release `Config.from_file` will be published with is now 2.0.0 rather than 1.2.0.
2019-11-13 23:13:56 +01:00
David Lord
a620f1c9c8
clean up config.from_file docs
2019-10-18 09:24:58 -07:00
pgjones
35627192e7
Support loading configuration from text files
...
TOML is a very popular format now, and is taking hold in the Python
ecosystem via pyproject.toml (among others). This allows toml config
files via,
app.config.from_file("config.toml", toml.loads)
it also allows for any other file format whereby there is a loader
that takes a string and returns a mapping.
2019-10-18 09:15:47 -07:00
Doron Horwitz
940fa38c28
get_cookie_name in SessionInterface for easier overriding in SecureCookieSessionInterface
2019-10-12 19:12:27 -07:00
Arnav Borborah
6cd9004399
Fix typo in pop documentation
2019-08-15 21:05:33 -04:00
Chris Zimmerman
ce59a6f8dd
fixed typo in logging docstring ( #3328 )
...
* fixed typo in logging docstring
* second typo fix
2019-08-09 14:47:17 -04:00
linchiwei123
cbd1f70b36
clean up outdated code
2019-07-24 15:50:37 +08: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
912bbd4e08
Merge branch '1.0.x'
2019-07-03 12:23:16 -07: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
0099a0776a
Merge branch '1.0.x'
2019-07-01 11:57:00 -07:00
David Lord
1ee9405ff3
Merge branch '1.0.x'
2019-07-01 10:54:31 -07:00
David Lord
7b4f294465
Merge branch '1.0.x'
2019-07-01 09:52:06 -07:00
David Lord
8c5c7939a2
Merge branch '1.0.x'
2019-06-26 14:46:10 -07:00
David Lord
ff0c92a1c7
Merge branch '1.0.x'
2019-06-23 16:57:52 -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
Elad Moshe
26cde0536c
wait until app ctx is ready before matching url
...
`RequestContext.match_request` is moved from `__init__` to `push`. This
causes matching to happen later, when the app context is available.
This enables URL converters that use things such as the database.
2019-06-13 08:32:23 -07:00
David Lord
43f66251ad
Merge branch '1.0.x'
2019-06-12 10:41:11 -07:00
David Lord
2cf5d51523
fix string concats left over by black
2019-06-01 09:22:20 -07:00