zeripath
055f6d2296
Fix "data race" in testlogger ( #9159 )
...
* Fix data race in testlogger
* Update git_helper_for_declarative_test.go
5 years ago
techknowlogick
d0ec940dd7
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
d9d538c8a1
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
f5fa22a499
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
5f4a40c4a3
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
85d14cc229
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
095fb9f2e3
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
f33e6ae09e
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
0b177574c9
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
f1adaef458
Less verbose integration tests ( #2123 )
...
* Helper functions for intergration test boilerplate
8 years ago
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests ( #1979 )
8 years ago
Lunny Xiao
31b5e9177f
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
61716bd8f7
Display URLs in integration test logs ( #1924 )
8 years ago
Lunny Xiao
0308d44a16
fix #1643 and improve integration test ( #1645 )
8 years ago
Lunny Xiao
fca7ddc6ea
improve integration test to resue models/fixtures and store git repos with tests ( #1627 )
...
* improve integration test to resue models/fixtures and store git repos with source
* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test
* fix import package name
8 years ago
Ethan Koenig
c58708d3ee
Integration test framework ( #1290 )
...
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
8 years ago