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

26 Commits

Author SHA1 Message Date
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
1263af850b Reinit message list before showing it to screen, else it merge :) 2015-06-25 21:12:42 +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
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
29a7f9e972 Refactor: move many function to angular controller 2015-06-25 19:39:09 +00:00
Loic Blot
1f72ebf40f replace setInterval by angular 2015-06-25 19:25:26 +00:00
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