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

46 Commits

Author SHA1 Message Date
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
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
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
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
Loïc Blot (@U-Exp)
7cc4ad5aaa Button must push factice datas 2014-09-12 14:21:21 +02:00
Loïc Blot (@U-Exp)
ae67b9f662 Modify labels 2014-09-12 14:14:06 +02:00
Loic Blot
8d03780e6f First Commit. Datascheme is in tests 2014-09-12 11:46:39 +00:00