43b1750892 
								
							 
						 
						
							
							
								
								Revert "Remove changes that are not absolutely necessary"  
							
							... 
							
							
							
							This reverts commit b0498c176f 
							
						 
						
							2017-05-24 20:59:26 +00:00  
				
					
						
							
							
								 
						
							
								b0498c176f 
								
							 
						 
						
							
							
								
								Remove changes that are not absolutely necessary  
							
							
							
						 
						
							2017-05-23 20:38:35 -05:00  
				
					
						
							
							
								 
						
							
								4345bb8c50 
								
							 
						 
						
							
							
								
								Fix ambiguous routing issues by teaching router about reserved words  
							
							
							
						 
						
							2017-05-23 20:38:24 -05:00  
				
					
						
							
							
								 
						
							
								c853dd6158 
								
							 
						 
						
							
							
								
								Reuse Gitlab::Regex.full_namespace_regex in the DynamicPathValidator  
							
							
							
						 
						
							2017-05-02 09:13:41 +02:00  
				
					
						
							
							
								 
						
							
								d170133bde 
								
							 
						 
						
							
							
								
								Refactor changing files in web UI  
							
							
							
						 
						
							2017-04-20 00:37:44 +00:00  
				
					
						
							
							
								 
						
							
								1a47986b3d 
								
							 
						 
						
							
							
								
								Check registry repository name against regexp  
							
							... 
							
							
							
							This regexp is extracted from Docker Distribution 2.4.1 docs, contains
additional `/` element that can be a separator of components. 
							
						 
						
							2017-04-03 11:38:39 +02:00  
				
					
						
							
							
								 
						
							
								ad640bc5f9 
								
							 
						 
						
							
							
								
								Use Namespace#full_path instead of #path where appropriate  
							
							
							
						 
						
							2017-02-23 17:55:01 -06:00  
				
					
						
							
							
								 
						
							
								2c55fd0019 
								
							 
						 
						
							
							
								
								Add GFM support to nested groups  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2017-02-13 22:30:10 +02:00  
				
					
						
							
							
								 
						
							
								ad977e8bb2 
								
							 
						 
						
							
							
								
								Allow to use + symbol in filenames  
							
							
							
						 
						
							2017-01-15 19:48:35 +11:00  
				
					
						
							
							
								 
						
							
								93a03cd92f 
								
							 
						 
						
							
							
								
								Add an environment slug  
							
							
							
						 
						
							2016-12-15 13:57:03 +00:00  
				
					
						
							
							
								 
						
							
								b7b83fe0c9 
								
							 
						 
						
							
							
								
								Introduce deployment services, starting with a KubernetesService  
							
							
							
						 
						
							2016-12-14 21:06:26 +00:00  
				
					
						
							
							
								 
						
							
								61aa90ef20 
								
							 
						 
						
							
							
								
								Allow all alphanumeric characters in file names ( !8002 )  
							
							
							
						 
						
							2016-12-13 09:13:06 +01:00  
				
					
						
							
							
								 
						
							
								6683fdcfb0 
								
							 
						 
						
							
							
								
								Add nested groups support to the routing  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2016-11-23 14:08:36 +02:00  
				
					
						
							
							
								 
						
							
								5949f398f7 
								
							 
						 
						
							
							
								
								Fix 500 error when group name ends with git  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2016-11-21 21:03:18 +02:00  
				
					
						
							
							
								 
						
							
								78b6d6624b 
								
							 
						 
						
							
							
								
								Allow registering users where the username contains dots (.).  
							
							... 
							
							
							
							Javascript does not support the negative lookbehind assertion (?<!) used
in the Ruby regex (to disallow usernames ending in `.git` or `.atom`.
Getting the client side code to fully support this format is
non-trivial, since we'd either have to heavily complicate the
regex used, or modify the frontend code to support more complex
validation schemes (it currently uses HTML5 validations).
The pragmatic choice is to create a
`Gitlab::Regex::NAMESPACE_REGEX_STR_SIMPLE` regex to serve as a
Javascript-compatible version of `NAMESPACE_REGEX_STR`.
The client-side code will not display an error for usernames ending in
`.git` and `.atom`, but these will be caught by the server-side
validation. 
							
						 
						
							2016-11-18 11:47:37 +05:30  
				
					
						
							
							
								 
						
							
								af941732ed 
								
							 
						 
						
							
							
								
								Added ability to put emojis into repository name  
							
							... 
							
							
							
							Added ability to put emojis into repository name 
							
						 
						
							2016-11-12 09:21:23 +01:00  
				
					
						
							
							
								 
						
							
								7061131676 
								
							 
						 
						
							
							
								
								Refactor namespace regex  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2016-11-07 18:40:57 +02:00  
				
					
						
							
							
								 
						
							
								4f1de5faac 
								
							 
						 
						
							
							
								
								Correct namespace validation to forbid bad names  #21077  
							
							... 
							
							
							
							Adds .git and .atom to the master namespace regex
Updates existing group tests and adds two new ones
Updates path cleaning to also forbid .atom 
							
						 
						
							2016-10-07 13:46:59 -05:00  
				
					
						
							
							
								 
						
							
								313f3181cc 
								
							 
						 
						
							
							
								
								Remove trailing spaces from messages in Gitlab::Regex  
							
							
							
						 
						
							2016-09-20 07:20:48 +03:00  
				
					
						
							
							
								 
						
							
								8fe05d83ac 
								
							 
						 
						
							
							
								
								Fix validation regexs (+1 squashed commit)  
							
							... 
							
							
							
							Squashed commits:
[f9a9315] Use : to test invalid environment name 
							
						 
						
							2016-09-19 10:07:15 +02:00  
				
					
						
							
							
								 
						
							
								223041fa1b 
								
							 
						 
						
							
							
								
								Fix environments handling  
							
							
							
						 
						
							2016-09-19 10:07:15 +02:00  
				
					
						
							
							
								 
						
							
								a4638dddf2 
								
							 
						 
						
							
							
								
								Add support for dynamic environments  
							
							... 
							
							
							
							Environments that can have a URL with predefined CI variables. 
							
						 
						
							2016-09-19 10:05:35 +02:00  
				
					
						
							
							
								 
						
							
								9e211091a8 
								
							 
						 
						
							
							
								
								Enable Style/EmptyLines cop, remove redundant ones  
							
							
							
						 
						
							2016-07-01 21:56:17 +02:00  
				
					
						
							
							
								 
						
							
								e8f09f02bf 
								
							 
						 
						
							
							
								
								Validate environment name with regex  
							
							
							
						 
						
							2016-06-14 13:04:21 +02:00  
				
					
						
							
							
								 
						
							
								5196f8e993 
								
							 
						 
						
							
							
								
								WIP  
							
							
							
						 
						
							2016-05-08 22:50:30 +02:00  
				
					
						
							
							
								 
						
							
								b0ddbaa07c 
								
							 
						 
						
							
							
								
								Added docker registry view  
							
							
							
						 
						
							2016-05-04 11:31:35 +02:00  
				
					
						
							
							
								 
						
							
								ae73e73bee 
								
							 
						 
						
							
							
								
								Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issue  
							
							
							
						 
						
							2016-02-02 15:15:59 +01:00  
				
					
						
							
							
								 
						
							
								72bd004b31 
								
							 
						 
						
							
							
								
								Allow "@" in file names and path  
							
							
							
						 
						
							2016-02-01 16:20:49 +01:00  
				
					
						
							
							
								 
						
							
								eb51a4ac1b 
								
							 
						 
						
							
							
								
								refactor previous test and add validation to project model  
							
							
							
						 
						
							2016-01-29 15:35:21 +01:00  
				
					
						
							
							
								 
						
							
								3be9d2c422 
								
							 
						 
						
							
							
								
								Add ability to create directories in the editor  
							
							... 
							
							
							
							Simply type a name with a `/` directory separator and new directories
will be created. This does not do the fancy UI work that github.com
does, but it will get the job done.
I could not find tests for file creation, so I didn't add a test for
this slight behaviour modification. I did test directory traversals
though, using both absolute paths like `/tmp/foo.txt` and relative paths
like `../../foo.txt`. Neither case escaped the repository, though
attempting to traverse with a relative path resulted in a 500 error that
did not affect application stability upon reload. 
							
						 
						
							2015-10-29 15:49:07 +01:00  
				
					
						
							
							
								 
						
							
								a1c01bc19b 
								
							 
						 
						
							
							
								
								Fix (project_)name_regex to accept non-ASCII letters and dash  
							
							
							
						 
						
							2015-04-27 16:38:47 +02:00  
				
					
						
							
							
								 
						
							
								5f839770e7 
								
							 
						 
						
							
							
								
								Revert "Rename namespace_regex to namespace_path_regex."  
							
							... 
							
							
							
							This reverts commit c0116926c7 
							
						 
						
							2015-04-24 15:16:38 +02:00  
				
					
						
							
							
								 
						
							
								c0116926c7 
								
							 
						 
						
							
							
								
								Rename namespace_regex to namespace_path_regex.  
							
							
							
						 
						
							2015-04-24 14:49:22 +02:00  
				
					
						
							
							
								 
						
							
								1d2a5ee188 
								
							 
						 
						
							
							
								
								Revert "Revert disallowing usernames to end in period."  
							
							... 
							
							
							
							This reverts commit c75c6b840b 
							
						 
						
							2015-04-24 14:47:49 +02:00  
				
					
						
							
							
								 
						
							
								c75c6b840b 
								
							 
						 
						
							
							
								
								Revert disallowing usernames to end in period.  
							
							
							
						 
						
							2015-04-20 12:41:44 +02:00  
				
					
						
							
							
								 
						
							
								5f93b0e3da 
								
							 
						 
						
							
							
								
								Don't allow username to end in period.  
							
							
							
						 
						
							2015-03-27 11:10:56 +01:00  
				
					
						
							
							
								 
						
							
								dfe0f9eedf 
								
							 
						 
						
							
							
								
								Use more specific regexes.  
							
							
							
						 
						
							2015-03-27 11:09:29 +01:00  
				
					
						
							
							
								 
						
							
								a9f7fd2c1a 
								
							 
						 
						
							
							
								
								Github Importer  
							
							
							
						 
						
							2015-01-10 09:51:43 -08:00  
				
					
						
							
							
								 
						
							
								6bae8c48ef 
								
							 
						 
						
							
							
								
								Update default regex message to match regex.  
							
							
							
						 
						
							2014-10-01 13:19:40 +02:00  
				
					
						
							
							
								 
						
							
								6a0cb25096 
								
							 
						 
						
							
							
								
								Dont allow ? in project path  
							
							... 
							
							
							
							Because it causes 500 error on every page where link to such project
exists
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2014-07-08 18:15:23 +03:00  
				
					
						
							
							
								 
						
							
								b1c40e8151 
								
							 
						 
						
							
							
								
								Fix username validation message to match regexp.  
							
							... 
							
							
							
							Also used for project, group and web ui new file names. 
							
						 
						
							2014-06-26 13:31:34 +02:00  
				
					
						
							
							
								 
						
							
								61a72bc2e2 
								
							 
						 
						
							
							
								
								Allow underscore as the first char for project names.  
							
							... 
							
							
							
							Not sure if the default_regex really has to be expanded for this special use case. We tried to extend only the project_name_regex first, but that didn't help. 
							
						 
						
							2014-03-06 14:08:40 +01:00  
				
					
						
							
							
								 
						
							
								cc1f7ea2de 
								
							 
						 
						
							
							
								
								Allow . files to be created  
							
							... 
							
							
							
							Fixes: https://github.com/gitlabhq/gitlabhq/issues/5770  
							
						 
						
							2014-01-14 18:26:01 +01:00  
				
					
						
							
							
								 
						
							
								7cc2520541 
								
							 
						 
						
							
							
								
								Add support for various archive formats.  
							
							... 
							
							
							
							Used mime-types gem instead of hardcoding content types.
Allow multiple extensions in archive route (.tar.gz, .tar.bz2).
Change content disposition from infile(?) to attachment for api.
Fixed api would return “archive” instead of {project}-{hash}.{ext} 
							
						 
						
							2014-01-02 10:18:56 -06:00  
				
					
						
							
							
								 
						
							
								405492e90c 
								
							 
						 
						
							
							
								
								Fixed issue with `bundle exec rake routes` not running.  
							
							... 
							
							
							
							Wrap regex comments in (?#comment) construct. 
							
						 
						
							2013-12-23 20:01:38 -06:00  
				
					
						
							
							
								 
						
							
								64edb27aa9 
								
							 
						 
						
							
							
								
								Extend Gitlab#default_regex. Dont allow project path ends with .git  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2013-11-13 16:13:40 +02:00  
				
					
						
							
							
								 
						
							
								05c988419f 
								
							 
						 
						
							
							
								
								Expand refs constraints to include valid characters  
							
							... 
							
							
							
							Fixes  #4831 , #4865 , #4932  
						
							2013-10-24 16:31:15 +11:00  
				
					
						
							
							
								 
						
							
								7825830ca5 
								
							 
						 
						
							
							
								
								Allow project name, path etc start with number. Fixed specs  
							
							
							
						 
						
							2013-08-13 12:24:10 +03:00  
				
					
						
							
							
								 
						
							
								020078663e 
								
							 
						 
						
							
							
								
								Prevent xss attack over group name. Added regex validation for group and team name  
							
							
							
						 
						
							2013-02-18 09:28:18 +02:00  
				
					
						
							
							
								 
						
							
								1f3bdd453e 
								
							 
						 
						
							
							
								
								Allow spaces in project name  
							
							
							
						 
						
							2012-12-28 09:29:57 +02:00