Граф коммитов

32 Коммитов

Автор SHA1 Сообщение Дата
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