Commit Graph

517 Commits (9182a35f18b6d5cd981486852028e670984145c3)

Author SHA1 Message Date
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
Unknwon 407385db7e work on
Unknwon e4d6b5d488 Creates hooks directory when init update hook
Unknwon 2cc9bc8969 delete attachments when delete repo
Unknwon 817b48ed1e Show owner/poster tags of comments and fix
Unknwon 133b19d0c5 finish view comments on issue page
Unknwon 75aff60c90 finish create issue with milestone and assignee
Unknwon dea3a8c6a4 WIP: create PR - choose branch
Unknwon e3bdfd51ff better fork permission check
Unknwon 9db4acc62e improve fork process
Unknwon 45adb9b7a3 fix
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 e50982f5ec allow anonymous SSH clone
Unknwon 9311a9858a milestone: pagination
Unknwon c44e1c7ca9 fix
Unknwon f83519b452 report error when migration auth failed
Unknwon 6f8e388b55 fix
- prevent create reop on existed path
Unknwon c0883a51a0 mirror fix on
无闻 b838e94980 Merge pull request from vitalvas/develop
Add function in cron to autofix counters in repository
Unknwon ac95f6d50f UI: basic label list
- create new label
Unknwon d6cdd49c16 fixes on
Unknwon c6531c4882 check master as default branch when migrate