Commit Graph

1675 Commits

Author SHA1 Message Date
Konrad
81dfd9e15e Merge branch 'master' of https://github.com/go-gitea/gitea 2017-10-10 22:57:04 +02:00
Morlinest
dff26e25ca Remove redudant functions and code (#2652)
* Remove redudant functions and code
2017-10-10 22:37:18 +02:00
David Schneiderbauer
0cef8ce192 fix panic on gogs webhook creation (#2675)
* fix panic on gogs webhook creation

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* fix panic in gogs webhook edit

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-10-08 19:37:31 +08:00
Kazuki Sawada
43253202e9 Change default sort order (#2647)
* sort repositories by `updated_unix` in Explore

* Fix UI problem

* Added missing sort order "newest"

* Change default sort order

* fmt
2017-10-05 08:02:43 +03:00
Konrad
8a8aef90eb Fixed setting
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-04 23:37:51 +02:00
Konrad Langenberg
752406c40c Reimplemented usage of Comment Depenendent Issue (in struct) in comments
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-04 23:37:39 +02: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
Konrad Langenberg
de45d094fa Removed unused DependentIssue in Comment struct
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-04 23:10:10 +02:00
Kazuki Sawada
e1266a19c8 Change pull description text (#2075) (#2646)
* Change pull description text

* move duplicated code into helper function
2017-10-04 20:35:01 +03:00
Konrad Langenberg
599f7f8996 Optimized Issue Dependency Routes
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 15:05:24 +02:00
Konrad Langenberg
5e22614248 Optimized Issue Dependency Routes
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 15:03:57 +02:00
Morlinest
a04718a2a6 Remove repo unit index (#2621)
* Remove repo unit index

* Fix sqlite
2017-10-02 23:22:25 +03:00
Morlinest
1ad902d529 Fix implementation of repo Home func (#2601)
* Fix implementation of repo Home func

* Make fixture changes for testing
2017-10-01 16:50:56 +03:00
Morlinest
bae9cbce9c Remove redudant CheckUnit calls in router (#2627) 2017-09-30 12:04:16 +08:00
Konrad
7a79dbc7ee Merge branch 'master' of https://github.com/go-gitea/gitea 2017-09-27 18:01:36 +02:00
Morlinest
cc84ca40d7 Remove redudant issue LoadAttributes() calls (#2614) 2017-09-27 09:41:52 -03:00
Konrad Langenberg
ace8f616b3 Fixed displaying of error messages in language
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-27 12:16:28 +02:00
Konrad Langenberg
7f30180875 Implemented repo check
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-26 22:06:51 +02:00
Konrad Langenberg
98604985b1 fixed lint + gofmt
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 17:39:47 +02:00
Konrad Langenberg
29aafb3ef8 Implemented custom type DependencyType
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 17:31:47 +02:00
Konrad Langenberg
fe8181af73 Simplified checking for open dependencies
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 16:29:25 +02: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
Konrad Langenberg
1b8b2fc17d Simplified checks for open dependencies
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 16:11:16 +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
Konrad Langenberg
d9aea3d646 fixed typo
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 15:24:03 +02:00
Konrad Langenberg
0eaf0404cc Switched to constants for dependency type
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:25:14 +02:00
Morlinest
9a75a5d59b Use custom type and constants to hold order by options (#2572) 2017-09-22 15:53:21 +03:00
Lunny Xiao
1be2b4a262 fix readme view bug (#2566) 2017-09-21 21:24:19 +03:00
Lunny Xiao
0d80af649a Add init support of orgmode document type on file view and readme (#2525)
* add init support of orgmode document type on file view and readme

* fix imports

* fix imports and readmeExist

* fix imports order

* fix format

* remove unnecessary convert
2017-09-21 13:20:14 +08: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
Lauris BH
23645fe05f Sort repository tree entries in natural way (#2506)
* Sort repository tree entries in natural way

* Fix sort for different length strings with first parts equal

* Improve test case

* Refactor return statements

* Update gitea/git dependency
2017-09-19 11:37:03 +03: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
Konrad Langenberg
e1779569f5 fixed lint
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 22:23:52 +02:00
Konrad Langenberg
c1ee648998 fixed template issue, resolved conflicts
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:53:28 +02:00
Jonas Franz
39cf3f7c6b Improving documentation to fix lint.
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2017-09-17 21:35:20 +02:00
Jonas Franz
fe6c1a9ae2 Fixing build process by syncing govendor dependencies and gofmt.
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2017-09-17 21:26:37 +02:00
kolaente
0eafc956ac Resolved Conflicts
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:06:54 +02:00
Konrad Langenberg
c7696b17db Moved languagestrings to ini
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:04:03 +02:00
Konrad Langenberg
14b5d369c9 Implemented repo settings check on autoclose
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:04:03 +02:00
Konrad Langenberg
2dbeb63a75 Fully implemented Repo setting to enable/disable Issue Dependencies
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:04:03 +02:00
Konrad Langenberg
4e295d60cd Fixed showing correct index in issue comment
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:03:48 +02:00
Konrad Langenberg
538c3f04f3 Beautify @JonasFranzDEV
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:03:30 +02:00
Konrad Langenberg
2c95447bdf Started implementation of comments
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:03:08 +02:00
kolaente
ca3b4e388a Implemented Basic Setting of Issue Dependencies
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:03:08 +02:00
kolaente
88855dd991 Started implementation of setting
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:01:40 +02:00
Konrad Langenberg
88025f8d7f Implemented Dependencies for pull requests.
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:00:54 +02:00
Konrad Langenberg
c3a0581243 Implemented not closing an issue if it has blocking dependencies
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:00:54 +02:00
Konrad Langenberg
39f7f92b84 Added method to prevent making an issue dependent on itself
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:00:05 +02:00
Konrad Langenberg
6859c47397 Added delete Dependency function
+ Improved Event Comments

Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 21:00:05 +02:00
Konrad Langenberg
0661b57134 Fixed creating a new dependency when the other issue didn't exists
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-17 20:58:16 +02:00