Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
10 years ago
Peter Smit
aa68e86206
Rewrite/simplify gogs serve
10 years ago
Peter Smit
ed89b39984
Updating context and fixing permission issues
...
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
10 years ago
Peter Smit
f9454cc32c
Make sure that a mirror can't be written to by http or ssh
10 years ago
Unknwon
685ed1f807
models: fix XORM API break
...
cmd/web.go: check version after load config
10 years ago
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
10 years ago
Peter Smit
0a4cda0dd4
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Unknwon
7e7160eefd
first pass work on migration #925
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago
Peter Smit
b7e26aa5e3
Improve argument parsing for serve command
10 years ago
Unknwon
f15fa9167a
cmd: code fix for #905
...
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
10 years ago
Unknwon
2a2596fe61
able to disable SSH for #883
10 years ago
Peter Smit
4e79adf6b5
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
10 years ago
Unknwon
4dfffee9fb
cmd: update csrf version requirement
10 years ago
Unknwon
0a2068d7fb
models: code fix on #818
10 years ago
Unknwon
89ea3e1acc
routers: save partial config when install
10 years ago
Unknwon
b293b6eaa6
cmd: CMD option for port number of `gogs web` to prevent first time run conflict
...
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
10 years ago
Unknwon
7170011f4d
update with deps
10 years ago
Unknwon
13e35398aa
prepare for mirror update release
10 years ago
Unknwon
d5c6b53571
use new Redis client
10 years ago
Unknwon
f0ca16d78f
add cache version require
10 years ago
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago
Unknwon
0f1ff9b1ad
fix cache dep API broken
10 years ago
Unknwon
63c1f9a23f
fix 500: E-mail already used in user settings page
10 years ago
Unknwon
81a44e4cd0
fix API changes
10 years ago
Unknwon
97b39ae2e4
fix invite bug(shouldn't include full name to search box)
10 years ago
Unknwon
79537467da
mirror fix and update
10 years ago
Unknwon
b231b8c927
update locale and mirror code format
10 years ago
Peter
b033f2f535
Finish method for having multiple emails/user.
...
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
10 years ago
Unknwon
9803c421f5
fix binding api broken
10 years ago
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon
42c7bb7529
mirror code clean
10 years ago
Henry
4f4392b83e
increase minimum version vor HTTPS to TLS 1.0 (POODLE, fixes #730 )
10 years ago
Unknwon
bc8721fb6c
Finish new UI for release page
10 years ago
Unknwon
82da024a4d
fix #687
10 years ago
Will Glynn
3e528f34af
Cert command stub should return a non-zero exit code
10 years ago
Unknwon
d6132aaa88
fix oauth2
10 years ago
Unknwon
515641d033
fix #659
10 years ago
Unknwon
5b96e3fcc7
fix #660
10 years ago
fuxiaohei
79dae254cf
add milestone page design
10 years ago
chai2010
f9ad8d6903
Fix #656
10 years ago
Unknwon
ef275ebf62
more on change avatar
10 years ago
Unknwon
55dfe2c978
custom avatar upload
10 years ago
Unknwon
37d8d3afe9
more APIs on #12
10 years ago
fuxiaohei
d1a60e3643
add pull-request and labels page design
10 years ago
Unknwon
a0f9197b45
GetFile api
10 years ago
Kyle P Davis
47f37e55e9
use AppSubUrl as prefix for routes in FCGI mode
10 years ago
Unknwon
52d66ba6c8
#12 , use go-gogs-client
10 years ago
Unknwon
9dc3c93a6a
#12 , add/edit hook
10 years ago