Commit graph

2514 commits

Author SHA1 Message Date
David Lord
14a5a9e554 move setup.cfg info to setuptools docs, reword 2016-06-05 12:59:04 -07:00
Shawn McElroy
33212309a2 updating docs and showing how to use setup.cfg to configure dev builds with sdist 2016-06-05 12:50:44 -07:00
David Lord
7c271401b2 pass value directly to last_modified 2016-06-05 12:42:34 -07:00
Prachi Shirish Khadke
af515cc7ea Add last_modified arg for send_file
Enhancement: Add last_modified arg of type DateTime to send_file.

Fixes pallets/flask#1321
2016-06-05 10:59:17 -07:00
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.
2016-06-05 10:32:00 -07:00
Markus Unterwaditzer
9f9e1fde8f Merge pull request #1730 from geusebi/master
make safe_join behave like os.path.join with *args
2016-06-04 21:12:55 +02:00
Giampaolo Eusebi
06a170ea9b Add tests for safe_join 2016-06-04 11:26:44 +02:00
Giampaolo Eusebi
03ea11fe76 Make safe_join able to safely join multiple paths 2016-06-04 11:26:16 +02:00
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
2016-06-03 23:25:16 -07:00
Josh
bbd6c8c791 Expanding contribution documentation (#1883)
- README updated with link to CONTRIBUTING.rst
- CONTRIBUTING.rst has instructions on running code coverage
2016-06-03 14:32:10 -07:00
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
2016-06-03 10:58:39 -07:00
Markus Unterwaditzer
225c311f1b Merge branch '0.11-maintenance' 2016-06-03 18:44:01 +02:00
Markus Unterwaditzer
2bde2065e6 Changelog for #1872 2016-06-03 18:43:32 +02:00
Markus Unterwaditzer
b080bb19a1 Merge branch '0.11-maintenance' 2016-06-03 18:42:16 +02:00
Josiah Philipsen
41e08f4ccd fixed unmatched elif
Also update relevant test
2016-06-03 18:42:07 +02:00
jphilipsen05
fe5f714026 fixed unmatched elif (#1872) 2016-06-03 18:41:10 +02:00
James Farrington
f034d2e271 Tests with and without simplejson for every existing testenv (#1869) 2016-06-03 09:29:12 -07:00
Markus Unterwaditzer
ae97ca8553 Merge pull request #1868 from antsar/master
Rewrite subclassing example with a better use-case.
2016-06-03 14:55:33 +02:00
Dan Sully
8458cc5cd1 Remove deprecation warnings for add_etags & mimetype guessing for send_file()
Fix #1849
2016-06-03 14:52:33 +02:00
Markus Unterwaditzer
3d72099dcd Merge pull request #1878 from untitaker/recwarn
Use recwarn everywhere
2016-06-03 14:44:13 +02:00
Markus Unterwaditzer
6c359e0f53 Eliminate some resource warnings 2016-06-03 14:29:27 +02:00
Markus Unterwaditzer
293eb583f6 More explicit warning categories 2016-06-03 14:04:25 +02:00
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
wldtyp
fa327fd4fa Tutorial: Note extensions for encrypting passwords (#1854)
Fix #836
2016-06-03 01:00:55 -07:00
Hyunchel Kim
62aaee02f7 Add a link to Extension Development (#1875) 2016-06-03 07:15:00 +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
Anton Sarukhanov
447f591d2b Rewrite subclassing example with a better use-case. 2016-06-02 15:34:56 -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