Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

29 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Jeff Balogh fc81dee30e I wrote a comment 2011-01-04 16:43:01 -08:00
Jeff Balogh 53caf60843 check_addon_ownership has the wrong granularity; now we use has_perm 2011-01-04 16:28:48 -08:00
Jeff Balogh 97b1f108c5 don't let viewers POST past @dev_required (bug 611526) 2010-11-13 08:08:58 -08:00
Dave Dash 118123ef48 store current user globally 2010-11-12 14:06:16 -08:00
Jeff Balogh 36f69bc2a0 making RequestUser so cache-machine byid caching works
RequestUser objects are different from normal UserProfile objects, so the
separate class name will cause different cache entries.
2010-10-29 17:32:44 -07:00
Jeff Balogh 3370f79345 take over /downloads (bug 591028) 2010-10-28 15:32:43 -07:00
Jeff Balogh 10093120ca removing unused author roles 2010-10-01 15:09:24 -07:00
Jeff Balogh 1f835f67aa make sure we don't change the collection author (bug 587710) 2010-08-23 17:46:26 -07:00
Jeff Balogh aeff91b3ec attach acl.check_ownership to the request 2010-08-23 16:25:44 -07:00
Wil Clouser d96b6ceaa7 Migrate to use new user fields 2010-08-18 09:02:43 -07:00
Matt Claypotch fab5aceeae Bug 574291, collection detail pages styling 2010-08-12 15:56:37 -07:00
Jeff Balogh dffa7c1dc9 attach mobile_addons to request.amo_user 2010-08-10 16:58:47 -07:00
Dave Dash f093ecead9 bug 585835, cached publishable_by 2010-08-10 13:05:44 -07:00
Dave Dash ab58aa3c38 Show delete only for owners. 2010-08-09 10:55:35 -07:00
Dave Dash 117f3875a3 bug 574271, Update collections 2010-08-06 15:23:20 -07:00
Jeff Balogh 0a43175850 collection permission check + view stats 2010-07-28 17:26:54 -07:00
Jeff Balogh 641cb4acc5 we redirect to our login now 2010-07-15 11:04:29 -07:00
Jeff Balogh 4fb8bb2a66 adding acl.check_ownership to tell if request.user owns an addon 2010-06-23 15:02:40 -07:00
Fred Wenzel d6025a8d0a Separate edit user links for admin/user (bug 564561) 2010-05-18 13:29:46 +02:00
Fred Wenzel 1cb9ad10a5 make acl.action_allowed not crash anymore for anonymous users (bug 546498) 2010-04-30 10:18:17 -07:00
Jeff Balogh b797ddbace adding a GroupUser inline, marking optional fields 2010-02-08 17:02:15 -08:00
Jeff Balogh 5e3052ddbe import amo.models to avoid circular imports, move constants to __init__ 2010-01-28 19:00:22 -08:00
Dave Dash 47cda7d168 [bug 538276] Beginnings of a Simple_ACL like ACL 2010-01-14 14:33:53 -08:00
Dave Dash d2cd2a458a Fixed pep8 2010-01-14 11:37:52 -08:00
Dave Dash f7194b45de [bug 539108] Removed some duplicated items from ACLMiddleware 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 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
Jeff Balogh c8eab13e25 admin tweaks 2010-01-04 16:43:07 -05:00
Jeff Balogh 3365a35eb4 starting an access app 2010-01-03 16:12:51 -05:00