Hsiaoming Yang
f06c9bdadb
Close tag on js examples.
2018-04-21 14:48:15 +09:00
David Lord
cbf2a4245c
document cli option env vars
...
closes #2713
2018-04-20 13:25:04 -07:00
David Lord
0e3d0a80f8
Merge pull request #2711 from pope1ni/session-serializer-fixes
...
Minor session serializer fixes.
2018-04-19 06:57:11 -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
7a594b2fe8
fix changelog indentation
2018-04-18 23:03:17 -07: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
1d541ea289
Merge pull request #2709 from davidism/docs-theme
...
use theme provided by pallets-sphinx-themes
2018-04-18 12:13:04 -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
b927dfb97d
move coveragerc to setup.cfg
2018-04-12 12:37:35 -07:00
David Lord
84e9ff3853
clean up js example
2018-04-12 12:17:14 -07:00
David Lord
81ad82cc9a
Merge pull request #2699 from pallets/javascript
...
add javascript ajax example
2018-04-12 11:28:49 -07:00
David Lord
a894586ba8
add javascript ajax example
2018-04-12 11:06:02 -07:00
David Lord
f7070de7d5
Merge pull request #2693 from davidism/max-cookie-size
...
add Response.max_cookie_size config
2018-04-10 11:26:15 -07:00
David Lord
aaab1e46f2
add Response.max_cookie_size config
2018-04-10 11:17:18 -07:00
David Lord
5f8ef9a5a9
Merge pull request #2691 from pallets/json-encoding
...
detect UTF encodings when loading json
2018-04-10 09:47:14 -07:00
David Lord
056c62e0b0
detect UTF encodings when loading json
2018-04-10 09:34:59 -07:00
David Lord
c5eb7a78f4
Merge pull request #2665 from fprocess/2651-get_json's-silent-option-weird-side-effect
...
Fix the bug of cache function in `get_json` method.
2018-04-09 03:00:14 -07:00
fphonor
df23942df2
get_json separate cache depending on silent arg
2018-04-09 02:52:40 -07:00
David Lord
b5db5b9803
Merge pull request #2662 from greyli/patch-9
...
Add tips for 413 connection reset issue
2018-04-09 01:37:32 -07:00
Grey Li
e581c44d1a
Add tips for 413 connection reset issue
2018-04-09 01:30:15 -07:00
David Lord
69e63650cc
Merge pull request #2686 from davidism/bp-static
...
document blueprint static folder without prefix
2018-04-09 01:27:25 -07:00
David Lord
ac961d39b7
document blueprint static folder without prefix
2018-04-09 01:11:46 -07:00
David Lord
2155794909
Merge pull request #2676 from davidism/tutorial
...
rewrite tutorial docs and example
2018-04-09 01:09:03 -07:00
David Lord
e29bd92c52
rewrite tutorial docs and example
2018-04-09 00:53:25 -07:00
David Lord
140f02909c
Merge pull request #2685 from davidism/app-context-docs
...
rework context docs
2018-04-09 00:22:16 -07:00
David Lord
119ebf959f
rework context docs
2018-04-09 00:02:38 -07:00
David Lord
7808c1e612
Merge pull request #2668 from pallets/tip-dotenv
...
Add tip for dotenv
2018-03-22 12:06:05 -07:00
Hsiaoming Yang
31f8639d3c
Add tip for dotenv
2018-03-23 00:04:05 +09:00
Hsiaoming Yang
010bf01a51
Fix logs for simple example on readme
2018-03-22 23:44:36 +09:00
David Lord
307848a4f8
Update README.rst
2018-03-06 07:36:58 -08:00
David Lord
ae4ce84bf3
Merge pull request #2652 from greyli/patch-8
...
Add documentation link in README
2018-03-05 16:45:00 -08:00
Grey Li
1039ba5d5b
Add documentation link in README
2018-03-06 07:50:46 +08:00
David Lord
bfa37fd5b5
Merge pull request #2647 from pallets/docs-extensions
...
remove old extension docs
2018-02-28 08:03:04 -08:00
David Lord
1679ddbf85
rewrite extension docs
...
remove old extension patterns
remove flask.ext from api docs
2018-02-28 07:52:03 -08:00
David Lord
b909854727
Merge pull request #2646 from pallets/test-app-name
...
don't use Flask(__name__) in conftest
2018-02-28 07:00:15 -08:00
David Lord
f1d2226f42
don't use Flask(__name__) in conftest
2018-02-28 06:50:49 -08:00
David Lord
561183db97
ignore pytest cache
2018-02-24 08:23:12 -08:00
David Lord
c3977f6343
Merge pull request #2637 from pallets/quickstart-unique-urls
...
rewrite quickstart Unique URLs section
2018-02-24 08:10:25 -08:00
David Lord
7ccc8fb877
rewrite quickstart Unique URLs section
2018-02-24 08:03:30 -08:00
David Lord
77be08419c
Merge pull request #2629 from zcchen/master
...
prevent double slash /a//b when blueprint prefix ends with slash
2018-02-23 16:00:30 -08: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
f27c537937
Merge pull request #2635 from pallets/feature/server-name-routing
...
Require opt-in for subdomain matching
2018-02-23 08:47:20 -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
be259fe037
Merge pull request #2636 from pallets/test-cli-runner
...
add test_cli_runner for testing app.cli commands
2018-02-19 16:14:11 -08:00