Markus Unterwaditzer
d393597c50
Use recwarn everywhere
...
...instead of custom fixture. Also assert that no warnings are left over
after the test.
2016-06-03 13:59:47 +02:00
jphilipsen05
047efac537
Coverage for test_static_path_deprecated and test_static_url_path ( #1860 )
2016-06-02 17:56:08 -07:00
Jason Brazeal
d88c08e56f
improved documentation for config.from_object ( #1870 )
2016-06-02 15:40:59 -07:00
David Lord
024fbe5a60
Revert "Adds simplejson as a testing target." ( #1865 )
2016-06-02 14:54:49 -07:00
Jeff Widman
a228a3b2cf
Merge pull request #1862 from antsar/master
...
Add subclassing pattern/example
2016-06-02 14:32:24 -07:00
Adrian
db299c02a1
Improve GitHub issue template
2016-06-02 23:27:41 +02:00
Anton Sarukhanov
63b5dab0fc
Add subclassing pattern/example to fix issue #221 .
2016-06-02 14:17:42 -07:00
Jeff Widman
808d2cf75e
Merge pull request #1861 from ryanbackman/master
...
Document Runtime Error when running outside of application context
2016-06-02 14:15:24 -07:00
Ryan Backman
cbdd2aa141
Document Runtime Error when running outside of application context
2016-06-02 14:05:49 -07:00
Markus Unterwaditzer
4102be4060
Merge pull request #1858 from etothemanders/master
...
Added link to deploying documentation
2016-06-02 21:59:44 +02:00
Jeff Widman
2644d69486
Merge pull request #1853 from hyunchel/feature/issue-1773-add-issue-template
...
Add issue template, resolves #1773
2016-06-02 12:50:56 -07:00
Emily Manders
7e8d7d43c8
Added link to deploying documentation
2016-06-02 12:47:36 -07:00
Jeff Widman
d80fabd9f6
Merge pull request #1855 from JamesTFarrington/sprint
...
Adds simplejson as a testing target.
2016-06-02 12:30:25 -07:00
Hyunchel Kim
14e4207397
Add issue template, resolves #1773
...
On issue #1773 , we wanted use issue templates to accomplish two things:
1. guide questions into StackOverflow and IRC channel
2. not duplicate CONTRIBUTING content
To resolve these, ISSUE_TEMPLATE is added to remind users not
to ask questions.
2016-06-02 12:19:29 -07:00
Jeff Widman
5cf261a287
Merge pull request #1851 from prachikhadke/1789-document-flash-limit
...
Document flash message size limit
2016-06-02 11:59:50 -07:00
Prachi Shirish Khadke
d9a98dd536
Document flash message size limit
...
Reason: Messages of size 68,493 - 91,326 characters cause flash to fail silently.
Session cookies cannot have such large messages.
Issue: pallets/flask#1789
2016-06-02 11:59:04 -07:00
James Farrington
390cd5e4ee
Fixed #1846
2016-06-02 11:58:02 -07:00
Armin Ronacher
41f3d67dff
Update CHANGES
2016-06-02 13:53:35 +02:00
Armin Ronacher
19b134002c
Merge pull request #1848 from RaHus/add_version_switch_flask_cli
...
Add version switch to flask cli
2016-06-02 13:53:13 +02:00
RamiC
6b28ceba83
Use the whole sys.version string
2016-06-02 13:55:00 +03:00
RamiC
6bee3e4995
Add a --version switch to flask cli
...
re #1828
2016-06-02 13:35:16 +03:00
Armin Ronacher
fd1a355899
Added test-requirements.txt. Refs #1835
2016-06-02 09:45:29 +02:00
Frédéric Chapoton
e4c712ffd2
a few more python3-compatible print ( #1840 )
2016-05-31 21:20:22 +02:00
Jochen Kupperschmidt
83ae787f97
Fix typo in cli docs
2016-05-31 16:24:11 +02:00
Yoav Ram
a725836523
Update help to > set FLASK_APP=hello.py ( #1830 )
...
When running `flask --help`, the printed string contains this:
> Example usage:
>
> set FLASK_APP=hello
> set FLASK_DEBUG=1
> flask run
but it actually only works with `set FLASK_APP=hello.py` so the help should be changed.
This is true on my Windows 7 Python 3.5 flask 0.11 setup.
2016-05-30 23:20:35 +02:00
Jochen Kupperschmidt
9c46969890
Fixed link in changelog to documentation. ( #1833 )
...
Using the officially documented, shortcut package path of the `Config` class instead of the actual one.
2016-05-30 23:20:23 +02:00
Ionuț Arțăriși
ba07f5bd81
Show line which caused the DeprecationWarning ( #1831 )
...
When raising a DeprecationWarning, show the line in the application code
which caused the warning, rather than the line in Flask
e.g. a file `app.py` with:
```python
from flask import Flask
from flask.ext.babel import Babel
```
will show:
```
app.py:2: ExtDeprecationWarning: Importing flask.ext.babel is
deprecated, use flask_babel instead.
```
instead of:
```
/home/mapleoin/venv/local/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.babel is deprecated, use flask_babel instead.
.format(x=modname), ExtDeprecationWarning
```
2016-05-29 14:51:05 -07:00
Adam Chainz
70de011d51
Convert readthedocs link for their .org -> .io migration for hosted projects ( #1827 )
...
As per their email ‘Changes to project subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-05-29 15:49:38 +02:00
Markus Unterwaditzer
f91aea2aa0
quickstart: Remove reference to python hello.py
...
Fix #1826
2016-05-29 15:46:48 +02:00
Armin Ronacher
b23cd61e04
This is 0.12-dev
2016-05-29 11:02:48 +02:00
Armin Ronacher
13e6a01ac8
Bump version number to 0.11
2016-05-29 11:02:23 +02:00
Armin Ronacher
1eccb62965
Do not bump version in setup.py
2016-05-29 11:02:18 +02:00
Armin Ronacher
0e06302c79
Release is near
2016-05-29 11:01:22 +02:00
Armin Ronacher
e83d608d7d
Merge pull request #1823 from pallets/feature/sentry-docs
...
Added sentry to docs
2016-05-27 12:00:16 +02:00
Armin Ronacher
42b7ab3f49
Incorporated ThiefMaster's suggestions for docs
2016-05-27 00:17:58 +02:00
Armin Ronacher
3e651e795a
Added sentry to docs
2016-05-26 22:57:12 +02:00
Armin Ronacher
8d7e7aab31
Merge pull request #1822 from pallets/bugfix/better-pop
...
Improve application context popping
2016-05-26 22:31:15 +02:00
Armin Ronacher
c73cf0f82e
Merge pull request #1821 from pallets/feature/plugin-cli
...
Added plugin support to the cli
2016-05-26 22:17:34 +02:00
Armin Ronacher
b13e83a2f2
Merge pull request #1813 from pallets/bugfix/scheme
...
Resolve state issue for url_for with forced scheme
2016-05-26 21:48:20 +02:00
Armin Ronacher
8482ce6b8c
Improve application context popping
...
Exceptions during teardown handling will no longer leave application
contexts lingering around. This fixes #1767
2016-05-26 21:46:56 +02:00
Armin Ronacher
87787b130b
Merge pull request #1814 from pallets/feature/faster-template-loading
...
Fast path for disabled template load explain.
2016-05-26 21:34:56 +02:00
Armin Ronacher
9594876c1f
Added plugin support to the cli
2016-05-26 21:29:01 +02:00
Armin Ronacher
21d595bee7
Change changelog to 0.11
2016-05-26 21:05:39 +02:00
Armin Ronacher
f9ea3fe026
1.0 -> 0.11 in the docs
2016-05-26 20:52:17 +02:00
Armin Ronacher
1df426aaaa
More doc updates for FLASK_APP
2016-05-26 20:48:49 +02:00
Armin Ronacher
a7d829c618
Update docs to the new CLI patterns
2016-05-26 20:45:50 +02:00
Armin Ronacher
523e271183
Implemented simplified CLI interface
2016-05-26 20:07:52 +02:00
dataforger
92f63a1c1d
fix docstring ( #1818 )
...
change string to docstring
2016-05-24 21:06:34 +02:00
ThiefMaster
c5900a1adf
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
2016-05-23 14:43:23 +02:00
Thomas Sanjurjo
bdbca923ef
Addressing Issue 1809 ( #1811 )
...
document kwargs for Flask.register_blueprint
2016-05-22 07:09:21 -07:00