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>
5 years ago
Lunny Xiao
10ccbbf57e
Cache last commit to accelerate the repository directory page visit ( #10069 )
* Cache last commit to accelerate the repository directory page visit
* Default use default cache configuration
* add tests for last commit cache
* Simplify last commit cache
* Revert Enabled back
* Change the last commit cache default ttl to 8760h
* Fix test
5 years ago
zeripath
38dea67a7e
Fix "data race" in testlogger ( #9159 )
* Fix data race in testlogger
* Update git_helper_for_declarative_test.go
5 years ago
techknowlogick
f37107e6bc
switch to use gliderlabs/ssh for builtin server ( #7250 )
resolves git conflicts from #3896 (credit to @belak , in case github doesn't keep original author during squash)
Co-Authored-By: Matti Ranta <techknowlogick@gitea.io>
6 years ago
Lauris BH
5cb1602ba8
Refactor table width to have more info shown in file list ( #6867 )
* Refactor table width to have more info shown in file list
* Remove unnecesary semicolon
* Fix tests for changed html structure
6 years ago
Lunny Xiao
4bac454040
Fix prohibit login check on authorization ( #6106 )
* fix bug prohibit login not applied on dashboard
* fix tests
* fix bug user status leak
* fix typo
* return after render
6 years ago
Gabriel Silva Simões
6891d0d3f5
Revert #3711 overwrite of only show "No Description" to repo admins #2167 ( #5836 )
Revert #3711 overwrite of only show "No Description" to repo admins #2167 and add tests to prevent accidental overwrite again.
6 years ago
Tris Forster
7031e75580
Symlink icons ( #1416 ) ( #3826 )
* Updated vendor code for code.gitea.io/git
* Display symlinks correctly for files and directories
* Added symlink tests
* Applied silverwinds stylesheet patch
Signed-off-by: Tris Forster <tris.git@shoddynet.org>
7 years ago
Antoine GIRARD
dff4d0bf54
Add integrations tests from git cli ( #3377 )
* test: integration add git cli tests
Extracted form for easing review process and debug #3152
* test: integration add git cli big file commit
* fix: Don't rewrite key if internal server
7 years ago
Lauris BH
e687d24d8e
Remove unit types commits and settings ( #2161 )
* Remove unit types commits and settings
* Can not limit units in administrator teams
* Limit changing units only to teams with read and write access mode
* Small code optimization
8 years ago
Stefan Kalscheuer
2961aecb3a
Only show SSH clone URL if signed in ( #2169 ) ( #2170 )
* Add configuration flag SSH_EXPOSE_ANONYMOUS
If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in.
* Default SSH exposure set to false
To match GitHub and for security reasons, SSH URL exposure is disabled by default.
In addition to that. minor code changes have been applied.
Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* Add integration tests
* Hide clone button neither HTTP and SSH is enabled
Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
8 years ago
Ethan Koenig
1c10f454eb
Less verbose integration tests ( #2123 )
* Helper functions for intergration test boilerplate
8 years ago
Ethan Koenig
036475727f
Consolidate boilerplate in integration tests ( #1979 )
8 years ago
Lunny Xiao
284bafb9d5
fix collborators lack of units on orgnization repositories ( #1968 )
* fix collborators lack of units on orgnization repositories
* also change log level to debug
8 years ago
Ethan Koenig
e4e3367ae7
Display URLs in integration test logs ( #1924 )
8 years ago
Lunny Xiao
40417fa8ff
fix #1643 and improve integration test ( #1645 )
8 years ago