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

168 Commits

Author SHA1 Message Date
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
Loic Blot f54711b161 Update vue.js to 2.5.16 2018-09-05 23:01:15 +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
Loic Blot 0583f25b88 Forget to re-minify JS 2018-06-28 17:04:18 +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 0c54bfbf06 Forget to update minified app 2017-12-28 18:18:23 +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
Loic Blot 4f01b5c467 minify application file & use it 2017-12-28 17:09:38 +01:00
Loic Blot c345b8ae64 Reorder JS files & add vue.js 2017-12-28 17:01:44 +01:00
Kai Schröer 7dd75ea74a Corrected missing Nc branding (#212) 2017-12-28 16:18:36 +01:00
Loic Blot ca6ad6d071 Don't use OC.generateUrl to generate API endpoint URLs
OC.generateUrl doesn't permit to know applications endpoint for this app, instead use window.location.href to retrieve the app current URL and generate endpoints from this

This fixes issue #197
2017-08-16 17:58:15 +02:00
Loic Blot f70fc2c080 Centralize JS router URL generation 2017-08-16 17:50:15 +02:00
Loic Blot faff17987f Nicer REST interface for frontend web calls 2017-02-03 16:24:38 +01:00
Loic Blot 9d8702d3bb Rename application to 'Phone Sync'
Also update copyright years on modified files
This fixes #132
2017-01-03 12:54:38 +01:00
John Molakvoæ 8296cdca78 Set contact colours on uids (#152)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-01-03 11:22:05 +01:00
Loic Blot 82d72907da Migrate to AngularJS 1.6 2016-12-15 23:41:53 +01:00
Loic Blot 6527fe2d90 Simpler implementation for search & show search but it's not working yet 2016-12-15 23:16:08 +01:00
Loic Blot 4606fd1d39 Add various int parsing for AngularJS
Begin some work for #137
2016-12-15 21:34:11 +01:00
Loic Blot 8ecf360462 Fix conversation loader shown where no conversation choosen 2016-11-11 17:14:46 +01:00
Loic Blot 42dbd2c3bf Cleanup one global variable for message count and split it in two distinct parts 2016-11-11 10:17:35 +01:00
Daniel Jäger a54bd58eee Reset message count and only add new messages on refresh. Fixes nerzhul/ocsms#117 2016-11-08 10:59:48 +01:00
Loic Blot 8569ba96c4 Also add loader for peerlist 2016-09-22 23:13:24 +02:00
Loic Blot 745d7092ad Add a fix for duplicates messages in database with or without spaces 2016-09-22 22:55:21 +02:00
Loic Blot 4a8562642b Implement conversation CSS loader when loading contact conversation (not on refresh) 2016-09-22 22:44:13 +02:00
Loic Blot a05db79889 typo fix 2016-09-22 22:21:58 +02:00
Loic Blot a512ee4957 Properly apply contactName & messageCount at conversation loading if reloading tab 2016-09-22 22:21:33 +02:00
Loic Blot 852c0835fa Add missing database indices 2016-09-22 22:16:09 +02:00
Loic Blot b84ff1088f Try to cleanup check_new_messages 2016-09-22 21:52:49 +02:00
Loic Blot 60bd54a12a Add settings to change contact list ordering by label/lastmsg and reverse/sort 2016-09-19 23:24:05 +02:00
Loic Blot 7b92499941 Fix an undefined error 2016-09-19 22:45:06 +02:00
Loic Blot 49cc81db8c HTML style & undef function fix 2016-09-19 22:39:08 +02:00
Loic Blot b9fba16893 Fix avatars in contact list 2016-09-19 22:25:21 +02:00
Loic Blot 6c37d0ccfe Cleanup a little bit avatar management 2016-09-19 21:31:43 +02:00
Loic Blot 949885abbd Don't remove contact from contact list, instead modify the current user 2016-09-19 21:15:15 +02:00