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 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ner'zhul
							
						 
					 | 
					
						
						
						
						
							
						
						
							c85967ca75
							
						
					 | 
					
						
						
							
							rename saveAll
						
						
						
						
						
						
					 | 
					
						2014-09-15 13:22:04 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Ner'zhul
							
						 
					 | 
					
						
						
						
						
							
						
						
							6a851b5ba6
							
						
					 | 
					
						
						
							
							Fix tabs
						
						
						
						
						
						
					 | 
					
						2014-09-15 13:20:58 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							390caaac84
							
						
					 | 
					
						
						
							
							another syntax fix
						
						
						
						
						
						
					 | 
					
						2014-09-12 20:23:24 +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)
							
						 
					 | 
					
						
						
						
						
							
						
						
							52b0834b3b
							
						
					 | 
					
						
						
							
							forget to remove one deprecated test
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:45:23 +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)
							
						 
					 | 
					
						
						
						
						
							
						
						
							5cef955d23
							
						
					 | 
					
						
						
							
							Message size is too little
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:29:43 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							41fe3868a9
							
						
					 | 
					
						
						
							
							Another better error output
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:24:31 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							ccb552b87e
							
						
					 | 
					
						
						
							
							Fix id => _id. Add better error output
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:21:39 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							25d3fe8516
							
						
					 | 
					
						
						
							
							fix a missing brace. Really !!!
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:12:16 +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)
							
						 
					 | 
					
						
						
						
						
							
						
						
							79f3b5ca24
							
						
					 | 
					
						
						
							
							draft must be default valued
						
						
						
						
						
						
					 | 
					
						2014-09-12 19:09:37 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							87d6ecd1cc
							
						
					 | 
					
						
						
							
							oops, bad commit datas on routes
						
						
						
						
						
						
					 | 
					
						2014-09-12 18:20:13 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							08efd41e8d
							
						
					 | 
					
						
						
							
							don't remove templateresponse
						
						
						
						
						
						
					 | 
					
						2014-09-12 18:19:53 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							363777c2a6
							
						
					 | 
					
						
						
							
							Use JSONResponse
						
						
						
						
						
						
					 | 
					
						2014-09-12 17:47:24 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							8f890000ed
							
						
					 | 
					
						
						
							
							return JSON
						
						
						
						
						
						
					 | 
					
						2014-09-12 17:22:13 +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)
							
						 
					 | 
					
						
						
						
						
							
						
						
							3096f44293
							
						
					 | 
					
						
						
							
							Fix timestamp default
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:45:50 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							8feb3a95d9
							
						
					 | 
					
						
						
							
							Fix DB scheme
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:39:03 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							37602a13b8
							
						
					 | 
					
						
						
							
							It's a controller variable rah...
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:33:18 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							553ff12b22
							
						
					 | 
					
						
						
							
							Same error here. Copy paste...
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:32:29 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							8cdfc0f61a
							
						
					 | 
					
						
						
							
							Oops, fix namespace
						
						
						
						
						
						
					 | 
					
						2014-09-12 16:31:55 +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 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							0a16d05c0d
							
						
					 | 
					
						
						
							
							Added more tests and link some files. Update DB Scheme
						
						
						
						
						
						
					 | 
					
						2014-09-12 15:30:07 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loic Blot
							
						 
					 | 
					
						
						
						
						
							
						
						
							29dc4dcf46
							
						
					 | 
					
						
						
							
							Add basic tests on SMS datas
						
						
						
						
						
						
					 | 
					
						2014-09-12 13:16:46 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							0f85a5341d
							
						
					 | 
					
						
						
							
							erf, it's not python
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:54:26 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							6401ef673d
							
						
					 | 
					
						
						
							
							Prepare loop for testing sms datas
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:53:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							dc2ff40448
							
						
					 | 
					
						
						
							
							Ok for SMS count
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:52:12 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							9f191c67ed
							
						
					 | 
					
						
						
							
							fix ocsms index
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:50:36 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							7c93f35a4a
							
						
					 | 
					
						
						
							
							format some variables
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:46:13 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							129e627cb0
							
						
					 | 
					
						
						
							
							Testing pushing test datas
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:38:13 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							07261636e6
							
						
					 | 
					
						
						
							
							Hmm it's a JSON syntax problem, not naming
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:23:53 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							e6f8efa745
							
						
					 | 
					
						
						
							
							JSON property name fix
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:22:59 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							a380ac71ff
							
						
					 | 
					
						
						
							
							Syntax fix
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:22:02 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							7cc4ad5aaa
							
						
					 | 
					
						
						
							
							Button must push factice datas
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:21:21 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							ae67b9f662
							
						
					 | 
					
						
						
							
							Modify labels
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:14:06 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Loïc Blot (@U-Exp)
							
						 
					 | 
					
						
						
						
						
							
						
						
							623494ac56
							
						
					 | 
					
						
						
							
							Turn on app for everybody
						
						
						
						
						
						
					 | 
					
						2014-09-12 14:10:45 +02:00 | 
					
					
						
						
							
							
							
						
					 |