Tobiasz Kędzierski
3ec751a2a0
Update deprecated database field
5 years ago
Steven Loria
f294804bf2
Remove unnecessary `clean` and `urls` commands ( #524 )
...
* We're py3-only, so py[co] files won't get created
* Flask's not has a built-in `flask routes` command
5 years ago
James Curtin
d2f37093e1
One-time black refactor of template
6 years ago
James Curtin
64b644a490
Add black formatting
6 years ago
James Curtin
90ed8fec39
Simplify setting kwarg defaults when value is not passed
6 years ago
James Curtin
c561980bef
Support passing custom sets of kwargs when creating a reference column
6 years ago
James Curtin
047cef845d
Fix logging issue
...
Closes #247
6 years ago
Steven Loria
f9e67de94c
Update GitHub links
6 years ago
Hiyorimi
08e4c67e7d
Reverting alignment
6 years ago
Hiyorimi
66b97d55d6
Fixed alerts panel and renamed submit -> Login
6 years ago
Hiyorimi
a1757b282a
Finished transition to BS4. Fixes #313 and #266
6 years ago
Steven Loria
973bcd96cb
Use environment variables for configuration
...
As per https://12factor.net/
Use environs/python-dotenv for reading/parsing variables
6 years ago
Adam Wallis
19cdae8adf
Update boostrap to 4.1.1
...
Updating boostrap required pulling in popper.js (which
required adding sync-exec as a dev dependency). Some
of the templates were updated based on changes from
bootstrap.
Signed-off-by: Adam Wallis <adam.wallis@gmail.com>
7 years ago
Silvio
3b93e5f2ba
Using flask-wtf helper for csrf token field
7 years ago
Zhong Dai
4adebd3390
remove the db. by using the alias
7 years ago
Joshua Carp
45e698b5aa
Use `FlaskForm` instead of deprecated `Form`.
...
https://flask-wtf.readthedocs.io/en/latest/api.html#flask_wtf.Form
7 years ago
Will Roberts
c204f3fd17
use webpack file-loader to manage assets apart from js and css
8 years ago
Will Roberts
cf0e254949
fix flake8 import order
8 years ago
Will Roberts
bc5feac02f
don't run flake8 on node_modules
8 years ago
Will Roberts
119b102693
replace bower with npm and Flask-Assets with webpack
...
The npm configuration:
- Includes linting of javascript with eslint
The webpack setup here:
- Bundles javascript and css, using hashing to support server-side
caching, with support from Flask-Webpack and
manifest-revision-webpack-plugin
- Uses babel to transpile ES6 javascript
- Includes a development server with hot-replacing of javascript and
css code
8 years ago
Steven Loria
16a789bf0c
Enable csrf protection on register form
...
Closes #34
8 years ago
Steven Loria
525ad8d8b0
Remove unnecessary import (fixes flake)
8 years ago
Steven Loria
58a8ea3309
Fix 'relationship' alias
...
Closes #134
8 years ago
Steven Woods
970b780edd
update CSRFProtect in extensions
...
FlaskWTFDeprecationWarning: "flask_wtf.CsrfProtect" has been renamed to "CSRFProtect" and will be removed in 1.0.
8 years ago
Aleksandr Sobolev
2d0dbc693a
Refs Issue #119 replace session with current_user, remove unnecessary href
8 years ago
Ali Cirik
472e496609
This passes `app_name` instead of the +
...
current `app_name.app` to Flask. Please see `About the First Parameter`
note in http://flask.pocoo.org/docs/0.11/api/
8 years ago
Ryan Jarvis
570d5bc587
Fix for new Bcrypt and SqlAlchemy type casting in Postgres
8 years ago
Steven Loria
c9a5139bef
Fix checks for exit codes and update doc for shell command
8 years ago
Jeremy Epstein
1f9ef5ba78
move autoapp to project root, update readme, update travis file
8 years ago
Jeremy Epstein
db0246de90
rename cli.py to commands.py
8 years ago
Jeremy Epstein
2f1168b6d4
make test command exit with correct status
8 years ago
Jeremy Epstein
6739ba9859
fix broken import
8 years ago
Jeremy Epstein
850b71e2c8
add 'clean' and 'urls' commands borrowed from Flask-Script
8 years ago
Jeremy Epstein
f28c31ec77
fix import order
8 years ago
Jeremy Epstein
c9dff24208
add click-ified 'lint' command
8 years ago
Jeremy Epstein
5010ebc949
add missing cli import in app.py
8 years ago
Jeremy Epstein
3d8f8c3c9e
Use Click instead of Flask-Script for CLI commands
...
- Update Flask to 0.11 (with built-in Click integration)
- Remove manage.py
- Add autoapp.py per Flask doc's new recommendations
for using Click with an app factory
- Define cookiecutter-flask's commands in cli.py
- Register shell context and shell commands as part
of factory-based app creation
- Update README instructions with examples for running
commands in new Click style
8 years ago
matthewblain
089c3c265a
Switch CSRF token rendering mechanism.
...
Switch Register CSRF protect from form.hidden_tag to input hidden
value=csrf_token.
I don't understand why this is necessary, as form.hidden_tag works
elsewhere--this may be a symptom of an aliasing issue. However, it was
the solution applied to fix login in a previous commit as described in
https://github.com/sloria/cookiecutter-flask/issues/34 .
9 years ago
Christian Stade-Schuldt
045800f366
update Bootstrap to 3.3.6
9 years ago
Christian Stade-Schuldt
7a2780a534
update font awesome to 4.5.0
9 years ago
Steven Loria
796d955cda
Run lint command when testing the cookiecutter
9 years ago
Guilherme M. Trein
8577dc7fd6
Enable CSRF protection
...
- CSRF is enabled by default for login form
- This commit resolves issue #34
9 years ago
Wagner Augusto Andreoli
d6f1f5c2cc
Travis: Migrating from legacy to container-based infrastructure
9 years ago
Wagner Augusto Andreoli
8230fa17d5
Remove pylint from project, remove ipdb and ipython from requirements
9 years ago
Wagner Augusto Andreoli
e27fa10e15
Add an option to use pylint after flake8, change code to conform to pylint rules
9 years ago
Wagner Augusto Andreoli
819fd8d700
Fix environment variables
9 years ago
Wagner Augusto Andreoli
2986743a8c
Add an option to fix imports before linting, make all code conform to the linting rules
9 years ago
Wagner Augusto Andreoli
34b1750122
Fix for ValueError: Invalid rounds
9 years ago
Wagner Augusto Andreoli
88d8ee69b7
Update requirements, pin modules to the latest version, plus two small fixes
9 years ago
Vividh S Viswanatha
649a694f8a
Update extension imports to flask_*
...
See mitsuhiko/flask#1135
9 years ago