Closed Bug 1020406 Opened 12 years ago Closed 12 years ago

Refactor database abstraction layer in Login

Categories

(Webmaker Graveyard :: Login, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kate, Assigned: kate)

References

Details

(Whiteboard: [login][June13])

Attachments

(1 file)

Right now we only have access to a single model. Let's expose the model(s) directly so we have more flexibility
So I took a crack at this, basically what I tried to do in this patch was: * refactor /models to be /db, and initialize the DB separately from the model definitions * expose an object containing User, which includes the controller methods * consolidate the API in the user model/user controller files into a single API
Attachment #8434410 - Flags: review?(jon)
Blocks: 1011176
Comment on attachment 8434410 [details] https://github.com/mozilla/login.webmaker.org/pull/274/files this looks like a pretty good set of changes overall. Some minor things to fix up noted in the PR. I'm not sure of the timing of this landing vs the new functionality and I were working on. Lets discuss tomorrow, and see how we can reduce the pain
Attachment #8434410 - Flags: review?(jon) → review-
Attachment #8434410 - Flags: review- → review?(jon)
Comment on attachment 8434410 [details] https://github.com/mozilla/login.webmaker.org/pull/274/files I think it'll be ready to land after this last set of changes. Can you also rebase on master? No conflicts fortunately, but master changed a lot today
Attachment #8434410 - Flags: review?(jon) → review-
Attachment #8434410 - Flags: review- → review?(jon)
Attachment #8434410 - Flags: review?(jon) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [June13][login] → [login][June13]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: