zeripath
c84174b764
Use AppSubUrl for more redirections ( #8647 )
...
Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template
Fixes /explore and organisation redirection
5 years ago
Tamal Saha
171b359877
Use gitea forked macaron ( #7933 )
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
5 years ago
Morgan Bazalgette
65861900cd
Handle refactor ( #3339 )
...
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Ethan Koenig
515cdaa85d
Fix ignored errors when checking if organization, team member ( #3177 )
7 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
a562228c5e
Add org.getUserTeams to reduce redundant code
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
db4da7beec
Add APIContext
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
eed9966ad6
#2727 fix incompatible SQL in PostgreSQL
9 years ago
Unknwon
ddf9fa06c7
Minor fix for #2530
9 years ago
Florian Kaiser
9cf95e4e37
Organization owners see all repositories & teams
9 years ago
Florian Kaiser
8c4588c4c9
Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Adam Strzelecki
e57b2dffa4
Admin should be able to see all organizations
...
This is follow-up for 56c66ee486
allowing admin
to see private repositories, even when not being member of them.
9 years ago
Unknwon
3ca544912f
#1944 Drop /org/ URL path prefix in organization home page
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
10 years ago
Unknwon
6f8e388b55
fix #1169
...
- prevent create reop on existed path
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
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
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
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon
7ba9257a7f
Add suburl support
10 years ago
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
10 years ago
Unknwon
9baf2b38d0
Bug fix on organization
10 years ago
Unknwon
21a1b8e5a3
Finish new edit team page, add member to team
10 years ago
Unknwon
bba707de36
Finish team list, create new team, join/leave team page
11 years ago
Unknwon
36b4c57ff1
Finish new organization members and invitation page
11 years ago
Unknwon
5acc948562
Page: `/org/:orgname/settings`
11 years ago