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

32 Commits

Author SHA1 Message Date
Loic Blot
c8deb8df6e
Drop some debugging code 2018-11-10 17:36:03 +01:00
Loic Blot
38235b1a60 Add a generic modal to wipe data properly 2018-09-08 11:40:44 +02:00
Loic Blot
e2999f37ad Only show the reset button if there are messages 2018-09-08 11:40:44 +02:00
Loic Blot
f034644459 Add a button to wipe all messages 2018-09-08 11:40:44 +02:00
Loic Blot
42a3c1ea61 Finish to drop Angular.JS 2018-09-08 00:04:49 +02:00
Loic Blot
a7a15af70a Port refreshConversation to conversation.js 2018-09-08 00:04:49 +02:00
Loic Blot
80c4c2e3c2 Drop dead code & move some code outside of legacy.js to app.js 2018-09-08 00:04:49 +02:00
Loic Blot
364bd12be6 Conversations are now loaded using vue 2018-09-08 00:04:49 +02:00
Loic Blot
78b5c0f915 Conversation header is now properly rendered 2018-09-08 00:04:49 +02:00
Loic Blot
b5f67d59f2 ContactList is now working properly 2018-09-08 00:04:49 +02:00
Loic Blot
ffdb597b1e Contactlist should be ready now 2018-09-08 00:04:49 +02:00
Loic Blot
7da623e334 Load the ContactList in the ContactList object 2018-09-08 00:04:49 +02:00
Loic Blot
b387333ee8 Tiny fixes 2018-09-08 00:04:49 +02:00
Loic Blot
89c2561b95 Use Angular.js app.fetchConversation instead 2018-09-08 00:04:49 +02:00
Loic Blot
4e60b5779f More rework on the conversation 2018-09-08 00:04:49 +02:00
Loic Blot
3dfaedc317 Prepare contactlist with vue 2018-09-08 00:04:49 +02:00
Loic Blot
d67cbb2f26
settings.js map app-settings instead of app-settings-content 2018-09-06 00:08:16 +02:00
Loic Blot
445b3474ce
Refactor SmsSettings to be a pure vue.js view 2018-09-05 23:51:31 +02:00
Greg Ross
2600b743d1 Fix date used to retrieve new messages (#265)
Using the conversation read date to check for new messages will retrieve the same message multiple times if the last read date is older than when the new message arrives.  Instead us the last message we have retrieved as the date to check for new messages from.
2018-07-20 22:47:53 +02:00
Greg Ross
afea0734e9 Avoid console errors if the input isn't a strong. (#261) 2018-07-09 20:46:37 +02:00
Greg Ross
71b178947e Fix the initial display of a conversation (#248)
* Fix the initial display of a conversation

Loop up the contact details if the page has been passed in a phone number as a url parameter on initial page load.
2018-06-30 15:11:04 +02:00
Greg Ross
e0508145dd Fix incorrect div id for auto scroll to bottom (#245) 2018-06-30 10:26:53 +02:00
Idix
d29e2b1f7f Fix the display of the SMS bubbles (#242)
Also add a fallback CSS class
2018-06-23 09:19:18 +02:00
Loic Blot
177cb69b10
move more functions & attributes from legacy.js to app.js 2017-12-28 18:58:50 +01:00
Loic Blot
2b6e52205e
migrate all remaining settings setters 2017-12-28 18:51:57 +01:00
Loic Blot
8f017bc20a
Try to migrate some settings send function 2017-12-28 18:42:51 +01:00
Loic Blot
6e21e47bf2
Fix a callback problem 2017-12-28 18:37:29 +01:00
Loic Blot
cc14f86893
Move generateUrl to Sms object, add SmsSettings::init & drop it from angular app 2017-12-28 18:34:15 +01:00
Loic Blot
fd0f221d64
Try to migrate settings to a better model 2017-12-28 18:18:03 +01:00
Loic Blot
167643c8df
Fix an historical typo bug when reading settings 2017-12-28 17:47:39 +01:00
Loic Blot
e0a7ad5a3b
move notifications handling outside of legacy to dedicated object 2017-12-28 17:47:05 +01:00
Loic Blot
20b77148c7
rename app.js to legacy.js, move globals to app.js in Sms object and helpers to a dedicated file 2017-12-28 17:39:14 +01:00