无闻
3c75627663
Merge pull request #963 from phsmit/goget
Remove GoGet option from repository and handle it with ?go-get=1 instead
10 years ago
Peter Smit
2bb8323ab5
Remove GoGet option from repository and handle it with ?go-get=1 instead
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
10 years ago
Peter Smit
c3076b44c4
Rewrite/simplify gogs serve
10 years ago
Peter Smit
327d3cd26f
Remove the "PHP" style formatting function
The "PHP" formatting function doesn't add anything, except an undocumented date format.
All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
10 years ago
Peter Smit
0d601634fb
Remove collaborators when removing and transferring repository
10 years ago
Peter Smit
893cda904a
Fix that owners also see actions on their repositories
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.
It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
10 years ago
Peter Smit
16bfbe24e7
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
21da931939
Make sure that a mirror can't be written to by http or ssh
10 years ago
Unknwon
063eb88384
update travis.yml
10 years ago
Unknwon
32ff782d64
modules/setting: add abs path check before add workdir prefix
10 years ago
无闻
8eb5243aee
Merge pull request #956 from bpollack/docfix
Fix a bunch of small typos and formatting quirks
10 years ago
Unknwon
8414dd270e
models: fix XORM API break
cmd/web.go: check version after load config
10 years ago
Benjamin Pollack
dbe4cd4b93
Fix a bunch of small typos and formatting quirks
10 years ago
Unknwon
b1281b34af
routers/install.go: able to keep previous custom settings for 2nd time install
- .gopmfile: update all commits
10 years ago
无闻
f4dcadb5f1
Merge pull request #951 from phsmit/fix_team_update
Fix access for team mode update
10 years ago
Peter Smit
234fba2c09
Fix access for team mode update
10 years ago
Unknwon
9d3aebbf52
conf/locale: update all locales
10 years ago
无闻
cdd4f7aee6
Merge pull request #949 from phsmit/different_access_migration
Rewrite of access migration
10 years ago
Peter Smit
7c22ddf98d
Rewrite of access migration
The old migration had a few issues:
- It left old column names around
- It did not give the right access levels for owners and admins
Also, this includes a migration that fixes the authorization of owner teams, which was previously ORG_ADMIN (instead of ORG_OWNER)
10 years ago
Dmitry Azhichakov
e93acac956
Make conf/app.ini changes match the style
10 years ago
Unknwon
cfe7f5e13d
some fixes, but not done yet!
10 years ago
Dmitry Azhichakov
e105193e74
Fix "forcing" client certificate for SMTP
10 years ago
Unknwon
16a8a4a4f7
fix mirror issues uncaught #941
10 years ago
Unknwon
7ae5b92db8
code fix #941 caution: undertest
10 years ago
Unknwon
38d3262e48
models/migrations: finish accessRefactor
10 years ago
无闻
4a6c7e10f2
Merge pull request #941 from phsmit/access_refactor
Access refactor
10 years ago
Unknwon
ee13766710
models/migrations: fix little logic error
10 years ago
无闻
275c492f54
Merge pull request #940 from phsmit/migration_update
Some comments and improvements for migrations
10 years ago
Unknwon
eb69b6532c
templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884
10 years ago
Dmitry Azhichakov
0c2fbf5706
New feature: SMTP connection may use client certificate.
New config keys in [mailer] section:
- CERT_FILE: path to a certificate file.
- KEY_FILE: path to a key file.
10 years ago
Peter Smit
71ea4a71bd
Merge remote-tracking branch 'mine/access_refactor' into access_refactor
Conflicts:
cmd/serve.go
models/access.go
models/migrations/migrations.go
models/org.go
models/repo.go
models/user.go
modules/middleware/org.go
modules/middleware/repo.go
routers/api/v1/repo.go
routers/org/teams.go
routers/repo/http.go
routers/user/home.go
10 years ago
Peter Smit
81083a9415
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
fda8920ff0
Some comments and improvements for migrations
10 years ago
Unknwon
bd119381ba
models/migartions: make Migration as interface and use session
10 years ago
Unknwon
4f24a5ef7d
first pass work on migration #925
10 years ago
Unknwon
9aeb3d3eed
Merge branch 'dev' of github.com:gogits/gogs into access
10 years ago
Unknwon
387df60344
Merge branch 'access' of github.com:gogits/gogs into access
10 years ago
无闻
4d31520521
Merge pull request #925 from phsmit/newcollaboration
Collaboration
10 years ago
无闻
d637005e80
Merge pull request #937 from Stefan-Code/dev
Changes to repo-header-download-drop
10 years ago
Unknwon
07795ce5be
better naming on #891
10 years ago
Stefan-Code
ff7b586ccc
Changes to repo-header-download-drop, different repo-clone-url input behaviour
10 years ago
Unknwon
f771ec8c6c
models: make code change for session issue with SQLite3 #739
10 years ago
Unknwon
a44d97e0fd
modules/middleware/auth.go: remove uncheck login for watch a repo #929
10 years ago
Unknwon
a8ac54ff07
able to allow insecure certification of webhook for #891
10 years ago
Unknwon
51ccc961d0
update gopmfile and README
10 years ago
Unknwon
85067b08a4
models/repo.go: add update hook when migrate for #789
10 years ago
Unknwon
7207a3194d
templates/ng/base: change year to 2015, fix #928
- conf/locale: update Japanese locale
10 years ago
无闻
0e2a17c9bf
Merge pull request #924 from phsmit/fix_921
Fixes #921
10 years ago
无闻
f0eab00495
Merge pull request #923 from phsmit/fix_922
Fix #922
10 years ago
Peter Smit
5af7b2864c
Change constants to UPPERCASE_WITH_UNDERSCORE style
10 years ago