Unknwon
29ccf047d8
routers/repo/issue: remove redundant format string
9 years ago
Unknwon
899e799459
#1601 support delete issue comment
9 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
9 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
9 years ago
Unknwon
46e96c008c
Use struct for UI settings
9 years ago
Unknwon
256cd6374a
#2790 fix not detect diff style in pull request file changes
9 years ago
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
9 years ago
Unknwon
e63b2881b1
api: fix panic if anonymous user request admin API
...
Add sign in check before check user account level
9 years ago
Unknwon
c912494609
#3076 detect invalid tag name git error
9 years ago
lstahlman
25b3836418
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
9 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
9 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
9 years ago
Dennis Chen
5ff2dfb23e
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
c083d76567
#2937 able to prohibit user login
9 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
9 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
9 years ago
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
9 years ago
lstahlman
846bf2ca9f
Add timestamps to repository api response ( #3255 )
...
Additional properties: created_at, updated_at
9 years ago
Kim Carlbäcker
f4ab50501e
[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
12cb84b97f
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
98b152030d
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
d62ab49978
#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
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
9 years ago
Unknwon
e84ac64964
Do not show filename not have suffifx .md
9 years ago
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
9 years ago
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
9 years ago
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
9 years ago
Sandro Santilli
2ce60ff314
Include repository owner name and description in html title ( #3194 )
...
Closes #3192
9 years ago
Unknwon
c041273dd3
repo/http: clean code
9 years ago
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
9 years ago
Unknwon
bf5faf76eb
#809 able to set issue state to closed when create
9 years ago
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
9 years ago
Thomas Boerger
dfad51fe9e
Made the issue stats query more secure with parameterized placeholders ( #2895 )
9 years ago
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago
Tamás Molnár
39356f4238
Set utf-8 charset for text files when serving raw content ( #2898 )
9 years ago
Unknwon
d27ca649c7
api/admin: add/remove organization team repository
9 years ago
Unknwon
762ab056a2
Fix XORM IN condition table name parse
9 years ago
Unknwon
dd36c431ec
#2842 add quotes to attachment file name
9 years ago
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
5e11341232
Fix status code
9 years ago
Unknwon
90e93b1f3a
Change list teams API to non-admin specific
9 years ago
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
9 years ago
Unknwon
60ae8ac3d2
Add route for #2846
9 years ago
Unknwon
149d62a648
#13 fix admin can't search private repos
...
- update glide info
9 years ago
Unknwon
8966f5635d
Merge pull request #2823 from zacheryph/feature/local-only-password-reset
...
Prevent `Forgot Password` for non local users
9 years ago
Zachery Hostens
63e21c146a
ensure we don’t try changing LDAP passswords
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Alec S
792c13cf0a
readd 'dashboard' to title
9 years ago
Alec S
af847ef94e
Merge branch 'develop' of github.com:gogits/gogs into develop
9 years ago
Alec S
bfed3ea7d3
fix indentation
9 years ago
Alec S
affa3c2dbf
Remove dashboard keyword from title
9 years ago
Alec S
6775ac7334
change page titles for user and org dashes
9 years ago
Jan Christophersen
72a8fa3bc8
Allowing site admins to view private repositories in org/home
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
9cf7f3e46f
Remove duplicated of code
9 years ago
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
9 years ago
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
9 years ago
Unknwon
4cb8bf1b75
#1597 fix premission logic check of pull request
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Unknwon
9df6ce48c5
Minor fixes for #2746
9 years ago
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
9 years ago
Unknwon
260723e2cc
Minor fixes for #2745
9 years ago
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
9 years ago
Unknwon
f946040fa9
#1891 attempt to fix expected invalid CSRF token
...
- Remove unused config settings `[picture] service`
9 years ago
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
7a91d7e776
Merge pull request #2694 from mhartkorn/pullrefs
...
Improved Pull Request refs
9 years ago
Unknwon
129638117f
#2697 fix panic when close issue via commit message
9 years ago
Unknwon
4438b7793b
Add new config option for builtin SSH server
...
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
9 years ago
Unknwon
baaf6046a1
Minor fix for #2660
9 years ago
Josh Frye
c27038e392
Test mailer button. Addresses #1531
9 years ago
Martin Hartkorn
51f15880d1
Call PushToBaseRepo() also on Pull Request creation and not only on git push
9 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
Unknwon
d8a994ef24
Move cron module to independent package
...
Make it easier to keep track of upstream changes and bug fixes
9 years ago
Unknwon
7140dbac95
Fix #857
9 years ago
Unknwon
7e0baf4136
Merge pull request #2634 from nanoant/patch/ldap-attributes-in-bind
...
LDAP: Fetch attributes in Bind DN context
9 years ago
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
9 years ago
Adam Strzelecki
834d92a47b
LDAP: Fetch attributes in Bind DN context option
...
This is feature is workaround for #2628 (JumpCloud) and some other services
that allow LDAP search only under BindDN user account, but not allow any LDAP
search query in logged user DN context.
Such approach is an alternative to minimal permissions security pattern for
BindDN user.
9 years ago
Unknwon
aa12135b97
Fix panic when view profile without signin
...
Also fix that no matter who, still able to see organizations with private membership.
9 years ago
Unknwon
2408df3f35
Merge pull request #2663 from Download-Fritz/MirrorForks
...
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Download-Fritz
a1b28fc33c
Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
9 years ago
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Andrey Nering
658bfc2704
Implement issue and pull request templates.
...
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
9 years ago
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
9 years ago
Unknwon
d5ca913b2f
#2639 add branch prefix for test webhook
9 years ago
Unknwon
2765b5c7cf
#2630 fix wrong user avatar link in webhook
...
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
9 years ago
Unknwon
632c27802c
Minor fix for #2624
9 years ago
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
9 years ago
Martin Hartkorn
bb595666ac
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
9 years ago
Unknwon
d8631b616e
Merge pull request #2578 from exmex/develop
...
Admins and user itself sees private org relations on profile
9 years ago
Unknwon
a1d97e8f5c
Minor fix for #2567
9 years ago
Unknwon
daa43cfb6e
Merge pull request #2567 from fnkr/hide-other-teams-activity-from-dashboard
...
Only show activities and repositories on the dashboard, that the user has access to
9 years ago
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
9 years ago
Martin Hartkorn
15394f613f
Add missing safety check
9 years ago
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
9 years ago
Josh Frye
d3ca5accfd
Remove redundant nil check.
9 years ago
Josh Frye
ec478b4b06
Set default log path if empty during install
9 years ago
Josh Frye
a3e8c32a30
Add install option for log path
9 years ago
Unknwon
0ad5f51059
Merge pull request #2599 from mhartkorn/fix-release-error-deleted-user
...
Fix for server error on release page when a user deleted their account
9 years ago
Martin Hartkorn
6b3e47b103
Removed HTTP 500 error on the release page when a user deleted their account
9 years ago
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
9 years ago
ExMex
2cfe6f8c60
Admins and user itself sees private org relations on profile
9 years ago
Florian Kaiser
45db167f7a
Only show activities for repositories on dashboard, that the user has access to
9 years ago
Tobias Kunicke
bc0eee48d5
parse milestone.deadline as local time
9 years ago
Unknwon
4e96a4a62b
Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
...
Feature/markdown custom url scheme
9 years ago
Florian Kaiser
90e9e3c89d
Only show repositories on organization dashboard, that the user has access to
9 years ago
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
9 years ago
Unknwon
739d5aa1d3
Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
...
Hide other teams & repos from organization page
9 years ago
Unknwon
04be8c0de5
#2554 reinitialize all repos from the db
...
- Update locales
9 years ago
Florian Kaiser
c3ff476ed6
Remove unnecessary else-block
9 years ago
Unknwon
995487e822
Minor fix for #2506
9 years ago
Unknwon
5e97693e0e
Merge pull request #2506 from sapk/add-branche-api-support
...
Implement API for branches listing
9 years ago
Florian Kaiser
0e4ae27caa
Use pretty 404 pages in repo.HTTPBackend
9 years ago
Unknwon
1c74612b3c
Minor fix for #2444
9 years ago
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
9 years ago
Florian Kaiser
3e0a27157c
Make highlighted markdown code blocks work on issue pages
9 years ago
Florian Kaiser
bead46363b
Evaulate org/team permissions when using the issue/PR view
9 years ago
Florian Kaiser
fdad234445
Remove unnecessary comments
9 years ago
Florian Kaiser
bba1847a8e
Everyone can see public repos
9 years ago
Unknwon
a9d68a6884
fix #2529
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Florian Kaiser
5eafe2b17e
Only show repositories the user has access to, on the organization home
9 years ago
Florian Kaiser
295de51b99
Show all orgs on user profile, except the private one's
9 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
9 years ago
Antoine GIRARD
b7b30cd85e
Corrections following recommendations
9 years ago
Antoine GIRARD
81e5722bcc
Handling error for the API request and add commments
...
[ci skip]
9 years ago
Antoine GIRARD
303d091ea9
Update link for documentation (Temporary https://gist.github.com/sapk/df64347ff218baf4a277 )
...
[ci skip]
9 years ago
Antoine GIRARD
c11c3b6c11
Near ready
9 years ago
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
9 years ago
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
9 years ago
Kim "BKC" Carlbäcker
85335c5f56
Go-ism :D
9 years ago
Kim "BKC" Carlbäcker
b31c7fe074
Fixed Poster/Commenter-bug and clean-up
9 years ago
Kim "BKC" Carlbäcker
2665728ee7
Fix OP not 'participating' until commented
9 years ago
Kim Carlbäcker
f65dedc3be
Optimize participant-fetching
9 years ago
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
9 years ago
Andrey Nering
ee5d6fb025
Compute inline diff for pull request view, too. Fix #2462
9 years ago
Kim "BKC" Carlbäcker
a3eab8185d
Admins are allowed to create repos for arbitrary Orgs
9 years ago
Unknwon
f75b5f4287
Merge pull request #2383 from exmex/develop
...
Added organization display on profile
9 years ago
Unknwon
a72f57374d
Merge pull request #2403 from ddelpero/master
...
Update repo.go
9 years ago
ExMex
f610bfa8a2
Added organization display on profile
...
Fixed "Follower" Icon too big
9 years ago
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
9 years ago
Unknwon
4331d1d2a0
require token for list my orgs
9 years ago