Unknwon
872cb8bb62
api: fix panic if anonymous user request admin API
Add sign in check before check user account level
9 years ago
Unknwon
41c8e6c524
#3076 detect invalid tag name git error
9 years ago
lstahlman
b47159c4a4
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
9 years ago
Unknwon
e5eff96d17
Update locales and .gopmfile
9 years ago
Unknwon
9bdf738b7e
models/webhook: restrict deletion to be explicitly with repo and org ID
9 years ago
Dennis Chen
561a7f55e4
api: delete repository webhooks ( #3275 )
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.
Solves drone/drone issue #1603 .
Signed-off-by: Dennis Chen <barracks510@gmail.com>
9 years ago
Unknwon
607de5e909
#2937 able to prohibit user login
9 years ago
Unknwon
cb5bfbcc5f
#3274 fix can't get webhook detail of organization
9 years ago
Unknwon
7b4e810eb5
#2854 fix no mail notification when issue is closed/reopened
9 years ago
Unknwon
bc2448daaa
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
9 years ago
lstahlman
ccdc54584e
Add timestamps to repository api response ( #3255 )
Additional properties: created_at, updated_at
9 years ago
Kim Carlbäcker
a60155f637
[Fix] Don't display way too large files #1513 ( #3253 )
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
9 years ago
lstahlman
ab5f52860a
Extend the API to include more repository properties ( #3249 )
Adds description, stars_count, forks_count, watchers_count and
open_issues_count.
9 years ago
Pablo Saavedra
5a99c23938
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
9 years ago
Unknwon
7270678853
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
9 years ago
Unknwon
126c84acc4
Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Unknwon
abc82c3f25
#3058 #3059 support correct page size and link header
9 years ago
Unknwon
9877453b1c
Do not show filename not have suffifx .md
9 years ago
Andrey Nering
cdc7a8c613
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
9 years ago
Franz Schmidt
602d1f4200
Fixes #3110 ( #3136 )
9 years ago
Unknwon
f28a20be20
Minor fix for #3194
- Update locale bindata
9 years ago
Sandro Santilli
dac2b841ef
Include repository owner name and description in html title ( #3194 )
Closes #3192
9 years ago
Unknwon
c602044c8e
repo/http: clean code
9 years ago
Unknwon
da5050d92f
#809 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
9 years ago
Unknwon
46e4d9f2da
#809 able to set issue state to closed when create
9 years ago
Kim Carlbäcker
346d734eff
PDF-Previews in file-lists now working ( #3000 )
9 years ago
Thomas Boerger
dd29e46802
Made the issue stats query more secure with parameterized placeholders ( #2895 )
9 years ago
Cosmin Stroe
561a81df44
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago
Tamás Molnár
630c23b750
Set utf-8 charset for text files when serving raw content ( #2898 )
9 years ago
Unknwon
d497e31faa
api/admin: add/remove organization team repository
9 years ago
Unknwon
fd631bf9c0
Fix XORM IN condition table name parse
9 years ago
Unknwon
019cd8b3db
#2842 add quotes to attachment file name
9 years ago
Unknwon
8328452c5a
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
d2f481e85f
Fix status code
9 years ago
Unknwon
11c481a053
Change list teams API to non-admin specific
9 years ago
Unknwon
0b2c7a6284
#1692 api: admin list and create team under organization
9 years ago
Unknwon
b77b57dec2
Add route for #2846
9 years ago
Unknwon
ab114927b3
#13 fix admin can't search private repos
- update glide info
9 years ago
Unknwon
b8e7c01d90
Merge pull request #2823 from zacheryph/feature/local-only-password-reset
Prevent `Forgot Password` for non local users
9 years ago
Zachery Hostens
c1b28d1394
ensure we don’t try changing LDAP passswords
9 years ago
Unknwon
5b25440502
#1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
da092dd05b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
ae39f78ad1
#1891 attempt to fix invalid csrf token
9 years ago
Unknwon
2d90be9c2e
#13 finish user and repository search
Both are possible on explore and admin panel
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago
Marin Jankovski
cd97a3e8a9
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Alec S
f1f1580f7b
readd 'dashboard' to title
9 years ago
Alec S
e0eb54efa7
Merge branch 'develop' of github.com:gogits/gogs into develop
9 years ago
Alec S
bdfc6fda87
fix indentation
9 years ago
Alec S
93bdc4ad19
Remove dashboard keyword from title
9 years ago