David Lord
957f48a98d
use dict literal syntax for jinja_options
...
clarify docs about when jinja_options can be modified
2019-05-18 08:35:47 -07:00
LeeW
1f3923a999
Inherit "methods" in MethodView
...
* Current behavior: If a base class inherits MethodView and child class
inherits without overwriting "methods". The "methods" defined in base
class would be ignored
* Fix: Inherit all the "methods" defined in base classes if "methods"
variable is not overwritten
2019-05-17 13:57:06 -07:00
David Lord
6f703a564c
clean up open_resource and tests
2019-05-17 13:23:27 -07:00
David Lord
05a4e15ee4
Merge branch '1.0.x'
2019-05-17 11:13:08 -07:00
David Lord
99660cc409
release version 1.0.3
2019-05-17 10:57:51 -07:00
David Lord
a4f0f19796
don't push app context for test client json
2019-05-17 09:00:08 -07:00
Carson Ip
74691fbe01
Fix typo in CHANGES.rst ( #3077 )
2019-01-18 09:13:13 +01:00
David Lord
a74864ec22
Merge remote-tracking branch 'origin/1.0-maintenance'
2019-01-07 10:00:10 -08:00
David Lord
662ce2151d
add changelog for GH-2986
2019-01-07 09:52:54 -08:00
garenchan
40118e785f
Make sure the attachment filename is text type.
...
If attachment filename is bytes type and contains non-ascii coded bytes,
then the following ASCII encoding process will trigger
UnicodeDecodeError exception.
Fix issue #2933 .
2019-01-07 07:17:33 -08:00
David Lord
366f3f49af
add changelog for GH-2957
2019-01-07 06:56:20 -08:00
David Lord
4f3dbb3f3b
Merge branch '1.0-maintenance'
2019-01-06 16:33:17 -08:00
David Lord
a0ccc47780
clean up flask --version code
2019-01-06 16:24:05 -08:00
Matt Robenolt
25de45cbb6
Add support for PathLike objects in static file helpers
...
See: https://www.python.org/dev/peps/pep-0519/
This is mostly encountered with pathlib in python 3, but this API
suggests any PathLike object can be treated like a filepath with
`__fspath__` function.
2019-01-05 15:23:47 -08:00
Jarek Piórkowski
a5709e7850
Add changelog entry
2018-11-13 13:40:50 -05:00
Dave Chevell
e08bcf9f97
Fix #2935 : Copy current session object in copy_current_request_context ( #2936 )
...
Add session to RequestContext.copy()
2018-11-03 20:32:24 -07:00
ThiefMaster
161c43649d
Merge branch '1.0-maintenance'
2018-06-14 13:31:40 +02:00
ThiefMaster
50227f0954
Add option to not overwrite debug flag in cli
...
This is mainly intended for custom CLIs that may load a config file
which already sets the debug flag and does not make use of the `FLASK_*`
env vars at all.
2018-06-14 13:25:05 +02:00
David Lord
b51ab3ff2c
encode filenames as ascii instead of latin-1
...
latin-1 is allowed by pep3333, but that breaks gunicorn
2018-05-28 06:36:47 -07:00
dayiguizhen
1955d6aace
Add the link of pull so that it’s easy for readers to check the changes in code.
2018-05-22 18:39:35 +08:00
Grey Li
9d0bc52329
Fix typos in CHANGES.rst
2018-05-21 10:26:14 +08:00
David Lord
9bee619320
Merge branch '1.0-maintenance'
2018-05-02 07:28:38 -07:00
David Lord
939c77a39a
Bump version number to 1.0.3.dev
2018-05-02 07:16:58 -07:00
David Lord
4dc3ba5281
release 1.0.2
2018-05-02 07:16:10 -07:00
David Lord
c26a50b3b7
Merge branch '1.0-maintenance'
2018-04-29 19:37:05 -07:00
David Lord
9b6845f436
Merge branch '0.12-maintenance' into 1.0-maintenance
2018-04-29 19:36:30 -07:00
David Lord
1fa9185c7e
Merge branch '1.0-maintenance'
2018-04-29 19:13:30 -07:00
David Lord
4f155fb647
start 1.0.2 changelog
2018-04-29 19:10:48 -07:00
David Lord
7567cc0d92
release 1.0.1
2018-04-29 18:46:54 -07:00
David Lord
81bde0db4b
Merge branch '0.12-maintenance' into 1.0-maintenance
2018-04-29 18:28:51 -07:00
David Lord
4d4294e94e
format changelog
2018-04-27 07:34:20 -07:00
ThiefMaster
f7ac3a7620
Merge branch '1.0-maintenance'
2018-04-27 13:57:39 +02:00
ThiefMaster
6663bf1f7d
Fix registering partials as view functions
2018-04-27 13:44:07 +02:00
David Lord
9ed0d068ca
start 1.0.1 changelog
2018-04-26 14:14:44 -07:00
David Lord
ba33500b82
start 1.1 changelog
2018-04-26 14:14:11 -07:00
David Lord
9d0b163362
release 1.0
2018-04-26 12:28:26 -07:00
David Lord
36e68a439a
release 1.0
2018-04-26 12:22:45 -07:00
David Lord
216151c8a3
Merge branch '0.12-maintenance'
2018-04-26 12:18:06 -07:00
David Lord
16549370fd
fix changelog indentation
2018-04-18 23:03:17 -07:00
David Lord
be46acb871
add changelog for docs theme and tutorial
2018-04-18 13:21:16 -07:00
David Lord
49a38ed999
use theme provided by pallets-sphinx-themes
2018-04-18 12:05:31 -07:00
David Lord
1ed756a523
add Response.max_cookie_size config
2018-04-10 11:17:18 -07:00
David Lord
ab4142215d
detect UTF encodings when loading json
2018-04-10 09:34:59 -07:00
fphonor
171eb28c95
get_json separate cache depending on silent arg
2018-04-09 02:52:40 -07:00
David Lord
401423df06
only strip one slash when registering blueprint
...
add test and changelog
2018-02-23 15:47:06 -08:00
David Lord
82f0d120de
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
8cec2010c0
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
cf5525f98a
add test_cli_runner for testing app.cli commands
2018-02-19 15:34:46 -08:00
David Lord
9bf5c3b3a3
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
af32ea0b94
bump dependency versions
2018-02-06 08:03:09 -08:00