Commit Graph

883 Commits (539d9f4c3070abb0f024b133a4f53187a76cbcb7)

Author SHA1 Message Date
Unknwon c912494609 detect invalid tag name git error
lstahlman 25b3836418 Refresh repository mirror from database when the repository's name has changed. ()
Unknwon 5aa2bf86f4 Update locales and .gopmfile
Unknwon 60110adc06 models/webhook: restrict deletion to be explicitly with repo and org ID
Unknwon 3d93532c87 fix can't get webhook detail of organization
Unknwon f1b8d52eb3 fix no mail notification when issue is closed/reopened
Unknwon 7ca5f8f119 models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
Kim Carlbäcker f4ab50501e [Fix] Don't display way too large files ()
* Add MaxDisplayFileSize setting

* Don't show files that are too large

* Localized FileTooLarge

* Change IsFileTooBig => IsFileTooLarge
Pablo Saavedra 98b152030d The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ()
Executed go fmt

getEngine() not handles DB parameters () ()

Uses .AllCols() for Update in updateMirror()

Spanish traslation removed

Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
Unknwon d62ab49978 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
Unknwon e84ac64964 Do not show filename not have suffifx .md
Andrey Nering 743d22669a Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ()
Franz Schmidt 8b35c194ec Fixes ()
Unknwon 4bbb878d20 Minor fix for
- Update locale bindata
Sandro Santilli 2ce60ff314 Include repository owner name and description in html title ()
Closes 
Unknwon c041273dd3 repo/http: clean code
Kim Carlbäcker 3df8eb60e3 PDF-Previews in file-lists now working ()
Thomas Boerger dfad51fe9e Made the issue stats query more secure with parameterized placeholders ()
Cosmin Stroe ba314a7a36 Support alphanumeric issue style (ABC-1234) for external issue tracker ()
Tamás Molnár 39356f4238 Set utf-8 charset for text files when serving raw content ()
Unknwon dd36c431ec add quotes to attachment file name
Unknwon 60ae8ac3d2 Add route for
Unknwon 9bd9ad4205 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to 
Unknwon 514382e2eb Rename module: middleware -> context
Marin Jankovski 1314ba219e Updated and created were appended with _unix. Fresh databases have only the newly named fields.
Unknwon 0e9bc2d410 Fix pull request availability check
Unknwon 9cf7f3e46f Remove duplicated of code
Unknwon a5b0400be7 finish new access rights for collaborators
Unknwon 045f14fbd0 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.
Unknwon 4cb8bf1b75 fix premission logic check of pull request
Unknwon 2d2d85bba4 support pull requests in same repository
Unknwon 9df6ce48c5 Minor fixes for
Josh Frye 1ca171dbe9 Add ability to delete single wiki pages.
Unknwon 260723e2cc Minor fixes for
Josh Frye f3358f5927 Repo setting to delete and disable wiki
Unknwon 7a91d7e776 Merge pull request from mhartkorn/pullrefs
Improved Pull Request refs
Unknwon 129638117f fix panic when close issue via commit message
Martin Hartkorn 51f15880d1 Call PushToBaseRepo() also on Pull Request creation and not only on git push
Unknwon 912f7b51e9 add actions for close and reopen issues
Unknwon d5a3021a7d Make markdown as an independent module
Unknwon 7140dbac95 Fix
Unknwon a703f7d7b4 Merge pull request from andreynering/issue-template
Implement issue and pull request templates
Unknwon 2408df3f35 Merge pull request from Download-Fritz/MirrorForks
 Allow to fork and disallow to create PRs for mirrors.
Download-Fritz a1b28fc33c Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
Download-Fritz a467184e13 Allow to fork and disallow to create PRs for mirrors.
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
Unknwon 338af89d56 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.
Unknwon d5ca913b2f add branch prefix for test webhook
Unknwon 2765b5c7cf 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.
Unknwon 632c27802c Minor fix for
Martin Hartkorn bb595666ac Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
Martin Hartkorn 15d37b7a95 Refactored according to suggestions
Martin Hartkorn 15394f613f Add missing safety check
Martin Hartkorn 3650bd8528 Convert mirrors to regular repositories.
Unknwon 0ad5f51059 Merge pull request from mhartkorn/fix-release-error-deleted-user
Fix for server error on release page when a user deleted their account
Martin Hartkorn 6b3e47b103 Removed HTTP 500 error on the release page when a user deleted their account
Unknwon f15a2f9b25 Merge pull request from andreynering/diff-sintax-highlight-733
Enable syntax highlighting on diff view
Tobias Kunicke bc0eee48d5 parse milestone.deadline as local time
Andrey Nering 2bfb8bb5fd Enable sintax highlighting on diff view. Close
Florian Kaiser 0e4ae27caa Use pretty 404 pages in repo.HTTPBackend
Unknwon 1c74612b3c Minor fix for
Unknwon d3ba246693 Merge pull request from bkcsoft/feature/participants
Implemented participant-listing for issue-pages (Fixes )
Florian Kaiser 3e0a27157c Make highlighted markdown code blocks work on issue pages
Andrey Nering 5deb726f3f Refactoring of inline diff computing to prevent empty diff box. Fix
Kim "BKC" Carlbäcker 85335c5f56 Go-ism :D
Kim "BKC" Carlbäcker b31c7fe074 Fixed Poster/Commenter-bug and clean-up
Kim "BKC" Carlbäcker 2665728ee7 Fix OP not 'participating' until commented
Kim Carlbäcker f65dedc3be Optimize participant-fetching
Kim "BKC" Carlbäcker 2cc1ee3fc0 Implemented participant-listing for issue-pages
Andrey Nering ee5d6fb025 Compute inline diff for pull request view, too. Fix
Kim "BKC" Carlbäcker a3eab8185d Admins are allowed to create repos for arbitrary Orgs
Unknwon a72f57374d Merge pull request from ddelpero/master
Update repo.go
Unknwon bcf6aed452 Merge pull request from andreynering/highlight-diff
Highlight diff
ddelpero 7655337a1f Update repo.go
Release download file name doesn't include tag number 
Download: Changed to use refName instead of commit.ID for downloaded file name
Unknwon e0f0f72a36 disallow access of some pages for empty repo
Andrey Nering 73474c043b Highlighting differences of lines in the diff view.
zhuharev 0d5dc8a064 typo fix
Kim "BKC" Carlbäcker 8fe5d887ae Changed name from inline to unified
Kim "BKC" Carlbäcker 0df39b33eb Implement Split Diff-View
- Unified/Inline Diff-View Selectable
Unknwon a62290de52 improve HTTP auth error message
Unknwon 8d58e06ad8 more fix on
Unknwon 93f03707a7 set text/plain for non-binary files in raw mode
Unknwon a49af93faf APIs: Users Followers
- User profile un/follow
- List user's followers/following
Unknwon c62a6b7a12 allow switch branches between two orgs in compose PR
Unknwon 5ff6eedf5e fix button name
Unknwon 9cd16c5b12 add organization APIs
Unknwon 6673dcb038 improvments of highlight class name
Unknwon 19423957b1 rename import path
Unknwon 3362b3a44f fix possible disclosure
Unknwon 7509fa2c33 improve get commits performance
Unknwon 79dcd7ee6e able to identify git version on Windows
Unknwon 40f3142264 External URL for wiki
Unknwon 2a0bb1fa90 Limit repo creation
Unknwon c6083c335e Ability to send mail when a new pull request is submitted
Unknwon 9a2e43bff2 move out git module and send push hook
Unknwon b8d48bdb62 Add "New Mirror" button on Dashboard
Unknwon a576224d0e unified name: IsViewBranch, IsViewCommit and IsViewTag
Unknwon 120cd4e471 Better mirror repo management
Unknwon dce2a9e7e1 fix wrong slack webhook payload URL
Unknwon ca8ce793d1 Ability to delete repo from admin panel
Unknwon 404867f206 fix and fix
Unknwon e538ff2770 fix and fix
Unknwon 4d9499c2d3 fix broken link
Unknwon cc8f5add6e fix
Unknwon ec2423ad7c more UI minor fixes
Unknwon 830d000667 finish wiki
Unknwon 5d1f5f32d0 wiki: finish pages
Unknwon e42fcb033d wiki: finish edit
Unknwon 392f3ee210 wiki: finish new
Unknwon c50a3503e6 introduce git-shell
Unknwon 2b10fdc4dc Wiki: UI for page new
Unknwon 0128036514 some fixes for builtin SSH server on Windows
Unknwon b2fb7e3fd2 more HTTP clone word fix
Unknwon b80e848d02 upgrade libs
Unknwon 987dcc5372 fix
Unknwon 6a66e5fc98 better error message
Unknwon c0b0ce7b1a more general rule to detect error
Unknwon f455125d4d fix
Unknwon 2c653141a8 Update default branch in git repository while change in web view
Unknwon 81d7359fdd fix
Unknwon 9a0902523b fix
Unknwon ab9411be2a clean up code
Unknwon 9ab96172fc new watchers, stars and forks UI
Unknwon d370effca5 minor fix for
Unknwon 29ed7872f8 repo sidebar active class
Unknwon 134d8e7681 work on
Unknwon 18de67380c fix
Unknwon 84a43b38cf remove unused code
Unknwon 7c80eba77f minor UI fix and fix ssh race
Unknwon 7b1c10ea7e new repo ui
- copy link button: , , ,
- synxtax highlight: , , , 
- z-index: 
Unknwon 1d57f0d64f Show custom avatars in commits
Unknwon 3b62a0fe0e fix fix file histrory paging issue
Unknwon 0d4498429c work on
Unknwon b55499d039 go vet and fix
Unknwon e7aabf70dc Triming the issue title
Unknwon 00eb2b221f fix
Unknwon 3a81fdf092 rename fields
Unknwon 6f0a41b8b2 Allow local import only for admin users
Unknwon fad31ca302 work on
Unknwon 706b0f72e2 fix issue comment mention and autofix count when start
Unknwon 022820103d allow forcing all private repos
Unknwon c3ba5590c9 Reopen PR need retest patch
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply
Unknwon e0aab4a7f6 new comment with status change overwrites issue content
Unknwon c6ce6bd4c2 work on
Unknwon fc7959d3bc New/reopen PR checks if there is any unmerged and open PR
Unknwon 4dc6285715 add new status: checking
Unknwon 215920772a save PR info as patch and minor fix on PR
kendaru 5c39d3fa7d changed integrated page number to GET
Steven c8aa9c6cb1 implemented : see users who forked/starred/watched a repository
Unknwon d9c5b3bcee fix change label title resets color
Unknwon 562e47f31c finish all new template for current ones
Unknwon 2729eb998c and other minor fixes
Unknwon b0bf4cc1cb fix and
Unknwon 6f6f38e7c3 suburl for comment attachments
Unknwon 49e120a67c change status after comment issue
Unknwon cc83043edc minor fix on template
Unknwon 3d9b98fae4 order owners list by last changed time
Unknwon aa67de910a fix
Unknwon 119dec51f2 Mirror repository should not allow fork
Unknwon 2a2a8cd619 ui and pulls index fix
Unknwon 83dc2468f5 finish initial version of pull request
Unknwon 5da306c0e5 tmp: fix issue open count
Unknwon 953bb06857 basic PR feature
Unknwon 1abfe4e05f PR: nothing to commit and has pull request check
Unknwon 37e0cee877 finish PR UI
Unknwon 2ac8e11f46 able to use access token replace basic auth
Unknwon ebf1bd4f51 add view pull desc
Unknwon 8c046073a8 work on PR conversation
Unknwon 670ade9a61 does not allow fork bare repo
Unknwon 398569f6f8 Forked repo unavailable after deleting original repo
Unknwon 8af094967f add rename repo action
Unknwon 1ca257ad9f rename fields
Unknwon cb381078ff finish new repo options page
Unknwon d01f688257 fix repository count of user is messed up
Unknwon 55ddf225bb webhook APIs
Unknwon f509c59ac1 new create webhook event
Unknwon a00194e665 work on
Unknwon c75cd33f2f Remember visibility preference
Unknwon bb3b90fcd6 Readme Template
Unknwon 46bee50e45 complate list of gitignores and licenses
Unknwon 70e0153b93 add highlight js
Unknwon 23f42d92c9 add webhook recent deliveries
Unknwon c08600c59b new edit webhook UI
Unknwon 4217c2333c new create webhook UI
Unknwon 2881456421 new webhooks list UI
Unknwon 1cb03135b7 new repo git hooks UI
Unknwon a329bbc215 new org dashboard issues
Unknwon f808df5a7b new user dahsboard issues
Unknwon 4275b3720a finsih diff and compare
Unknwon aa65761d81 new commits table
Unknwon 062adbed8a add confirmation to delete ssh key
Unknwon 371572cf5f allow edit issue and comment
Unknwon 87f5ca8e1f able edit issue title
Unknwon 03b85b73af token recent activity
Unknwon 4c7b6414eb new access token UI
Unknwon d17f102339 try to fix HTTP ops not GC
Unknwon 407385db7e work on
Unknwon c8bb475abb fix autocomplete on migration
Unknwon e633425f27 and : migration
Unknwon a52324a5f9 able sort issues
Unknwon 4ce003dc15 Filter issues by assignee
Unknwon 30b428bf0e : 500 when visit a issue with issue/comments of deleted user
Unknwon 13a74c3a0c Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
Unknwon cec38f2a8c able edit issue labels/milestone/assignee
无闻 8be0bb177b Merge pull request from donbowman/mime-type
43bfee0d48 reverted my change
Don Bowman 4137426c88 43bfee0d48 reverted my change
423b1c69be, which in turn
causes all content to be served as text/plain. Let go decide
what the mime type is (e.g. text/html instead of text/plain).
Unknwon 817b48ed1e Show owner/poster tags of comments and fix
Unknwon 1fb53067f4 finish close/reopen issue
Unknwon 133b19d0c5 finish view comments on issue page
Unknwon ab2d0b3b44 add comment form UI
Unknwon b4c0b7b98b finish view issue without comments and ops
Unknwon e67659bf8e fix serve attachment content type
Unknwon 34f6cbfc2a finish attachments when create issue
Unknwon 89c2bd4a0d finish create issue attachment UI
Unknwon 17f3e840ec fix cannot parse JSON for attachments
Unknwon cbc7b7132f finish new issue action and mentions
Unknwon 884bc4ffd8 rename functions
Unknwon 75aff60c90 finish create issue with milestone and assignee
Unknwon 09a1b2a1f5 finish create issue with milestone
Unknwon 922f3f3062 finish create issue with labels
Unknwon 17de3ab0a3 add migrate from issue.label_ids to issue_label
Unknwon 590c464c56 UI: create issue with title and content
Unknwon dea3a8c6a4 WIP: create PR - choose branch
Unknwon e3bdfd51ff better fork permission check
Unknwon 9db4acc62e improve fork process
Unknwon 3d0583df0f fix private repo cannot trigger hook by SSH
Unknwon 9d414d4dd9 remove Index field of milestone
Unknwon 39a3b768bc : Add Deployment Key Support
Unknwon 34795770c3 fix issue stats with milestone filter
Unknwon 77dcef0cab fix milestone format parse
Unknwon 2c507667bf Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
# Conflicts:
#	gogs.go
#	models/issue.go
#	templates/.VERSION
Unknwon 0705f55ce0 finish new milestone page
Unknwon 74bd6b939c milestone: edit
Unknwon 3e4cdccf6b milestone: create page
Unknwon ce4dcf1e83 fix naming
Unknwon e50982f5ec allow anonymous SSH clone
Unknwon 9311a9858a milestone: pagination
Unknwon 04458d49a0 milestone: list view
无闻 eedac73229 Merge pull request from wqweto/develop
Allow space and/or percent in file and directory names
Unknwon 869113704b fix
Vladimir Vissoultchev 2cc050e21e Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
Vladimir Vissoultchev 43bfee0d48 Raw text file view returns correct charset in content-type header if not utf-8
Unknwon 589618c8a5 better paging
Unknwon fa298a2c30 : Realtime webhooks
Unknwon 68cacf9c63 fix issue paging
Unknwon 1ba837a055 new issue and label page
Unknwon 54b58e988d Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
无闻 3dcc0a4b5f Merge pull request from donbowman/master
in routers/repo/download.go, don't set mime type, let go figure it out.
Unknwon dc4aab9925 UI: CURD labels
- fix update lable break connection with repository