Aaron Walker
e9c98d4242
API: support '/orgs/:org/repos' ( #2047 )
* API: support '/orgs/:org/repos'
8 years ago
Bo-Yi Wu
9cfe55d5a9
fix: replace tmp with TMPDIR. ( #2152 )
8 years ago
Lauris BH
009d54b145
Ignore invalid issue numbers in commit messages. Fixes #2022 ( #2150 )
8 years ago
Lauris BH
2c3b6292b0
Update code.gitea.io/git dependency ( #2149 )
8 years ago
Lauris BH
f0034533d0
Fix repository settings collobration list display ( #2151 )
8 years ago
Ethan Koenig
80239ca0cd
Fix username rendering bug ( #2122 )
* Fix username rendering bug
* XSS integration test
* Migration to unescape user full names
8 years ago
Bo-Yi Wu
6aa1b0bd7b
fix typo ( #2145 )
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Bo-Yi Wu
38edd27a3c
Add verify changed less-file step to Makefile ( #1861 )
8 years ago
Roy Marples
a1d31dd6ae
Fix SHA1 hash linking ( #2143 )
This changes the regex to look for a hash from 7 to 40 characters,
to match the use of abbreviated hash lookups in both git and github.
The restriction of not being a pure number is also removed because
1234567 is now considered a valid abbreviated hash, as is deadbeef.
A note has been added to the top of the code to state that the
literal regex match is fine, but no extra validation is currently
performed so some false positives are expected.
A future change could ensure that the hash exists in the repository
before rendering it as a link, although this might incur a slight
performance penalty.
Reverts part of commit 4a46613 and fixes #2053 .
8 years ago
Patrick G
3cc9125c44
Small grammar fixes ( #2144 )
8 years ago
Ethan Koenig
a15346a9bd
Fix repo API bug ( #2133 )
Don't require token when not necessary
8 years ago
Bo-Yi Wu
c468a13898
feat: upgrade drone docker image to support multi-stage build. ( #1732 )
* feat: upgrade drone docker image to support multi-stage build.
* update drone sig file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* update drone sig file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Ethan Koenig
783199dbbf
Fix GET /users/:username/repos endpoint ( #2125 )
8 years ago
Roy Marples
a02f29bdb9
Use POSIX complaint ! operator in find ( #2132 )
* Use POSIX complaint ! operator in find
-not is a GNU extension and not all find(8) implementations
support it. It's just an alias for ! which is POSIX compliant.
Now gitea compiles on NetBSD at least.
* Revert change in vendor directory as requested
8 years ago
Lauris BH
d4e9752447
Missing signed commit display translation ( #2134 )
8 years ago
Ethan Koenig
fa89bacb86
Cache session cookies in tests ( #2128 )
8 years ago
Ethan Koenig
624c41e383
Remove unused files ( #2124 )
8 years ago
Ethan Koenig
1c10f454eb
Less verbose integration tests ( #2123 )
* Helper functions for intergration test boilerplate
8 years ago
Andrey Nering
cbcf4c85ae
Merge pull request #2119 from ethantkoenig/fix/wiki
Fix wiki preview links
8 years ago
Ethan Koenig
ce87706ad3
Fix import order
8 years ago
Ethan Koenig
796fb4e121
Relative URL tests
8 years ago
Ethan Koenig
d820fcadc8
Fix wiki preview links
8 years ago
Antoine GIRARD
8d81576b4b
Improve org error handling ( #2117 )
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests
* Fix unchanged method name report
8 years ago
Andrey Nering
ec07d696cc
vendor: update sqlite to fix "database is locked" errors ( #2116 )
closes #2040
upstream commit: acfa601240
8 years ago
Ethan Koenig
2560cd25e8
Fix unchecked error bug ( #2110 )
8 years ago
Ethan Koenig
59727d9859
Fix missing-return bug ( #2109 )
8 years ago
Lauris BH
9301f7d897
Sync latest translations from crowdin ( #2104 )
8 years ago
Lunny Xiao
d513ef8592
Add make command update-translations for update translations from crodwin ( #2097 )
* add make command update-translations for update translations from crowdin to options/locale
* use curl & resolve double quote on make file
8 years ago
Lauris BH
ceca557000
Fix git hooks update to receive required arguments. Fixes #2090 ( #2095 )
* Changed migration calling so that migrations can use models package
8 years ago
Ethan Koenig
9818d43a9f
Fix API for branches with slashes ( #2096 )
8 years ago
Ethan Koenig
50507bf0cb
Check for valid renamed usernames ( #2077 )
* Check for valid renamed usernames
* Integration test
* Test for username with space
* Make name field required
8 years ago
Bo-Yi Wu
d18689c247
upgrade git source code. ( #2094 )
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Ethan Koenig
edc7ed09f5
Fix SQL bug in models.PullRequests
8 years ago
Ethan Koenig
ed88376a87
Absolute path for setting.CustomConf ( #2085 )
8 years ago
Lauris BH
92a5dd2496
Merge pull request #2087 from Bwko/fix_error_exit
Fix exit status 1 not handled @ getMergeCommit (#2087 )
8 years ago
Bwko
d6e009cdaf
Fix exit status 1 not handled @ getMergeCommit
8 years ago
Lunny Xiao
8c5f9b5911
Revert "Reduce number of layer" ( #2086 )
This reverts commit 789188f13c
.
8 years ago
Dryusdan
2ac3bf5707
Reduce number of layer ( #2078 )
Somes layer are created and aren't usefull, so I compress this :)
8 years ago
Andrey Nering
dd386951d8
Merge pull request #2083 from ethantkoenig/check_err/org_avatar
Don't ignore gravatar error
8 years ago
Ethan Koenig
9a00aade1c
lint
8 years ago
Ethan Koenig
6aac525386
Use default avatar on error
8 years ago
Lauris BH
bd6172b6a6
Fix release display and correct paging ( #2080 )
8 years ago
Ethan Koenig
b6b40a9814
Don't ignore gravatar error
8 years ago
Lunny Xiao
79be81b778
remove unnecessary blank lines and wrong error log
8 years ago
iszla
a3d350c332
Pagination on releases page ( #2035 )
* Added count to GetReleasesByRepoID so pagination will work
* Separated it out to a new function, can then also leave the API part unaffected
* Remove extra whitespace added in untouched function
* Added comment and corrected name in error handler
* Account for if the user is owner or not in the count
* Also check if repo is draft
* revert back to the correct count in the ReleasesToDisplay loop
* Fixed lint error regarding else with return statement
* Use Cond struct instead of string, corrected name in error handler
* Removed unused return variable names
8 years ago
Jonas Östanbäck
2fcc873d14
Update git module ( #2074 )
8 years ago
Guillermo Bonvehí
a0e11919c9
Fix #1271 : Call location.reload after XHR finishes ( #2071 )
location.reload was being called when the related dropdown
was hidden, even if a request initiated before to update this
value hadn't finished. This caused troubles on Firefox.
8 years ago
Morlinest
76814d685b
Fix org hooks UI ( #2072 )
8 years ago
Shuanglei Tao
93a200f0a4
Fix: `http: multiple response.WriteHeader calls` ( #2038 )
We can't change the http status code here, because the response has been written.
8 years ago
Lauris BH
96b13d94ec
Make time diff translatable ( #2057 )
8 years ago