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

138 Commits

Author SHA1 Message Date
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
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