5527 Commits (c76ee5688b6b2c907e325914987fcca2c1086c9e)
 

Author SHA1 Message Date
Ethan Koenig c76ee5688b Revert to upstream ini dependency (#2304) 7 years ago
silverwind fc29a405e8 More tweaks to repo top panel (#2267)
* More tweaks to repo top panel

* undo hiding of compare button on master

* attempt to fix ci issue

* another ci attempt
7 years ago
Ethan Koenig 29f3a6e492 Fix rendering of external links (#2292) 7 years ago
Pontus Leitzler 2282e24028 Use /dev/urandom to create random password (#2298)
* Make sure generated password is random

Use /dev/urandom to get a 32 char password

* Make sure generated password is random

Use /dev/urandom to generate 32 char password

* Make sure generated password is random
7 years ago
Lunny Xiao f960e19c59 Only update needed columns when update user (#2296)
* only update needed columns when update user

* fix missing update_unix column
7 years ago
Lunny Xiao 921d90fd8b fix 500 error when view an issue which's milestone deleted (#2297) 7 years ago
Lunny Xiao be29d5f7ad fix webhook link 7 years ago
Patrick G e90bbcaa52 Comment help text for issues (#2281) 7 years ago
Ethan Koenig 27798c3efc Temporarily patch go-ini/ini with fork (#2255) 7 years ago
silverwind 54381f438b File path tweaks in UI (#2264) 7 years ago
Michael Kuhn d05150a331 Make short link pattern greedy (#2259)
Multiple links on the same line are currently not recognized correctly.
7 years ago
Bo-Yi Wu a3262636b8 update drone sig file. (#2262)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Bo-Yi Wu 9ff371a147 ignore coverage steps. (#2257)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
G 34df9deff1 Convert xorm literal queries to method calls (#2253) 7 years ago
Lauris BH fa8d40faca Fix internal requests when gitea listens to unix socket or only external IP (#2234)
* Fix internal requests when gitea listens to unix socket or only external IP

* When Gitea is set to listen using FastCGI use AppURL for LocalURL
7 years ago
Lauris BH a4ca54425f update code.gitea.io/git in vendor to fix #2245 (#2250) 7 years ago
Lunny Xiao 4c54139afc add changelog of release v1.1.3 (#2252) 7 years ago
Ethan Koenig 7e0654bd9e Fix counts on issues dashboard (#2215)
* Fix counts on issues dashboard

* setupSess -> setupSession

* Unit test

* Load repo owners for issues
7 years ago
Ethan Koenig f29458bd3a EnableUnit() -> UnitEnabled() (#2242) 7 years ago
Christoph Handel 539d9f4c30 Fix git version check with four digits (1.8.3.1) (#2236) 7 years ago
G 66e8262530 Replace calls to xorm UseBool with Where (#2237) 7 years ago
silverwind 31411a9462 Prevent selection of diff line numbers (#2240) 7 years ago
Antoine GIRARD a804f0e052 go get github.com/wadey/gocovmerge when needed (#2235) 7 years ago
Bwko 1193627014 Fix Commits nil pointer dereference (#2203) 7 years ago
silverwind 9a505fafda Improve docs for PROTOCOL and HTTP_ADDR options (#2231)
Fixes: #2230
7 years ago
silverwind d74d8ecc2e Generate small and large logos at 4x resolution (#2233)
To support High-DPI displays, generate images at 4 times their displayed
resolution, which should be enough to support all current devices
according to https://material.io/devices/.
7 years ago
Florian / sinnlosername 27c2dcf60e Fixed robots.txt 404 error (#2226)
* Update routes.go

* Update routes.go
7 years ago
Ethan Koenig 49df677c47 Check for access in /repositories/:id (#2227)
* Check for access in /repositories/:id

* Integration test
7 years ago
Lunny Xiao a9cc538ab5 remove unused variable on makefile (#2225) 7 years ago
Lauris BH 60d7e56c69 Add task to generate images from SVG and change to new logo (#2194)
* Add makefile task to generate images from SVG and change to new logo

* use absolute path on generate-images
7 years ago
Lunny Xiao 04c4028aea
fix some bug 7 years ago
Ethan Koenig fd45a032a7 Fix bare-repo bugs (#2199)
* Fix bare-repo bugs

* Integration tests

* Unused import
7 years ago
Ethan Koenig aff11bc65e Fix hooks for integration repo (#2216) 7 years ago
Ethan Koenig a27863b6d1 Fix issue updated_unix bug (#2204) 7 years ago
Ethan Koenig 5f37944dff Fix unclosed session bug (#2214) 7 years ago
Moritz Heiber 7e12aac61c Only allow token authentication with 2FA enabled (#2184)
* Don't allow for plain username/password authentication when 2FA is enabled

* Removed debugging statement

* Don't assume a token belongs to a given user, handle two-factor errors properly

* Simplified user/token matching, refactored error handling for two-factor authentication

* Change authentication response to avoid bruteforcing

* Add TODO item as a comment for changing the response for security purposes
7 years ago
Lauris BH 1d032f5220 Fix compiling without sqlite and gcc (#2177) 7 years ago
Tao Wang 41cc110e62 Use sqlite3 database as default for Docker image (#2182)
Signed-off-by: Tao Wang <twang2218@gmail.com>
7 years ago
Bwko 8f171210b9 Revert "Add ability to fork your own repos (#761)" (#2193) 7 years ago
Ethan Koenig 48898e5d0b Fix PR nil-dereference bug (#2195)
* Fix PR nil-dereference bug

* Revert to original error format
7 years ago
Lauris BH dde0052ca2 Fix key usage time update if the key is used in parallel for multiple operations (#2185) 7 years ago
Lauris BH 3702dac0d5 Fix profile update for non-local users (#2178) 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
7 years ago
Lauris BH 047a67a90b Refactor vue delimeters to use es6 template delimeters (#2171) 7 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>
7 years ago
Wiktor Żurawik 32f289ae3b Make compare button URL aware if current repo is a fork (#2162) (#2163)
* Make compare button URL aware if current repo is a fork (#2162)

* Optimize code

* To not change current behaviour check if signed in user has fork of base repository

* Fix to check only if signed user has forked repo otherwise it will still redirect to wrong page
7 years ago
bit 98c5a1e006 Only show "No Description" to repo admins (#2167)
Only show note about missing description ("No Description") to repo admins, nobody else can change it.
7 years ago
Ethan Koenig dd758ad8dc More integration tests for comment API (#2156) 7 years ago
Christian Weiske c4ccf16c43 Fix OpenID registration route (#2160)
Fixes #2101
7 years ago
Aaron Walker 6a3c03762a API: support '/orgs/:org/repos' (#2047)
* API: support '/orgs/:org/repos'
7 years ago