kolaente
2950021ddf
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v58.go
2018-03-18 15:23:32 +01:00
Lauris BH
7b2b900e13
Refactor and simplify redirect to url ( #3674 )
2018-03-15 22:13:34 +01:00
kolaente
138a80b7fa
Grammar
2018-02-27 19:01:15 +01:00
Konrad
64e61d6aa5
Merge branch 'master' of https://github.com/go-gitea/gitea
2018-02-15 20:03:44 +01:00
Piotr Orzechowski
b104ab3ca1
Add option to enable or disable swagger endpoints ( #3502 )
2018-02-14 06:46:00 +02:00
kolaente
cdb5d6593a
Merge branch 'master' into master
2018-01-31 19:32:50 +01:00
Lauris BH
aef30071c9
Fix go-get content type ( #3426 )
2018-01-29 19:50:04 +02:00
Lauris BH
28b81899d0
Add doctype to go-get=1 reponse ( #3423 )
2018-01-29 03:12:04 +02:00
kolaente
dd5cfbf656
Simplified "CanCreateIssueDependencies"
2018-01-14 20:20:18 +01:00
kolaente
d5b1c33f73
Merge branch 'master' into master
2018-01-11 21:09:56 +01:00
Morgan Bazalgette
65861900cd
Handle refactor ( #3339 )
...
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
2018-01-10 23:34:17 +02:00
kolaente
97140246f1
Renamed "CanUseDependencies" to "CanCreateDependencies" to be more precise
2017-12-29 14:46:07 +01:00
Konrad
ed4a47dcc8
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-12-29 14:27:23 +01:00
Ethan Koenig
515cdaa85d
Fix ignored errors when checking if organization, team member ( #3177 )
2017-12-21 09:43:26 +02:00
kolaente
172b1f054a
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/v51.go
2017-12-19 19:07:30 +01:00
Ethan Koenig
0b77dbc11c
Fix new pull request link ( #3133 )
...
* Fix new pull request link
* Only show button for branches
2017-12-13 13:06:25 +08:00
Ethan Koenig
54907dfbd1
Fix legacy URL redirects ( #3100 )
2017-12-07 09:09:02 +08:00
kolaente
fae44666ec
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v50.go
2017-12-04 10:48:37 +01:00
Lauris BH
5dc37b187c
Add reactions to issues/PR and comments ( #2856 )
2017-12-04 01:14:26 +02:00
techknowlogick
993b86628b
Minor copy changes ( #3074 )
...
* Minor copy changes
Fixes #3058
* Use TrN for translations that depend on count
Fix minor type with branches count
2017-12-03 22:52:30 +02:00
kolaente
1fded52044
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# public/js/index.js
2017-12-02 18:29:32 +01:00
Lunny Xiao
35cc5b0402
Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName ( #3043 )
...
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName
* fix tests
* fix tests bug
* some improvements
2017-12-02 15:34:39 +08:00
kolaente
6eea6c686f
Merge branch 'master' of https://github.com/go-gitea/gitea
...
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v49.go
# models/models.go
2017-11-29 20:55:20 +01:00
Duncan Ogilvie
551f3cbe42
Memory usage improvements ( #3013 )
...
* govendor update code.gitea.io/git
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Greatly improve memory usage
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
2017-11-29 09:50:39 +08:00
Ethan Koenig
b7ebaf6d20
Various wiki bug fixes ( #2996 )
...
* Update macaron
* Various wiki bug fixes
2017-11-28 17:43:51 +08:00
kolaente
db4f578e04
Finished implementing setting for dependencies
2017-11-28 00:33:51 +01:00
Konrad
c81041f80d
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-11-27 22:36:38 +01:00
kolaente
33c5033c8b
Started implementing settign for dependencies
2017-11-27 22:36:26 +01:00
Lauris BH
0d4c63fd70
Fix go-get, src and raw urls to new scheme ( #2978 )
2017-11-27 02:58:54 +02:00
Konrad
9e9d8b9b71
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-11-06 21:25:46 +01:00
Lunny Xiao
ff9daa3e9b
fix click create pull request button 404 ( #2859 )
2017-11-05 21:11:35 +02:00
Lauris BH
57de1ff991
Fix API raw file content access for default branch ( #2849 )
2017-11-04 19:26:38 +02:00
Lauris BH
08b124dd47
Fix API raw requests for commits and tags ( #2841 )
2017-11-04 01:23:59 +02:00
Morlinest
1f04c00e2f
Fix redirect url of legacy commits route ( #2825 )
2017-11-03 00:01:22 +02:00
Konrad Langenberg
30fe97a55e
Merge branch 'master' of https://github.com/go-gitea/gitea
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v46.go
# models/repo.go
# public/js/index.js
2017-10-30 21:17:36 +01:00
Ethan Koenig
513375c429
Make URL scheme unambiguous ( #2408 )
...
* Make URL scheme unambiguous
Redirect old routes to new routes
* Fix redirects to new URL scheme, and update template
* Fix branches/_new endpoints, and update integration test
2017-10-30 10:04:25 +08:00
Ethan Koenig
5866eb2321
Code/repo search ( #2582 )
...
Indexed search of repository contents (for default branch only)
2017-10-27 09:10:54 +03:00
Lauris BH
eca05b09aa
Add commit count caching ( #2774 )
...
* Add commit count caching
* Small refactoring
* Add different key prefix for refs and commits
* Add configuratuion option to allow to change caching time or disable it
2017-10-26 09:37:33 +08:00
Lauris BH
f3833b7ce4
Create new branch from branch selection dropdown ( #2130 )
...
* Create new branch from branch selection dropdown and rewrite it to VueJS
* Make updateLocalCopyToCommit as not exported
* Move branch name validation to model
* Fix possible race condition
2017-10-15 22:59:24 +03:00
Lauris BH
1ec4dc6c1d
Fix so that user can still fork his own repository to owned organizations ( #2699 )
...
* Fix so that user can still fork his own repository to his organizations
* Fix to only use owned organizations
* Add integration test for forking own repository to owned organization
2017-10-15 18:06:07 +03:00
Lauris BH
f42dbdbae5
Add Activity page to repository ( #2674 )
...
* Add Activity page to repository
* Add request data for activity
* Add issue data for activity
* Add user unit right checks
* Add releases to activity
* Log repository unit loading error
2017-10-15 02:17:39 +03:00
Konrad
81dfd9e15e
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-10-10 22:57:04 +02:00
Ethan Koenig
67e1c29dc5
Refactor duplicated code in repo handlers ( #2657 )
...
* Refactor duplicated code in repo handlers
* ctx.Handle
2017-10-05 10:32:25 +03:00
Konrad Langenberg
d7a2ffcc69
Merge branch 'master' of https://github.com/go-gitea/gitea
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v44.go
2017-10-04 23:15:30 +02:00
Lauris BH
46cc45f049
Fix go get response if only app URL is custom in configuration ( #2634 )
...
* Fix go get response if only app URL is custom in configuration
* Rewrite to update Domain setting to match AppURL
2017-10-02 21:55:09 +08:00
Konrad Langenberg
8b4a48c4bc
Merge branch 'master' of https://github.com/go-gitea/gitea
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
# Conflicts:
# models/migrations/migrations.go
# models/migrations/v42.go
2017-09-24 13:20:34 +02:00
Lunny Xiao
2ef8b8bcbe
fix go get subpackage bug ( #2584 )
...
* fix go get subpackage bug
* merge the duplicated funtions
2017-09-23 16:24:24 +03:00
Lauris BH
7a0297819d
Sync releases table with tags on push and for mirrors ( #2459 )
...
* Sync releases table with tags on push and for mirrors
* Code style fixes
* Fix api to return only releases
* Optimize release creation and update
Minimize posibility of race conditions
* Fix release lower tag name updating
* handle tag reference update by addionally comparing commit id
2017-09-20 13:26:49 +08:00
Ethan Koenig
a1ed239bf2
Fix fmt errors ( #2544 )
2017-09-19 19:44:49 +08:00
Jonas Franz
566e8ecce0
Fork permission bug fixes ( #2534 )
...
* Hotfix for "Add time manually" (https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125 )
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Checking if Code unit is enabled before creating a fork.
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Adding a discrete function for RepoIDAssignment
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Improved Documentation
2017-09-18 22:52:20 +08:00