229f9a8364 
					 
					
						
						
							
							Support wildcard category name in export messages config  #10359  
						
						
						
						
					 
					
						2015-12-14 14:04:06 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d1d1106179 
					 
					
						
						
							
							MessageController output DB lost EOL when unused messages unchanged  
						
						... 
						
						
						
						When storing messages to DB and neither `removeUnused`, nor `markUnused`
is enabled, then output about obsoleted messages won't say anything
about update results and lost EOL:
    [/path] $ ./yii message/extract ...
    Extracting messages from <file>...
    Extracting messages from <file>...
    Inserting new messages...saved.
    Updating obsoleted messages...[/path] $ _
Patched to explain what happened and fix EOL:
    Inserting new messages...saved.
    Updating obsoleted messages...kept untouched.
    [/path] $ _ 
						
						
					 
					
						2015-12-04 11:43:06 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						08256b05ec 
					 
					
						
						
							
							Adjustments for  #8329  
						
						
						
						
					 
					
						2015-11-25 06:27:01 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ccfd9cb536 
					 
					
						
						
							
							Fixes   #8329 : Added support of options for message console command  
						
						
						
						
					 
					
						2015-11-25 06:12:52 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5ab4f0f090 
					 
					
						
						
							
							Better quotes usage in strings  
						
						... 
						
						
						
						- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation 
						
						
					 
					
						2015-10-10 00:23:52 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3a207b7559 
					 
					
						
						
							
							Fixes   #9323 : Fixed yii\console\controllers\MessageController not using database connection specified in config  
						
						
						
						
					 
					
						2015-09-05 01:58:03 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a2568d1ec8 
					 
					
						
						
							
							updated some comments and @since annotations  
						
						
						
						
					 
					
						2015-08-02 19:56:49 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						63f9ec4da6 
					 
					
						
						
							
							Fixed formatting  
						
						
						
						
					 
					
						2015-06-10 13:39:47 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c0c3fa79af 
					 
					
						
						
							
							Merge branch '8625-message-controller-mark-unused' of  https://github.com/marius7383/yii2  into marius7383-8625-message-controller-mark-unused  
						
						... 
						
						
						
						Conflicts:
	framework/CHANGELOG.md 
						
						
					 
					
						2015-06-10 13:33:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ae42a054bb 
					 
					
						
						
							
							PSR-2 spaces, commas, etc  
						
						
						
						
					 
					
						2015-06-09 00:05:06 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fff61bf99b 
					 
					
						
						
							
							- Reworked order of parameters in order to keep backwards compatibility  
						
						... 
						
						
						
						- Update statement of unused messages in DB now depends on $markUnused parameter 
						
						
					 
					
						2015-06-08 10:11:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0dcb50db5e 
					 
					
						
						
							
							- i18n MessageController now supports config parameter 'markUnused' that turns adding @@s either on or off  
						
						
						
						
					 
					
						2015-06-08 10:11:13 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4851d7f9e3 
					 
					
						
						
							
							Fixes   #8574 : Added yii\console\controllers\MessageController support .pot file creation  
						
						
						
						
					 
					
						2015-05-31 12:40:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						adb0460ee1 
					 
					
						
						
							
							yii\console\controllers\MessageController now sorts created messages, even if there is no new one, while saving to PHP file 
						
						
						
						
					 
					
						2015-05-13 16:08:36 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						72ec914992 
					 
					
						
						
							
							yii\console\controllers\MessageController improved allowing extraction of nested translator calls 
						
						
						
						
					 
					
						2015-05-13 15:49:00 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a0b5652673 
					 
					
						
						
							
							yii\console\controllers\MessageController::saveMessagesToDb() updated to use yii\db\Schema::insert() 
						
						
						
						
					 
					
						2015-04-24 15:34:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ef662b57be 
					 
					
						
						
							
							added missing @since annotations  
						
						
						
						
					 
					
						2015-04-24 12:09:40 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b7a29e38d9 
					 
					
						
						
							
							Fixes   #6895 : Added ignoreCategories config option for message command to ignore categories specified  
						
						
						
						
					 
					
						2015-03-06 21:51:42 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6481d13494 
					 
					
						
						
							
							Optimized checks order in conditions  
						
						
						
						
					 
					
						2015-02-08 17:56:36 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						af7ae33d5b 
					 
					
						
						
							
							Use (array) cast instead of !is_array check for both readability and performance  
						
						
						
						
					 
					
						2015-02-08 17:56:14 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e606617a8e 
					 
					
						
						
							
							Better checks for empty string in MessageController  
						
						
						
						
					 
					
						2015-01-28 00:23:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a3af271edf 
					 
					
						
						
							
							Color output added to yii\console\MessageController and yii\console\AssetController  
						
						
						
						
					 
					
						2014-12-04 19:58:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8632882312 
					 
					
						
						
							
							Plain echo replaced by stdout() at yii\console\MessageController  
						
						
						
						
					 
					
						2014-12-04 18:37:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8b79293ff2 
					 
					
						
						
							
							added missing @since annotations  
						
						
						
						
					 
					
						2014-11-27 18:11:14 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d1f72be5fc 
					 
					
						
						
							
							Used echo instead of stdout not to cluttter tests  
						
						
						
						
					 
					
						2014-11-22 02:47:02 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e88a5d9cc4 
					 
					
						
						
							
							Fixes   #4823  and  #6005 : yii message accuracy and error handling were improved by using PHP tokenizer instead of regular expressions. Removed eval() as well.  
						
						
						
						
					 
					
						2014-11-22 02:33:02 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fb2dff8528 
					 
					
						
						
							
							Fixes   #6107  and  #6112 : yii message was emptying existing translations and incorrectly writing not yet translated strings in .po in case of multiple categories  
						
						
						
						
					 
					
						2014-11-21 20:19:32 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4b97abacc7 
					 
					
						
						
							
							Fixes   #5954 : yii message command now shows user friendly error if it's not able to parse source file  
						
						
						
						
					 
					
						2014-11-07 01:27:37 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						10cc19d0b6 
					 
					
						
						
							
							Fixes   #5833 : The message command fails with a FK constraint error when trying to update messages  
						
						
						
						
					 
					
						2014-10-31 10:01:20 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						899b778994 
					 
					
						
						
							
							Correct type declarations  
						
						
						
						
					 
					
						2014-10-25 16:35:50 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						02622b6fe4 
					 
					
						
						
							
							phpdoc fixes and additions  
						
						
						
						
					 
					
						2014-10-14 01:35:21 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						be2828d593 
					 
					
						
						
							
							Fixes   #5484 : Fixed potential string suffix detection failure on 5.5.11  
						
						
						
						
					 
					
						2014-10-11 09:35:55 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						db26e65c62 
					 
					
						
						
							
							Fixed yii\console\controllers\MessageController handles category name containing dot incorrectly  
						
						
						
						
					 
					
						2014-09-17 15:48:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						62bffafeea 
					 
					
						
						
							
							Update MessageController.php  
						
						... 
						
						
						
						Fixed order of checking config `format` property 
						
						
					 
					
						2014-08-01 16:23:49 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						100ba6c3ab 
					 
					
						
						
							
							Replaced substr_compare with strncmp where possible  
						
						
						
						
					 
					
						2014-07-30 02:32:47 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3a1e0f3a5c 
					 
					
						
						
							
							property codestyle framework  
						
						
						
						
					 
					
						2014-07-30 00:21:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1c414caace 
					 
					
						
						
							
							Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare  
						
						
						
						
					 
					
						2014-07-30 02:15:08 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8f81e231da 
					 
					
						
						
							
							Fixes   #4453 : yii message/extract wasn't properly writing to po files in case of multiple categories  
						
						
						
						
					 
					
						2014-07-26 02:46:58 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						07f01bcf2b 
					 
					
						
						
							
							Used substr_compare instead of substr when we don't care about result  
						
						
						
						
					 
					
						2014-07-23 16:37:49 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bc3200cef1 
					 
					
						
						
							
							Fixes   #4295 : reworked message extraction for PO files  
						
						
						
						
					 
					
						2014-07-17 19:33:37 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1aeb306d00 
					 
					
						
						
							
							Fix incomplete obsolete filling in i18n db extractor  
						
						... 
						
						
						
						Obsolete keys searching isn't work when we have serveral categories for tranlation with DbMessageSource. Obsolete array filled with last message category only, because it'll always overwritten. 
						
						
					 
					
						2014-05-26 15:33:37 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1641e057a9 
					 
					
						
						
							
							VarDumper::export() applied over framework. 
						
						
						
						
					 
					
						2014-05-20 16:35:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a86d2ad11e 
					 
					
						
						
							
							Added yii\console\Controller::EXIT_CODE_NORMAL and yii\console\Controller::EXIT_CODE_ERROR constants, yii\console\MigrateController now returns yii\console\Controller::EXIT_CODE_ERROR in case of failed migration  
						
						
						
						
					 
					
						2014-05-07 03:11:35 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c1445871f4 
					 
					
						
						
							
							Correction of many errors code inspection.  
						
						... 
						
						
						
						Adjustments code according to the standards.
Adding missing PHPDoc comment. 
						
						
					 
					
						2014-04-16 19:29:07 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3c400dbca8 
					 
					
						
						
							
							fixed file PHPdoc  
						
						... 
						
						
						
						issue #3026  
						
						
					 
					
						2014-04-10 22:10:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bf3c75147d 
					 
					
						
						
							
							reverted breaking PHPdoc codestyle changes  
						
						... 
						
						
						
						issue #2852  
						
						
					 
					
						2014-03-23 20:51:09 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8c2e39235f 
					 
					
						
						
							
							Turn module and application into DI containers.  
						
						
						
						
					 
					
						2014-03-17 23:57:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b5f8a4dc22 
					 
					
						
						
							
							Reformat code te be PSR-2 compatible  
						
						
						
						
					 
					
						2014-03-16 10:46:21 +06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						740a769477 
					 
					
						
						
							
							improved HelpController with messages for each command  
						
						
						
						
					 
					
						2014-03-06 22:43:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1a14ed2127 
					 
					
						
						
							
							Update MessageController.php  
						
						
						
						
					 
					
						2014-03-04 12:40:13 +02:00