ᴜɴᴋɴᴡᴏɴ
a961afe52b
db: fix update team panic ( #6253 )
...
* db: fix update team panic
* Update CHANGELOG
2020-08-16 21:31:08 +08:00
ᴜɴᴋɴᴡᴏɴ
f667d139bc
README: update VPS sponsor
2020-08-16 19:50:40 +08:00
Dre
90904b3f42
workflow: add shellcheck as a linter ( #6202 )
...
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-07-17 22:49:32 +08:00
ᴜɴᴋɴᴡᴏɴ
a7afa11610
lsif: fix upload to private instance ( #6216 )
2020-06-30 00:25:57 +08:00
dependabot-preview[bot]
2fe4d07599
build(deps): bump github.com/json-iterator/go from 1.1.9 to 1.1.10 ( #6199 )
...
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>
2020-06-13 13:39:31 +08:00
dependabot-preview[bot]
da4f5d79f5
build(deps): bump gopkg.in/macaron.v1 from 1.3.8 to 1.3.9 ( #6200 )
...
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>
2020-06-13 13:39:04 +08:00
dependabot-preview[bot]
2af4114d64
build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 ( #6201 )
...
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>
2020-06-13 13:38:49 +08:00
Baptiste Covolato
8366bd1cbe
Update Dockerfiles for ARM to use alpine golang ( #6183 )
2020-06-11 23:10:10 +08:00
Justin Hutchings
79d8aa0cb8
Add CodeQL security scanning ( #6188 )
...
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-06-11 23:02:57 +08:00
ᴜɴᴋɴᴡᴏɴ
e62bccde9e
README: remove OpenShift link ( #6194 )
2020-06-11 22:39:21 +08:00
ᴜɴᴋɴᴡᴏɴ
516c7ab505
locale: sync from Crowdin ( #6191 )
2020-06-08 11:08:27 +08:00
dependabot-preview[bot]
158dd33a25
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 ( #6181 )
...
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>
2020-05-30 01:22:21 +08:00
ᴜɴᴋɴᴡᴏɴ
7e99a6ce42
locale: sync from Crowdin ( #6174 )
2020-05-24 18:59:43 +08:00
ᴜɴᴋɴᴡᴏɴ
cb406bb350
lsif: upload data to dogfood instance ( #6171 )
2020-05-22 16:58:26 +08:00
garo (they/them)
9bbe029c28
lsif: don't upload indexes for forks ( #6170 )
2020-05-22 05:40:04 +08:00
ᴜɴᴋɴᴡᴏɴ
280b06485f
docker: fix broken link in README
...
Fixes #6167
2020-05-20 20:44:10 +08:00
dependabot-preview[bot]
50797d8fa1
build(deps): bump gopkg.in/ini.v1 from 1.55.0 to 1.56.0 ( #6166 )
2020-05-16 14:44:27 +08:00
Aleksandar Puharic
2003864615
docker: add scheduled backups with retention policy ( #6140 )
2020-05-11 11:55:21 +08:00
ᴜɴᴋɴᴡᴏɴ
1125bb5848
lfs: add user and admin docs ( #6158 )
2020-05-10 20:37:22 +08:00
ᴜɴᴋɴᴡᴏɴ
44ea9604ed
locale: sync from Crowdin ( #6156 )
2020-05-10 12:33:07 +08:00
dependabot-preview[bot]
d28101ee66
build(deps): bump gopkg.in/macaron.v1 from 1.3.6 to 1.3.8 ( #6153 )
2020-05-09 21:37:38 +08:00
ᴜɴᴋɴᴡᴏɴ
9fd4f5562d
all: use semver to compare versions ( #6147 )
2020-05-04 18:48:23 +08:00
ᴜɴᴋɴᴡᴏɴ
9bb218734c
db: use GORM to backup and restore non-legacy tables ( #6142 )
2020-05-04 16:25:57 +08:00
ᴜɴᴋɴᴡᴏɴ
82ffca3fc9
Add security policy
2020-05-02 17:15:55 +08:00
dependabot-preview[bot]
d9f8efa9c3
build(deps): bump github.com/prometheus/client_golang from 1.5.1 to 1.6.0 ( #6144 )
2020-05-02 16:48:16 +08:00
dependabot-preview[bot]
f26eb2a192
build(deps): bump gopkg.in/macaron.v1 from 1.3.5 to 1.3.6 ( #6143 )
2020-05-02 16:47:36 +08:00
dependabot-preview[bot]
dbe373af6f
build(deps): bump github.com/editorconfig/editorconfig-core-go/v2 from 2.3.1 to 2.3.2 ( #6135 )
2020-04-25 09:57:13 +08:00
ᴜɴᴋɴᴡᴏɴ
4e1f38ce28
lfs: show configs in admin ui ( #6128 )
...
* Rename template consts
* Display new DB options
* Display LFS configs
2020-04-21 18:07:17 +08:00
ᴜɴᴋɴᴡᴏɴ
60273d3d6d
Update CHANGELOG.md
2020-04-19 19:25:21 +08:00
Kousik Mitra
5a52ee75e3
db: remove `db.User.LoginType` field ( #6122 )
2020-04-19 04:32:53 +08:00
ᴜɴᴋɴᴡᴏɴ
c0fd6042fd
test: remove the use of goconvey ( #6123 )
2020-04-19 04:24:08 +08:00
Kousik Mitra
fc57c921b1
conf: fallback time layout to RFC 3339 when misconfigured ( #6120 )
...
* Fix: fallback to default time format if misconfigured (#6098 )
* Update CHANGELOG.md
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-04-18 15:19:29 +08:00
ᴜɴᴋɴᴡᴏɴ
7b295378e4
public: remove unused github.min.css ( #6119 )
2020-04-18 12:29:11 +08:00
ᴜɴᴋɴᴡᴏɴ
9d64d222a8
db: add tests for users ( #6116 )
...
* 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
2020-04-18 12:07:30 +08:00
ᴜɴᴋɴᴡᴏɴ
fa497b1633
db: add tests for repos ( #6112 )
...
* 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
2020-04-17 10:14:18 +08:00
eightpigs
e131a45646
docker: fix mkdir subdir in /data failed when no mount volume ( #6107 )
2020-04-15 22:32:47 +08:00
eightpigs
28d74a9844
docker: fix the bug of using root to create /data/ directory ( #6106 )
2020-04-15 19:42:32 +08:00
ᴜɴᴋɴᴡᴏɴ
5637706e46
docs: fix Go version ( #6105 )
...
* docs: fix Go version
* Update README.md
2020-04-15 12:06:45 +08:00
ᴜɴᴋɴᴡᴏɴ
614aba6007
Update CHANGELOG ( #6103 )
2020-04-15 06:03:41 +08:00
Rui Santos
440b1ecbfd
api: add admin endpoint to get team members ( #6101 )
...
fixes #5877
2020-04-15 06:00:44 +08:00
ᴜɴᴋɴᴡᴏɴ
cdafe21661
db: add tests for `loginSourceFiles` ( #6102 )
2020-04-15 05:52:30 +08:00
ᴜɴᴋɴᴡᴏɴ
844d2f49ce
db: use GORM bulk insert helper ( #6100 )
...
* Bulk insert permissions
* Bulk insert recovery codes
* Remove unnecessary import rename
2020-04-14 10:03:30 +08:00
ᴜɴᴋɴᴡᴏɴ
cb439a126a
db: add tests for two factors ( #6099 )
...
* Rename to TwoFactors.Create
* Use GORM to execute queries
* TwoFactor.GetByUserID
* Add tests
* Fix failing tests
* Add MD5 tests
* Add tests for RandomChars
2020-04-14 09:41:54 +08:00
ᴜɴᴋɴᴡᴏɴ
659acd48b1
github: update bug report template ( #6097 )
2020-04-13 22:34:35 +08:00
wameidemao
d19287d5b7
ssh: improve env command processing ( #6095 )
...
* 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>
2020-04-12 12:18:43 +08:00
ᴜɴᴋɴᴡᴏɴ
26a2d0b2a1
ssh: ignore malformed "env" commands ( #6094 )
2020-04-12 09:18:58 +08:00
ᴜɴᴋɴᴡᴏɴ
ae107b2e6e
db: only use `AutoMigrate` to create new tables ( #6092 )
...
* Only use AutoMigrate to create new tables
* Revert models.go
2020-04-11 23:45:06 +08:00
ᴜɴᴋɴᴡᴏɴ
41f56ad05d
login_source: migrate to GORM and add tests ( #6090 )
...
* 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
2020-04-11 20:18:05 +08:00
ᴜɴᴋɴᴡᴏɴ
76bb647d24
db: add tests for permissions ( #6088 )
...
* Add flag to print SQLs
* Add tests for perms
* Make results stable
* codecov: only show diff
* Once again, stable find results
2020-04-11 05:39:45 +08:00
ᴜɴᴋɴᴡᴏɴ
e077ecdd9d
db: add tests for LFS ( #6087 )
...
* Improve DB test setup
* Discard GORM logs in non-verbose mode
* Add tests to lfs
* Fix data race
2020-04-11 02:56:37 +08:00