1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-10 17:36:21 +00:00

103 Commits

Author SHA1 Message Date
Loic Blot
ce967126d0 Fix ordering for messages & contacts 2016-09-19 21:25:53 +02:00
Loic Blot
828320eb9d little fixes + order contacts by message date 2016-09-19 21:03:57 +02:00
Loic Blot
6fbf9f690c Factorize some CSS parts & bigger avatar in conversations 2016-05-20 08:48:36 +02:00
Loic Blot
917d6dfc00 Don't try to show avatar if string is empty 2016-05-19 23:41:00 +02:00
Loic Blot
573e38683f avatar showing fix 2016-05-19 23:40:05 +02:00
Loic Blot
74bbb03993 Implement colors in conversation header + show the avatar 2016-05-19 23:39:09 +02:00
Loic Blot
09480e4856 Show the opt_numbers in the right place 2016-05-19 23:06:31 +02:00
Loic Blot
1a1c2e5136 Cleanup global variables to add a selectedContact selector directly to angular app 2016-05-19 22:24:08 +02:00
Loic Blot
74c365f1f7 set the correct cursor on peer hover and try to fix contact photo when existing photo 2016-05-19 22:11:01 +02:00
Loic Blot
7a4f37f585 Little CSS enhancement and bind peer ng-click on li, not a 2016-05-19 22:07:37 +02:00
Loic Blot
cbb02de464 Add first character to no photo mode. If no number # is the character 2016-05-19 22:01:09 +02:00
Loic Blot
42272c9164 CSS fix + preparation for the new peers photos 2016-05-19 21:51:54 +02:00
Loic Blot
ad110a9837 CSS style fix 2016-05-19 21:41:39 +02:00
Loic Blot
74928c8e64 Permit to disable notifications from app settings directly
This fixes issue #89
2016-01-30 23:23:27 +01:00
Loic Blot
7fed10a26c Message limit & other improvements
* Implement message limit permitting to limit number of message shown when loading a conversation
* Reformat message date properly using angular JS instead of our own date parser
* replace /get/country call with /get/settings to retrieve all settings

This fixes issue #90
2016-01-30 22:47:34 +01:00
Loic Blot
13d5e9ff26 Fix messages/conversation removal sync with contact list and also add atomic delete for messages 2015-06-25 22:00:09 +00:00
Loic Blot
d075e7f58a Use angular to load conversations instead of a pure string buffer and show choose conversation only if no messages to show 2015-06-25 21:09:05 +00:00
Loic Blot
fed6cb864a Add message store and removal handlers to Angular controller 2015-06-25 20:47:33 +00:00
Loic Blot
9c064f9052 Add basic template to show SMS messages (unused atm) 2015-06-25 20:43:24 +00:00
Loic Blot
3402bd9836 Use angularJS to manage contact list update properly. This also fix a recent upstream bug which doesn't re-insert contact into contactlist when new messages arrived 2015-06-25 20:36: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
3998f82331 Some variables must be local. Also globalize the contact-list ul 2015-06-08 20:00:17 +00: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
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
3d8c834a43 Config setting fix and remove button loop 2015-01-09 17:12:46 +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
4987f93969 Add setting button for lang 2015-01-06 16:28:21 +00:00
Loic Blot
925215e27c Implement country code select, need server side handling 2015-01-05 19:03:14 +00:00
Loic Blot
08dd99713e Reintroduce and prepare settings placeholder 2015-01-05 18:54:21 +00:00
Loic Blot
4420139285 Prepare a container for message count 2014-10-13 17:58:15 +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
578a1e8d53 Use div instead of a for empty peers 2014-10-07 10:39:54 +02: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
bea6f41892 Don't display header bar by default 2014-10-07 10:28:45 +02:00
Loic Blot
6404bf3de7 New text & Visual style for empty conversation 2014-10-06 16:04:58 +02:00
Loic Blot
89b9082e11 style 2014-10-05 10:28:21 +00:00
Loïc Blot (@U-Exp)
36b90e41e9 cleanup interface. conversation removal 2014-09-26 18:22:04 +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