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

159 Commits

Author SHA1 Message Date
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
Loic Blot
828320eb9d little fixes + order contacts by message date 2016-09-19 21:03:57 +02:00
Loic Blot
74bbb03993 Implement colors in conversation header + show the avatar 2016-05-19 23:39:09 +02:00
Loic Blot
0ddc2a8b45 Cleanup + fixes
* Fix changelog
* reset URL when deleting conversation
* create a factice contact where no contact was set as selected at loading
2016-05-19 23:00:25 +02:00
Loic Blot
64939e31d7 Another fix 2016-05-19 22:45:19 +02:00
Loic Blot
6d1c3bcb32 Little navigation fix 2016-05-19 22:44:46 +02:00
Loic Blot
bcc062ecb8 Cleanup code by using selected Contact instead of a global variable for navigation 2016-05-19 22:43:27 +02:00
Loic Blot
f4ea1cc882 Re-add dropped variable 2016-05-19 22:28:09 +02:00
Loic Blot
1a1c2e5136 Cleanup global variables to add a selectedContact selector directly to angular app 2016-05-19 22:24:08 +02:00
Loic Blot
cbb02de464 Add first character to no photo mode. If no number # is the character 2016-05-19 22:01:09 +02:00