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
Morlinest
a79af9cf6f
Fix index column deletion ( #2651 )
2017-10-04 14:26:13 +03:00
Konrad Langenberg
7507e89cee
Optimized Issue Dependency Exists
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 15:28:06 +02:00
Konrad Langenberg
63ce7d0f82
Optimized Issue Dependency Left
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 15:27:06 +02:00
Konrad Langenberg
79f0315289
Improved Check for dependencies left
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 15:00:31 +02:00
Konrad Langenberg
b7e47f3bda
Improved Check for dependencies left
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-03 14:55:18 +02:00
Ethan Koenig
4b2c8ca533
Use session when creating user ( #2638 )
2017-10-03 09:29:26 +03:00
Morlinest
a04718a2a6
Remove repo unit index ( #2621 )
...
* Remove repo unit index
* Fix sqlite
2017-10-02 23:22:25 +03:00
Lunny Xiao
a8717e5e3a
Use AfterLoad instead of AfterSet on Structs ( #2628 )
...
* use AfterLoad instead of AfterSet on Structs
* fix the comments on AfterLoad
* fix the comments on action AfterLoad
2017-10-01 19:52:35 +03:00
Konrad Langenberg
4dd4fad251
Removed unessesary comment
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-10-01 18:00:31 +02: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
David Schneiderbauer
26e49b8e3d
Fix doubled issue tab introduced in migration v16 ( #2611 )
...
* fix duplicate issue tab as UnitTypeIssue and UnitTypeExternalTracker are existing at the same time
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-09-28 16:14:51 +03:00
Konrad
7a79dbc7ee
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-09-27 18:01:36 +02:00
Konrad Langenberg
b8d0fc2683
Fixed a bug with comments not showing correctly
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-27 17:49:56 +02:00
Morlinest
cc84ca40d7
Remove redudant issue LoadAttributes() calls ( #2614 )
2017-09-27 09:41:52 -03:00
Konrad Langenberg
a80fbb2a87
Fixed issuecanbeclosed
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-26 22:06:32 +02:00
Konrad
ab9f7b384d
Merge branch 'master' of https://github.com/go-gitea/gitea
2017-09-26 16:44:47 +02:00
Lunny Xiao
dd55534b82
Reduce usage of allcols on update ( #2596 )
...
* reduce usage of allcols on update
* fix bug and tests
2017-09-25 12:59:27 +08:00
Ethan Koenig
fa28de820e
Make indexer code more reusable ( #2590 )
2017-09-25 03:08:48 +03: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
837c917798
Moved error check before range
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 16:27:50 +02:00
Konrad Langenberg
e58f703b08
gofmt
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 13:29:45 +02:00
Konrad Langenberg
ae522299b9
Fixed Lint
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 13:25:55 +02:00
Konrad Langenberg
5fde62ba3a
Re-Added Migration
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-24 13:25:27 +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
8207f32be6
Added migration
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 16:19:59 +02:00
Konrad Langenberg
c1ea3f588d
Simplified listing all blocking & blocked by issues in one query
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 16:08:20 +02:00
Konrad Langenberg
8debb0a272
fixed typo
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 15:24:43 +02:00
Konrad Langenberg
d9aea3d646
fixed typo
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 15:24:03 +02:00
Konrad Langenberg
9b467a309e
Simplified checking of open dependencies left
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 15:20:58 +02:00
Konrad Langenberg
163a0a3822
Simplified checking of open dependencies into one query
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 15:18:29 +02:00
Konrad Langenberg
f707d54598
simplified depExists method
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:59:31 +02:00
Konrad Langenberg
1f8ce67366
added error check for dependency exists function
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:29:41 +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
Konrad Langenberg
bccb37c08c
Beautified creation of new dependency
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:14:41 +02:00
Konrad Langenberg
301f247efe
Fixed compatibility with newer xorm version
...
Signed-off-by: Konrad <konrad@kola-entertainments.de>
2017-09-23 14:08:39 +02:00
Lauris BH
2db424c3f1
Fix broken migration to add can_push field back to table ( #2574 )
2017-09-23 16:45:41 +08:00
Morlinest
9a75a5d59b
Use custom type and constants to hold order by options ( #2572 )
2017-09-22 15:53:21 +03:00
Morlinest
ca68a75b5b
Expand fixtures ( #2571 )
...
* Add more repo search tests
* Add and fix /api/repo/search integration tests
* Add owner to access table for organization repositories
* Remove tests
2017-09-22 13:51:16 +03:00
David Schneiderbauer
1eedd983ea
Complete push webhooks ( #2530 )
...
* implemented missing 'delete' push webhooks
moreover created ActionDeleteBranch and ActionDeleteTag
* add CommitRepoAction tests for tag/branch creation/deletion
* fixed error where push webhook not called if is new branch or tag
removed unnecessary code
* moved prepare unit test environment into separate method to be used across unit tests
* add missing if clause in pushUpdate
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-09-21 10:43:26 +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
Rémi Saurel
66bc0ac251
Fix sending mail with a non-latin display name. #2102 ( #2559 )
...
* Fix sending mail with a non-latin display name. #2102
Signed-off-by: Rémi Saurel <contact@remi-saurel.com>
* Take into account the possibility that setting.MailService.From is in `name <email@address>` format. #2102
Signed-off-by: Rémi Saurel <contact@remi-saurel.com>
2017-09-21 12:29:45 +08:00
Lauris BH
6718ea6ff1
Fix can_push value to false in protected_branch ( #2560 )
2017-09-20 17:52:23 +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
acecedc410
Use named ActionType constants in template helper ( #2545 )
2017-09-20 09:22:42 +08:00
Ethan Koenig
4cb9394a97
Fix lint errors ( #2547 )
2017-09-19 11:08:30 +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