summaryrefslogtreecommitdiff
path: root/client/js/controllers/auth_controller.js
AgeCommit message (Collapse)Author
2020-06-06client+server: implement code autoformatting using prettier and blackShyam Sunder
2020-05-03Add pool CRUD operations/pagesRuin0x11
2019-07-24client/auth: call tags.refreshCategoryColorMap() after loginneobooru
When the tag category list permission is not anonymous the category colors fail to load if you are not logged in, and because the page doesn't reload (SPA) the tag colors are still broken after logging in. Manually calling refreshCategoryColorMap after logging in solves this issue.
2017-01-21client: refactor linking and routingrr-
Print all links through new uri.js component Refactor the router to use more predictable parsing Fix linking to entities with weird names (that contain slashes, + etc.)
2017-01-08client: rework promise error handlingrr-
2016-07-13client/general: add title to every pagerr-
2016-06-18client/general: refactor control flowrr-
- Controller lifetime is bound to route lifetime - View lifetime is bound to controller lifetime - Control lifetime is bound to view lifetime - Enhanced event dispatching - Enhanced responsiveness in some places - Views communicate user input to controllers via new event system
2016-06-17client/auth: fix password reminderrr-
2016-06-13client/top-nav: trying out actual mvcrr-
2016-06-12client/router: introduce own routerrr-
I'm tired of page.js lack of documentation around finer quirks, and being forced to read its crap code. Refactored into classes, removed unused cruft.
2016-05-21client/general: refactor all the thingsrr-
- Move controls to the "controls/" directory - Make controls interface look similar to each other - Prefix "private" methods and attributes with underscore
2016-05-08client/auth: forget user when they try to log inrr-
This is to let user log in if their login cookie is broken (for example when it refers to a non existing user). Normally, the client should treat errors caused by cookie logins as temporary server failures, inform the user about it and leave the cookie, so that when the server is up again, all user needs to do is to reload the page rather than logging again.
2016-04-09client/general: refactor promisesrr-
2016-04-09client/api: fix removing cookies on login failuresrr-
2016-04-08client/views: move notifications to controllersrr-
2016-04-08client/api: move cookies management to APIrr-
2016-04-08client/api: convert messages to eventsrr-
2016-04-06client/routing: move routing to controllersrr-
2016-04-06client+server: finish password remindersrr-
2016-04-03client/auth: keep cookie after auto auth failuresrr-
...remove it on any login attempt.
2016-04-01split files into client/ and server/rr-