José Oliveira
aea3c48d80
show warning if session cookie domain is ip
...
closes #2007
2017-05-13 21:47:43 -07:00
David Lord
715360d86a
Merge pull request #2279 from davidism/docs-after_this_request
...
Clean up deferred callback doc
2017-05-11 22:50:29 -07:00
David Lord
93341b9e7d
clean up deferred callback doc
...
remove doc about writing after_this_request
[ci skip]
2017-05-11 22:48:21 -07:00
David Lord
e43755669c
Merge pull request #1965 from vioan/master
...
Added a missing module to import statement
2017-05-11 22:38:36 -07:00
David Lord
722093b70e
Merge pull request #2277 from jlara310/master
...
Improve quickstart's Routing section
2017-05-11 22:32:00 -07:00
David Lord
35428d04a8
wrap lines
...
tighten up wording
remove any converter from quickstart
use correct rst code syntax
2017-05-11 22:31:19 -07:00
David Lord
df0aff5291
Merge pull request #2278 from davidism/installation-docs
...
Rewrite installation docs
2017-05-11 14:37:31 -07:00
David Lord
78a4f53a24
rewrite installation docs
...
discuss python version
discuss all dependencies
prefer python 3 in instructions
[ci skip]
2017-05-11 14:34:09 -07:00
David Lord
9f5cb930f6
Update CONTRIBUTING.rst
...
basic pytest can't handle examples, pass tests dir
2017-05-11 12:35:03 -07:00
Xephyr826
49e263937a
Improve Routing section
...
Edited the entire section for clarity and concision. I rewrote sentences
to make them shorter and to reduce ambiguity.
Added a code sample to show the path converter type
Removed the HTTP method overview. Although it was well written, the
overview wasn't necessary in the quickstart. Readers can easily find an
overview elsewhere.
2017-05-10 22:38:22 -07:00
David Lord
21cdc1eb61
Merge pull request #2213 from runartrollet/doc_virtenv_p3
...
Issue #2212 : documentation: virtualenv and python3
2017-05-09 11:04:23 -07:00
David Lord
8ca9443f43
Merge pull request #2276 from pigletfly/master
...
Removed unused import
2017-05-09 10:19:51 -07:00
wangbing
13b10506a4
Removed unused import
2017-05-10 00:34:36 +08:00
David Lord
4f3ee8256a
Merge pull request #2210 from Larivact/patch-2
...
Clarify APPLICATION_ROOT documentation
2017-05-09 08:47:23 -07:00
David Lord
2a80eff1c4
Merge pull request #1942 from jmsdvl/fix-1935
...
clarify blueprint 404 error handling in docs
2017-05-09 08:44:58 -07:00
David Lord
71bf32d95d
Merge pull request #2271 from davidism/collapse-changelogs
...
Collapse old changelog directives
2017-05-04 18:42:33 -07:00
David Lord
452f442a8e
optionally enable sphinxcontrib.log_cabinet
...
collapses old changelog directives
closes #1704
closes #1867
2017-05-04 18:24:04 -07:00
David Lord
854e7aab84
Merge pull request #2077 from liebald/patch-1
...
Mention existence of register_error_handler in errorpages.rst
2017-04-30 08:48:22 -07:00
David Lord
a81ad76f2d
clean up error handler docs
2017-04-30 08:20:13 -07:00
Benjamin Liebald
422b6c2df7
Mention existence of register_error_handler in errorpages.rst
...
See https://github.com/pallets/flask/issues/1837 for context.
2017-04-30 07:55:54 -07:00
David Lord
38826adb6b
Merge pull request #2259 from davidism/routes-command
...
Add routes command
2017-04-26 10:43:18 -07:00
David Lord
c279a827cc
add sort by match order
...
sort by endpoint by default
combine sort flags
sort methods
ignore HEAD and OPTIONS methods by default
rearrange columns
use format to build row format string
rework tests
add changelog
2017-04-26 10:26:59 -07:00
David Lord
57515e1887
Merge branch 'master' into routes-command
2017-04-25 13:13:10 -07:00
David Lord
28c5dcb67a
Merge pull request #2258 from davidism/preprocess_request-docs
...
Clean up preprocess_request docs
2017-04-25 12:06:39 -07:00
David Lord
066737d21c
clean up preprocess_request docs
...
[ci skip]
2017-04-25 12:03:08 -07:00
David Lord
33335b4c28
Merge branch 'master' into AvivC-improve-docs-in-Flask.preprocess_request
2017-04-25 09:43:18 -07:00
David Lord
1fd7d629c0
Merge pull request #2256 from davidism/refactor-make_response
...
refactor make_response to be easier to follow
2017-04-25 08:46:22 -07:00
David Lord
b54d8cfc5b
refactor make_response to be easier to follow
...
* be explicit about how tuples are unpacked
* allow bytes for status value
* allow Headers for headers value
* use TypeError instead of ValueError
* errors are more descriptive
* document that view must not return None
* update documentation about return values
* test more response types
* test error messages
closes #1676
2017-04-25 08:30:48 -07:00
David Lord
6bed207562
clean up blueprint json support
...
add changelog for #1898
2017-04-24 10:16:50 -07:00
David Lord
07ae566f22
Merge pull request #1898 from RaHus/per_blueprint_jsoncoding_#1710
...
Per blueprint jsoncoding #1710
2017-04-24 10:16:20 -07:00
David Lord
ec3be1be2f
Merge pull request #2254 from davidism/pop-context-on-session-error
...
Ensure error while opening session pops context
2017-04-22 14:43:21 -07:00
David Lord
e7bc408877
ensure error while opening session pops context
...
errors will be handled by the app error handlers
closes #1538 , closes #1528
2017-04-22 13:57:04 -07:00
David Lord
90aeed0012
Merge pull request #2191 from SergioDS/master
...
Updated documentation for being able to use init_db method
2017-04-21 11:45:16 -07:00
David Lord
bdcb486293
Merge pull request #2252 from davidism/method-view-inheritance
...
Continue #1936 : Add the ability to combine MethodViews
2017-04-21 11:16:18 -07:00
David Lord
99bbf93382
use mro to collect methods
...
ignore methods attr unless explicitly set
add changelog
2017-04-21 10:43:02 -07:00
David Lord
c89b732323
Merge branch 'master' into figome-multiple-inheritance
2017-04-21 10:33:29 -07:00
David Lord
790b8ad2a1
Merge pull request #2249 from davidism/provide-automatic-options
...
Continue #1489 : Add kwarg to disable auto OPTIONS on add_url_rule
2017-04-21 08:31:11 -07:00
David Lord
3f10dd52c6
update changelog
...
move test next to existing test, rename
reword / reflow param doc
2017-04-21 07:26:30 -07:00
David Lord
3d22b81edf
Merge branch 'master' into jrmccarthy-master
2017-04-21 07:03:46 -07:00
David Lord
d3dc1c7446
Merge pull request #2017 from rocambolesque/patch-1
...
Add scheme to url_build error handler parameters
2017-04-20 09:10:27 -07:00
David Lord
a2acabcc3f
add test for build error special values
2017-04-20 08:52:37 -07:00
rocambolesque
e111d8dbf3
Add scheme to url_build error handler parameters
2017-04-20 08:30:07 -07:00
Sobolev Nikita
cce1d62fcf
Fix typo in app.py ( #2248 )
2017-04-19 07:46:33 +02:00
David Lord
ffa31f1ee4
Merge pull request #1886 from dawran6/test_bp_endpoint_dec
...
Enhance code coverage for Blueprint.endpoint
2017-04-14 09:22:12 -07:00
David Lord
a0006dd8c9
Merge pull request #2117 from accraze/testing-docs-fix
...
Added missing testing config
2017-04-13 16:45:24 -07:00
David Lord
0f514cea8f
use app.testing property instead of config
2017-04-13 16:32:44 -07:00
accraze
f3f4aa325b
Added missing testing config
...
fixes #1302
2017-04-13 16:27:58 -07:00
David Lord
5126b95d33
Merge pull request #2242 from davidism/utcfromtimestamp
...
get mtime in utc
2017-04-13 15:14:26 -07:00
David Lord
c6bb311175
get mtime in utc
2017-04-13 14:55:56 -07:00
David Lord
0d9852e2ad
Merge pull request #2238 from davidism/bugfix/latin1-filename
...
filename can be latin-1, not just ascii
2017-04-12 10:12:30 -07:00