silverwind
becca4b1d1
Fix scrollbar issues in dropdowns ( #10897 )
* Fix scrollbar issues in dropdowns
Fixes: https://github.com/go-gitea/gitea/pull/10835
* remove wrapping
* grammar
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
6 years ago
mrsdizzie
cf9cfbdf4d
Adjust label padding ( #10957 )
* Adjust label padding
* fix less complaint
* Make top/bottom padding a bit smaller to create better label look
6 years ago
j.yao.SUSE
a3cb75982c
[UI] language status icon size ( #10749 )
* language status icon size
change the repository language status icon size
* Update _base.less
* fix: eslint rule length-zero-no-unit
* [ui] .color-icon change size ti 14px
* Update web_src/less/_base.less
* Update web_src/less/_base.less
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
Alexander Scheel
461addc0e6
Fix tab indentation in code view ( #10671 )
Resolves : #5596
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 years ago
Alex
01b3df56c7
Update border-color of language bar icon ( #10723 )
* Update color of border of color-icon
* Update web_src/less/_base.less
Co-Authored-By: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
6 years ago
zeripath
ffc9e63f49
Fix the signing icon in the view_list.tmpl page ( #10511 )
* Fix the view_list.tmpl page
* fix-centerlock
* Update web_src/less/_base.less
as per @silverwind
Co-Authored-By: silverwind <me@silverwind.io>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
6 years ago
zeripath
c8bdf9ba98
Show Signer in commit lists and add basic trust ( #10425 )
* Show Signer in commit lists and add basic trust
Show the avatar of the signer in the commit list pages as we do not
enforce that the signer is an author or committer. This makes it
clearer who has signed the commit.
Also display commits signed by non-members differently from
members and in particular make it clear when a non-member signer
is different from the committer to help reduce the risk of
spoofing.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* ensure orange text and background is available
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update gpg_key.go
* Update models/gpg_key.go
* Apply suggestions from code review
* Require team collaborators to have access to UnitTypeCode
* as per @6543
* fix position of sha as per @silverwind
* as per @guillep2k
6 years ago
silverwind
28f24bfc1d
Disallow leading zeroes in Less ( #10407 )
6 years ago
Lauris BH
6ce8f85da9
Add detected file language to code search ( #10256 )
Move langauge detection to separate module to be more reusable
Add option to disable vendored file exclusion from file search
Allways show all language stats for search
6 years ago
silverwind
43ac4473e6
fix margin on attached segments with headers ( #10235 )
Fixes: https://github.com/go-gitea/gitea/issues/10210
Co-authored-by: techknowlogick <matti@mdranta.net>
6 years ago
John Olheiser
947cfbffbd
SVG Octicon fixes ( #10237 )
* SVG fixes
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Colorize span->svg only
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* @silverwind suggestions
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Alphabetical
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Convert suburl and staticPrefix to window.config
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* De-structure
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
John Olheiser
dd3a8e419d
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
Lauris BH
416682f73d
Language statistics bar for repositories ( #8037 )
* Implementation for calculating language statistics
Impement saving code language statistics to database
Implement rendering langauge stats
Add primary laguage to show in repository list
Implement repository stats indexer queue
Add indexer test
Refactor to use queue module
* Do not timeout for queues
6 years ago
Lauris BH
78133a1d74
Change font to Roboto to support more charsets ( #9803 )
6 years ago
Lauris BH
f8533a1232
Add top author stats to activity page ( #9615 )
6 years ago
John Olheiser
c1c72eebbb
Issue/PR Context Popups ( #9822 )
* Add data-index attribute to issue anchors
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Init JS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add required data to anchor
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Finish popup
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert changes to html.go
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Better octicon contexts
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Split out popup function for re-use
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Style changes, test fixes, and cross-reference support
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Prefer em to px
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move label margin to base CSS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move JS to separate file.
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move JS to features and fix module
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove query-string and hash
Co-Authored-By: silverwind <me@silverwind.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
6 years ago
silverwind
fb0657fb5e
eliminate horizontal scroll caused by footer ( #9669 )
6 years ago
John Olheiser
84ef1ac309
!important makes me sad ( #9607 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
John Olheiser
66639744f4
Add box-shadow to blue buttons in normal theme ( #9573 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <matti@mdranta.net>
6 years ago
Lunny Xiao
d14d545cee
Upgrade lato fonts to v16. ( #9498 )
* Upgrade lato fonts to v16
* Upgrade lato fonts to v16
* fix bug
6 years ago
techknowlogick
ed8bff0d82
switch to fomantic-ui ( #9374 )
6 years ago
zeripath
3a7e9e36eb
Make repository management section handle lfs locks ( #8726 )
* Make repository maangement section handle lfs locks
* Add check attribute handling and handle locking paths better
* More cleanly check-attributes
* handle error
* Check if file exists in default branch before linking to it.
* fixup
* Properly cleanPath
* Use cleanPath
* Sigh
6 years ago
John Olheiser
ac4868abfc
Fix context menu overflow & review tag margin ( #9231 )
* Fix context menu overflow
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add review tag CSS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
guillep2k
5222c03e05
Add password requirement info on error ( #9074 )
* Add password requirement info on error
* Move BuildComplexityError to the password pkg
* Unexport complexity type
* Fix extra line
* Update modules/password/password.go
Co-Authored-By: Lauris BH <lauris@nix.lv>
6 years ago
Lunny Xiao
cae9908b4a
Move less from public/ to web_src/ so that it will not be packe… ( #8908 )
6 years ago