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
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
David Lord
e66fe2e8e7
apply reorder-python-imports pre-commit config
2019-06-01 09:07:20 -07:00
David Lord
ed989713f7
move to src directory
2019-06-01 08:06:16 -07:00