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
Loic Blot
42272c9164
CSS fix + preparation for the new peers photos
2016-05-19 21:51:54 +02:00
Loic Blot
339f76cf01
Little JS update + .gitignore
2016-05-18 22:20:13 +02:00
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