1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00
Commit Graph

107 Commits

Author SHA1 Message Date
Loic Blot 7fafcf01b4 check new messages at load.
This fixes issue #107
2016-03-24 17:07:40 +01:00
Loic Blot 3d71229767 v1.6.2: Fix owncloud 9 contact app which break our frontend 2016-03-08 22:51:00 +01: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 ccb13d3c31 Update copyright notice 2016-01-30 22:54:12 +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 4a2ad1ffa9 Angular JS 1.3 => 1.4.9 2016-01-30 21:44:47 +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
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