7753 Commits (f9d6e35a8ad0a3bbf1a9f9732f192a3588f95c3b)
 

Author SHA1 Message Date
Xaver Maierhofer 597ac064c3 Style orgs list in user profile (#6911) 5 years ago
Xaver Maierhofer 06ae9a3a96 Use single line per selector & don't strip license comments (#6919) 5 years ago
GiteaBot 5df5bfbd13 [skip ci] Updated translations via Crowdin 5 years ago
Tamal Saha 34d06f4c6b Handle CORS requests (#6289) 5 years ago
Xaver Maierhofer 6fb58a8cdc Clean less files (#6921) 5 years ago
Mura Li 0b785481d7 Use modules/git for git commands (#6775) 5 years ago
techknowlogick 5ffc9656c6
Change drone token name to let users know to use oauth2 (#6912) 5 years ago
GiteaBot 3d82367bdc [skip ci] Updated translations via Crowdin 5 years ago
Xaver Maierhofer a92ab34493 Fix input size for dependency select (#6913) 5 years ago
iliyan ivanov 13583a650f fix syntax highlight in blame view #6895 (#6909) 5 years ago
zeripath ce8de35334 Remove local clones & make hooks run on merge/edit/upload (#6672)
* Add options to git.Clone to make it more capable

* Begin the process of removing the local copy and tidy up

* Remove Wiki LocalCopy Checkouts

* Remove the last LocalRepo helpers

* Remove WithTemporaryFile

* Enable push-hooks for these routes

* Ensure tests cope with hooks

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Remove Repository.LocalCopyPath()

* Move temporary repo to use the standard temporary path

* Fix the tests

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Remove LocalWikiPath

* Fix missing remove

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Use AppURL for Oauth user link (#6894)

* Use AppURL for Oauth user link

Fix #6843

* Update oauth.go

* Update oauth.go

* internal/ssh: ignore env command totally (#6825)

* ssh: ignore env command totally

* Remove commented code 

Needed fix described in issue #6889

* Escape the commit message on issues update and title in telegram hook (#6901)

* update sdk to latest (#6903)

* improve description of branch protection (fix #6886) (#6906)

The branch protection description text were not quite accurate.

* Fix logging documentation (#6904)

* ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG

* Allow DISABLE_ROUTER_LOG to be set in the [log] section

* [skip ci] Updated translations via Crowdin

* Move sdk structs to modules/structs (#6905)

* move sdk structs to moduels/structs

* fix tests

* fix fmt

* fix swagger

* fix vendor
5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905)
* move sdk structs to moduels/structs

* fix tests

* fix fmt

* fix swagger

* fix vendor
5 years ago
GiteaBot 1658cd04e9 [skip ci] Updated translations via Crowdin 5 years ago
zeripath e3166744fe
Fix logging documentation (#6904)
* ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG

* Allow DISABLE_ROUTER_LOG to be set in the [log] section
5 years ago
Jannik Beyerstedt f378cb572a improve description of branch protection (fix #6886) (#6906)
The branch protection description text were not quite accurate.
5 years ago
techknowlogick 1dc401635b
update sdk to latest (#6903) 5 years ago
zeripath d64a646c0a Escape the commit message on issues update and title in telegram hook (#6901) 5 years ago
Antoine GIRARD 10ff527fae internal/ssh: ignore env command totally (#6825)
* ssh: ignore env command totally

* Remove commented code 

Needed fix described in issue #6889
5 years ago
techknowlogick 2f21bc33a5 Use AppURL for Oauth user link (#6894)
* Use AppURL for Oauth user link

Fix #6843

* Update oauth.go

* Update oauth.go
5 years ago
Richard Mahn 6db3dc7c02 Fixes #6881 - API users search fix (#6882) 5 years ago
John Olheiser d8b2ed6627 1.8.1 changelog (#6877) (#6878)
* New and improved

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add backport/original PR numbers
Change wording for 500 error

Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
Wim 4508380cf7 Show full name if DefaultShowFullName setting activated (#6710)
Adds a new key DEFAULT_SHOW_FULL_NAME (default false) to the [ui] section.
If enabled the full name will be shown (unless it's empty, then
the default username will be used)
5 years ago
GiteaBot a84f10ad1a [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao 13cd28602e Change the color of issues/pulls list, merged is purple and closed is red (#6874) 5 years ago
techknowlogick 36bde02841
Add documentation for OTP/2FA header in API for basic auth (#6872) 5 years ago
GiteaBot 91c2c237f9 [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao 9f18b23129 Fix 404 when send pull request some situation (#6871) 5 years ago
GiteaBot 9139f35ff6 [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao 08069dc465
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290)
* add migrations

* fix package dependency

* fix lints

* implements migrations except pull requests

* add releases

* migrating releases

* fix bug

* fix lint

* fix migrate releases

* fix tests

* add rollback

* pull request migtations

* fix import

* fix go module vendor

* add tests for upload to gitea

* more migrate options

* fix swagger-check

* fix misspell

* add options on migration UI

* fix log error

* improve UI options on migrating

* add support for username password when migrating from github

* fix tests

* remove comments and fix migrate limitation

* improve error handles

* migrate API will also support migrate milestones/labels/issues/pulls/releases

* fix tests and remove unused codes

* add DownloaderFactory and docs about how to create a new Downloader

* fix misspell

* fix migration docs

* Add hints about migrate options on migration page

* fix tests
5 years ago
GiteaBot 1c7c739eb9 [skip ci] Updated translations via Crowdin 5 years ago
Antoine GIRARD 650df0bd4e Enforce osusergo build tag for releases (#6862) 5 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
5 years ago
Lunny Xiao 01ebd52a1f fix config ui error about cache ttl (#6861) 5 years ago
GiteaBot 5d5eae6aea [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao 2382f1b057
fix 500 when reviewer is deleted with integration tests (#6856) 5 years ago
Jakob Ackermann dab38c375d [docker] drop the docker Makefile from the image (#6507) 5 years ago
zeripath 0081cd8dfe Add mssql migration tests (#6852) 5 years ago
GiteaBot 722a2bd7ec [skip ci] Updated translations via Crowdin 5 years ago
mrsdizzie 00b883880d Don't post process commit summary in templates (#6842)
* Don't post process commit summary in templates

Don't run summary through render/post process to avoid it generating
links and breaking certain views where the summary is already expected
to be a link to the commit. For consistancy, disable processing of
summary in all locations.

Fixes #6809

* Do process title on diff page

On second thought, the title is often the only place a pull request
number will exists so do process it on the individual diff page. This
fixes the list view and still gives easy access to the PR link
5 years ago
GiteaBot 9148e45ed7 [skip ci] Updated translations via Crowdin 5 years ago
zeripath d1a32fa108 Attempt to fix #6707 (#6823) 5 years ago
Simon a2a006a5d5 Add GET requests to webhook (#6771)
* Add GET requests to webhook

* make fmt

* Handle invalid http method on webhook

* Uppercase http method in webhook

* Rename v85.go to v86.go

* make fmt
5 years ago
Mario Lubenka 55a8e12d85 Number of commits ahead/behind in branch overview (#6695)
* Call Git API to determine divergence of a branch and its base branch

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show commit divergance in branch list

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds test for diverging commits

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Try comparing commits instead of branches

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes test as CI can't run it

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts signature of percentage function to allow providing multiple integers as numerator

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves CountDivergingCommits function into repofiles module

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
5 years ago
GiteaBot c1da790cee [skip ci] Updated translations via Crowdin 5 years ago
zeripath 07bcccf9ce
Fix v85.go: Set UNIQUE constraint later (#6851)
Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years ago
Songlin Yang d27bf72530 docs(*): fix codecov bad links in README_ZH (#6850) 5 years ago
ngourdon 7806deab96 add french specific rule for translating plural texts (#6846) 5 years ago
Lanre Adelowo e0dde8173f Generate access token in admin cli (#6847)
* add cli flag for access token while creating a user
5 years ago
Lauris BH 410301f0ee
Improve localization of git activity stats (#6848) 5 years ago
techknowlogick 46373e7657
Hash App token (#6724) 5 years ago