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

79 Commits

Author SHA1 Message Date
Loic Blot
c3b55fbde9 Tag 1.4.2: use Angular.js 1.1.5 instead of 1.2, it doesn't work properly with ocsms yet 2015-01-26 15:04:20 +00:00
Loic Blot
1a1e7000f2 move script.js to public/app.js. Also add dependancy to appframework into app.php 2015-01-12 07:06:34 +00:00
Loic Blot
555d8f1ed1 Add missing app.js (empty) for angular setups) 2015-01-12 06:55:06 +00:00
Loic Blot
fb8003faf2 Conversation loading by using angular.js 2015-01-10 15:32:47 +00:00
Loic Blot
c1f984b2de JS: initialPeerList is now generated by angular.js 2015-01-10 15:18:14 +00:00
Loic Blot
13e3d47620 Prepare angular.js template. Merge controllers into one global controller 2015-01-10 13:40:33 +00:00
Loic Blot
642f78e859 Remove one angular controller, we need to understand multiple controller problems 2015-01-09 19:37:16 +00:00
Loic Blot
f76a376635 SQL query syntax fix 2015-01-09 19:01:51 +00:00
Loic Blot
76decabe11 Country value is now sent and stored to database
add jquery call
fix database table name
2015-01-09 17:05:49 +00:00
Loic Blot
5624cd684b Prepare angular controllers for better JS code and convert setting send button to angular 2015-01-09 16:49:45 +00:00
Loic Blot
8b7aa4962c Fix angular ng-app load 2015-01-09 16:29:44 +00:00
Loic Blot
0b227c64f1 Prepare angular JS integration 2015-01-09 16:28:57 +00:00
Loic Blot
0dfa6152ab Fix updating avatar menu element when new message is coming 2015-01-06 15:54:33 +00:00
Loic Blot
0e92aa3779 Js fix for checkNewMessages 2015-01-06 13:55:12 +00:00
Loic Blot
19bd6adcca Add photo into update and fix HTML generator 2015-01-05 19:54:50 +00:00
Loïc Blot (@U-Exp)
2e2998d5e2 Update copyright 2015-01-03 11:11:26 +01:00
Loic Blot
da5447a51b Add contact photos into peerlist
Add some support into controller
2014-12-29 11:31:12 +00:00
Ner'zhul
d87e245236 Temporary Fix https://github.com/nerzhul/ownCloud-SMS-App/issues/10
We disable HTML 5 notification is there isn't browser support (IE for example)
We need a portable library later.
2014-12-22 10:58:39 +01:00
Loic Blot
4f016d89ab We notify user every 2 minutes but also is unread messages are different 2014-10-27 08:09:35 +00:00
Loic Blot
a0babdc613 Add steps for notify only every two minutes there is new messages in all conversations 2014-10-24 08:57:24 +00:00
Loic Blot
da948926ab Add notification for unread messages for all conversations.
WARN: one bug is present, and we need to handle it differently
2014-10-24 08:44:39 +00:00
Loic Blot
8f4dfd217f Added table to store last read date. This permit to set unread messages on first refresh of contact list. We need to handle it at first load too
Note: this is an experimental thing. We need to set this cursor for every conversation to get better precision
2014-10-23 15:38:20 +00:00
Loic Blot
a3830404c3 Use idxVal instead of id, because slashes mustn't be shown 2014-10-23 12:23:13 +00:00
Loic Blot
6d26edb727 Implement Refresh conversation list and set new messages count into list 2014-10-23 10:38:11 +00:00
Loic Blot
c59c1fc17e Fix margin for conversation content 2014-10-23 08:17:24 +00:00
Loic Blot
1e21406f76 First step for debugging non spaces with spaces numbers 2014-10-23 05:55:16 +00:00
Loic Blot
20db5d6a7f Really fix the thing into conversations 2014-10-22 16:02:13 +00:00
Loic Blot
621383e996 Fix number with spaces issue into peerlist
* Also factorize one function
2014-10-22 12:38:44 +00:00
Loïc Blot (@U-Exp)
00d157ea2c contrainer for message count (need tests) 2014-10-13 19:39:55 +02:00
Loic Blot
e7e79b592e Fix condition when there isn't any contact associated with phone number 2014-10-13 17:41:24 +02:00
Loic Blot
b974a946b0 Added support for desktop notifications 2014-10-10 16:08:59 +00:00
Loic Blot
68d8cb40ff Set unread message number on the window title 2014-10-10 15:12:47 +00:00
Loic Blot
4fa5867e33 Blink tab when new message arrive and we are not in tab 2014-10-10 15:03:43 +00:00
Loic Blot
b8d0e66a9d Show the multiple phone numbers into the header 2014-10-09 18:57:47 +00:00
Loic Blot
b0ae79b6ff Ahem, fix really 2014-10-09 18:35:40 +00:00
Loic Blot
cd40b624b3 Fix inArray test for jQuery
Sorry i wrote it in the train :)
2014-10-09 18:30:06 +00:00
Loic Blot
1138512dc8 Added experimental merging for contacts with multiple numbers 2014-10-09 18:27:13 +02:00
Loic Blot
4e7ea18e89 Fix scrolling 2014-10-08 05:56:59 +00:00
Loic Blot
4ce9fd2530 Fix loading peerlist 2014-10-08 05:56:00 +00:00
Loic Blot
17a14753e0 PeerList modification
Export peerList loading from document.ready. Modify peerlist only if there is peers
2014-10-07 10:33:43 +02:00
Loic Blot
d3a55e5b15 Hide the header bar when no conversation was selected 2014-10-07 10:27:06 +02:00
Loic Blot
575f98345d Version 1.0.3.
Fix: JS missing brace
2014-10-06 13:40:49 +00:00
Loic Blot
ebda4d0330 JS: fix missing urlParam 2014-10-06 13:27:33 +00:00
Loic Blot
6e44d16a29 verify is curPhoneNumber exists before fetching 2014-10-06 15:24:32 +02:00
Loic Blot
03b6c70562 verify is phoneNumber exists before fetching 2014-10-06 15:21:45 +02:00
Loic Blot
89b9082e11 style 2014-10-05 10:28:21 +00:00
Loic Blot
922a5bf853 Show contact names instead of numbers 2014-10-05 09:01:47 +00:00
Loic Blot
71d6ed693b Contact names are now get with peerlist 2014-10-05 08:54:44 +00: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)
4f84c93c5c fix jquery call 2014-09-26 19:01:06 +02:00