Commit Graph

539 Commits (9ff371a1471dbcef9640b9daed51e2c9fef05606)

Author SHA1 Message Date
Unknwon 0b273ac4d5 code cleanup
Unknwon a00c932bbc General code quality improvement
Unknwon 6f9a95f830 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
Unknwon 2625193a48 models/repo_editor: improve code quality
Unknwon f3c3258921 Fix repository owner can assign self
Unknwon 4042d1f0c3 models/issue: improve quality and performance of NewIssue function
Unknwon cc647ba9d5 fix security issue of REAMDE path in create repository
Unknwon 54e0ada9d5 Web editor: improve delete file
Unknwon cd89f6c502 Web editor: improve edit file and diff preview
Unknwon 660e7a178a modules/sync: move sync objects to independent module
Unknwon 15845cb287 Code clean up for new config options
Richard Mahn d0a0239bac Squashed commit of the following:
commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 17:13:29 2016 -0600

    Removed Upload stats as the upload table is just a temporary table

commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:42:41 2016 -0600

    Fix for CodeMirror mode

commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:03:33 2016 -0600

    Made tabbing in editor use spaces

commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:56:46 2016 -0600

    Fix for data-url

commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:42:53 2016 -0600

    Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file

    Conflicts:
    	modules/bindata/bindata.go
    	public/js/gogs.js

commit 7fc8a89cb495478225b02d613e647f99a1489634
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:40:00 2016 -0600

    Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file

commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:39:44 2016 -0600

    Code cleanup

commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 29 15:38:23 2016 -0600

    Code cleanup

commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Thu Jul 28 18:36:01 2016 -0600

    Code cleanup and fixes

commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Thu Jul 28 18:24:04 2016 -0600

    Fixes per Unknwon's requests

commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Thu Jul 28 17:13:43 2016 -0600

    Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file

    Conflicts:
    	modules/bindata/bindata.go
    	modules/setting/setting.go

commit 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 22 14:09:18 2016 -0600

    Fix in gogs.js

commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 22 14:07:36 2016 -0600

    Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file

    Conflicts:
    	modules/bindata/bindata.go
    	public/js/gogs.js

commit bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 22 14:02:18 2016 -0600

    Update for using CodeMirror mode addon

commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Tue Jul 19 16:12:57 2016 -0600

    Update for Edit

commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Tue Jul 19 11:52:02 2016 -0600

    Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file

    Conflicts:
    	modules/bindata/bindata.go

commit fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Fri Jul 15 18:35:42 2016 -0600

    Feature for editing, creating, uploading and deleting files
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls
Unknwon 3f7f4852ef fully support of webhooks for pull request
Unknwon 5077408d78 code cleanup and minor issue fix
Andrew 0885784f13 Wiki mirroring implementation ()
* Implement wiki mirroring, add Update mirrors operation to admin dashboard

* bindata.go update after merge

* Implement checking Git repo endpoint existence, support for BB included

* Remove admin dashboard operation
Fix bindata.go

* Apply gofmt to repo model file

* Try to remove bindata from PR

* Revert accepted wiki names change in favor of better system

* Remove unused imports
Kim Carlbäcker b756806ee9 Add "support" for git-daemon-export-ok () ()
* add git-daemon-export-ok "support"

* Slight fix to git-daemon-export-ok

* Add error-checking for git-demon-export-ok

* Remove old comments and fixed logging-issues

* Check if git-daemon-export-ok exists or not
Thibault Meyer fc68fb951c Feature : Redefine global mirror interval ()
* add mirror::GLOBAL_INTERVAL on app.ini

* rename key to DEFAULT_INTERVAL

* add key on default app.ini + move code
Unknwon b0b88d9bc5 add config option for Git GC
Unknwon e5bf4281b5 early response 200 when ?go-get=1
Unknwon e74630ae3b add pagination for repositories
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon 250be011c7 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
Unknwon 4e822c1911 conf: change default mirror checking interval to 10m
Unknwon 69f5308761 use different reversed words and patterns for repository and user
Unknwon 745167d57a create user path before rename repository while transfer
os.Rename does not create parent directory automatically when not exist
Unknwon 7ca5f8f119 models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
Unknwon 9fcf66f0e0 Minor fix for
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
Pheng Heong TAN 467d7dacb6 Modify behaviour of repo-delete. ()
Re: issues  and 

As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.

Meta
-----
This commit will be rebased onto the 'develop' branch.
Unknwon e30c701386 disallow repository name . and ..
Since . and .. has browser automatical behaviors, we need to disallow those names.
Unknwon 4b25bdfbc4 support correct page size and link header
Robin Lambertz bc00da1721 Fix negative issue count ()
Unknwon e9ae926e04 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
Unknwon 78b8b63774 set default style name when empty in AfterSet
Cosmin Stroe ba314a7a36 Support alphanumeric issue style (ABC-1234) for external issue tracker ()
Unknwon 98b58fa050 Handle windows deletion when start
Fix 
Unknwon ff731ea07d LOWER() column value within search
Unknwon 263304b6b7 fix postgres aggregate
Unknwon 2bf8494332 finish user and repository search
Both are possible on explore and admin panel
Marin Jankovski 1314ba219e Updated and created were appended with _unix. Fresh databases have only the newly named fields.
Unknwon ad513a20e9 Replace time.Time with Unix Timestamp (int64)
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 dfd6f8f7ab Merge pull request from joshfng/fix-fork-relative-url
Use relative url when showing forked from
Josh Frye 275464e7fb Use relative url when showing forked from
Unknwon 2d2d85bba4 support pull requests in same repository
Unknwon 260723e2cc Minor fixes for
Josh Frye f3358f5927 Repo setting to delete and disable wiki
Josh Frye 7f2733fa1b Return errors instead of just logging them.
Josh Frye edb7967dc7 Set DefaultBranch to master when importing a new repo if possible
Unknwon 9e89584cb4 Allow setting git operations timeouts
- Migrate:  
- Clone: 
- Mirror, Pull
Unknwon ea80274229 fix sqlite3 can't create issue with more than one label
Unknwon 8055a0bdac Post work for
Improve test cases, config settings, also show SSH config settings on admin config panel.
Unknwon d5a3021a7d Make markdown as an independent module
Download-Fritz a467184e13 Allow to fork and disallow to create PRs for mirrors.
Unknwon 632c27802c Minor fix for
Unknwon dc89c51f3e Merge pull request from mhartkorn/convert-mirror-to-repo
Convert mirrors to regular repositories
Martin Hartkorn bb595666ac Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
Unknwon 9adfe453d5 delete repo local copy when transfer
Remote repository path is renamed but does not delete
outdated local copy which still has old repository path
as remote.
Martin Hartkorn 15d37b7a95 Refactored according to suggestions
Martin Hartkorn 3650bd8528 Convert mirrors to regular repositories.
Josh Frye 8662990746 Add default branch to repo payload
Josh Frye ce3708b3ea Remove local wiki copy on repo transfer. Fixes
Unknwon 59745c62b4 fix missing SQL query placeholder
Unknwon f8182ac521 delete local wiki copy when rename repo and user
Unknwon 04be8c0de5 reinitialize all repos from the db
- Update locales
Unknwon 995487e822 Minor fix for
Antoine GIRARD b7b30cd85e Corrections following recommendations
Antoine GIRARD c11c3b6c11 Near ready
Unknwon e2dde6eb0a Record error when fail to health check repository
Unknwon 240fe07287 URL consistency on webhook payload
Unknwon 7786cb76f3 fix
Unknwon 19423957b1 rename import path
Unknwon 91789930bc fix 500 on /watchers & /stars for pg
Unknwon 79dcd7ee6e able to identify git version on Windows
Unknwon 40f3142264 External URL for wiki
Unknwon 2a0bb1fa90 Limit repo creation
Unknwon 9a2e43bff2 move out git module and send push hook
Unknwon 718d3ae258 Able to config fsck timeout
Unknwon 120cd4e471 Better mirror repo management
Unknwon dce2a9e7e1 fix wrong slack webhook payload URL
Unknwon 404867f206 fix and fix
Unknwon e82ee40e9e init with all enabled
Unknwon e538ff2770 fix and fix
Unknwon 81133d45a1 work on
Unknwon 37a372f6f5 500 when wiki not exists
Unknwon f122d0856e fix
Unknwon d3a5ff7b6b fix
Unknwon 830d000667 finish wiki
Unknwon 392f3ee210 wiki: finish new
Unknwon c50a3503e6 introduce git-shell
Unknwon 2b10fdc4dc Wiki: UI for page new
Unknwon dcc740fd26 fix incorrect
Unknwon 8966750fd4 add some log
Unknwon 1d4a5b1825 fix
Unknwon 3d14e73fd8 fix and data race in timming tasks
Unknwon efea642d6c add admin op: delete missing repos
Unknwon ab9411be2a clean up code
Unknwon 9ab96172fc new watchers, stars and forks UI
Unknwon 18de67380c fix
Unknwon 4f03b81ec7 Test patch does not checkout correct base branch
Unknwon 18c841050b fix 1540 and experimental SSH server support
Unknwon d85a1d478e admin op with notice
Unknwon 6f929dcd9e Case sensitive clone URL
Unknwon 8411b50f5d work on
Unknwon 04806b614e more on
Unknwon 706b0f72e2 fix issue comment mention and autofix count when start
Unknwon 022820103d allow forcing all private repos
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply
Unknwon db7ac8bc1d use notice instead of suspend delete archives
Unknwon fc7959d3bc New/reopen PR checks if there is any unmerged and open PR
Unknwon 6a6e43f964 print out git version
Unknwon 01dc8f8a4f fix change visivility of non-org does not affect forks
Unknwon ea6c6bc20a work on 1714
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 6dfee30bf0 Wrong commit order on issue page when pushing multiple commits
Unknwon 986447335d minor fix
Antoine GIRARD dfc16d0879 Fix admin repos new ui
Unknwon 52ec80fa18 finish all new user settings UI
Unknwon 9899ea71e8 fix bool type in sqlite query
Unknwon b75d0378cb clean log
Unknwon 0806725ca5 minor fix on
Signed-off-by: Unknwon <u@gogs.io>
Sina Siadat ae1650824c Set IsBare true if migrated repo is empty.
Executes `git log -1` and sets IsBare to true if stderr contains this
string:

  fatal: bad default revision 'HEAD'
Unknwon aa67de910a fix
Unknwon 119dec51f2 Mirror repository should not allow fork
Unknwon d023e81a8f explore paginator problem
Unknwon 38eb000d13 work on
Unknwon a7ee654646 better tmp dir name for creating repo
Unknwon b6131793da prevent duplicated refs of issues in single commit
Unknwon 2a2a8cd619 ui and pulls index fix
Unknwon 83dc2468f5 finish initial version of pull request
Unknwon 953bb06857 basic PR feature
Unknwon 8c046073a8 work on PR conversation
Unknwon 398569f6f8 Forked repo unavailable after deleting original repo
Unknwon 7714e792a4 minor fixes on
Unknwon d01f688257 fix repository count of user is messed up
Unknwon a3683ca5d6 Creating new repository fails occasionally
Unknwon ea454c21f7 A way to skip TLS verify for SMTP authentication
Unknwon a541ca16b6 fix bare repo issue
Unknwon d07033a0f0 fix 1093
Unknwon 11ce720f9f add more README vars
Unknwon bb3b90fcd6 Readme Template
Unknwon 46bee50e45 complate list of gitignores and licenses
Unknwon b3a45693c3 minor update
Unknwon f808df5a7b new user dahsboard issues
Unknwon aa65761d81 new commits table
Unknwon 6235bd1fe9 work on and fix a LDAP crash
Unknwon b1696665bd make cron task configurable