Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							f89a23c205
							
						
					 | 
					
						
						
							
							Prepare an APIv2 call to improve sync performance on phone (battery)
						
						
						
						
						
						
					 | 
					
						2014-11-30 18:05:20 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							5f0263f71e
							
						
					 | 
					
						
						
							
							Move formatphonenumber.php to proper dir and rename.
						
						
						
						
						
						
						
						* fix some coding styles
* Add contributor 
						
						
					 | 
					
						2014-11-27 14:04:25 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								stagprom
							
						 
					 | 
					
						
						
						
						
							
						
						
							6816a92b89
							
						
					 | 
					
						
						
							
							changed tabs and braces
						
						
						
						
						
						
						
						modified:   appinfo/formatphonenumber.php
	modified:   appinfo/ocsmsapp.php
	modified:   controller/smscontroller.php
	modified:   db/smsmapper.php 
						
						
					 | 
					
						2014-11-25 16:55:15 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								stagprom
							
						 
					 | 
					
						
						
						
						
							
						
						
							405ee9af6f
							
						
					 | 
					
						
						
							
							Added many comments to sourcees
						
						
						
						
						
						
						
						modified:   appinfo/formatphonenumber.php
modified:   appinfo/ocsmsapp.php
modified:   controller/smscontroller.php
modified:   db/smsmapper.php 
						
						
					 | 
					
						2014-11-25 13:28:43 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								stagprom
							
						 
					 | 
					
						
						
						
						
							
						
						
							4519f0088d
							
						
					 | 
					
						
						
							
							new file:   appinfo/formatphonenumber.php
						
						
						
						
						
						
						
						modified:   appinfo/ocsmsapp.php
	modified:   controller/smscontroller.php
	modified:   db/smsmapper.php
A lot of changes in Code dealing with phonenumbers 
						
						
					 | 
					
						2014-11-24 15:54:10 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							690421713d
							
						
					 | 
					
						
						
							
							Set last read date per conversation
						
						
						
						
						
						
						
						The next step will be to get unread messages per conversation when loading interface at first time, not globally 
						
						
					 | 
					
						2014-10-23 16:23:11 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							8f4dfd217f
							
						
					 | 
					
						
						
							
							Added table to store last read date. This permit to set unread messages on first refresh of contact list. We need to handle it at first load too
						
						
						
						
						
						
						
						Note: this is an experimental thing. We need to set this cursor for every conversation to get better precision 
						
						
					 | 
					
						2014-10-23 15:38:20 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							6d26edb727
							
						
					 | 
					
						
						
							
							Implement Refresh conversation list and set new messages count into list
						
						
						
						
						
						
					 | 
					
						2014-10-23 10:38:11 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							c256ca5132
							
						
					 | 
					
						
						
							
							Order conversations per desc date
						
						
						
						
						
						
					 | 
					
						2014-10-23 05:38:40 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							20db5d6a7f
							
						
					 | 
					
						
						
							
							Really fix the thing into conversations
						
						
						
						
						
						
					 | 
					
						2014-10-22 16:02:13 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							acb0a74ba2
							
						
					 | 
					
						
						
							
							Typo fix. Message count works perfect
						
						
						
						
						
						
					 | 
					
						2014-10-13 17:56:33 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							00d157ea2c
							
						
					 | 
					
						
						
							
							contrainer for message count (need tests)
						
						
						
						
						
						
					 | 
					
						2014-10-13 19:39:55 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							1138512dc8
							
						
					 | 
					
						
						
							
							Added experimental merging for contacts with multiple numbers
						
						
						
						
						
						
					 | 
					
						2014-10-09 18:27:13 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							a933c53fb8
							
						
					 | 
					
						
						
							
							Add two new API calls: getApiVersion and getAllIdsWithStatus
						
						
						
						
						
						
					 | 
					
						2014-10-09 10:02:22 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							5b333a0091
							
						
					 | 
					
						
						
							
							Replace \OC_DB by \OCP\DB (need tests)
						
						
						
						
						
						
					 | 
					
						2014-10-06 13:41:18 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							e89c8b6d0f
							
						
					 | 
					
						
						
							
							add minimum when fetching messages from DB
						
						
						
						
						
						
					 | 
					
						2014-09-26 19:04:16 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							86f4fb3910
							
						
					 | 
					
						
						
							
							Fix getAllMessagesForPhoneNumber
						
						
						
						
						
						
					 | 
					
						2014-09-16 20:48:33 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							02ba89f6aa
							
						
					 | 
					
						
						
							
							fix sms conversation query
						
						
						
						
						
						
					 | 
					
						2014-09-16 22:38:02 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							cc13e01fe9
							
						
					 | 
					
						
						
							
							prepare a function to get all messages for a conversation
						
						
						
						
						
						
					 | 
					
						2014-09-16 22:31:50 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							d456178c18
							
						
					 | 
					
						
						
							
							Little typo fixes
						
						
						
						
						
						
					 | 
					
						2014-09-16 18:34:39 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							169302516b
							
						
					 | 
					
						
						
							
							Add new function to fetch all SMS friends
						
						
						
						
						
						
					 | 
					
						2014-09-16 20:25:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							d1f5a63fbd
							
						
					 | 
					
						
						
							
							Resolve mailboxes names for better clientside detection
						
						
						
						
						
						
					 | 
					
						2014-09-15 18:53:59 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							dd67fed01a
							
						
					 | 
					
						
						
							
							add missing return for getAllIds and prevent duplicate IDs
						
						
						
						
						
						
					 | 
					
						2014-09-15 18:44:31 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							5d1cababc6
							
						
					 | 
					
						
						
							
							Added optimization: don't to the single deletion if we have purged the DB before, it's useless
						
						
						
						
						
						
					 | 
					
						2014-09-15 18:02:56 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							ad1353c63c
							
						
					 | 
					
						
						
							
							Add replace function to purge all database before adding every record. Also add a delete before insert function when writing to DB, preventing SMS duplicates
						
						
						
						
						
						
					 | 
					
						2014-09-15 18:01:02 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							128167196a
							
						
					 | 
					
						
						
							
							Added function to retrieve SMS ids stored on the server
						
						
						
						
						
						
					 | 
					
						2014-09-15 17:55:01 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							0d14019e9f
							
						
					 | 
					
						
						
							
							Code design
						
						
						
						
						
						
					 | 
					
						2014-09-15 13:41:18 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							cd8c0e57f1
							
						
					 | 
					
						
						
							
							added argument to writeToDB to purge database entries before adding new records
						
						
						
						
						
						
					 | 
					
						2014-09-15 13:35:07 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							3ea5fee350
							
						
					 | 
					
						
						
							
							Use transaction before writing to database
						
						
						
						
						
						
					 | 
					
						2014-09-15 13:31:32 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ner'zhul
							
						 
					 | 
					
						
						
						
						
							
						
						
							cfc94b253f
							
						
					 | 
					
						
						
							
							rename saveAll
						
						
						
						
						
						
					 | 
					
						2014-09-15 13:27:30 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							a8ff01b999
							
						
					 | 
					
						
						
							
							Add support for SMS types
						
						
						
						
						
						
					 | 
					
						2014-09-12 20:12:18 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							dfbee0fac1
							
						
					 | 
					
						
						
							
							By preparing the correct query it's better
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:47:14 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							66417419c3
							
						
					 | 
					
						
						
							
							By preparing the correct query it's better
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:46:16 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							0132ca90db
							
						
					 | 
					
						
						
							
							Change protocol. We receive a mailbox ID, drafts are contained into this mailbox ID.
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:42:54 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							53cc14fc52
							
						
					 | 
					
						
						
							
							fix a missing brace and change id to _id
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:11:12 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							52fe3c44c4
							
						
					 | 
					
						
						
							
							Because there is a bug on boolean recognition in PHP, we are using string octal representation for flags
						
						
						
						
						
						
					 | 
					
						2014-09-12 17:12:49 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							c089cc3ded
							
						
					 | 
					
						
						
							
							Testing boolean modif for draft field
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:50:45 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							b853362683
							
						
					 | 
					
						
						
							
							Use mapper properly on controller. Need tests
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:31:08 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							43d122a6b8
							
						
					 | 
					
						
						
							
							Fix SMS Mapper
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:16:32 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							ed8d6afb15
							
						
					 | 
					
						
						
							
							remove useless things
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:14:38 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							aefea6b8ff
							
						
					 | 
					
						
						
							
							Rename smsMgr to smsMapper to follow OC guidelines. Also implement saveAll alpha function
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:13:40 +02:00 | 
					
					
						
						
							
							
							
						
					 |