1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-06 23:46:18 +00:00

194 Commits

Author SHA1 Message Date
Loic Blot
90144ea042 Migrate from angularJS 1.1 to 1.3 2015-06-25 19:23:48 +00:00
Loic Blot
b04677851a Little cleanup 2015-06-25 19:06:42 +00:00
Loic Blot
68b2f319c3 Migrate jquery.documentready to AngularJS 2015-06-25 18:28:10 +00:00
Loic Blot
d8ecc06314 Add basic route , method and icon for removing single message 2015-06-25 18:17:59 +00:00
Loic Blot
cbe70ac13b Reinit g_curPhoneNumber when delete conversation to stop refreshing it 2015-06-24 06:30:39 +00:00
Loic Blot
55f9e4136b Remove interface elements on POST call 2015-06-23 21:04:58 +00:00
Loic Blot
3105eeb776 Prepare conversation deletion in PHP code too 2015-06-23 20:56:15 +00:00
Loic Blot
a83c494d47 Add basic icon to delete conversation 2015-06-23 17:58:44 +00:00
Loic Blot
54dbdc1011 Prefix global variables with g_ 2015-06-08 20:06:00 +00:00
Loic Blot
3998f82331 Some variables must be local. Also globalize the contact-list ul 2015-06-08 20:00:17 +00:00
Loic Blot
357e17dfbc Fix conditions... 2015-06-08 19:40:28 +00:00
Loic Blot
68114429c0 Use inArray helper instead of the jQuery direct function. Coding style 2015-06-08 19:26:12 +00:00
Loic Blot
8680ce6d38 Merge duplicate phone numbers into a unique list 2015-06-08 19:09:25 +00:00
Ner'zhul
a620277d86 Remove duplicate phonenumbers in conversation list 2015-06-08 16:23:54 +02:00
Loic Blot
77a9e9cccf Load the country settings at app load 2015-02-16 13:18:48 +00:00
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