Rishi Gupta  
		
	
	d529a94e4d 
	
	
	Add realm setting to time-limit editing of message content.  
		
			... 
			This is controlled through the admin tab and a new field in the Realms table.
Notes:
* The admin tab setting takes a value in minutes, whereas the backend stores it
  in seconds.
* This setting is unused when allow_message_editing is false.
* There is some generosity in how the limit is enforced. For instance, if the
  user sees the hovering edit button, we ensure they have at least 5 seconds to
  click it, and if the user gets to the message edit form, we ensure they have
  at least 10 seconds to make the edit, by relaxing the limit.
* This commit also includes a countdown timer in the message edit form.
Resolves  #903 . 
		
	 
 
		2016-07-15 13:55:49 -07:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2016-06-20 11:31:28 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-07 21:58:44 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-15 13:55:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-13 21:07:20 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-07 21:58:44 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2016-06-09 14:05:34 -07:00 
		 
	
		
			
			
			
			
			
			2014-02-10 17:08:11 -05:00 
		 
	
		
			
			
			
			
			
			2016-06-07 21:58:44 -07:00 
		 
	
		
			
			
			
			
			
			2015-11-30 08:49:39 -08:00 
		 
	
		
			
			
			
			
			
			2016-06-29 13:04:02 -07:00 
		 
	
		
			
			
			
			
			
			2014-02-18 12:50:29 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2016-06-09 14:02:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-29 13:04:02 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-14 16:36:51 -07:00 
		 
	
		
			
			
			
			
			
			2016-03-20 16:58:57 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:02:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-23 16:23:01 -07:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-06-30 15:48:02 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-30 15:48:02 -07:00 
		 
	
		
			
			
			
			
			
			2014-03-14 20:48:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-07-10 11:57:24 -07:00 
		 
	
		
			
			
			
			
			
			2014-03-06 10:15:20 -05:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:05:34 -07:00 
		 
	
		
			
			
			
			
			
			2014-03-14 20:48:58 -04:00 
		 
	
		
			
			
			
			
			
			2016-05-27 01:03:21 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-08 11:09:09 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-29 13:04:02 -07:00 
		 
	
		
			
			
			
			
			
			2014-01-13 10:36:48 -05:00 
		 
	
		
			
			
			
			
			
			2016-06-23 17:07:11 -07:00 
		 
	
		
			
			
			
			
			
			2014-03-14 20:48:52 -04:00 
		 
	
		
			
			
			
			
			
			2014-01-23 16:28:58 -05:00 
		 
	
		
			
			
			
			
			
			2016-07-15 13:55:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-04-11 21:38:22 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:02:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-08 11:09:09 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-10 11:57:24 -07:00 
		 
	
		
			
			
			
			
			
			2014-01-10 21:39:00 -05:00 
		 
	
		
			
			
			
			
			
			2016-03-27 13:49:52 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-23 15:20:57 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:02:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:02:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-07 21:58:45 -07:00 
		 
	
		
			
			
			
			
			
			2016-05-27 01:03:21 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-10 11:57:24 -07:00 
		 
	
		
			
			
			
			
			
			2014-03-14 20:48:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-04-26 10:25:11 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:05:34 -07:00 
		 
	
		
			
			
			
			
			
			2014-03-14 20:48:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-03-14 20:48:56 -04:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:02:49 -07:00 
		 
	
		
			
			
			
			
			
			2014-01-15 16:07:20 -05:00 
		 
	
		
			
			
			
			
			
			2016-07-10 11:57:24 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-04 11:56:02 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-22 17:06:37 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2014-03-11 13:06:20 -04:00 
		 
	
		
			
			
			
			
			
			2014-03-03 14:46:38 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-07 17:50:16 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-30 22:26:09 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-07 11:39:52 -07:00 
		 
	
		
			
			
			
			
			
			2014-02-18 12:50:31 -07:00 
		 
	
		
			
			
			
			
			
			2016-05-19 22:58:25 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-12 18:26:42 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-23 14:06:47 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:02:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-07-15 13:55:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-09 14:02:49 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-11 11:24:45 -07:00 
		 
	
		
			
			
			
			
			
			2016-05-27 01:03:21 -07:00 
		 
	
		
			
			
			
			
			
			2016-06-29 13:04:02 -07:00