Jonas
be6edaddcb
Repo size in admin panel ( #1482 )
...
* Implementation of the feature to view repository size in admin panel
* Move GetRepoSize to git module
* Repository.RepoSize -> Repository.Size
* RepoSize -> Size in template
* Redo a few bits and pieces
* Update size when syncing mirror or forking
* Remove GetRepoSize
* Changed fatal errors to error message
* Copy migration code from Gogs
* make fmt
2017-04-11 21:30:15 +08:00
Jonas
54f0293f0a
Mirror sync interval specified as duration string ( #1407 )
...
* Sync interval specifed as duration string
* Changed mirror interval text
* make fmt
* Add MinInterval for mirror sync
* Use duration internally
* Changed min default to 10m
* make fmt
* Incorrect default
* Removed defaults in MustDuration()
* Add Mirror interval migration
* Default values corrected
* Use transaction during migration
* Change http 500 to page with error message
* Cleanup session.commit()
2017-04-08 23:27:26 +08:00
Philippe Kueck
fe94032f74
rewrite pre-commit, post-commit and options hooks ( fixes #1250 ) ( #1257 )
...
* issue #1250 , replace {pre,post}-receive and update hooks with a single shell script that does not require custom hooks to be a sh-script
* issue #1250 , make script posix compilant
* v23, add migration script to update {pre,post}-receive and update hooks
* migration: use a more common name and rename v23 to v26 to avoid conflicts
* gofmt'ed and added copyright header
* fix SyncRepositoryHooks to also sync wiki repos
2017-03-23 09:12:51 +08:00
Bo-Yi Wu
1c3bd436cc
feat: Only use issue and wiki on repo. ( #1297 )
2017-03-18 18:59:07 +08:00
Ethan Koenig
ec0ae5d50c
Refactor and fix incorrect comment ( #1247 )
2017-03-15 08:51:46 +08:00
Lunny Xiao
f5476bdbb1
bug fixed for delete repo failed ( #1193 )
2017-03-10 22:05:53 +08:00
Bo-Yi Wu
d76d67de23
feat: expose url field on issue api. ( #982 )
...
* Add api url func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix: Add unit testing.
* fix: conflicts
* fix: remove trim
* fix: revert test function name.
2017-03-03 22:35:42 +08:00
Lunny Xiao
9cb08a3cf5
fix wrong num of user repos because of duplicated click delete button & performance optimization ( #1092 )
2017-03-01 12:05:45 +08:00
Ethan Koenig
136e6beb0f
Fix unused Engine bugs ( #1064 )
2017-02-27 10:16:35 +08:00
Lunny Xiao
32faec00e6
move all repo list functions as a standalone file ( #1061 )
2017-02-27 08:45:03 +08:00
Bo-Yi Wu
95574a3640
fix: Admin can see all private repositories on Explore page. ( #1026 )
...
* fix: Admin can see all private repositories on Explore page.
* refactor: fix session
2017-02-26 13:59:31 +08:00
Andrey Nering
946f3078d3
Add "mirror" field to repo API
2017-02-25 10:04:22 -03:00
Bo-Yi Wu
f1412142e0
refactor: repo counts for SearchRepositoryByName func ( #1045 )
2017-02-25 09:27:39 +08:00
Lunny Xiao
c0ea3963be
fix delete repo will hang on postgres ( #1044 )
2017-02-24 23:19:13 +08:00
Lunny Xiao
0e6b9ea786
Take back control of hooks ( #1006 )
...
* git: delegate all server-side Git hooks (#1623 )
* create hooks directories
* take control hooks back
* fix lint
* bug fixed and minor changes
* fix imports style
* fix migration scripts
2017-02-23 11:40:44 +08:00
Ethan Koenig
ec3a696e2d
Fix lint errors
2017-02-22 17:10:45 -05:00
Bo-Yi Wu
83b6d03231
fix: Wrong repo list on Explore page if user already loggin. ( #1009 )
...
* fix: Wrong repo list on Explore page if user already loggin.
* fix: code readable.
* fix: declare variable
2017-02-22 21:15:14 +08:00
Denis Denisov
fd941db246
Protected branches system ( #339 )
...
* Protected branches system
* Moved default branch to branches section (`:org/:reponame/settings/branches`).
* Initial support Protected Branch.
- Admin does not restrict
- Owner not to limit
- To write permission restrictions
* reformat tmpl
* finished the UI and add/delete protected branch response
* remove unused comment
* indent all the template files and remove ru translations since we use crowdin
* fix the push bug
2017-02-21 23:02:10 +08:00
Ethan Koenig
be48b32e63
Unit tests for repo watching ( #963 )
2017-02-17 16:02:11 +08:00
Bo-Yi Wu
a31f64d639
fix: 500 error on /explore/repos page. ( #946 )
2017-02-15 22:28:11 +08:00
Bo-Yi Wu
9d2b830275
refactor: small optimize for sql query ( #940 )
...
* refactor: small optimize for sql query
* fix: get owner name if Searcher is not nil or user star page.
2017-02-15 14:01:50 +08:00
Lunny Xiao
3a91ac51a9
fix bug of multiple forks ( #928 )
2017-02-14 22:14:29 +08:00
Bo-Yi Wu
23aba523b5
feat: support search bar on star tab of user profile. ( #917 )
...
* feat: support search bar on star tab of user profile.
* fix: update testing.
* fix: Using loadAttributes
* fix: remove empty line.
* remove LOWER
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-02-14 15:28:22 +08:00
Bo-Yi Wu
5cc275b1de
feat: add git version on admin panel. ( #921 )
2017-02-13 19:49:42 +08:00
Morgan Bazalgette
442145dbd3
Fix public activity showing private repos ( #892 )
...
* Fix public activity showing private repos (#811 )
Signed-off-by: Morgan Bazalgette <the@howl.moe>
* error check after setting is_private to true
* Add test for UpdateRepository w/ visibility change
2017-02-11 18:57:57 +08:00
Andrew
42835c7f82
Implement archive cleanup ( #885 )
...
* Implement archive cleanup
Fixes #769
Signed-off-by: Andrew <write@imaginarycode.com>
* Make sure to close the directory file
* Resolve issues noted by @strk
* edit cheatsheet app.ini [ci skip]
* oops [ci skip]
2017-02-11 12:00:46 +08:00
Bo-Yi Wu
71d35dae8c
fix: wrong pages number which includes private repository count. ( #844 )
2017-02-06 23:18:36 +08:00
Ethan Koenig
027591a3a5
Redirects for renamed repos ( #807 )
...
* Redirects for renamed repos
* Remove unused phrase from locales
2017-02-05 22:35:03 +08:00
Lunny Xiao
8a421b1fd7
Add units concept for modulable functions of a repository ( #742 )
...
* Add units concept for modulable functions of a repository
* remove unused comment codes & fix lints and tests
* remove unused comment codes
* use struct config instead of map
* fix lint
* rm wrong files
* fix tests
2017-02-04 23:53:46 +08:00
Bo-Yi Wu
a90a215662
feat: Add search bar on user profile page. ( #787 )
2017-02-04 20:20:20 +08:00
Ethan Koenig
68bdaf0a6b
Drop redundant columns from issue_user table ( #638 )
2017-02-03 15:22:39 +08:00
Gabriel Jackson
bf6f61cc69
Cleanup log messaging
...
This change corrects a few logging issues:
* Standardized formatting errors with '%v'.
* Standardized failure warning word usage.
* Corrected an instance of using the standard log library when
the gitea log library should be used instead.
2017-02-02 15:24:18 +01:00
Lunny Xiao
bb5a6b7a07
fix xorm NewSession uncorrected usages ( #774 )
2017-01-28 00:11:41 +08:00
Matthias Loibl
d1006150fb
Refactor process package and introduce ProcessManager{} with tests ( #75 )
...
* Add a process.Manager singleton with process.GetManager()
* Use process.GetManager everywhere
* Fix godoc comments for process module
* Increment process counter id after locking the mutex
2017-01-17 13:58:58 +08:00
Lunny Xiao
87ad4961f6
bug fixed for update repository ( #664 )
2017-01-14 10:07:04 +08:00
Ethan Koenig
8422ab542c
API endpoint for subscribers ( #598 )
2017-01-07 11:13:02 +08:00
Andrey Nering
03b45284e1
Merge pull request #555 from ethantkoenig/tests/pull
...
Unit tests for models/pull.go
2017-01-06 19:19:18 -02:00
Andrey Nering
84b7d29d34
Create missing database indexes ( #596 )
2017-01-06 23:14:33 +08:00
Ethan Koenig
72bfabfada
Unit tests for models/pull.go
2017-01-06 10:08:23 -05:00
Ethan Koenig
1207bda94b
Fix typos in models/ ( #576 )
2017-01-05 08:50:34 +08:00
Lunny Xiao
6e5fffbd3f
resolved #485 : when migrate empty wiki repo, then ignore ( #541 )
2016-12-31 17:34:34 +08:00
Andrey Nering
b992858883
Tab on user profile to show starred repos ( #519 )
...
* Tab on user profile to show starred repos
* Make golint happy and use transactions on StarRepo function
* x -> sess
* Use sess.Close() instead of sess.Rollback()
* Add copyright
* Fix lint
2016-12-29 22:58:24 +08:00
Bwko
331316894e
Replace Gogs with Gitea ( #520 )
2016-12-28 16:33:21 +08:00
Fabian Zaremba
2e7ccecfe6
Git LFS support v2 ( #122 )
...
* Import github.com/git-lfs/lfs-test-server as lfs module base
Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198
Removed:
Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go
.dockerignore .gitignore README.md
* Remove config, add JWT support from github.com/mgit-at/lfs-test-server
Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83
* Add LFS settings
* Add LFS meta object model
* Add LFS routes and initialization
* Import github.com/dgrijalva/jwt-go into vendor/
* Adapt LFS module: handlers, routing, meta store
* Move LFS routes to /user/repo/info/lfs/*
* Add request header checks to LFS BatchHandler / PostHandler
* Implement LFS basic authentication
* Rework JWT secret generation / load
* Implement LFS SSH token authentication with JWT
Specification: https://github.com/github/git-lfs/tree/master/docs/api
* Integrate LFS settings into install process
* Remove LFS objects when repository is deleted
Only removes objects from content store when deleted repo is the only
referencing repository
* Make LFS module stateless
Fixes bug where LFS would not work after installation without
restarting Gitea
* Change 500 'Internal Server Error' to 400 'Bad Request'
* Change sql query to xorm call
* Remove unneeded type from LFS module
* Change internal imports to code.gitea.io/gitea/
* Add Gitea authors copyright
* Change basic auth realm to "gitea-lfs"
* Add unique indexes to LFS model
* Use xorm count function in LFS check on repository delete
* Return io.ReadCloser from content store and close after usage
* Add LFS info to runWeb()
* Export LFS content store base path
* LFS file download from UI
* Work around git-lfs client issue with unauthenticated requests
Returning a dummy Authorization header for unauthenticated requests
lets git-lfs client skip asking for auth credentials
See: https://github.com/github/git-lfs/issues/1088
* Fix unauthenticated UI downloads from public repositories
* Authentication check order, Finish LFS file view logic
* Ignore LFS hooks if installed for current OS user
Fixes Gitea UI actions for repositories tracking LFS files.
Checks for minimum needed git version by parsing the semantic version
string.
* Hide LFS metafile diff from commit view, marking as binary
* Show LFS notice if file in commit view is tracked
* Add notbefore/nbf JWT claim
* Correct lint suggestions - comments for structs and functions
- Add comments to LFS model
- Function comment for GetRandomBytesAsBase64
- LFS server function comments and lint variable suggestion
* Move secret generation code out of conditional
Ensures no LFS code may run with an empty secret
* Do not hand out JWT tokens if LFS server support is disabled
2016-12-26 09:16:37 +08:00
Bwko
fa3abc22c0
Added sorting to organizations, repos & users page ( #222 )
2016-12-24 22:42:26 +08:00
Lunny Xiao
a822bba3e1
Add default values for settings ( #455 )
...
* add default values for settings
* more default values
* more default settings and labels resource
* mv locale to options
2016-12-23 15:18:05 +08:00
Thomas Boerger
b33078fa33
Bindata is optional and over-writable on restart ( #354 )
...
* Moved conf assets into options folder
* Dropped old bindata
* Started to integrate options bindata and accessors
* Do not enforce a builtin app.ini
* Replaced bindata calls with options
* Dropped bindata task from makefile, it's the generate task now
* Always embedd app.ini to provide sane config defaults
* Use sane defaults for the configuration
* Defined default value for SSH_KEYGEN_PATH
* Dropped "NEVER EVER MODIFY THIS FILE" header from app.ini
* Fixed new paths in latest test additions
* Drop bindata with make clean task
* Set more proper default values
2016-12-22 19:12:23 +01:00
Richie B2B
0d6e88baef
Fix typo ( #407 )
2016-12-16 17:00:15 +01:00
Ethan Koenig
401a8db0ed
Remove stale comment in models/repo.go ( #366 )
2016-12-08 00:04:12 +01:00
Ethan Koenig
04b9a7e7a2
Bug fixes for repo permissions in API
...
Also move duplicated code into repo.APIFormat(..)
2016-12-07 12:55:24 +01:00
Bwko
4ff0db0246
Catch os... errors
2016-12-02 07:41:19 +01:00
Bwko
5ab85372da
Added rel="noopener" to target="_blank" hrefs ( #327 )
...
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
2016-12-02 09:12:16 +08:00
Bwko
bad1bc6518
Lint models/repo.go
2016-11-28 18:27:55 +01:00
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
2016-11-27 18:14:25 +08:00
Lunny Xiao
304bbd3f25
golint fixed for modules/markdown
2016-11-25 09:58:05 +08:00
Bo-Yi Wu
d9ffe99972
fix variable assigned and not used.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-15 14:16:27 +08:00
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
2016-11-11 13:11:45 +01:00
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
2016-11-11 17:39:44 +08:00
Thibault Meyer
b0ddced2b5
Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries
...
# Conflicts:
# models/git_diff.go
# models/issue.go
# models/org.go
# models/pull.go
# models/repo.go
2016-11-10 21:05:52 +01:00
Thibault Meyer
a4454f5d0f
Rewrite XORM queries
2016-11-10 20:59:51 +01:00
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
2016-11-10 17:24:48 +01:00
Sandro Santilli
b3828e38a5
more
2016-11-07 17:41:28 +01:00
Sandro Santilli
f14232d2e9
This one I overlooked before
2016-11-07 17:33:03 +01:00
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
2016-11-07 17:20:37 +01:00
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
2016-11-07 16:10:32 +01:00
Sandro Santilli
6e4252dad4
Replace gogits/git-module dependency with go-gitea/git ( #94 )
...
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
2016-11-06 11:18:34 -02:00
Matthias Loibl
953c099428
Add missing version & gogs package
2016-11-05 18:04:47 +01:00
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
2016-11-05 17:56:35 +01:00
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
2016-11-04 09:06:54 +01:00
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
2016-11-03 10:29:56 -02:00
Unknwon
6da55159a2
#3589 LoadRepoConfig after ORM is initialized
2016-09-02 23:18:37 -04:00
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
43297148b2
modules/sync: rename SingleInstancePool to ExclusivePool
2016-08-30 15:19:53 -07:00
Unknwon
643142acab
Web editor: support upload files
2016-08-30 05:23:59 -07:00
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
2016-08-29 19:02:49 -07:00
LFlare
3738b6399e
Fixed typo ( #3533 )
...
Git convention has it capitalised.
2016-08-29 11:31:12 -07:00
Unknwon
579e5e4fee
Web editor: disallow edit mirror repository
2016-08-28 04:56:41 -07:00
Unknwon
dad5c15520
#2901 allow setting preferred licenses
...
- Closes #3488
2016-08-28 00:06:22 -07:00
Unknwon
c30b856d14
#3505 use user’s info for committer and author
2016-08-27 13:37:55 -07:00
Unknwon
ce1e4348da
#3521 fix wiki HTTP/S clone URL does not have .wiki suffix
2016-08-27 12:29:52 -07:00
Unknwon
f8a48ffaad
Web editor: improve code quality
2016-08-24 21:35:03 -07:00
Unknwon
0b273ac4d5
#3383 code cleanup
2016-08-24 16:05:56 -07:00
Unknwon
a00c932bbc
General code quality improvement
2016-08-16 23:06:38 -07:00
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
2016-08-16 10:19:09 -07:00
Unknwon
2625193a48
models/repo_editor: improve code quality
2016-08-15 22:20:55 -07:00
Unknwon
f3c3258921
Fix repository owner can assign self
2016-08-15 18:48:20 -07:00
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
2016-08-15 18:40:32 -07:00
Unknwon
cc647ba9d5
#3461 fix security issue of REAMDE path in create repository
2016-08-15 02:35:54 -07:00
Unknwon
54e0ada9d5
Web editor: improve delete file
2016-08-14 23:52:24 -07:00
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
2016-08-14 23:52:24 -07:00
Unknwon
660e7a178a
modules/sync: move sync objects to independent module
2016-08-14 23:52:24 -07:00
Unknwon
15845cb287
Code clean up for new config options
2016-08-14 23:52:24 -07:00
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
2016-08-14 23:52:24 -07:00
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
2016-08-14 04:17:26 -07:00
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
2016-08-14 03:32:24 -07:00
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
2016-08-11 10:53:51 -07:00
Andrew
0885784f13
Wiki mirroring implementation ( #3233 )
...
* 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
2016-08-11 10:18:51 -07:00
Kim Carlbäcker
b756806ee9
Add "support" for git-daemon-export-ok ( #2940 ) ( #3046 )
...
* 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
2016-08-10 20:08:09 -07:00
Thibault Meyer
fc68fb951c
Feature #3398 : Redefine global mirror interval ( #3409 )
...
* add mirror::GLOBAL_INTERVAL on app.ini
* rename key to DEFAULT_INTERVAL
* add key on default app.ini + move code
2016-08-09 23:47:16 -07:00
Unknwon
b0b88d9bc5
#3091 add config option for Git GC
2016-08-09 17:24:32 -07:00
Unknwon
e5bf4281b5
#2825 early response 200 when ?go-get=1
2016-08-07 14:29:16 -07:00
Unknwon
e74630ae3b
#1384 add pagination for repositories
2016-07-24 14:32:46 +08:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
2016-07-23 20:24:44 +08:00
Unknwon
4e822c1911
conf: change default mirror checking interval to 10m
2016-07-23 20:20:09 +08:00
Unknwon
69f5308761
#2903 use different reversed words and patterns for repository and user
2016-07-23 18:58:18 +08:00
Unknwon
745167d57a
#3157 create user path before rename repository while transfer
...
os.Rename does not create parent directory automatically when not exist
2016-07-23 17:36:15 +08:00
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
2016-07-15 21:53:43 +08:00
Unknwon
9fcf66f0e0
Minor fix for #3246
2016-07-09 13:42:05 +08:00
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
2016-07-09 13:22:28 +08:00
467d7dacb6
Modify behaviour of repo-delete. ( #3232 )
...
Re: issues gogits/gogs#2863 and gogits/gogs#3231
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.
2016-07-09 13:13:57 +08:00
Unknwon
e30c701386
#3229 disallow repository name . and ..
...
Since . and .. has browser automatical behaviors, we need to disallow those names.
2016-07-08 07:34:05 +08:00
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
2016-07-04 17:27:06 +08:00
Robin Lambertz
bc00da1721
Fix negative issue count ( #3207 )
2016-06-27 01:53:30 +08:00
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
2016-05-27 18:23:39 -07:00
Unknwon
78b8b63774
#2992 set default style name when empty in AfterSet
2016-04-22 18:36:05 -04:00
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
2016-04-22 18:28:08 -04:00
Unknwon
98b58fa050
Handle windows deletion when start
...
Fix #2872
2016-03-23 03:16:53 -04:00
Unknwon
ff731ea07d
#2814 LOWER() column value within search
2016-03-16 16:55:19 -04:00
Unknwon
263304b6b7
#13 fix postgres aggregate
2016-03-11 16:11:33 -05:00
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
2016-03-11 12:43:35 +01:00
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
2016-03-09 19:53:30 -05:00
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.
2016-03-05 18:08:42 -05:00
Unknwon
dfd6f8f7ab
Merge pull request #2757 from joshfng/fix-fork-relative-url
...
Use relative url when showing forked from
2016-03-04 18:37:42 -05:00
Josh Frye
275464e7fb
Use relative url when showing forked from
2016-03-04 18:32:30 -05:00
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
2016-03-04 15:43:01 -05:00
Unknwon
260723e2cc
Minor fixes for #2745
2016-03-03 23:24:22 -05:00
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
2016-03-03 16:12:48 -05:00
Josh Frye
7f2733fa1b
Return errors instead of just logging them.
2016-03-03 12:43:23 -05:00
Josh Frye
edb7967dc7
Set DefaultBranch to master when importing a new repo if possible
2016-03-03 12:23:45 -05:00
Unknwon
9e89584cb4
Allow setting git operations timeouts
...
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
2016-02-29 19:29:49 -05:00
Unknwon
ea80274229
#2700 fix sqlite3 can't create issue with more than one label
2016-02-29 18:45:12 -05:00
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
2016-02-27 20:48:39 -05:00
Unknwon
d5a3021a7d
Make markdown as an independent module
2016-02-20 17:10:05 -05:00
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 20:33:06 +01:00
Unknwon
632c27802c
Minor fix for #2624
2016-02-15 14:57:15 -05:00
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
2016-02-15 14:26:21 -05:00
Martin Hartkorn
bb595666ac
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
2016-02-15 14:59:24 +01:00
Unknwon
9adfe453d5
#2569 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.
2016-02-14 19:42:38 -05:00
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
2016-02-14 22:40:39 +01:00
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
2016-02-14 21:12:00 +01:00
Josh Frye
8662990746
Add default branch to repo payload
2016-02-12 11:04:46 -05:00
Josh Frye
ce3708b3ea
Remove local wiki copy on repo transfer. Fixes #2558
2016-02-11 19:26:51 -05:00
Unknwon
59745c62b4
#1577 fix missing SQL query placeholder
2016-02-10 17:30:24 -05:00
Unknwon
f8182ac521
#2558 delete local wiki copy when rename repo and user
2016-02-05 14:11:53 -05:00
Unknwon
04be8c0de5
#2554 reinitialize all repos from the db
...
- Update locales
2016-02-04 12:51:00 -05:00
Unknwon
995487e822
Minor fix for #2506
2016-02-02 17:07:40 -05:00
Antoine GIRARD
b7b30cd85e
Corrections following recommendations
2016-01-28 20:51:19 +01:00
Antoine GIRARD
c11c3b6c11
Near ready
2016-01-28 20:51:19 +01:00
Unknwon
e2dde6eb0a
Record error when fail to health check repository
2016-01-28 06:46:25 -05:00
Unknwon
240fe07287
#2273 URL consistency on webhook payload
2015-12-25 07:11:58 -05:00
Unknwon
7786cb76f3
fix #2205
2015-12-15 21:32:17 -05:00
Unknwon
19423957b1
rename import path
2015-12-15 17:25:45 -05:00
Unknwon
91789930bc
#2176 fix 500 on /watchers & /stars for pg
2015-12-14 02:40:23 -05:00
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
2015-12-13 18:20:39 -05:00
Unknwon
40f3142264
#2114 External URL for wiki
2015-12-11 04:55:08 -05:00
Unknwon
2a0bb1fa90
#1575 Limit repo creation
2015-12-10 12:37:53 -05:00
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
2015-12-09 20:46:05 -05:00
Unknwon
718d3ae258
#1943 Able to config fsck timeout
2015-12-09 11:38:12 -05:00
Unknwon
120cd4e471
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
2015-12-06 23:07:02 -05:00
Unknwon
404867f206
fix #2105 and fix #1857
2015-12-05 13:24:13 -05:00
Unknwon
e82ee40e9e
init with all enabled
2015-12-04 21:34:37 -05:00
Unknwon
e538ff2770
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Unknwon
81133d45a1
work on #2093
2015-12-03 14:21:13 -05:00
Unknwon
37a372f6f5
500 when wiki not exists
2015-12-03 02:08:25 -05:00
Unknwon
f122d0856e
fix #2090
2015-12-03 01:59:32 -05:00
Unknwon
d3a5ff7b6b
fix #2042
2015-11-30 20:50:40 -05:00
Unknwon
830d000667
finish wiki
2015-11-30 20:45:55 -05:00
Unknwon
392f3ee210
wiki: finish new
2015-11-27 00:24:24 -05:00
Unknwon
c50a3503e6
introduce git-shell
2015-11-26 17:33:45 -05:00
Unknwon
2b10fdc4dc
Wiki: UI for page new
2015-11-25 20:10:25 -05:00
Unknwon
dcc740fd26
fix incorrect
2015-11-21 19:30:11 -05:00
Unknwon
8966750fd4
add some log
2015-11-21 19:11:57 -05:00
Unknwon
1d4a5b1825
fix #2002
2015-11-20 02:53:54 -05:00
Unknwon
3d14e73fd8
fix #1119 and data race in timming tasks
2015-11-20 00:47:35 -05:00
Unknwon
efea642d6c
add admin op: delete missing repos
2015-11-18 15:37:48 -05:00
Unknwon
ab9411be2a
clean up code
2015-11-16 23:33:40 -05:00
Unknwon
9ab96172fc
new watchers, stars and forks UI
2015-11-16 23:28:46 -05:00
Unknwon
18de67380c
fix #1958
2015-11-15 23:52:46 -05:00
Unknwon
4f03b81ec7
#1931 Test patch does not checkout correct base branch
2015-11-15 14:41:36 -05:00
Unknwon
18c841050b
fix 1540 and experimental SSH server support
2015-11-08 16:59:56 -05:00
Unknwon
d85a1d478e
admin op with notice
2015-11-07 20:20:51 -05:00
Unknwon
6f929dcd9e
#1895 Case sensitive clone URL
2015-11-06 11:14:58 -05:00
Unknwon
8411b50f5d
work on #1882
2015-11-03 13:00:04 -05:00
Unknwon
04806b614e
more on #1705
2015-10-31 23:22:28 -04:00
Unknwon
706b0f72e2
fix issue comment mention and autofix count when start
2015-10-29 20:40:57 -04:00
Unknwon
022820103d
#1657 allow forcing all private repos
2015-10-25 04:26:26 -04:00
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
2015-10-24 03:36:47 -04:00
Unknwon
db7ac8bc1d
use notice instead of suspend delete archives
2015-10-23 11:03:15 -04:00
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
2015-10-18 19:30:39 -04:00
Unknwon
6a6e43f964
print out git version
2015-10-13 16:01:57 -04:00
Unknwon
01dc8f8a4f
fix change visivility of non-org does not affect forks
2015-10-08 22:38:42 -04:00
Unknwon
ea6c6bc20a
work on 1714
2015-10-05 09:54:55 -04:00
Unknwon
215920772a
save PR info as patch and minor fix on PR
2015-10-04 20:54:06 -04:00
kendaru
5c39d3fa7d
changed integrated page number to GET
2015-10-02 10:04:11 +02:00
Steven
c8aa9c6cb1
implemented #1721 : see users who forked/starred/watched a repository
2015-10-01 15:51:46 +02:00
Unknwon
6dfee30bf0
#1602 Wrong commit order on issue page when pushing multiple commits
2015-09-25 20:35:56 -04:00
Unknwon
986447335d
#1693 minor fix
2015-09-25 19:07:21 -04:00
Antoine GIRARD
dfc16d0879
Fix admin repos new ui
2015-09-26 00:38:43 +02:00
Unknwon
52ec80fa18
finish all new user settings UI
2015-09-10 11:40:34 -04:00
Unknwon
9899ea71e8
#1611 fix bool type in sqlite query
2015-09-09 18:07:10 -04:00
Unknwon
b75d0378cb
clean log
2015-09-09 12:42:24 -04:00
Unknwon
0806725ca5
minor fix on #1589
...
Signed-off-by: Unknwon <u@gogs.io>
2015-09-06 18:19:30 -04:00
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'
2015-09-07 02:20:51 +04:30
Unknwon
aa67de910a
fix #1558
2015-09-06 08:54:08 -04:00
Unknwon
119dec51f2
Mirror repository should not allow fork
2015-09-05 14:31:52 -04:00
Unknwon
d023e81a8f
#1577 explore paginator problem
2015-09-04 05:54:22 -04:00
Unknwon
38eb000d13
work on #1570
2015-09-03 08:09:08 -04:00
Unknwon
a7ee654646
#1544 better tmp dir name for creating repo
2015-09-03 04:44:20 -04:00
Unknwon
b6131793da
#1545 prevent duplicated refs of issues in single commit
2015-09-03 04:34:08 -04:00
Unknwon
2a2a8cd619
ui and pulls index fix
2015-09-03 03:49:50 -04:00
Unknwon
83dc2468f5
finish initial version of pull request
2015-09-02 16:18:09 -04:00
Unknwon
953bb06857
basic PR feature
2015-09-02 09:26:56 -04:00
Unknwon
8c046073a8
work on PR conversation
2015-09-01 19:07:02 -04:00
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
2015-09-01 11:43:53 -04:00
Unknwon
7714e792a4
minor fixes on #1551
2015-09-01 07:04:35 -04:00
Unknwon
d01f688257
fix repository count of user is messed up
2015-08-30 01:13:24 +08:00
Unknwon
a3683ca5d6
#1544 Creating new repository fails occasionally
2015-08-29 16:07:02 +08:00
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
2015-08-29 15:45:58 +08:00
Unknwon
a541ca16b6
fix bare repo issue
2015-08-28 19:34:23 +08:00
Unknwon
d07033a0f0
fix 1093
2015-08-28 18:49:44 +08:00
Unknwon
11ce720f9f
add more README vars
2015-08-28 18:36:32 +08:00
Unknwon
bb3b90fcd6
#1487 Readme Template
2015-08-28 18:33:09 +08:00
Unknwon
46bee50e45
complate list of gitignores and licenses
2015-08-28 16:44:04 +08:00
Unknwon
b3a45693c3
minor update
2015-08-26 12:26:01 +08:00
Unknwon
f808df5a7b
new user dahsboard issues
2015-08-25 22:58:34 +08:00
Unknwon
aa65761d81
new commits table
2015-08-20 20:18:49 +08:00
Unknwon
6235bd1fe9
work on #986 and fix a LDAP crash
2015-08-18 04:03:11 +08:00
Unknwon
b1696665bd
make cron task configurable
2015-08-18 02:19:29 +08:00
Unknwon
407385db7e
work on #1493
2015-08-17 17:05:37 +08:00
Unknwon
e4d6b5d488
Creates hooks directory when init update hook
2015-08-15 01:13:23 +08:00
Unknwon
2cc9bc8969
delete attachments when delete repo
2015-08-14 03:07:20 +08:00
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
2015-08-14 02:43:40 +08:00
Unknwon
133b19d0c5
finish view comments on issue page
2015-08-13 16:07:11 +08:00
Unknwon
75aff60c90
finish create issue with milestone and assignee
2015-08-10 21:47:23 +08:00
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
2015-08-08 22:43:14 +08:00
Unknwon
e3bdfd51ff
better fork permission check
2015-08-08 17:24:10 +08:00
Unknwon
9db4acc62e
improve fork process
2015-08-08 17:10:34 +08:00
Unknwon
45adb9b7a3
fix #1331
2015-08-08 00:41:09 +08:00
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
2015-08-05 20:26:00 +08:00
Unknwon
0705f55ce0
finish new milestone page
2015-08-05 20:23:08 +08:00
Unknwon
e50982f5ec
allow anonymous SSH clone
2015-08-05 11:14:17 +08:00
Unknwon
9311a9858a
milestone: pagination
2015-08-04 22:24:04 +08:00
Unknwon
c44e1c7ca9
fix #1208
2015-07-31 14:05:36 +08:00
Unknwon
f83519b452
report error when migration auth failed
2015-07-28 21:24:24 +08:00
Unknwon
6f8e388b55
fix #1169
...
- prevent create reop on existed path
2015-07-26 19:22:17 +08:00
Unknwon
c0883a51a0
mirror fix on #1111
2015-07-25 07:47:43 +08:00
无闻
b838e94980
Merge pull request #1111 from vitalvas/develop
...
Add function in cron to autofix counters in repository
2015-07-25 07:22:50 +08:00
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
2015-07-24 21:02:49 +08:00
Unknwon
d6cdd49c16
fixes on #1171
2015-07-19 17:44:03 +08:00
Unknwon
c6531c4882
check master as default branch when migrate
2015-07-05 18:34:16 +08:00
William Roush
8363c9dd0f
Fixes issue with LDAP inserting users with blank names.
2015-04-20 01:51:43 -04:00
Tony Narlock
6a0fec77ea
Allow an SSHDomain configuration option. Defaults to Domain, preserves legacy behavior
2015-04-18 05:21:07 -05:00
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
2015-03-26 17:11:47 -04:00
Unknwon
ab730a91f0
#1120 #1132 mirror info not updated when transfer mirro repo
2015-03-25 17:50:18 -04:00
Unknwon
9c67a19332
#1089 change to fake local email account
2015-03-24 18:41:41 -04:00
Unknwon
6f81c05dde
#1143 Team member access lost when adding repository collaborator
...
- fix bug when add a repo to team, all other team members gets access as well
2015-03-24 18:14:04 -04:00
Vitaliy Vasilenko
20a8d651f3
add func to autofix couters in repository
2015-03-21 14:55:00 +02:00
Unknwon
7cf0564587
update gopmfile
2015-03-19 16:44:22 -04:00
Unknwon
e6cf83b8c0
Put default config into binary
2015-03-18 06:37:44 -04:00
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
2015-03-17 21:51:39 -04:00
Unknwon
fc6db829b2
fix read access team visibility of private repo
2015-03-16 04:52:11 -04:00
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
2015-03-16 04:04:27 -04:00
Unknwon
b668fc7aad
#876 : Update hooks is missing for forked repository
2015-03-12 20:18:42 -04:00
Unknwon
473e265727
models: done testing on new access system
2015-02-28 21:44:09 -05:00
Unknwon
8896c82d34
models: fix issue with transfer repository
...
README: fix typo
2015-02-24 00:27:22 -05:00
Unknwon
ee68a826a5
v4 migration, merge 'dev', clean code and mirror fix
2015-02-23 02:15:53 -05:00
Unknwon
e90f014e4a
Merge branch 'access' of github.com:gogits/gogs into access
2015-02-22 23:34:05 -05:00
Unknwon
7ccab9cd09
Merge branch 'dev' of github.com:gogits/gogs into access
...
Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl
2015-02-22 22:51:25 -05:00
Peter Smit
e6fc58a744
Remove GoGet option from repository and handle it with ?go-get=1 instead
...
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
2015-02-17 10:36:17 +02:00
Peter Smit
b6519f78c7
Remove collaborators when removing and transferring repository
2015-02-16 13:34:42 +02:00
Unknwon
6b7d35eade
fix mirror issues uncaught #941
2015-02-13 02:14:57 -05:00
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
2015-02-13 00:58:46 -05:00
Peter Smit
0a4cda0dd4
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
2015-02-12 14:14:45 +02:00
Unknwon
7e7160eefd
first pass work on migration #925
2015-02-11 21:58:37 -05:00
Unknwon
c5c467a9cd
Merge branch 'dev' of github.com:gogits/gogs into access
2015-02-11 19:25:59 -05:00
Unknwon
c7a042ef36
Merge branch 'access' of github.com:gogits/gogs into access
2015-02-11 12:43:43 -05:00
无闻
e805fdb29c
Merge pull request #925 from phsmit/newcollaboration
...
Collaboration
2015-02-11 12:43:13 -05:00
Unknwon
485ea6f14f
models: make code change for session issue with SQLite3 #739
2015-02-10 23:44:16 -05:00
Unknwon
bad533a219
models/repo.go: add update hook when migrate for #789
2015-02-09 12:42:53 -05:00
Peter Smit
aa35be975f
Fix #922
2015-02-09 12:27:15 +02:00
Unknwon
f15fa9167a
cmd: code fix for #905
...
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
2015-02-08 21:26:14 -05:00
无闻
cd0ee35b3f
Merge pull request #905 from phsmit/conf_on_cli
...
Add option to provide configuration file on command line
2015-02-08 20:22:02 -05:00
Unknwon
2a2596fe61
able to disable SSH for #883
2015-02-07 10:46:57 -05:00
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
2015-02-05 12:17:35 +02:00
Peter Smit
03af37554e
Merge branch 'dev' into newcollaboration
2015-02-05 11:08:10 +02:00
Unknwon
4de0b19cec
models: mirro code fix for #821
2015-02-02 23:42:53 -05:00
无闻
902f19f70b
Merge pull request #821 from phsmit/fix_819
...
Fix #819 by fetching the repository from db before updating
2015-02-02 23:38:04 -05:00
Unknwon
ee6786216a
modules/base: clean code with #838
2015-01-30 18:12:30 -05:00
Peter Smit
76f8904718
Introducing Collaboration Struct
2015-01-23 09:54:16 +02:00
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
2015-01-02 20:14:43 +08:00
Peter Smit
44fa9147b7
Fix #819 by fetching the repository from db before updating
2015-01-02 11:15:42 +02:00
Unknwon
0b56272c13
fix #805
2015-01-02 13:30:45 +08:00
Unknwon
3ea1443885
work on #784
2015-01-02 12:47:33 +08:00
euank
234a7c19a4
Default values for both user.name and user.email
...
The previous behavior was to set default values only if user.name was
not set, but to always set it for both. This only sets a value if there
wasn't one; this fixes cases where someone has a user.name but no
user.email (see included Dockerfile) or someone has a user.email but no
user.name (before the email would have been over-written).
2014-12-27 19:07:54 -08:00
Unknwon
b553ea45ee
modes/repo: incorrect SSH clone URL for #742
2014-12-13 16:46:00 -05:00
Unknwon
2f3a7e53cb
fix #735
2014-12-12 01:29:36 -05:00
Joseph Crail
39c068400e
Fix spelling errors in comments.
2014-12-06 20:22:48 -05:00
Unknwon
e577f2fff3
fix #706 and other mirror improve
2014-12-04 23:07:51 -05:00
Unknwon
d75013a0e8
fix #580
2014-11-30 02:26:29 -05:00
Unknwon
1b66600bd0
Fix #652
2014-11-23 02:33:47 -05:00
Unknwon
2d8c414f8c
Fix #635
2014-11-18 19:05:33 -05:00
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
2014-11-13 02:32:18 -05:00
Unknwon
4e7eb5be9d
Work on #5 fork and fix #608
2014-11-05 23:30:04 -05:00
Unknwon
0c5ba4573a
fix session API broken and SQL pretection
2014-11-04 11:37:15 -05:00
Unknwon
83283bca4c
Safe work
2014-10-25 07:50:19 -04:00
Unknwon
f1d8746264
Fix fork repo and macaron API broken
2014-10-24 18:43:17 -04:00
Unknwon
a342d58d7e
Able to fork repo to individuals
2014-10-19 01:35:24 -04:00
evolvedlight
8d2a6fc484
Merge remote-tracking branch 'upstream/dev'
...
Conflicts:
models/repo.go
2014-10-13 20:30:31 +01:00
evolvedlight
29ac3980ff
More changes
2014-10-13 20:23:30 +01:00
Unknwon
963354c5d7
Add raw, history file button, and other mirror fixes
2014-10-11 18:02:48 -04:00
evolvedlight
211dc74816
Got the fork count working
2014-10-10 00:21:36 +01:00
Unknwon
79262173a6
Webhook delivery locking & Hide repo for org members if they don't have access
2014-10-09 19:01:22 -04:00
Unknwon
1aa76bd279
Fix #532 , add system notice
2014-10-08 18:29:18 -04:00
Unknwon
263d409326
Basic xss prevention
2014-10-04 17:15:22 -04:00
evolvedlight
c9e5e38fcf
Initial cut of git fork
2014-10-04 18:19:14 +01:00
Unknwon
3cfa4a581c
Bug: 500 when transfer repository to collaborator
2014-09-29 04:04:48 -04:00
Unknwon
ad52b2d791
Mirror fix on transfer repo
2014-09-25 22:36:07 -04:00
Unknwon
71e4689d11
Page: User profile
2014-09-25 19:33:39 -04:00
Unknwon
f69761563b
Fix bug on transfer repo
2014-09-25 16:36:19 -04:00
Unknwon
5bbeeb0f1b
Page: Commits and fix #249
2014-09-23 15:30:04 -04:00
Unknwon
8a09256941
Mirror fix and fix #481
2014-09-17 14:22:51 -04:00
Unknwon
62f21ff3ed
Work on #476
2014-09-16 11:29:53 -04:00
Unknwon
0d9c41be7d
Work on #476
2014-09-16 10:10:33 -04:00
Unknwon
cfed11f092
Bug: Transfer repository doesn't update the count
2014-09-12 18:29:58 -04:00
Unknwon
ab7206d6b7
Fix #348
2014-09-05 17:28:09 -04:00
Tristan Storch
9fc4ded369
Standard git user.name and user.email if not set
...
Git user.name and user.email will now be set to the standard values
- Gogs
- gogitservice@gmail.com
if user.name is not set or empty.
If user.name is set and user.email not, it will leave it this way.
2014-09-04 12:07:09 +02:00
Unknwon
830efc90da
update docs and mirror bug fix
2014-09-02 07:11:39 -04:00
lunnyxiao
1240fef0ca
bug fixed for migrate and fixed #141
2014-09-02 11:57:06 +08:00
Unknwon
9baf2b38d0
Bug fix on organization
2014-08-27 16:39:36 +08:00
Unknwon
50de06056b
Merge branch 'dev' of github.com:gogits/gogs into dev
2014-08-26 18:11:27 +08:00
Unknwon
74b31566cf
Finsih add/remove repo in organization
2014-08-26 18:11:15 +08:00
Vyacheslav Bakhmutov
95a594d75a
Migrate all branches and tags
2014-08-25 20:28:14 +07:00
Unknwon
21a1b8e5a3
Finish new edit team page, add member to team
2014-08-24 21:09:05 +08:00
Unknwon
e325c8499a
Fix and set git config
2014-08-23 23:58:56 +08:00
Unknwon
a60edbe88c
Add/remove member need add/remove access to repositories as well
2014-08-16 16:58:32 +08:00
Unknwon
5fbf8531e6
Finish new home page of organization
2014-08-10 20:11:18 -07:00
Unknwon
fa0a389dc4
Fix bare repo bug
2014-08-05 19:40:01 -04:00
Unknwon
17d2675dd2
Fix #258
2014-08-01 05:20:33 -04:00
Unknwon
9813161411
Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
2014-07-26 23:53:16 -04:00
Unknwon
5e81383413
Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
2014-07-26 18:37:18 -04:00
Unknwon
8dd07c0ddd
New UI merge in progress
2014-07-26 00:24:27 -04:00
Justin Nuß
469cbc8813
Update progress of milestones when closing/reopening issues and allow closing of issues in commit messages
2014-07-23 13:48:06 +02:00
Justin Nuß
636a78fed1
Escape tags and quotes in links.
2014-07-22 20:08:04 +02:00
Justin Nuß
e194cf3291
Fix issue #259 . Allow links in the repository description
2014-07-22 19:52:37 +02:00
Unknown
0f907301b7
Fix #285
2014-07-12 00:55:19 -04:00
Unknown
63cc14062a
Paging function for users and repositories
2014-07-07 04:15:08 -04:00
Unknown
097c8e05e6
Able to set timeout for process monitor
2014-07-06 17:32:36 -04:00