8567cba0d9 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement delete release attachments and update release attachments' name ( #14130 )  
							
							... 
							
							
 
							
							* Implement delete release attachment
* Add attachments on release edit page
* Fix bug
* Finish del release attachments
* Fix frontend lint
* Fix tests
* Support edit release attachments
* Added tests
* Remove the unnecessary parameter isCreate from UpdateReleaseOrCreatReleaseFromTag
* Rename UpdateReleaseOrCreatReleaseFromTag to UpdateRelease
* Fix middle align 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1a03fa7a4f 
								
									
								
							
								 
							
						 
						
							
							
								
								Update JS dependencies ( #15033 )  
							
							... 
							
							
 
							
							* Update JS dependencies
- Update all JS dependencies
- For octicons, rename trashcan to trash
- For svgo, migrate to v2 api, output seems to have slightly changed but icons look the same
- For stylelint, update config, fix custom property duplicates
- For monaco, drop legacy Edge support
- For eslint, enable new rules, fix new issues
- For less-loader, remove deprecated import syntax
* update svgo usage in generate-images and rebuild logo.svg with it 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								83cf1a894e 
								
									
								
							
								 
							
						 
						
							
							
								
								Create tag on ui ( #13467 )  
							
							... 
							
							
 
							
							Support create single tag directly
support create tag with message from create release ui
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5d2b7ba639 
								
									
								
							
								 
							
						 
						
							
							
								
								Add EasyMDE support for release content editor ( #14744 )  
							
							... 
							
							
 
							
							* Add easyMDE(simpleMDE) support for release content editor
Signed-off-by: a1012112796 <1012112796@qq.com> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b1cf7f4df1 
								
									
								
							
								 
							
						 
						
							
							
								
								Add class to page content to unify top margin ( #13766 )  
							
							... 
							
							
 
							
							* Add class to page content to unify top margin
Previously pages would individually set this margin but some didn't so
content would stick to the header without any space. Resolve this by
adding a new class that is added on all pages. The only place where we
remove this margin again is on the pages with menu or wrapper in the
header.
* fix admin notices
* fix team pages
* fix loading segment on gitgraph for arc-green
* fix last missing case
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e00a355427 
								
									
								
							
								 
							
						 
						
							
							
								
								Dropdowns, Labels fixes and more CSS tweaks ( #13733 )  
							
							... 
							
							
 
							
							* Dropdowns and Labels fixes
- Rework dropdown, menu and label styles
- Improve issue sidebar milestone and label sections
- Fix archived repo and private org badge
- Move more colors to CSS vars
- Move issue number to end of title on issue page
* more dropdown fixes
* fix basic blue labels - fixes  #13731 
* improve class setting on svg
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								2ac112d84e 
								
									
								
							
								 
							
						 
						
							
							
								
								Comment box tweaks and SVG dropdown triangles ( #13376 )  
							
							... 
							
							
 
							
							* Comment box tweaks and SVG dropdown triangles
- Change all dropdown triangles to SVG
- Bring inline review comment box closer to regular comment boxes
- Enhance arc-green checkbox contrast
- Minor reaction tweaks
- Flexbox the diff file header
* remove a border
* fix type marker in arc-green
* add small code padding
* fix position regression and remove useless rules
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								83106c166d 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace footer and modal icons with SVG ( #13245 )  
							
							... 
							
							
 
							
							- Replace two font icons with SVG in the footer
- Replace icons in delete modals with SVG
- Horizontally center message text in modals 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								cda44750cb 
								
									
								
							
								 
							
						 
						
							
							
								
								Attachments: Add extension support, allow all types for releases ( #12465 )  
							
							... 
							
							
 
							
							* Attachments: Add extension support, allow all types for releases
- Add support for file extensions, matching the `accept` attribute of `<input type="file">`
- Add support for type wildcard mime types, e.g. `image/*`
- Create repository.release.ALLOWED_TYPES setting (default unrestricted)
- Change default for attachment.ALLOWED_TYPES to a list of extensions
- Split out POST /attachments into two endpoints for issue/pr and
  releases to prevent circumvention of allowed types check
Fixes: https://github.com/go-gitea/gitea/pull/10172 
Fixes: https://github.com/go-gitea/gitea/issues/7266 
Fixes: https://github.com/go-gitea/gitea/pull/12460 
Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Unique_file_type_specifiers 
* rename function
* extract GET routes out of RepoMustNotBeArchived
Co-authored-by: Lauris BH <lauris@nix.lv> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ffddf3f8a6 
								
									
								
							
								 
							
						 
						
							
							
								
								Make SVG size argument optional ( #12814 )  
							
							... 
							
							
 
							
							Now defaults to 16 on both frontend and backend.
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1982194dc5 
								
									
								
							
								 
							
						 
						
							
							
								
								Prettify timeline 3 ( #11139 )  
							
							... 
							
							
 
							
							* Fix timeline comments sections borders
* Fix files dropzone right alignment
* Update review comment form and controls
* Clear segment style from comment form tabs
* Remove segment class from pulls tab
* Fix Time Tracker - Add Time button border
* Fix buttons right alignment
* Markdown tab minimal height
* Fix DropZone hover effect
* Fix Lint + remove unused controls class
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								86fdba177a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add Octicon SVG spritemap ( #10107 )  
							
							... 
							
							
 
							
							* Add octicon SVG sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Static prefix
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* SVG for all repo icons
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make vendor
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap out octicons
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move octicons to top of less imports
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix JS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Definitely not a search/replace
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed regex
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move to more generic calls and webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make svg -> make webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg-sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed a test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg from makefile
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Suggestions
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Attempt to fix test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert timetracking test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap .octicon for .svg in less
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add aria-hidden
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Replace mega-octicon
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix webpack globbing on Windows
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert
Co-Authored-By: silverwind <me@silverwind.io>
* Fix octions from upstream
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix Vue and missed JS function
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add JS helper and PWA
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Preload SVG
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <matti@mdranta.net> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								95c3dc856a 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix max length check and limit in multiple repo forms ( #9148 )  
							
							... 
							
							
 
							
							* Fix input field max length for release, label and milestone forms
* Add max length for isseu and PR title 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								8d1ad55598 
								
							
								 
							
						 
						
							
							
								
								Responsive design fixes ( #4508 )  
							
							... 
							
							
 
							
							* reset to master
* build css
* Fixed spacing 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								64375d875b 
								
							
								 
							
						 
						
							
							
								
								Attach to release ( #673 )  
							
							... 
							
							
 
							
							* Moved attachaments POST url from /issues/attachments to /attachments
* Implemented attachment upload on release page
* Implemented downloading attachments on the release page
* Added zip and gzip files to default allowed attachments
* Implemented uploading attachments on edit release
* Renamed UploadIssueAttachment to UploadAttachment 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								cd339263d9 
								
							
								 
							
						 
						
							
							
								
								Allow updating draft releases while keeping them as draft  
							
							... 
							
							
 
							
							Closes  #162  
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c912494609 
								
							
								 
							
						 
						
							
							
								
								#3076  detect invalid tag name git error  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								da2585c11e 
								
							
								 
							
						 
						
							
							
								
								Indent all templates with tabs  
							
							... 
							
							
 
							
							This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2580e7b57e 
								
							
								 
							
						 
						
							
							
								
								UI: Always show menu on repo pages  
							
							... 
							
							
 
							
							Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3eae4ecde7 
								
							
								 
							
						 
						
							
							
								
								UI: Make repository menu divide header and content  
							
							... 
							
							
 
							
							This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								987dcc5372 
								
							
								 
							
						 
						
							
							
								
								fix   #1383  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								18de67380c 
								
							
								 
							
						 
						
							
							
								
								fix   #1958  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								f432f1f41c 
								
							
								 
							
						 
						
							
							
								
								#1604  suburl for release md preview  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4447a20f87 
								
							
								 
							
						 
						
							
							
								
								UI: issues - finish basic frame  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2f3a7e53cb 
								
							
								 
							
						 
						
							
							
								
								fix   #735  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								bc8721fb6c 
								
							
								 
							
						 
						
							
							
								
								Finish new UI for release page  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								9924e65ca1 
								
							
								 
							
						 
						
							
							
								
								In progress of name template name constant  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e07674bff1 
								
							
								 
							
						 
						
							
							
								
								Support edit release and save as draft  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								fb0972afad 
								
							
								 
							
						 
						
							
							
								
								Fix   #199  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8549b47e04 
								
							
								 
							
						 
						
							
							
								
								fix repo-new ui, fix top-nav search-bar ui  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f644cefa86 
								
							
								 
							
						 
						
							
							
								
								Finish release  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a4cbe79567 
								
							
								 
							
						 
						
							
							
								
								fix  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f3ed11d177 
								
							
								 
							
						 
						
							
							
								
								mistakes  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1b0142513e 
								
							
								 
							
						 
						
							
							
								
								release-new page ui  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3ede496383 
								
							
								 
							
						 
						
							
							
								
								add release-new route  
							
							
 
							
						 
						
							12 years ago