aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* chore: fix lint errors (#6620)Joe Chen2021-09-24
|
* api: add `GET /api/v1/{owner}/{repo}/commits` endpoint (#6574)Jordan Levin2021-09-24
| | | | | | | | | This pull request targets issue #6573. It provides a new API endpoint: `/api/v1/repos/{org}/{repo}/commits?pageSize=<int>` with a default page size of 30 commits (the same as the UI). This implementation currently only focuses on the main/master branch of the repository, and does not provide the ability to return commit history for other branches. - Note: Since the logic for converting a git.Commit to api.Commit had to be used in `GetAllCommits` and `GetSingleCommit`, I decided to pull the code out into a helper function, ` gitCommitToAPICommit(commit, context)`.
* build(deps): bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.5 (#6613)dependabot[bot]2021-09-04
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ci: update GitHub Actions (#6612)ᴜɴᴋɴᴡᴏɴ2021-09-04
|
* dep: update golang.org/x/sys (#6611)ᴜɴᴋɴᴡᴏɴ2021-09-04
|
* docker: add Healthcheck support (#6522)Cuban Pete2021-09-04
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <jc@unknwon.io>
* docker: update default port to be exposed on the host (#6597)DoMeLe2021-08-30
|
* web: correctly handle go-get pages for repository roots (#6598)James-REANNZ2021-08-26
| | | Fixes regression in go-get handling introduced in #6318.
* locale: sync from Crowdin (#6602)ᴜɴᴋɴᴡᴏɴ2021-08-08
|
* public/js: upgrade jQuery to 3.6.0 (#6550)Kevin2021-05-19
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* chore: go mod tidy (#6564)ᴜɴᴋɴᴡᴏɴ2021-05-19
|
* build(deps): bump github.com/editorconfig/editorconfig-core-go/v2 from 2.3.9 ↵dependabot-preview[bot]2021-05-19
| | | | | | | | | | | | to 2.4.1 (#6509) Bumps [github.com/editorconfig/editorconfig-core-go/v2](https://github.com/editorconfig/editorconfig-core-go) from 2.3.9 to 2.4.1. - [Release notes](https://github.com/editorconfig/editorconfig-core-go/releases) - [Changelog](https://github.com/editorconfig/editorconfig-core-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/editorconfig/editorconfig-core-go/compare/v2.3.9...v2.4.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#6473)dependabot-preview[bot]2021-05-19
| | | | | | | | | Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump github.com/prometheus/client_golang from 1.8.0 to 1.9.0 ↵dependabot-preview[bot]2021-05-19
| | | | | | | | | | | | (#6454) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.8.0...v1.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* chore: fix linguist-vendored with double asterisks (#6563)ᴜɴᴋɴᴡᴏɴ2021-05-19
|
* templates: add `it-IT` version of home page (#6558)Massimiliano Losego2021-05-19
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* ci: use new lint action and add custom config (#6562)ᴜɴᴋɴᴡᴏɴ2021-05-19
|
* docker: reduce additional image layer for the not executable gosu binary (#6557)Peter Dave Hello2021-05-19
| | | This will help reduce the image size and image layers.
* chore: fix typos in code comments (#6556)Atin2021-05-19
|
* locale: sync from Crowdin (#6510)ᴜɴᴋɴᴡᴏɴ2021-02-27
| | | | | * locale: sync from Crowdin * Fix tests
* locale: sync from Crowdin (#6449)ᴜɴᴋɴᴡᴏɴ2020-12-13
|
* build(deps): bump github.com/go-macaron/i18n from 0.5.0 to 0.6.0 (#6440)dependabot-preview[bot]2020-12-06
| | | | | | | | | Bumps [github.com/go-macaron/i18n](https://github.com/go-macaron/i18n) from 0.5.0 to 0.6.0. - [Release notes](https://github.com/go-macaron/i18n/releases) - [Commits](https://github.com/go-macaron/i18n/compare/v0.5.0...v0.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump github.com/editorconfig/editorconfig-core-go/v2 from 2.3.7 ↵dependabot-preview[bot]2020-12-06
| | | | | | | | | | | | to 2.3.9 (#6441) Bumps [github.com/editorconfig/editorconfig-core-go/v2](https://github.com/editorconfig/editorconfig-core-go) from 2.3.7 to 2.3.9. - [Release notes](https://github.com/editorconfig/editorconfig-core-go/releases) - [Changelog](https://github.com/editorconfig/editorconfig-core-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/editorconfig/editorconfig-core-go/compare/v2.3.7...v2.3.9) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump gorm.io/gorm from 1.20.7 to 1.20.8 (#6442)dependabot-preview[bot]2020-12-06
| | | | | | | | | Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.20.7 to 1.20.8. - [Release notes](https://github.com/go-gorm/gorm/releases) - [Commits](https://github.com/go-gorm/gorm/compare/v1.20.7...v1.20.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* CHANGELOG: make entries more informational (#6445)ᴜɴᴋɴᴡᴏɴ2020-12-06
|
* README: add a new RPI Zero W tutorial (#6443)peppe8o2020-12-06
| | | Updated tutorial section adding peppe8o.com tutorial to install Gogs on a cheap Raspberry PI Zero W with MariaDB database.
* db: simplify GORM logger init in tests (#6444)ᴜɴᴋɴᴡᴏɴ2020-12-06
|
* ssh: allow setting allowed MAC algorithms for built-in server (#6435)Eduardo Bacchi Kienetz2020-12-04
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* build(deps): bump gorm.io/driver/sqlite from 1.1.3 to 1.1.4 (#6432)dependabot-preview[bot]2020-11-28
| | | | | | | | | Bumps [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite) from 1.1.3 to 1.1.4. - [Release notes](https://github.com/go-gorm/sqlite/releases) - [Commits](https://github.com/go-gorm/sqlite/compare/v1.1.3...v1.1.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump gorm.io/gorm from 1.20.6 to 1.20.7 (#6425)dependabot-preview[bot]2020-11-28
| | | | | | | | | | | | | | * build(deps): bump gorm.io/gorm from 1.20.6 to 1.20.7 Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.20.6 to 1.20.7. - [Release notes](https://github.com/go-gorm/gorm/releases) - [Commits](https://github.com/go-gorm/gorm/compare/v1.20.6...v1.20.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Fix compile error Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* build(deps): bump github.com/russross/blackfriday from 1.5.2 to 1.6.0 (#6429)dependabot-preview[bot]2020-11-28
| | | | | | | | | Bumps [github.com/russross/blackfriday](https://github.com/russross/blackfriday) from 1.5.2 to 1.6.0. - [Release notes](https://github.com/russross/blackfriday/releases) - [Commits](https://github.com/russross/blackfriday/compare/v1.5.2...v1.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump github.com/Masterminds/semver/v3 from 3.1.0 to 3.1.1 (#6431)dependabot-preview[bot]2020-11-28
| | | | | | | | | | Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/Masterminds/semver/releases) - [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md) - [Commits](https://github.com/Masterminds/semver/compare/v3.1.0...v3.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* repo: disallow urlencoded new lines in git protocol paths (#6420)stypr2020-11-27
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* templates: fix typo of BranchCount (#6370)weibaohui2020-11-24
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* scripts: fix MySQL script for MariaDB >= 10.3.1 (#6424)MichaIng2020-11-24
| | | | | | | | | | | | | | innodb_file_format and innodb_large_prefix have been deprecated with MariaDB v10.2 and removed with v10.3.1. They have been reintroduced with v10.4.3 but remain deprecated and unused: - https://mariadb.com/kb/en/innodb-system-variables/#innodb_file_format - https://mariadb.com/kb/en/innodb-system-variables/#innodb_large_prefix Setting those variables on MariaDB >=10.3.1 leads to the following error: "ERROR 1238 (HY000) at line 7: Variable 'innodb_file_format' is a read only variable" Since semantic versioning patch versions cannot be compared via numeric operators, only the major + minor versions are compared against 10.3. Since v10.2.2 the defaults match the desired values, so there is only the single patch version 10.3.0 where, when explicitly set differently via MariaDB configs, this commit could lead to an unwanted database format. In favour of a simple SQL change, this case is ignored. This commit additionally removes trailing spaces and the doubled trailing empty line. Signed-off-by: MichaIng <micha@dietpi.com>
* locale: sync from Crowdin (#6419)ᴜɴᴋɴᴡᴏɴ2020-11-15
|
* build(deps): bump gopkg.in/macaron.v1 from 1.3.9 to 1.4.0 (#6416)dependabot-preview[bot]2020-11-15
| | | | | | | | | Bumps [gopkg.in/macaron.v1](https://github.com/go-macaron/macaron) from 1.3.9 to 1.4.0. - [Release notes](https://github.com/go-macaron/macaron/releases) - [Commits](https://github.com/go-macaron/macaron/compare/v1.3.9...v1.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump gorm.io/gorm from 1.20.5 to 1.20.6 (#6417)dependabot-preview[bot]2020-11-15
| | | | | | | | | Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.20.5 to 1.20.6. - [Release notes](https://github.com/go-gorm/gorm/releases) - [Commits](https://github.com/go-gorm/gorm/compare/v1.20.5...v1.20.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* context: add X-Frame-Options header (#6411)Matheus Mosca2020-11-11
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* build(deps): bump github.com/urfave/cli from 1.22.4 to 1.22.5 (#6410)dependabot-preview[bot]2020-11-09
| | | | | | | | | | Bumps [github.com/urfave/cli](https://github.com/urfave/cli) from 1.22.4 to 1.22.5. - [Release notes](https://github.com/urfave/cli/releases) - [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/urfave/cli/compare/v1.22.4...v1.22.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump golang.org/x/text from 0.3.3 to 0.3.4 (#6403)dependabot-preview[bot]2020-11-04
| | | | | | | | | Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.3 to 0.3.4. - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.3.3...v0.3.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* locale: sync from Crowdin (#6404)ᴜɴᴋɴᴡᴏɴ2020-10-31
|
* Update CHANGELOG.md (#6389)Rubén de Celis Hernández2020-10-26
|
* build(deps): bump gorm.io/driver/mysql from 1.0.2 to 1.0.3 (#6397)dependabot-preview[bot]2020-10-25
| | | | | | | | | Bumps [gorm.io/driver/mysql](https://github.com/go-gorm/mysql) from 1.0.2 to 1.0.3. - [Release notes](https://github.com/go-gorm/mysql/releases) - [Commits](https://github.com/go-gorm/mysql/compare/v1.0.2...v1.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump gorm.io/driver/sqlserver from 1.0.4 to 1.0.5 (#6395)dependabot-preview[bot]2020-10-25
| | | | | | | | | Bumps [gorm.io/driver/sqlserver](https://github.com/go-gorm/sqlserver) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/go-gorm/sqlserver/releases) - [Commits](https://github.com/go-gorm/sqlserver/compare/v1.0.4...v1.0.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump gorm.io/driver/postgres from 1.0.2 to 1.0.5 (#6400)dependabot-preview[bot]2020-10-25
| | | Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump github.com/prometheus/client_golang from 1.6.0 to 1.8.0 ↵dependabot-preview[bot]2020-10-25
| | | | | | | | | | | | (#6394) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.6.0 to 1.8.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.6.0...v1.8.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump github.com/gogs/git-module from 1.1.3 to 1.1.4 (#6398)dependabot-preview[bot]2020-10-25
| | | | | | | | | Bumps [github.com/gogs/git-module](https://github.com/gogs/git-module) from 1.1.3 to 1.1.4. - [Release notes](https://github.com/gogs/git-module/releases) - [Commits](https://github.com/gogs/git-module/compare/v1.1.3...v1.1.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* build(deps): bump gorm.io/gorm from 1.20.2 to 1.20.5 (#6399)dependabot-preview[bot]2020-10-25
| | | Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* locale: sync from Crowdin (#6383)ᴜɴᴋɴᴡᴏɴ2020-10-11
|