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
aa557725db
Add dist/ folders for static assets
...
[fixes #11 ]
11 years ago
Steven Loria
a133123219
Update bootstrap and jquery
11 years ago
Steven Loria
c19f405a2f
Add bower support
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
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
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
Steven Loria
4a5dd70c66
Fix typo in import
11 years ago
Steven Loria
24fffbb7b3
createdb no longer necessary
11 years ago
Steven Loria
43a4083eff
Add first_name and last_name
11 years ago
Steven Loria
748b6ea83e
Disable SQLAlchemy echo
11 years ago
Steven Loria
32ae81ec35
Shell access to User
11 years ago
Steven Loria
7ede47885f
Rename repo_name -> app_name
11 years ago