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

Commit Graph

  • b17cf11020 Fix $c call Ner'zhul 2014-09-30 10:00:49 +02:00
  • 860b4a3fb5 Link App with SmsController Loic Blot 2014-09-30 05:49:27 +00:00
  • 42df9cc510 Missing parenthesis Loic Blot 2014-09-30 05:42:02 +00:00
  • addc336d12 prepare contact/phone buffer Loïc Blot (@U-Exp) 2014-09-30 07:36:49 +02:00
  • edb098fad9 Update comment for getContacts Ner'zhul 2014-09-29 12:46:20 +02:00
  • 8cca1ed0f8 Prepare buffer for contacts Ner'zhul 2014-09-29 12:45:45 +02:00
  • ac2f60ae9a Registering ContactsManager for future use Ner'zhul 2014-09-29 09:22:58 +02:00
  • fdb5d4845a Only modify dom and scroll if there any new message Loïc Blot (@U-Exp) 2014-09-26 20:04:29 +02:00
  • e89c8b6d0f add minimum when fetching messages from DB Loïc Blot (@U-Exp) 2014-09-26 19:04:16 +02:00
  • 4f84c93c5c fix jquery call Loïc Blot (@U-Exp) 2014-09-26 19:01:06 +02:00
  • 95a623d208 fix phone number on refresh Loïc Blot (@U-Exp) 2014-09-26 18:59:32 +02:00
  • 07f2015708 oops inverted lastMsgId = id Loïc Blot (@U-Exp) 2014-09-26 18:58:33 +02:00
  • 18fa72b60e month not global Loïc Blot (@U-Exp) 2014-09-26 18:56:51 +02:00
  • 59a5353586 implement refresher. Also factorize code. Need tests Loïc Blot (@U-Exp) 2014-09-26 18:56:22 +02:00
  • a188178329 remove alert(). This function is valid Loïc Blot (@U-Exp) 2014-09-26 18:44:54 +02:00
  • e3617c725c prepare a JS refresh in JS Loïc Blot (@U-Exp) 2014-09-26 18:43:41 +02:00
  • f62272ee46 Merge Loïc Blot (@U-Exp) 2014-09-26 18:26:56 +02:00
  • 968cc49a7f another cleanup Loïc Blot (@U-Exp) 2014-09-26 18:25:57 +02:00
  • 36b90e41e9 cleanup interface. conversation removal Loïc Blot (@U-Exp) 2014-09-26 18:22:04 +02:00
  • cbfebee3f4 fix month Loic Blot 2014-09-18 05:53:01 +00:00
  • b9cf983b1a Fix phonenumber selection Loic Blot 2014-09-17 18:06:12 +00:00
  • 4dde9f7e08 Format minutes & hour with prefixed zero Loïc Blot (@U-Exp) 2014-09-17 19:54:20 +02:00
  • e800822c37 When phone number is passed as a param, load the conversation Ner'zhul 2014-09-17 13:52:09 +02:00
  • 01ff6a2099 Added a function to add a style when a conversation is selected Ner'zhul 2014-09-17 12:15:27 +02:00
  • b4b93a2f0c Scroll at bottom of the messages when loading is finished. Loic Blot 2014-09-16 22:02:16 +00:00
  • 6b80e30ca0 Added proper date support Loic Blot 2014-09-16 21:59:28 +00:00
  • 2ecaef769a SMS design Loic Blot 2014-09-16 21:33:19 +00:00
  • 5667cbdac1 use a div for each message with a typed class Loïc Blot (@U-Exp) 2014-09-16 23:08:48 +02:00
  • 7fbfb93bfb ajax call fix. parenthesis fix Loic Blot 2014-09-16 21:05:06 +00:00
  • 59a075ba6f Prepare a conversation output Loïc Blot (@U-Exp) 2014-09-16 22:59:06 +02:00
  • 86f4fb3910 Fix getAllMessagesForPhoneNumber Loic Blot 2014-09-16 20:48:33 +00:00
  • 4e82141eb7 fix a missing array Loïc Blot (@U-Exp) 2014-09-16 22:42:09 +02:00
  • 02ba89f6aa fix sms conversation query Loïc Blot (@U-Exp) 2014-09-16 22:38:02 +02:00
  • cc13e01fe9 prepare a function to get all messages for a conversation Loïc Blot (@U-Exp) 2014-09-16 22:31:50 +02:00
  • 7e72af1ccb Remove useless content Loïc Blot (@U-Exp) 2014-09-16 22:21:14 +02:00
  • 8f0bcf2920 Prepare JS AJAX interactions. Show phone numbers into the appropriate div. Import some CSS things. Cleanup JS code Loic Blot 2014-09-16 20:17:39 +00:00
  • 37c32f8ce7 Added ajaxCall to get all phone Numbers. Also cleanup templates Loic Blot 2014-09-16 19:24:20 +00:00
  • 2b4b7ad6d8 mailbox-content => mailbox-peers Loic Blot 2014-09-16 19:14:59 +00:00
  • b559b43983 Add style for mailbox-content Loic Blot 2014-09-16 19:14:32 +00:00
  • a8ca14fd5d Fix links Loic Blot 2014-09-16 19:03:14 +00:00
  • 0a7e6f09f8 Improve mailbox management for navigation Loïc Blot (@U-Exp) 2014-09-16 20:54:47 +02:00
  • d456178c18 Little typo fixes Loic Blot 2014-09-16 18:34:39 +00:00
  • 169302516b Add new function to fetch all SMS friends Loïc Blot (@U-Exp) 2014-09-16 20:25:34 +02:00
  • 3f712180fb Syntax fix. Also show navigations elements only if one element available Loic Blot 2014-09-16 17:32:30 +00:00
  • 431796c8be Prepare template navigation view for conversations Loic Blot 2014-09-16 17:34:42 +02:00
  • d1f5a63fbd Resolve mailboxes names for better clientside detection Loic Blot 2014-09-15 18:53:59 +00:00
  • dd67fed01a add missing return for getAllIds and prevent duplicate IDs Loic Blot 2014-09-15 18:44:31 +00:00
  • fb0083a28a Fix URL for SMS ID getter Loic Blot 2014-09-15 18:39:31 +00:00
  • 5d1cababc6 Added optimization: don't to the single deletion if we have purged the DB before, it's useless Loic Blot 2014-09-15 18:02:45 +02:00
  • 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 Loic Blot 2014-09-15 18:00:48 +02:00
  • 128167196a Added function to retrieve SMS ids stored on the server Loic Blot 2014-09-15 17:55:01 +02:00
  • 0d14019e9f Code design Loic Blot 2014-09-15 13:41:18 +02:00
  • cd8c0e57f1 added argument to writeToDB to purge database entries before adding new records Loic Blot 2014-09-15 13:35:07 +02:00
  • 3ea5fee350 Use transaction before writing to database Loic Blot 2014-09-15 13:31:32 +02:00
  • cfc94b253f rename saveAll Ner'zhul 2014-09-15 13:27:30 +02:00
  • c85967ca75 rename saveAll Ner'zhul 2014-09-15 13:22:04 +02:00
  • 6a851b5ba6 Fix tabs Ner'zhul 2014-09-15 13:20:58 +02:00
  • 390caaac84 another syntax fix Loïc Blot (@U-Exp) 2014-09-12 20:23:24 +02:00
  • a8ff01b999 Add support for SMS types Loïc Blot (@U-Exp) 2014-09-12 20:12:18 +02:00
  • dfbee0fac1 By preparing the correct query it's better Loïc Blot (@U-Exp) 2014-09-12 19:47:14 +02:00
  • 66417419c3 By preparing the correct query it's better Loïc Blot (@U-Exp) 2014-09-12 19:46:16 +02:00
  • 52b0834b3b forget to remove one deprecated test Loïc Blot (@U-Exp) 2014-09-12 19:45:23 +02:00
  • 0132ca90db Change protocol. We receive a mailbox ID, drafts are contained into this mailbox ID. Loïc Blot (@U-Exp) 2014-09-12 19:42:54 +02:00
  • 5cef955d23 Message size is too little Loïc Blot (@U-Exp) 2014-09-12 19:29:43 +02:00
  • 41fe3868a9 Another better error output Loïc Blot (@U-Exp) 2014-09-12 19:24:31 +02:00
  • ccb552b87e Fix id => _id. Add better error output Loïc Blot (@U-Exp) 2014-09-12 19:21:39 +02:00
  • 25d3fe8516 fix a missing brace. Really !!! Loïc Blot (@U-Exp) 2014-09-12 19:12:16 +02:00
  • 53cc14fc52 fix a missing brace and change id to _id Loïc Blot (@U-Exp) 2014-09-12 19:11:12 +02:00
  • 79f3b5ca24 draft must be default valued Loïc Blot (@U-Exp) 2014-09-12 19:09:37 +02:00
  • 87d6ecd1cc oops, bad commit datas on routes Loïc Blot (@U-Exp) 2014-09-12 18:20:13 +02:00
  • 08efd41e8d don't remove templateresponse Loïc Blot (@U-Exp) 2014-09-12 18:19:53 +02:00
  • 363777c2a6 Use JSONResponse Loïc Blot (@U-Exp) 2014-09-12 17:47:24 +02:00
  • 8f890000ed return JSON Loïc Blot (@U-Exp) 2014-09-12 17:22:13 +02:00
  • 52fe3c44c4 Because there is a bug on boolean recognition in PHP, we are using string octal representation for flags Loïc Blot (@U-Exp) 2014-09-12 17:12:49 +02:00
  • c089cc3ded Testing boolean modif for draft field Loïc Blot (@U-Exp) 2014-09-12 16:50:45 +02:00
  • 3096f44293 Fix timestamp default Loïc Blot (@U-Exp) 2014-09-12 16:45:50 +02:00
  • 8feb3a95d9 Fix DB scheme Loïc Blot (@U-Exp) 2014-09-12 16:39:03 +02:00
  • 37602a13b8 It's a controller variable rah... Loïc Blot (@U-Exp) 2014-09-12 16:33:18 +02:00
  • 553ff12b22 Same error here. Copy paste... Loïc Blot (@U-Exp) 2014-09-12 16:32:29 +02:00
  • 8cdfc0f61a Oops, fix namespace Loïc Blot (@U-Exp) 2014-09-12 16:31:55 +02:00
  • b853362683 Use mapper properly on controller. Need tests Loïc Blot (@U-Exp) 2014-09-12 16:31:08 +02:00
  • 43d122a6b8 Fix SMS Mapper Loïc Blot (@U-Exp) 2014-09-12 16:16:32 +02:00
  • ed8d6afb15 remove useless things Loïc Blot (@U-Exp) 2014-09-12 16:14:38 +02:00
  • aefea6b8ff Rename smsMgr to smsMapper to follow OC guidelines. Also implement saveAll alpha function Loïc Blot (@U-Exp) 2014-09-12 16:13:40 +02:00
  • 0a16d05c0d Added more tests and link some files. Update DB Scheme Loïc Blot (@U-Exp) 2014-09-12 15:29:58 +02:00
  • 29dc4dcf46 Add basic tests on SMS datas Loic Blot 2014-09-12 13:16:46 +00:00
  • 0f85a5341d erf, it's not python Loïc Blot (@U-Exp) 2014-09-12 14:54:26 +02:00
  • 6401ef673d Prepare loop for testing sms datas Loïc Blot (@U-Exp) 2014-09-12 14:53:34 +02:00
  • dc2ff40448 Ok for SMS count Loïc Blot (@U-Exp) 2014-09-12 14:52:12 +02:00
  • 9f191c67ed fix ocsms index Loïc Blot (@U-Exp) 2014-09-12 14:50:36 +02:00
  • 7c93f35a4a format some variables Loïc Blot (@U-Exp) 2014-09-12 14:46:13 +02:00
  • 129e627cb0 Testing pushing test datas Loïc Blot (@U-Exp) 2014-09-12 14:38:13 +02:00
  • 07261636e6 Hmm it's a JSON syntax problem, not naming Loïc Blot (@U-Exp) 2014-09-12 14:23:53 +02:00
  • e6f8efa745 JSON property name fix Loïc Blot (@U-Exp) 2014-09-12 14:22:59 +02:00
  • a380ac71ff Syntax fix Loïc Blot (@U-Exp) 2014-09-12 14:22:02 +02:00
  • 7cc4ad5aaa Button must push factice datas Loïc Blot (@U-Exp) 2014-09-12 14:21:21 +02:00
  • ae67b9f662 Modify labels Loïc Blot (@U-Exp) 2014-09-12 14:14:06 +02:00
  • 623494ac56 Turn on app for everybody Loïc Blot (@U-Exp) 2014-09-12 14:10:45 +02:00
  • 445dc8abcf Add template response, we will do tests by this interface Loïc Blot (@U-Exp) 2014-09-12 14:08:01 +02:00
  • 5d1112f677 Use a get request for tests Loïc Blot (@U-Exp) 2014-09-12 14:02:19 +02:00