Commit graph

3416 commits

Author SHA1 Message Date
David Lord
8a431d4342 don't push app context for test client json 2019-05-17 09:00:08 -07:00
David Lord
f2df578d41 Merge pull request #3169 from DamianSkrzypczak/3168-improve-warning-about-dev-server-use-in-production
Fix dev-server warning message readability (#3168)
2019-05-16 19:23:19 -07:00
DamianSkrzypczak
975ede3628 Fix dev-server warning message readability (#3168) 2019-05-16 19:03:08 -07:00
David Lord
40d67dfc17 Merge pull request #3154 from brunoais/more-explicit-session-transaction
More explicit explanation: session testing
2019-05-16 18:17:45 -07:00
brunoais
b7bac12723 More explicit explanation: session testing
Use a more explicit explanation on how to write code to test own code
when sessions are needed.
The previous code was not fully explicit that the client is supposed
to be called after the session transaction and not during.
2019-05-16 18:07:18 -07:00
David Lord
81b0d5dfe8 Merge pull request #3166 from mekarpeles/refactor/unused-url_join
removed unused reference to url_join
2019-05-16 17:56:30 -07:00
Michael E. Karpeles
4918fe2903 removed unused reference to url_join 2019-05-16 17:47:14 -07:00
David Lord
a9028832f5 Merge pull request #3204 from pallets/azure
azure pipelines ci on 1.0.x branch
2019-05-16 17:32:45 -07:00
David Lord
6a8c1eeb6c azure pipelines ci on 1.0.x branch 2019-05-16 14:32:21 -07:00
David Lord
a40eccbe0f Merge pull request #3199 from alecbrooks/master
Fix various small spelling errors.
2019-05-16 11:54:34 -07:00
A Brooks
651692c1a1 Fix various small spelling errors. 2019-05-16 11:50:10 -07:00
David Lord
04caad0257 Merge pull request #3162 from chivalry/gunicorn-discovery-docs-update
Update documentation on gunicorn deployment and app discovery
2019-05-16 10:45:50 -07:00
Charles Ross
4f3dd3183f update docs on gunicorn deploy and app discovery 2019-05-16 10:45:03 -07:00
David Lord
4e6467a51e Merge pull request #3159 from abhinavsagar/updatedoc
Improved CONTRIBUTING.rst
2019-05-16 10:23:17 -07:00
David Lord
b572779136 add instructions for bug and feature branches 2019-05-16 10:22:21 -07:00
Abhinav
daebc9ceda add more git commands to contributing doc 2019-05-16 10:22:01 -07:00
David Lord
b0d0e6206d Merge pull request #3142 from Tom-McDonald/3139-alter-deprecated-docs
Replaced deprecated sample code in proxy-setup docs
2019-05-16 09:55:30 -07:00
Tom-McDonald
406df032bc replaced deprecated sample code in proxy-setup docs 2019-05-16 09:54:49 -07:00
David Lord
6e37033282 Merge pull request #3129 from adamchainz/fix_html_injection
Fix some HTML injection paths in examples
2019-05-16 09:52:13 -07:00
Adam Johnson
00b94d76d5 Fix some HTML injection paths in examples
These are unlikely to be copy-pasted by users but it's best practice to avoid it and other examples do.
2019-05-16 09:50:58 -07:00
David Lord
ecb8f23406 Merge pull request #3137 from Abdur-rahmaanJ/patch-2
Update CONTRIBUTING.rst discord link + style info
2019-05-16 09:48:59 -07:00
David Lord
327f5249d5 fix discord link, clean up 2019-05-16 09:47:56 -07:00
Abdur-Rahmaan Janhangeer
ae3f21def4 Update CONTRIBUTING.rst 2019-05-16 09:43:51 -07:00
David Lord
3b6673c608 Merge pull request #3118 from JBonser/master
Fix code snippet in config.rst for env vars Fixes #3117
2019-05-16 08:52:23 -07:00
jordan bonser
342fbe6fe7 improve env vars config example 2019-05-16 08:48:34 -07:00
David Lord
be980c8409 Merge pull request #3196 from jakseb/fix-docs-paren
Fix misplaced paren in docs
2019-05-16 08:28:58 -07:00
David Lord
db87879060 Merge pull request #3096 from RyanSquared/master
helpers.py: Fix docs of url_for(..., _external=True)
2019-05-16 07:30:07 -07:00
RyanSquared
5298b35572 helpers.py: Fix docs of url_for(..., _external=True) 2019-05-16 06:54:20 -07:00
Sebastian Jakubiak
2ff41f0e48 Fix misplaced paren in docs 2019-05-13 22:22:40 +02:00
David Lord
5649b888c2 Merge pull request #3173 from pwlandoll/1.0-maintenance
Add link to official Discord chat server
2019-05-06 10:49:29 -04:00
Peter Landoll
105cc0ae94 Add link to official Discord chat server 2019-05-06 09:39:25 -04:00
David Lord
26d79e5632 Merge pull request #3150 from greyli/fix-route-defaults-doc
[Doc] Fix typo in code example for route defaults
2019-04-11 19:11:21 -07:00
Grey Li
e4f8be4ee5 Fix typo in URL defaults example 2019-04-12 09:45:58 +08:00
David Lord
cb22dc8cc2 Merge pull request #3113 from greyli/improve-doc-quickstart
doc: Improve description for valid view func return value
2019-03-06 05:40:22 -08:00
Grey Li
89a3e0c915 doc: Improve description for valid view func return value
* improve wording.
* remove unnecessary spaces.
2019-03-06 10:34:21 +08:00
venus
3736f27760 fix the typo 2019-01-12 21:42:06 +09:00
David Lord
edd969e613 Merge pull request #3068 from pallets/method-override-encoding
remove encoding from method override pattern
2019-01-07 13:20:00 -08:00
David Lord
091ada7da3 remove encoding from method override pattern 2019-01-07 13:09:36 -08:00
David Lord
97e09989a9 Merge pull request #2986 from taion/do-not-handle-routing-exception
Do not handle RoutingExceptions with app error handlers
2019-01-07 09:58:32 -08:00
David Lord
83fb602af7 add changelog for GH-2986 2019-01-07 09:52:54 -08:00
Jimmy Jia
9d6e51476e Do not handle RoutingExceptions with app error handlers 2019-01-07 09:01:37 -08:00
David Lord
5797f95a45 Merge pull request #2934 from garenchan/bugfix-#2933
Fix issue #2933: Make sure the attachment filename is text type.
2019-01-07 07:22:59 -08:00
garenchan
0b182de99a Make sure the attachment filename is text type.
If attachment filename is bytes type and contains non-ascii coded bytes,
then the following ASCII encoding process will trigger
UnicodeDecodeError exception.

Fix issue #2933.
2019-01-07 07:17:33 -08:00
David Lord
66afdfdeed Merge pull request #2825 from eso31/fix-2824-issue
Fixes issue #2824 flask --version
2019-01-06 16:30:11 -08:00
David Lord
934c6ab22e clean up flask --version code 2019-01-06 16:24:05 -08:00
Dilan Coss
7e47e89a3f add werkzeug to flask --version 2019-01-06 16:11:03 -08:00
David Lord
23dac4e515 Merge pull request #2964 from igortg/2907-docs-update-mongo-pattern
Docs: replace MongoKit by MongoEngine on docs
2019-01-06 15:43:14 -08:00
David Lord
141373fdd0 simplify mongoengine doc, redirect from mongokit 2019-01-06 15:42:08 -08:00
Igor Ghisi
1643efd81f Replace MongoKit by MongoEngine on docs
Docs chapter "Patterns for Flask" has a section dedicated to MongoKit,
but MongoKit lib seems unmaintained and is not compatible with recent
versions of PyMongo.

This commit replaces MongoKit guide with a new one using MongoEngine.

Closes #2907
2019-01-06 15:12:53 -08:00
David Lord
0a0d0e1017 Merge pull request #3067 from pallets/tutorial-flask-run
clarify where to call flask run from in tutorial
2019-01-06 15:11:30 -08:00