aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* db: fix update team panic (#6253)ᴜɴᴋɴᴡᴏɴ2020-08-16
| | | | | * db: fix update team panic * Update CHANGELOG
* README: update VPS sponsorᴜɴᴋɴᴡᴏɴ2020-08-16
|
* workflow: add shellcheck as a linter (#6202)Dre2020-07-17
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* lsif: fix upload to private instance (#6216)ᴜɴᴋɴᴡᴏɴ2020-06-30
|
* build(deps): bump github.com/json-iterator/go from 1.1.9 to 1.1.10 (#6199)dependabot-preview[bot]2020-06-13
| | | | | | | | | Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go) from 1.1.9 to 1.1.10. - [Release notes](https://github.com/json-iterator/go/releases) - [Commits](https://github.com/json-iterator/go/compare/v1.1.9...v1.1.10) 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 gopkg.in/macaron.v1 from 1.3.8 to 1.3.9 (#6200)dependabot-preview[bot]2020-06-13
| | | | | | | | | Bumps [gopkg.in/macaron.v1](https://github.com/go-macaron/macaron) from 1.3.8 to 1.3.9. - [Release notes](https://github.com/go-macaron/macaron/releases) - [Commits](https://github.com/go-macaron/macaron/compare/v1.3.8...v1.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 github.com/stretchr/testify from 1.6.0 to 1.6.1 (#6201)dependabot-preview[bot]2020-06-13
| | | | | | | | | Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.0 to 1.6.1. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Update Dockerfiles for ARM to use alpine golang (#6183)Baptiste Covolato2020-06-11
|
* Add CodeQL security scanning (#6188)Justin Hutchings2020-06-11
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* README: remove OpenShift link (#6194)ᴜɴᴋɴᴡᴏɴ2020-06-11
|
* locale: sync from Crowdin (#6191)ᴜɴᴋɴᴡᴏɴ2020-06-08
|
* build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (#6181)dependabot-preview[bot]2020-05-30
| | | | | | | | | Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.5.1...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>
* locale: sync from Crowdin (#6174)ᴜɴᴋɴᴡᴏɴ2020-05-24
|
* lsif: upload data to dogfood instance (#6171)ᴜɴᴋɴᴡᴏɴ2020-05-22
|
* lsif: don't upload indexes for forks (#6170)garo (they/them)2020-05-22
|
* docker: fix broken link in READMEᴜɴᴋɴᴡᴏɴ2020-05-20
| | | Fixes #6167
* build(deps): bump gopkg.in/ini.v1 from 1.55.0 to 1.56.0 (#6166)dependabot-preview[bot]2020-05-16
|
* docker: add scheduled backups with retention policy (#6140)Aleksandar Puharic2020-05-11
|
* lfs: add user and admin docs (#6158)ᴜɴᴋɴᴡᴏɴ2020-05-10
|
* locale: sync from Crowdin (#6156)ᴜɴᴋɴᴡᴏɴ2020-05-10
|
* build(deps): bump gopkg.in/macaron.v1 from 1.3.6 to 1.3.8 (#6153)dependabot-preview[bot]2020-05-09
|
* all: use semver to compare versions (#6147)ᴜɴᴋɴᴡᴏɴ2020-05-04
|
* db: use GORM to backup and restore non-legacy tables (#6142)ᴜɴᴋɴᴡᴏɴ2020-05-04
|
* Add security policyᴜɴᴋɴᴡᴏɴ2020-05-02
|
* build(deps): bump github.com/prometheus/client_golang from 1.5.1 to 1.6.0 ↵dependabot-preview[bot]2020-05-02
| | | | (#6144)
* build(deps): bump gopkg.in/macaron.v1 from 1.3.5 to 1.3.6 (#6143)dependabot-preview[bot]2020-05-02
|
* build(deps): bump github.com/editorconfig/editorconfig-core-go/v2 from 2.3.1 ↵dependabot-preview[bot]2020-04-25
| | | | to 2.3.2 (#6135)
* lfs: show configs in admin ui (#6128)ᴜɴᴋɴᴡᴏɴ2020-04-21
| | | | | | | * Rename template consts * Display new DB options * Display LFS configs
* Update CHANGELOG.mdᴜɴᴋɴᴡᴏɴ2020-04-19
|
* db: remove `db.User.LoginType` field (#6122)Kousik Mitra2020-04-19
|
* test: remove the use of goconvey (#6123)ᴜɴᴋɴᴡᴏɴ2020-04-19
|
* conf: fallback time layout to RFC 3339 when misconfigured (#6120)Kousik Mitra2020-04-18
| | | | | | | * Fix: fallback to default time format if misconfigured (#6098) * Update CHANGELOG.md Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* public: remove unused github.min.css (#6119)ᴜɴᴋɴᴡᴏɴ2020-04-18
|
* db: add tests for users (#6116)ᴜɴᴋɴᴡᴏɴ2020-04-18
| | | | | | | | | | | | | | | | | | | | | * Add new methods * Use Users.Create to replace previous hack * Reduce side effect * Do not clear tables when test failed * test_users_Authenticate * Rename constant * test_users_Create * test_users_GetByEmail * test_users_GetByID * test_users_GetByUsername
* db: add tests for repos (#6112)ᴜɴᴋɴᴡᴏɴ2020-04-17
| | | | | | | | | | | * Add Repos.create method * Fix repo name error handling * Fix all compile errors * Update github.com/go-macaron/captcha to fix http issue * Add repos tests
* docker: fix mkdir subdir in /data failed when no mount volume (#6107)eightpigs2020-04-15
|
* docker: fix the bug of using root to create /data/ directory (#6106)eightpigs2020-04-15
|
* docs: fix Go version (#6105)ᴜɴᴋɴᴡᴏɴ2020-04-15
| | | | | * docs: fix Go version * Update README.md
* Update CHANGELOG (#6103)ᴜɴᴋɴᴡᴏɴ2020-04-15
|
* api: add admin endpoint to get team members (#6101)Rui Santos2020-04-15
| | | fixes #5877
* db: add tests for `loginSourceFiles` (#6102)ᴜɴᴋɴᴡᴏɴ2020-04-15
|
* db: use GORM bulk insert helper (#6100)ᴜɴᴋɴᴡᴏɴ2020-04-14
| | | | | | | * Bulk insert permissions * Bulk insert recovery codes * Remove unnecessary import rename
* db: add tests for two factors (#6099)ᴜɴᴋɴᴡᴏɴ2020-04-14
| | | | | | | | | | | | | | | * Rename to TwoFactors.Create * Use GORM to execute queries * TwoFactor.GetByUserID * Add tests * Fix failing tests * Add MD5 tests * Add tests for RandomChars
* github: update bug report template (#6097)ᴜɴᴋɴᴡᴏɴ2020-04-13
|
* ssh: improve env command processing (#6095)wameidemao2020-04-12
| | | | | | | | | | | | | | | | | | | * modify ssh env command processing mode * Update internal/ssh/ssh.go Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> * Update internal/ssh/ssh.go Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> * Update internal/ssh/ssh.go Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> * Update ssh.go Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* ssh: ignore malformed "env" commands (#6094)ᴜɴᴋɴᴡᴏɴ2020-04-12
|
* db: only use `AutoMigrate` to create new tables (#6092)ᴜɴᴋɴᴡᴏɴ2020-04-11
| | | | | * Only use AutoMigrate to create new tables * Revert models.go
* login_source: migrate to GORM and add tests (#6090)ᴜɴᴋɴᴡᴏɴ2020-04-11
| | | | | | | | | | | | | | | | | | | | | * Use GORM in all write paths * Migrate to GORM * Fix lint errors * Use GORM to init table * dbutil: make writer detect error * Add more tests * Rename to clearTables * db: finish adding tests * osutil: add tests * Fix load source files path
* db: add tests for permissions (#6088)ᴜɴᴋɴᴡᴏɴ2020-04-11
| | | | | | | | | | | * Add flag to print SQLs * Add tests for perms * Make results stable * codecov: only show diff * Once again, stable find results
* db: add tests for LFS (#6087)ᴜɴᴋɴᴡᴏɴ2020-04-11
| | | | | | | | | * Improve DB test setup * Discard GORM logs in non-verbose mode * Add tests to lfs * Fix data race