Grey Li
b4e092600d
Check whether exist registered routes
2018-05-02 06:06:15 -07:00
David Lord
b21b4d1608
add more merge cases
2018-05-01 13:29:48 -07:00
Hsiaoming Yang
f7a3bdc6db
Fix blueprint route for ""
2018-05-01 14:35:55 +09:00
David Lord
c9ab9ef5db
Bump version number to 1.0.2.dev
2018-04-29 19:09:23 -07:00
David Lord
a15795c99e
Bump version number to 1.0.1
2018-04-29 19:08:16 -07:00
David Lord
6e1e3e03ca
check FLASK_SKIP_DOTENV in app.run
2018-04-29 18:45:50 -07:00
David Lord
f13870731c
allow empty prefix and no lead slash in bp route
2018-04-29 15:32:12 -07:00
David Lord
5965cb7e1c
rename to FLASK_SKIP_DOTENV, add docs, test
2018-04-29 14:20:17 -07:00
Hsiaoming Yang
bac5d6b9f4
Use FLASK_DONT_LOAD_ENV flag to disable load .env
2018-04-28 07:19:06 -07:00
David Lord
4c8ec8f555
Merge pull request #2739 from pallets/2735-abort-debug
...
Only trap key errors by default in debug, not all BadRequest errors
2018-04-28 07:01:42 -07:00
David Lord
b573a86977
trap key errors in debug, not all 400 errors
2018-04-28 06:51:08 -07:00
David Lord
4d0cdf95e6
merge slashes between blueprint prefix and rule
2018-04-27 12:40:06 -07:00
Jesse Roberts
3666a584fd
fix #2736 - allow lists to be passed through to response_class init
2018-04-27 10:49:56 -07:00
ThiefMaster
6663bf1f7d
Fix registering partials as view functions
2018-04-27 13:44:07 +02:00
David Lord
d60f213fdb
Bump version number to 1.0.1.dev
2018-04-26 12:31:25 -07:00
David Lord
291f3c338c
Bump version number to 1.0
2018-04-26 12:25:54 -07:00
Nick Pope
eaedb9320c
Fix index example for TaggedJSONSerializer.register()
...
Made the example use a keyword, rather than a positional argument, as
the intent here is to show how to insert a tag with higher precedence.
As a positional argument, this would have been passed to ``force``
instead of ``index``.
2018-04-19 14:16:11 +01:00
Nick Pope
fc6a1d9354
Fix default index for TaggedJSONSerializer.register()
...
Change the default value of ``index`` to ``None`` in ``register()`` so
that it is possible to insert a new tag as the penultimate item in the
order list.
2018-04-19 14:16:11 +01:00
David Lord
e102e5cb33
Merge pull request #2707 from rochacbruno/lazy_loader_message
...
Add a message `Serving Flask app (module "app.py" will be lazily loaded)` to `flask run` related to #2706
2018-04-18 13:45:35 -07:00
David Lord
80a9e0edf6
app.run is not lazy
...
use click.echo for banner messages
2018-04-18 13:39:55 -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
Bruno Rocha
8f5168cb31
Add explicit (lazy loading) message to flask run related to #2706
2018-04-18 13:42:46 -03: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
2411707492
rework context docs
2018-04-09 00:02:38 -07:00
Hsiaoming Yang
08e61ea200
Add tip for dotenv
2018-03-23 00:04:05 +09:00
David Lord
401423df06
only strip one slash when registering blueprint
...
add test and changelog
2018-02-23 15:47:06 -08:00
zcchen
0887245bfd
Add re.sub for blueprint add_url_rule handler, prevent '/a//b/'(blueprint.url_prefix='/a/' and the route is '/b/') happened.
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
Josh Holland
575021c07b
Fix docs for test_request_context
...
Fixes #2627 .
2018-02-12 22:26:02 +00:00
David Lord
310fbfcf64
revert copyright year to project start
...
add copyright header to files
2018-02-08 12:43:30 -08:00
David Lord
af32ea0b94
bump dependency versions
2018-02-06 08:03:09 -08:00
David Lord
03a2996bb8
Merge pull request #2530 from pallets/feature/factory-detection
...
Improved bad factory error handling
2018-01-28 11:27:07 -08:00
David Lord
2cba0d77ee
use traceback to detect call more reliably
2018-01-28 11:20:42 -08:00
David Lord
83b5625f0c
Merge pull request #2603 from greyli/patch-8
...
Update cli help for FLASK_ENV
2018-01-23 15:39:42 -08:00
David Lord
e21abd9da5
Merge pull request #2607 from FadhelC/SameSite-cookie-feature
...
Added support for cookie SameSite attribute
2018-01-23 15:20:16 -08:00
Grey Li
0570393bc4
Update cli help for FLASK_ENV
2018-01-23 15:17:35 -08:00
David Lord
382b13581e
clean up samesite docs
2018-01-23 15:11:50 -08:00
David Lord
2beedabaaf
add HTTPS support for flask run command
2018-01-23 10:03:53 -08:00
Fadhel_Chaabane
a1d9ebe4ab
New Feature: Added Support for cookie's SameSite attribute.
2018-01-23 13:57:50 +00:00
David Lord
87c2e121e0
clean up FLASK_ENV docs [ci skip]
2018-01-10 15:46:11 -08:00
David Lord
3738f7ff99
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
2433522d29
Add Support for FLASK_ENV ( #2570 )
...
This introduces environments to Flask
2018-01-06 17:07:56 +01:00
Hsiaoming Yang
22e072379b
cleanup werkzeug import ( #2582 )
2018-01-06 10:49:01 +01:00
David Lord
eebc0edfdd
Merge pull request #2558 from pallets/appveyor
...
add appveyor configuration
2018-01-05 13:32:57 -08:00
David Lord
333865ea34
windows python 2 doesn't provide inet_pton
2018-01-05 13:27:31 -08:00