Hyunchel Kim
64a37bb9b7
Test side effect ( #1889 )
...
Function `prepare_exec_for_file` has a side effect where a path is added to
`sys.path` list.
This commit enhances an exisiting test case for `prepare_exec_for_file`
by testing the side effect of the function and adding necessary
comments.
9 years ago
Markus Unterwaditzer
9f9e1fde8f
Merge pull request #1730 from geusebi/master
...
make safe_join behave like os.path.join with *args
9 years ago
Giampaolo Eusebi
06a170ea9b
Add tests for safe_join
9 years ago
Giampaolo Eusebi
03ea11fe76
Make safe_join able to safely join multiple paths
9 years ago
RamiC
9c236d3b84
Mention the template name conflict issue in blueprint templates docs ( #1843 )
...
* Mention the template name conflict issue in docs.
In the blueprints templates documentation mention
the possible templates name conflict issue
re #266
* Mention priorities between blueprints
and other rephrasing fixes
9 years ago
Zev Averbach
19dcdf4e70
enumerates the states in which code is executed...
...
... and fixes an awkward phrasing.
9 years ago
Randy Liou
954b7ef7bb
Enhance code coverage for Blueprint.endpoint
...
Add basic test for the endpoint decorator for the Blueprint object.
9 years ago
Josh
bbd6c8c791
Expanding contribution documentation ( #1883 )
...
- README updated with link to CONTRIBUTING.rst
- CONTRIBUTING.rst has instructions on running code coverage
9 years ago
dawran6
e048aa4e19
Add negative test for json.jsonify ( #1876 )
...
Test if jsonify function raises TypeError when both args and kwargs are
passed in.
Check the TypeError's message
9 years ago
Markus Unterwaditzer
225c311f1b
Merge branch '0.11-maintenance'
9 years ago
Markus Unterwaditzer
2bde2065e6
Changelog for #1872
9 years ago
Markus Unterwaditzer
b080bb19a1
Merge branch '0.11-maintenance'
9 years ago
Josiah Philipsen
41e08f4ccd
fixed unmatched elif
...
Also update relevant test
9 years ago
jphilipsen05
fe5f714026
fixed unmatched elif ( #1872 )
9 years ago
James Farrington
f034d2e271
Tests with and without simplejson for every existing testenv ( #1869 )
9 years ago
Markus Unterwaditzer
ae97ca8553
Merge pull request #1868 from antsar/master
...
Rewrite subclassing example with a better use-case.
9 years ago
Dan Sully
8458cc5cd1
Remove deprecation warnings for add_etags & mimetype guessing for send_file()
...
Fix #1849
9 years ago
Markus Unterwaditzer
3d72099dcd
Merge pull request #1878 from untitaker/recwarn
...
Use recwarn everywhere
9 years ago
Markus Unterwaditzer
6c359e0f53
Eliminate some resource warnings
9 years ago
Markus Unterwaditzer
293eb583f6
More explicit warning categories
9 years ago
Markus Unterwaditzer
d393597c50
Use recwarn everywhere
...
...instead of custom fixture. Also assert that no warnings are left over
after the test.
9 years ago
wldtyp
fa327fd4fa
Tutorial: Note extensions for encrypting passwords ( #1854 )
...
Fix #836
9 years ago
Hyunchel Kim
62aaee02f7
Add a link to Extension Development ( #1875 )
9 years ago
jphilipsen05
047efac537
Coverage for test_static_path_deprecated and test_static_url_path ( #1860 )
9 years ago
Jason Brazeal
d88c08e56f
improved documentation for config.from_object ( #1870 )
9 years ago
Anton Sarukhanov
447f591d2b
Rewrite subclassing example with a better use-case.
9 years ago
David Lord
024fbe5a60
Revert "Adds simplejson as a testing target." ( #1865 )
9 years ago
Jeff Widman
a228a3b2cf
Merge pull request #1862 from antsar/master
...
Add subclassing pattern/example
9 years ago
Adrian
db299c02a1
Improve GitHub issue template
9 years ago
Anton Sarukhanov
63b5dab0fc
Add subclassing pattern/example to fix issue #221 .
9 years ago
Jeff Widman
808d2cf75e
Merge pull request #1861 from ryanbackman/master
...
Document Runtime Error when running outside of application context
9 years ago
Ryan Backman
cbdd2aa141
Document Runtime Error when running outside of application context
9 years ago
Markus Unterwaditzer
4102be4060
Merge pull request #1858 from etothemanders/master
...
Added link to deploying documentation
9 years ago
Jeff Widman
2644d69486
Merge pull request #1853 from hyunchel/feature/issue-1773-add-issue-template
...
Add issue template, resolves #1773
9 years ago
Emily Manders
7e8d7d43c8
Added link to deploying documentation
9 years ago
Jeff Widman
d80fabd9f6
Merge pull request #1855 from JamesTFarrington/sprint
...
Adds simplejson as a testing target.
9 years ago
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.
9 years ago
Jeff Widman
5cf261a287
Merge pull request #1851 from prachikhadke/1789-document-flash-limit
...
Document flash message size limit
9 years ago
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
9 years ago
James Farrington
390cd5e4ee
Fixed #1846
9 years ago
Armin Ronacher
41f3d67dff
Update CHANGES
9 years ago
Armin Ronacher
19b134002c
Merge pull request #1848 from RaHus/add_version_switch_flask_cli
...
Add version switch to flask cli
9 years ago
RamiC
6b28ceba83
Use the whole sys.version string
9 years ago
RamiC
6bee3e4995
Add a --version switch to flask cli
...
re #1828
9 years ago
Armin Ronacher
fd1a355899
Added test-requirements.txt. Refs #1835
9 years ago
Frédéric Chapoton
e4c712ffd2
a few more python3-compatible print ( #1840 )
9 years ago
Jochen Kupperschmidt
83ae787f97
Fix typo in cli docs
9 years ago
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.
9 years ago
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.
9 years ago
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
```
9 years ago