sloria
27f9135f53
Get app secret key from environment variable
11 years ago
sloria
7c320a1e98
Update readme
11 years ago
sloria
4492424a4b
Merge branch 'master' of https://github.com/sloria/cookiecutter-flask
11 years ago
sloria
13f66eab54
Update requirements
11 years ago
Steven Loria
a67463a8d7
Merge pull request #20 from level09/master
...
Minor fix, added missing closing div tag
11 years ago
Nidal Al Hariri
c8f0549f27
Minor fix, added missing closing div tag
11 years ago
Steven Loria
5a4c4425f6
Default error code to 500
...
[fixes #18 ]
11 years ago
Steven Loria
e3286524df
Update README
11 years ago
Steven Loria
c8d07d0d29
Models must explicitly inherit from SurrogatePK to add primary key
11 years ago
Steven Loria
2e6a61f45e
Remove unnecessary year cookiecutter variable
11 years ago
Steven Loria
757d152699
Rename test_webtests -> test_functional
11 years ago
Steven Loria
c156760f67
Add forms tests
11 years ago
Steven Loria
1018859800
Add config tests
11 years ago
Steven Loria
35c32eccc1
Fix app fixture scope. Make function-scoped to make tests more isolated
11 years ago
Steven Loria
338ef8b280
Correctly initialize debug toolbar
11 years ago
Steven Loria
6303991a69
Correctly set bcrypt log rounds in app config
11 years ago
Steven Loria
923b1f55e2
Revert User#set_password and User#check_password for Migrate compatibility
11 years ago
Steven Loria
38adf64997
Remove unnecessary custom signalling session
11 years ago
Steven Loria
56abfbe31a
Update all requirements
11 years ago
Steven Loria
c6a49db3c2
Update requirements and remove unused tests/base.py
11 years ago
Steven Loria
029a32decd
Fix and simplify tests (all tests passing)
11 years ago
Steven Loria
9851fa2974
Follow one test class per model convention
11 years ago
Steven Loria
ce85de1b20
Move tests out of app directory
11 years ago
Steven Loria
ba68f616c8
Port model tests to pytest
11 years ago
Steven Loria
7c8dcf2b19
Fix Password.__ne__
11 years ago
Steven Loria
eeb9476226
Upgrade to Flask-SqlAlchemy 2.0 (dev) and add custom SignallingSession
...
Necessary for tests to work
11 years ago
Steven Loria
de741805c5
Add Role.__init__
11 years ago
Steven Loria
5bfd073802
Add BaseFactory which flushes the db on create
11 years ago
Steven Loria
388cf106c2
Add PasswordType and make __init__ less verbose
11 years ago
Steven Loria
41824c41cc
Reduce Bcrypt level for tests
11 years ago
Steven Loria
f5f5d37eb6
Remove many_to_one, use more explicit ReferenceCol instead
...
Mostly because I couldn't get many_to_one to work with Flask-SQLA =/
11 years ago
Steven Loria
58c95a9a4c
Add many_to_one and one_to_many recipes
11 years ago
Steven Loria
f70a2614ce
bump version
11 years ago
Steven Loria
aa557725db
Add dist/ folders for static assets
...
[fixes #11 ]
11 years ago
Steven Loria
9c466cc562
release 0.3.1
11 years ago
Steven Loria
b22538210b
Update readme
11 years ago
Steven Loria
a133123219
Update bootstrap and jquery
11 years ago
Steven Loria
c19f405a2f
Add bower support
11 years ago
Steven Loria
e5bfe3e21a
Update readme
11 years ago
Steven Loria
1052596129
Merge pull request #10 from Omeryl/patch-1
...
Update the default year to 2014
11 years ago
Kyle
e8f4e2bc9c
Update the default year to 2014
11 years ago
Steven Loria
6a4321b9c4
Merge pull request #9 from Widdershin/master
...
Webtests now correctly follow responses
11 years ago
Nick Johnstone
831705d3c2
Webtests now correctly follow responses
...
`maybe_follow` does not fail the test if the response isn't a redirect.
The webtests were changed to use `follow` instead, which correctly fails the test if the response can't be followed. This meant that the login test didn't fail if the form failed to validate or submit.
11 years ago
Steven Loria
31efcfb915
Merge pull request #8 from Widdershin/master
...
Login form on nav.html posts to current page instead of "/"
11 years ago
Nick Johnstone
2344a88650
Login form on nav.html now correctly posts to /
...
Used to post to the current page, breaks if you're on the about page or others.
11 years ago
Steven Loria
706770a164
Merge pull request #5 from cvrebert/master
...
reflect Bootstrap's org change
11 years ago
Chris Rebert
c4b6640418
reflect Bootstrap's org change; fix Font Awesome spelling
11 years ago
Steven Loria
070eb9e54f
Check if current_user exists in template
...
Fixes #4
11 years ago
Steven Loria
aca9b39329
Move TestConfig to settings.py
11 years ago
Steven Loria
34ba9a1531
Remove redundant error handler
11 years ago