Grey Li
d1bad82a16
Add cli tips for .flaskenv
2018-06-15 19:12:50 +08:00
ThiefMaster
c93c5e750e
Merge branch '1.0-maintenance'
2018-06-14 13:31:40 +02:00
ThiefMaster
fbaeb1fc99
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
Suraj Chafle
aad474c17f
Fixed 2823
2018-06-13 16:31:54 -07:00
David Lord
40a2cecdf7
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
Briehan Lombaard
51f4340127
SSLContext was added in Python 2.7.9
2018-05-17 06:18:42 -07:00
David Lord
a95166d626
Merge branch '1.0-maintenance'
2018-05-02 07:28:38 -07:00
David Lord
81d79c545e
Bump version number to 1.0.3.dev
2018-05-02 07:16:58 -07:00
David Lord
f0d02dad21
Bump version number to 1.0.2
2018-05-02 07:16:14 -07:00
Grey Li
56a6870772
Check whether exist registered routes
2018-05-02 06:06:15 -07:00
David Lord
34a83b1304
add more merge cases
2018-05-01 13:29:48 -07:00
Hsiaoming Yang
61eea98d17
Fix blueprint route for ""
2018-05-01 14:35:55 +09:00
David Lord
d0ad3b5eab
Merge branch '1.0-maintenance'
2018-04-29 19:13:30 -07:00
David Lord
642dba52f6
Bump version number to 1.0.2.dev
2018-04-29 19:09:23 -07:00
David Lord
b5d7b6be41
Bump version number to 1.0.1
2018-04-29 19:08:16 -07:00
David Lord
8ba00a4c5c
check FLASK_SKIP_DOTENV in app.run
2018-04-29 18:45:50 -07:00
David Lord
e40ae96acd
allow empty prefix and no lead slash in bp route
2018-04-29 15:32:12 -07:00
David Lord
eb52ca4625
rename to FLASK_SKIP_DOTENV, add docs, test
2018-04-29 14:20:17 -07:00
Hsiaoming Yang
2a568b4c9c
Use FLASK_DONT_LOAD_ENV flag to disable load .env
2018-04-28 07:19:06 -07:00
David Lord
cc93fa3f5e
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
271d9e697a
trap key errors in debug, not all 400 errors
2018-04-28 06:51:08 -07:00
David Lord
fa03e9e0e4
merge slashes between blueprint prefix and rule
2018-04-27 12:40:06 -07:00
Jesse Roberts
45728303c2
fix #2736 - allow lists to be passed through to response_class init
2018-04-27 10:49:56 -07:00
ThiefMaster
b5c0058849
Merge branch '1.0-maintenance'
2018-04-27 13:57:39 +02:00
ThiefMaster
3ff5440300
Fix registering partials as view functions
2018-04-27 13:44:07 +02:00
David Lord
4f1343cee3
Bump version number to 1.0.1.dev
2018-04-26 12:31:25 -07:00
David Lord
dce4fc670b
Bump version number to 1.1.dev
2018-04-26 12:30:40 -07:00
David Lord
c009d39f44
Bump version number to 1.0
2018-04-26 12:29:03 -07:00
David Lord
caafeb0e4b
Bump version number to 1.0
2018-04-26 12:25:54 -07:00
Nick Pope
83ab18bfbb
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
edf7cf40e3
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
fb97d50d63
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
f1ad52066f
app.run is not lazy
...
use click.echo for banner messages
2018-04-18 13:39:55 -07:00
David Lord
8a3a618382
add changelog for docs theme and tutorial
2018-04-18 13:21:16 -07:00
David Lord
010156c80a
use theme provided by pallets-sphinx-themes
2018-04-18 12:05:31 -07:00
Bruno Rocha
a76e89b251
Add explicit (lazy loading) message to flask run related to #2706
2018-04-18 13:42:46 -03:00
David Lord
aaab1e46f2
add Response.max_cookie_size config
2018-04-10 11:17:18 -07:00
David Lord
056c62e0b0
detect UTF encodings when loading json
2018-04-10 09:34:59 -07:00
fphonor
df23942df2
get_json separate cache depending on silent arg
2018-04-09 02:52:40 -07:00
David Lord
119ebf959f
rework context docs
2018-04-09 00:02:38 -07:00
Hsiaoming Yang
31f8639d3c
Add tip for dotenv
2018-03-23 00:04:05 +09:00
David Lord
399cbf4e3c
only strip one slash when registering blueprint
...
add test and changelog
2018-02-23 15:47:06 -08:00
zcchen
458b923e57
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
4f8661e6e3
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
1e81474e7e
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
8d5c870199
add test_cli_runner for testing app.cli commands
2018-02-19 15:34:46 -08:00
Josh Holland
cf65d94b3a
Fix docs for test_request_context
...
Fixes #2627 .
2018-02-12 22:26:02 +00:00
David Lord
aa4db37a7f
revert copyright year to project start
...
add copyright header to files
2018-02-08 12:43:30 -08:00
David Lord
54f57678ba
bump dependency versions
2018-02-06 08:03:09 -08:00
David Lord
f23e388b81
Merge pull request #2530 from pallets/feature/factory-detection
...
Improved bad factory error handling
2018-01-28 11:27:07 -08:00