Commit Graph

3774 Commits

Author SHA1 Message Date
David Lord 1234eb0f9f
Merge pull request #3408 from lamby/943674-flask-please-make-the-build-reproducible
Make the documentation build reproducibly
2019-10-28 07:59:00 -07:00
Chris Lamb 3ddf7fd2c2 Make the documentation build reproducibly
Whilst working on the Reproducible Builds effort [0] we noticed that
flask could not be built reproducibly.

This is because it includes an absolute build directory in the
documentation as the "json_module" attribute points to a Python class/
module which has a string representation including its path.

This commit skips this (inherited) member from the documentation.

(This was originally filed in Debian as #943674 [1].)

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/943674
2019-10-28 09:16:53 +00:00
David Lord 8f422d2b5e
Merge pull request #3398 from pgjones/toml
Support loading configuration from text files
2019-10-18 09:28:37 -07:00
David Lord aac0f585b9
clean up config.from_file docs 2019-10-18 09:24:58 -07:00
pgjones 829aa65e64
Support loading configuration from text files
TOML is a very popular format now, and is taking hold in the Python
ecosystem via pyproject.toml (among others). This allows toml config
files via,

    app.config.from_file("config.toml", toml.loads)

it also allows for any other file format whereby there is a loader
that takes a string and returns a mapping.
2019-10-18 09:15:47 -07:00
David Lord 7df10cd8e0
Merge pull request #3395 from decaz/patch-1
Update reqcontext.rst
2019-10-14 14:00:01 -07:00
Marat Sharafutdinov 468705df17
Update reqcontext.rst 2019-10-14 23:48:48 +03:00
David Lord 200ce9bd39
Merge pull request #3369 from doronhorwitz/get-cookie-name
get_cookie_name in SessionInterface for easier overriding in SecureCookieSessionInterface
2019-10-12 19:20:31 -07:00
Doron Horwitz 0c0b31a789
get_cookie_name in SessionInterface for easier overriding in SecureCookieSessionInterface 2019-10-12 19:12:27 -07:00
David Lord 4bceeccfff
Merge pull request #3391 from pallets/explain-escape
explain escape at top of quickstart
2019-10-12 19:03:34 -07:00
David Lord 413778afc1
explain escape at top of quickstart
* introduce escape, and explain why it's omitted in examples
* clean up imports in examples
2019-10-12 18:53:47 -07:00
Mellcap Zhao 941bc9ff60 Fix link to header in CONTRIBUTING (#3382) 2019-10-06 13:26:00 -07:00
David Lord a3f07829ca
Merge branch '1.1.x' 2019-09-24 06:44:36 -07:00
David Lord 7fdd0df6ec
Merge branch '1.0.x' into 1.1.x 2019-09-24 06:44:18 -07:00
David Lord 563ef469f7
Merge branch '0.12.x' into 1.0.x 2019-09-24 06:43:25 -07:00
David Lord e007949017
Merge pull request #3376 from pallets/migrate-docs
update docs for new theme
2019-09-24 06:41:48 -07:00
David Lord 4ed20657c6
update docs for new theme 2019-09-24 06:35:10 -07:00
David Lord 4a8e75b10a
Merge pull request #3344 from hharutyunyan/fix-the-contibution-docs
Fix the contibution docs
2019-09-23 12:24:08 -07:00
David Lord 599f32c7a4
Merge pull request #3346 from bearnun/master
Update logging.rst
2019-09-23 12:22:05 -07:00
bearnun 2ceae5f8a5
mention default logging level 2019-09-23 12:17:46 -07:00
David Lord 6429bf19a0
Merge branch '1.1.x' 2019-09-23 12:11:18 -07:00
David Lord 5f5e8e5339
Merge branch '1.0.x' into 1.1.x 2019-09-23 12:10:55 -07:00
David Lord e17c3423bd
Merge pull request #3375 from pallets/ext-py-version
reword extension python version item
2019-09-23 12:10:30 -07:00
David Lord 6cde195c88
reword extension python version item 2019-09-23 11:59:59 -07:00
David Lord 40eadfc52a
Merge branch '1.1.x' 2019-09-23 08:38:29 -07:00
David Lord 746d9181d7
Merge branch '1.0.x' into 1.1.x 2019-09-23 08:38:11 -07:00
David Lord 06507ed4e4
Merge pull request #3374 from pallets/ext-docs
Remove old things from docs
2019-09-23 08:33:50 -07:00
David Lord e01b68e7ee
update patterns, snippets, extensions docs 2019-09-23 08:19:40 -07:00
David Lord 12666af6b5
Merge pull request #3349 from nathanmp/master
Update testing.rst
2019-09-02 09:05:05 -07:00
Nathan McKinley-Pace 2ec150af02
Update testing.rst
It now describes how to install flaskr using pip so that all tests pass.
2019-09-02 11:31:34 -04:00
hharutyunyan 9b94e14638 Updating contribution docs. Added the link with a guide to install pre-commit and made the pre-commit installation command a code block. 2019-08-29 02:44:00 +04:00
Joshua Bronson 908a364996
Merge pull request #3343 from gruentee/patch-1
fix typo: base on -> based on
2019-08-25 15:36:19 -04:00
Constantin b839beb23d
fix typo: base on -> based on 2019-08-25 20:33:41 +02:00
David Lord db061cf736
Merge pull request #3332 from Eido95/patch-1
docs: Change max content length value to megabyte
2019-08-24 09:09:32 -07:00
Joshua Bronson 96726f6a04
Merge pull request #3336 from arnavb/patch-1
Fix typo in pop documentation
2019-08-15 21:30:05 -04:00
Arnav Borborah 553b26f857
Fix typo in pop documentation 2019-08-15 21:05:33 -04:00
Eido95 b33e89935a
docs: Change max content length value to megabyte
16 * 1024 * 1024 = 16 MiB (Mebibyte)
16 * 1000 * 1000 = 16 MB (Megabyte)

The example is in megabytes, not in mebibytes.
2019-08-13 11:02:56 +03:00
Chris Zimmerman 353d891561 fixed typo in logging docstring (#3328)
* fixed typo in logging docstring

* second typo fix
2019-08-09 14:47:17 -04:00
David Lord 33db535108
Merge branch '1.1.x' 2019-08-01 13:35:52 -07:00
David Lord b3b38285a4
fix stylecheck 2019-08-01 13:35:38 -07:00
David Lord 0adbaf270a
Merge branch '1.1.x' 2019-08-01 13:08:34 -07:00
David Lord 02cfee8461
Merge branch '1.0.x' into 1.1.x 2019-08-01 13:08:12 -07:00
David Lord ca0acbaa53
Merge pull request #3317 from csirmazbendeguz/patch-1
Fix typo in urlprocessors.rst
2019-08-01 13:07:52 -07:00
Csirmaz Bendegúz 28ffe15349
Fix typo in urlprocessors.rst 2019-08-01 12:58:07 -07:00
David Lord c074422cfd
Merge pull request #3321 from greyli/fix-gh-link-generator
Fix github link generator for docs
2019-08-01 12:56:30 -07:00
Grey Li 2a8ebc4411 Fix github link generator for docs 2019-08-01 22:49:31 +08:00
David Lord b7f6fae9b3
Merge pull request #3315 from linchiwei123/cleanup
clean up outdated code
2019-07-25 11:33:36 -07:00
linchiwei123 a0a49e1c9e clean up outdated code 2019-07-24 15:50:37 +08:00
David Lord fb4aab5d89
Merge branch '1.1.x' 2019-07-22 13:31:24 -07:00
David Lord c42803f168
Merge branch '1.0.x' into 1.1.x 2019-07-22 13:31:05 -07:00