Closed Bug 1101490 Opened 11 years ago Closed 11 years ago

Implement a new component for Rooms database management

Categories

(Firefox OS Graveyard :: Gaia::Loop, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: frsela, Assigned: frsela)

References

Details

Attachments

(1 file)

Information to store: For every room I should store the following information: roomToken - The token used to identify this room. roomUrl - A URL that can be given to other users to allow them to join the room. roomName - The room-owner-assigned name used to identify this room. roomOwner - The user-friendly display name indicating the name of the room's owner. maxSize - The maximum number of users allowed in the room at one time (as configured by the room owner). creationTime - The time (in seconds since the Unix epoch) at which the room was created. expiresAt - The time (in seconds since the Unix epoch) at which the room goes away. ctime - Similar in spirit to the Unix filesystem "ctime" (change time) attribute. The time, in seconds since the Unix epoch, that any of the following happened to the room:
 The room was created The owner modified its attributes with "PATCH /rooms/{token}" A user joined the room A user left the room For created rooms I should store: SharedWith: Identity/Contact information of the people I’ve shared the room with A list of room log events: Room Created: Time and subject Room Renamed: Time and new subject Anyone Joined: Time and Who I joined: Time Communication established: Time and with who
Assignee: nobody → frsela
Depends on: 1101542
Attached file Proposed patch (WIP)
A WIP patch. I upload it for working in parallel ;)
Attachment #8528400 - Flags: review?(crdlc)
Attachment #8528400 - Flags: review?(borja.bugzilla)
Comment on attachment 8528400 [details] [review] Proposed patch (WIP) LGTM, thanks a lot
Attachment #8528400 - Flags: review?(crdlc) → review+
Landed: https://github.com/mozilla-b2g/firefoxos-loop-client/commit/4d68cb224d89f8c7892c221f40f104a193e4d460 Thank you Cristian and Borja for your time reviewing and testing this :)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
No longer blocks: 1106499
Attachment #8528400 - Flags: review?(borja.bugzilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: