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
a04de87584
models/token: generate bindata and simplify code ( #5820 )
2019-10-15 14:36:52 -07:00
Frode Aannevik
ffbb0f6a60
token: disallow multiple tokens with same name ( #5820 )
...
* api/v1: don't allow multiple tokens with same name
Fail with 422 Unprocessable Entity if the token name
already exist
ref: https://github.com/gogs/gogs/issues/5587
* Move new token error type to models/errors/token
* Remove "useless" ListAccessTokensByName function
* Add an i18n entry for token_name_exists
2019-10-15 14:09:47 -07: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
ce6e8ed8fe
models: remove redundant tags for primary keys
2017-05-21 04:36:41 -04:00
Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
2017-04-06 17:13:53 -04:00
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
2017-04-05 09:05:40 -04:00
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
2017-04-04 19:29:59 -04:00
Unknwon
03f7f3ee67
Some code renaming
2016-12-22 19:58:30 -05:00
Unknwon
7ebe0a9916
Fix vulnerabilities reported in #3959
2016-12-22 19:19:56 -05:00
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
2016-07-23 20:24:44 +08:00
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
2016-06-27 17:02:39 +08:00
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
2016-03-09 19:53:30 -05:00
Unknwon
ac78bae7b5
Replace uuid module with original package
2016-02-20 18:13:12 -05:00
zhuharev
0d5dc8a064
typo fix
2016-01-06 22:41:42 +03:00
Unknwon
52ec80fa18
finish all new user settings UI
2015-09-10 11:40:34 -04:00
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
2015-09-02 02:40:15 -04:00
Unknwon
03b85b73af
token recent activity
2015-08-19 06:22:33 +08:00
Unknwon
4c7b6414eb
new access token UI
2015-08-19 03:36:16 +08:00
Unknwon
407385db7e
work on #1493
2015-08-17 17:05:37 +08:00
Unknwon
ba77a3b0b4
routers/repo/http.go: allow HTTP push/pull by token for #845
2015-02-07 15:47:23 -05:00
Christopher Brickley
d0827e5d5e
allow http push by token - #842
2015-01-08 09:30:22 -05:00
Unknwon
8c9338a537
add personal access token panel #12
2014-11-12 06:48:50 -05:00