Andy McKay
60dbdc2b6b
fix fixtures
2012-08-23 14:19:07 -07:00
Andy McKay
9d301ff72c
skip tests that depend upon the middleware what i just removed
2012-05-08 16:12:49 -07:00
Wil Clouser
ebb8cf4dea
remove users.(first|last|nick)name. migration in separate commit
2012-04-12 21:01:41 -07:00
Wil Clouser
cc62cd6905
remove users.sandboxshown; migration in another commit
2012-04-12 21:01:41 -07:00
Kumar McMillan
ad383737ee
Copy AMO username to Django username (bug 731639)
...
This is important because at the time of the copy, the username has already
been de-duped.
2012-03-02 12:45:37 -06:00
Jeff Balogh
018bc18ca1
fixing all your broken tests
2011-08-18 17:03:20 -07:00
Jeff Balogh
4ae16c83fa
base all tests off amo.tests.TestCase
2011-07-27 15:30:08 -07:00
Jeff Balogh
6d396585de
request does not always have user
2011-06-07 10:54:23 -07:00
Andy McKay
c0ccbef35c
upgrade to latest django (bug 612467)
2010-11-19 10:39:34 -08:00
Jeff Balogh
ed4aeeee9f
add an email to the fixture
2010-09-02 22:44:26 -07:00
Jeff Balogh
bb7345250a
break things with unicode
2010-08-24 09:30:31 -07:00
Wil Clouser
faf57c2b19
fix user tests
2010-08-18 09:21:08 -07:00
Wil Clouser
d96b6ceaa7
Migrate to use new user fields
2010-08-18 09:02:43 -07:00
Jeff Balogh
b3dca77685
experimenting with a read-only mode (bug 574024)
2010-06-25 14:37:43 -07:00
Wil Clouser
98bbf0ea1a
Adjust some log levels
2010-06-04 15:29:48 -07:00
Jeff Balogh
dead3cb957
fix up more getLogger calls
2010-05-20 10:46:02 -07:00
Jeff Balogh
12f6424ea5
using a LoggerAdapter in commonware for proper line numbers (bug 564452)
2010-05-19 18:34:55 -07:00
Dave Dash
c8b2801934
bug 565193, add middleware to rm cookies
2010-05-19 15:51:46 -07:00
Dave Dash
8b78a42af3
bug 566377, Non-ascii session data validates.
...
We're using smart_str to force all serialized data as strings, since they
aren't meant to have encoding data. This allows people with funny last names
like Yohann Flîgtar to be able to use our site.
2010-05-17 18:00:41 -07:00
Jeff Balogh
556c175008
fixing stars test broken in 2d882b7b
2010-05-14 11:07:41 -07:00
Fred Wenzel
7761e5387a
Make remora_url preserve trailing slashes (bug 565401)
2010-05-14 18:27:24 +02:00
Dave Dash
183f557885
bug 565759, already logged in user not relogged in
2010-05-13 15:56:13 -07:00
Wil Clouser
857e5277c5
CheesyHack++; bug 565759
2010-05-13 14:49:08 -07:00
Jeff Balogh
7a1dd1bad6
no more escaping for colons
2010-05-12 13:46:10 -07:00
Dave Dash
ba73949669
bug 564470, fix footer.
2010-05-10 14:56:39 -07:00
Dave Dash
f472d1a5fe
bug 564353, no more race conditions or any errors.
2010-05-07 17:28:50 -07:00
Dave Dash
822384e437
bug 564353, catching a race condition where the profile.user doesn't exist on a slave yet.
2010-05-07 16:34:42 -07:00
Dave Dash
0afd9b62bf
bug 564354, we check master as a fallback if we have no associated django_user.
2010-05-07 14:50:34 -07:00
Jeff Balogh
55786b7f1c
no reason for the url to be Markup
2010-05-06 15:56:29 -07:00
Fred Wenzel
e12d3167b8
add url_fix function for escaping URLs and query strings correctly
2010-04-28 12:10:10 -07:00
Fred Wenzel
c75d630a10
Use Remora-style EULA url for now (bug 561443)
2010-04-27 10:41:59 -07:00
Fred Wenzel
194e970a91
Properly encode UTF-8 in remora URLs (bug 559731)
2010-04-23 15:28:18 +02:00
Wil Clouser
35b240dee0
Catch broken sessions; bug 553397
2010-04-09 20:46:53 -07:00
Fred Wenzel
09099946ea
The first two static pages. Yay. (bug 550037)
2010-03-29 20:18:25 +02:00
Fred Wenzel
c5cdae5752
remora_url helper to create URLs independently from Zamboni logic (bug 552507)
2010-03-16 09:09:26 +01:00
Fred Wenzel
9942191c20
hopefully the cake csrf token will like me now.
2010-03-11 18:35:41 +01:00
Fred Wenzel
581ed0ce8a
fixing various tidbits on the add-ons details page
2010-03-11 17:49:16 +01:00
Fred Wenzel
3d663ee764
cake_csrf_token failed on logged-in users without AMO session cookie
2010-03-09 17:07:21 +01:00
Fred Wenzel
9a18e65083
cake CSRF token helper
2010-03-02 18:29:19 +01:00
Jeff Balogh
b9ac53ca48
starting the homepage: global stats
2010-03-01 15:10:47 -08:00
James Socol
9b05138a49
put amo.email into django.user.username
2010-01-14 15:30:58 -08:00
Jeff Balogh
02c4eee8fa
backend for authenticating amo users by email and password
2010-01-13 14:27:30 -08:00
Dave Dash
817e5b42b2
[bug 539108] If you're logged in... and an admin... you are a superuser and we remember your groups
...
Middleware that allows credentialed users to login to the admin site.
2010-01-13 14:27:29 -08:00
Dave Dash
fe2d26e4a9
Made our code a tad pylint friendly, boosting our score from 3.19 to 8.17/10
2010-01-08 15:12:37 -08:00
Dave Dash
5f5c3c881e
Cake-cookie based authentication
...
* Wrote a test to see if we can log in using a cake session.
* Middleware can read cookie
* Wrote an authenticator backend that reads the session data from the db
* Rewrote users.User as users.UserProfile and linked it to d.c.a.User and included migrations
* Got templates to work, and wrote a test to validate things
* logout
* Signals! We can now log a user out using the logout view, send a signal, and have it intercepted by the Cake app which will destroy its session and attempt to destroy the relevent cookies.
* Updated models to use UserProfile
* added media/js as a submodule
* Prettied up the html so the remora JS works
2010-01-08 10:20:00 -08:00