1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 16:06:15 +00:00

248 Commits

Author SHA1 Message Date
Ner'zhul
edb098fad9 Update comment for getContacts 2014-09-29 12:46:20 +02:00
Ner'zhul
8cca1ed0f8 Prepare buffer for contacts 2014-09-29 12:45:45 +02:00
Ner'zhul
ac2f60ae9a Registering ContactsManager for future use 2014-09-29 09:22:58 +02:00
Loïc Blot (@U-Exp)
fdb5d4845a Only modify dom and scroll if there any new message 2014-09-26 20:04:29 +02:00
Loïc Blot (@U-Exp)
e89c8b6d0f add minimum when fetching messages from DB 2014-09-26 19:04:16 +02:00
Loïc Blot (@U-Exp)
4f84c93c5c fix jquery call 2014-09-26 19:01:06 +02:00
Loïc Blot (@U-Exp)
95a623d208 fix phone number on refresh 2014-09-26 18:59:32 +02:00
Loïc Blot (@U-Exp)
07f2015708 oops inverted lastMsgId = id 2014-09-26 18:58:33 +02:00
Loïc Blot (@U-Exp)
18fa72b60e month not global 2014-09-26 18:56:51 +02:00
Loïc Blot (@U-Exp)
59a5353586 implement refresher. Also factorize code. Need tests 2014-09-26 18:56:22 +02:00
Loïc Blot (@U-Exp)
a188178329 remove alert(). This function is valid 2014-09-26 18:44:54 +02:00
Loïc Blot (@U-Exp)
e3617c725c prepare a JS refresh in JS 2014-09-26 18:43:41 +02:00
Loïc Blot (@U-Exp)
f62272ee46 Merge 2014-09-26 18:26:56 +02:00
Loïc Blot (@U-Exp)
968cc49a7f another cleanup 2014-09-26 18:25:57 +02:00
Loïc Blot (@U-Exp)
36b90e41e9 cleanup interface. conversation removal 2014-09-26 18:22:04 +02:00
Loic Blot
cbfebee3f4 fix month 2014-09-18 05:53:01 +00:00
Loic Blot
b9cf983b1a Fix phonenumber selection 2014-09-17 18:06:12 +00:00
Loïc Blot (@U-Exp)
4dde9f7e08 Format minutes & hour with prefixed zero 2014-09-17 19:54:20 +02:00
Ner'zhul
e800822c37 When phone number is passed as a param, load the conversation 2014-09-17 13:52:09 +02:00
Ner'zhul
01ff6a2099 Added a function to add a style when a conversation is selected 2014-09-17 12:15:27 +02:00
Loic Blot
b4b93a2f0c Scroll at bottom of the messages when loading is finished. 2014-09-16 22:02:16 +00:00
Loic Blot
6b80e30ca0 Added proper date support 2014-09-16 21:59:28 +00:00
Loic Blot
2ecaef769a SMS design 2014-09-16 21:33:24 +00:00
Loïc Blot (@U-Exp)
5667cbdac1 use a div for each message with a typed class 2014-09-16 23:08:48 +02:00
Loic Blot
7fbfb93bfb ajax call fix. parenthesis fix 2014-09-16 21:05:06 +00:00
Loïc Blot (@U-Exp)
59a075ba6f Prepare a conversation output 2014-09-16 22:59:06 +02:00
Loic Blot
86f4fb3910 Fix getAllMessagesForPhoneNumber 2014-09-16 20:48:33 +00:00
Loïc Blot (@U-Exp)
4e82141eb7 fix a missing array 2014-09-16 22:42:09 +02:00
Loïc Blot (@U-Exp)
02ba89f6aa fix sms conversation query 2014-09-16 22:38:02 +02:00
Loïc Blot (@U-Exp)
cc13e01fe9 prepare a function to get all messages for a conversation 2014-09-16 22:31:50 +02:00
Loïc Blot (@U-Exp)
7e72af1ccb Remove useless content 2014-09-16 22:21:14 +02:00
Loic Blot
8f0bcf2920 Prepare JS AJAX interactions. Show phone numbers into the appropriate div. Import some CSS things. Cleanup JS code 2014-09-16 20:18:19 +00:00
Loic Blot
37c32f8ce7 Added ajaxCall to get all phone Numbers. Also cleanup templates 2014-09-16 19:24:31 +00:00
Loic Blot
2b4b7ad6d8 mailbox-content => mailbox-peers 2014-09-16 19:14:59 +00:00
Loic Blot
b559b43983 Add style for mailbox-content 2014-09-16 19:14:32 +00:00
Loic Blot
a8ca14fd5d Fix links 2014-09-16 19:03:14 +00:00
Loïc Blot (@U-Exp)
0a7e6f09f8 Improve mailbox management for navigation 2014-09-16 20:54:47 +02:00
Loic Blot
d456178c18 Little typo fixes 2014-09-16 18:34:39 +00:00
Loïc Blot (@U-Exp)
169302516b Add new function to fetch all SMS friends 2014-09-16 20:25:34 +02:00
Loic Blot
3f712180fb Syntax fix. Also show navigations elements only if one element available 2014-09-16 17:32:30 +00:00
Loic Blot
431796c8be Prepare template navigation view for conversations 2014-09-16 17:34:42 +02:00
Loic Blot
d1f5a63fbd Resolve mailboxes names for better clientside detection 2014-09-15 18:53:59 +00:00
Loic Blot
dd67fed01a add missing return for getAllIds and prevent duplicate IDs 2014-09-15 18:44:31 +00:00
Loic Blot
fb0083a28a Fix URL for SMS ID getter 2014-09-15 18:39:31 +00:00
Loic Blot
5d1cababc6 Added optimization: don't to the single deletion if we have purged the DB before, it's useless 2014-09-15 18:02:56 +02:00
Loic Blot
ad1353c63c Add replace function to purge all database before adding every record. Also add a delete before insert function when writing to DB, preventing SMS duplicates 2014-09-15 18:01:02 +02:00
Loic Blot
128167196a Added function to retrieve SMS ids stored on the server 2014-09-15 17:55:01 +02:00
Loic Blot
0d14019e9f Code design 2014-09-15 13:41:18 +02:00
Loic Blot
cd8c0e57f1 added argument to writeToDB to purge database entries before adding new records 2014-09-15 13:35:07 +02:00
Loic Blot
3ea5fee350 Use transaction before writing to database 2014-09-15 13:31:32 +02:00