Commit Graph

12 Commits (613139e7bef81d3573e7988a47eb6765f3de347a)

Author SHA1 Message Date
Unknwon 613139e7be
Enable Go modules (#5835)
* Remove vendor

* Enable Go modules

* ci: add command to fetch dependencies

* ci: update setting

* ci: update settings

* Require Go 1.11

* Rename module name to gogs.io/gogs
2019-10-23 23:03:17 -07:00
Unknwon 77275a9b31
models: rename Id to ID 2018-08-16 20:26:09 +08:00
Unknwon 53c8e4263b
models: skip JSON for fields skipped by XORM
Reduce output JSON size by backup command
2018-06-09 16:06:47 +08:00
Unknwon aff4208244
*: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
Unknwon 0e6a6bf880
Refactoring: remove sessionRelease()
XORM supports automatic roll back in session Close() already.
2017-06-11 03:06:36 -04:00
Unknwon ce6e8ed8fe
models: remove redundant tags for primary keys 2017-05-21 04:36:41 -04:00
Unknwon 0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist 2017-03-16 17:18:43 -04:00
Unknwon 05dbd3f7d7
refactoring: experimental with models/errors package 2017-03-12 00:47:34 -05:00
Unknwon 207960b459
Fix create user can use user email which is used (#4016) 2017-01-29 18:29:53 -05:00
leonklingele d96f2a7184 Fix random string generator (#3953)
* Remove unused custom-alphabet feature of random string generator

* Fix modulo-biased random string generator

* Random string generator should return error if it fails to read random data via crypto/rand
2016-12-21 03:41:37 -05:00
Unknwon 1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon 52322ef624 models/user_mail: refactor EmailAddress 2016-07-16 10:08:04 +08:00