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

75 Commits

Author SHA1 Message Date
Loic Blot
2c2f090f13
WIP: Permit to resize contact list 2017-12-28 19:35:59 +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
fd0f221d64
Try to migrate settings to a better model 2017-12-28 18:18:03 +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
Loic Blot
9e9171d470 Make trash icon color consistent
This fixes issue #138
2017-03-13 16:08:44 +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
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
Stefan Niedermann
9a08cfb5b5 Fix #130 Use loading spinner from core 2016-12-15 10:41:08 +01:00
Loic Blot
8569ba96c4 Also add loader for peerlist 2016-09-22 23:13:24 +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
60bd54a12a Add settings to change contact list ordering by label/lastmsg and reverse/sort 2016-09-19 23:24:05 +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
ce967126d0 Fix ordering for messages & contacts 2016-09-19 21:25:53 +02:00
Loic Blot
828320eb9d little fixes + order contacts by message date 2016-09-19 21:03:57 +02:00
Loic Blot
6fbf9f690c Factorize some CSS parts & bigger avatar in conversations 2016-05-20 08:48:36 +02:00
Loic Blot
917d6dfc00 Don't try to show avatar if string is empty 2016-05-19 23:41:00 +02:00
Loic Blot
573e38683f avatar showing fix 2016-05-19 23:40:05 +02:00
Loic Blot
74bbb03993 Implement colors in conversation header + show the avatar 2016-05-19 23:39:09 +02:00
Loic Blot
09480e4856 Show the opt_numbers in the right place 2016-05-19 23:06:31 +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
74c365f1f7 set the correct cursor on peer hover and try to fix contact photo when existing photo 2016-05-19 22:11:01 +02:00
Loic Blot
7a4f37f585 Little CSS enhancement and bind peer ng-click on li, not a 2016-05-19 22:07:37 +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
ad110a9837 CSS style fix 2016-05-19 21:41:39 +02: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
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
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
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
9c064f9052 Add basic template to show SMS messages (unused atm) 2015-06-25 20:43:24 +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
3105eeb776 Prepare conversation deletion in PHP code too 2015-06-23 20:56:15 +00:00
Loic Blot
a83c494d47 Add basic icon to delete conversation 2015-06-23 17:58:44 +00:00
Loic Blot
3998f82331 Some variables must be local. Also globalize the contact-list ul 2015-06-08 20:00:17 +00:00
Loic Blot
77a9e9cccf Load the country settings at app load 2015-02-16 13:18:48 +00:00
Loic Blot
c3b55fbde9 Tag 1.4.2: use Angular.js 1.1.5 instead of 1.2, it doesn't work properly with ocsms yet 2015-01-26 15:04:20 +00:00
Loic Blot
1a1e7000f2 move script.js to public/app.js. Also add dependancy to appframework into app.php 2015-01-12 07:06:34 +00:00
Loic Blot
fb8003faf2 Conversation loading by using angular.js 2015-01-10 15:32:47 +00:00
Loic Blot
c1f984b2de JS: initialPeerList is now generated by angular.js 2015-01-10 15:18:14 +00:00
Loic Blot
13e3d47620 Prepare angular.js template. Merge controllers into one global controller 2015-01-10 13:40:33 +00:00
Loic Blot
642f78e859 Remove one angular controller, we need to understand multiple controller problems 2015-01-09 19:37:16 +00:00
Loic Blot
f76a376635 SQL query syntax fix 2015-01-09 19:01:51 +00:00
Loic Blot
3d8c834a43 Config setting fix and remove button loop 2015-01-09 17:12:46 +00:00
Loic Blot
76decabe11 Country value is now sent and stored to database
add jquery call
fix database table name
2015-01-09 17:05:49 +00:00
Loic Blot
5624cd684b Prepare angular controllers for better JS code and convert setting send button to angular 2015-01-09 16:49:45 +00:00