Lunny Xiao and techknowlogick
270fa6d63b
Support CORS headers to git smart http protocol ( #5719 )
2019-01-14 16:05:27 -05:00
Lunny Xiao and Lauris BH
beab2df122
Refactor mail notification ( #5110 )
...
* mail notification implement interface
* fix file comment year
* use NullNotifier as parent struct of notifiers
2019-01-13 16:42:55 +02:00
Lunny Xiao and techknowlogick
0b84b5ee49
fix public will not be reused as public key after deleting as deploy key ( #5671 )
2019-01-09 13:10:46 -05:00
Lunny Xiao and techknowlogick
4a02a783c4
fix bug on upload file name ( #5571 )
2018-12-20 21:32:11 -05:00
Lunny Xiao and GitHub
9d0dee88d2
fix table name typo on SQL ( #5562 )
...
* fix table name typo on SQL
* fix reserved word user when on mssql
2018-12-19 20:58:46 +08:00
Lunny Xiao and GitHub
b65e37ed72
fix indexer reindex bug when gitea restart ( #5563 )
...
* fix issue indexer bug reindex when restart gitea
* also fix code indexer reindex when gitea restart
2018-12-19 16:37:48 +08:00
Lunny Xiao and GitHub
7fd34c0517
fix lfs version check warning log when using ssh protocol ( #5501 )
2018-12-19 09:17:43 +08:00
Lunny Xiao and techknowlogick
fe55ab2a68
fix forgot removed records when deleting user ( #5429 )
...
* fix forgot removed records when deleting user
* fix migration
* fix rewritekey lock on sqlite
* remove unused codes
2018-12-18 11:26:26 -05:00
Lunny Xiao and techknowlogick
b3b7598ec6
Improve performance of dashboard ( #4977 )
2018-12-13 10:55:43 -05:00
Lunny Xiao and techknowlogick
f0374ad1ad
fix bug when a read perm user to edit his issue ( #5516 )
2018-12-12 10:17:25 -05:00
Lunny Xiao and Lauris BH
af6bce3ad5
fix detect force push failure on deletion of protected branches ( #5522 )
2018-12-12 10:46:17 +02:00
Lunny Xiao and techknowlogick
b1f3685015
fix approvals limitation ( #5521 )
2018-12-11 18:49:33 -05:00
Lunny Xiao and techknowlogick
58c4559d3b
fix permission check on api create org ( #5523 )
2018-12-11 14:33:24 -05:00
Lunny Xiao and techknowlogick
ba75319157
fix clone wiki failed via ssh ( #5503 )
2018-12-11 13:37:32 -05:00
Lunny Xiao and techknowlogick
ccea91652f
fix adding reaction fail for read permission ( #5515 )
2018-12-11 13:12:06 -05:00
Lunny Xiao and techknowlogick
6e114f6791
add git protocol v2 support via SSH on Docker image ( #5520 )
...
* add git protocol v2 support via SSH on Docker image
* remove new layer on dockerfile
2018-12-11 12:20:04 -05:00
Lunny Xiao and GitHub
284b0e12cb
fix code review on mssql ( #5502 )
2018-12-11 09:09:46 +08:00
Lunny Xiao and Lauris BH
1b3404eaca
fix forgot deletion of notification when delete repository ( #5506 )
2018-12-10 22:01:01 +02:00
Lunny Xiao and techknowlogick
928417ae39
Fix empty wiki ( #5504 )
...
* fix wiki page when wiki path is exist but empty
* improve the error check
2018-12-09 17:45:44 -05:00
Lunny Xiao and Lauris BH
7c0c965532
Improve team members and repositories settings UI ( #5457 )
...
* improve team members and repositories settings UI
* use tab on team pages
* add default description on team members and repos
* add blank on numbers and texts
* improve translation
2018-12-09 08:42:11 +02:00
Lunny Xiao and GitHub
da5a0b8382
add tests for api user orgs ( #5494 )
...
* add tests for api user orgs
* add permission for admin to list user's orgs even he is a private user of org
2018-12-09 10:19:50 +08:00
Lunny Xiao and Lauris BH
4b4453cb92
fix topic name length on database ( #5493 )
2018-12-08 14:27:30 +02:00
Lunny Xiao and Lauris BH
f80b4f46ae
Fix repository deletion when there is large number of issues in it ( #5426 )
2018-11-30 14:59:12 +02:00
Lunny Xiao and GitHub
2dc805c0c6
Milestone issues and pull requests ( #5293 )
...
* add milestone issues and pulls page instead of redirecting issues page
* add milestone when creating issue from milestone page
* refactor to merge similiar codes as a new function issues
* remove milestone info on milestone issues list
* fix missing params
2018-11-29 09:46:30 +08:00
Lunny Xiao and GitHub
eabbddcd98
Restrict permission check on repositories and fix some problems ( #5314 )
...
* fix units permission problems
* fix some bugs and merge LoadUnits to repoAssignment
* refactor permission struct and add some copyright heads
* remove unused codes
* fix routes units check
* improve permission check
* add unit tests for permission
* fix typo
* fix tests
* fix some routes
* fix api permission check
* improve permission check
* fix some permission check
* fix tests
* fix tests
* improve some permission check
* fix some permission check
* refactor AccessLevel
* fix bug
* fix tests
* fix tests
* fix tests
* fix AccessLevel
* rename CanAccess
* fix tests
* fix comment
* fix bug
* add missing unit for test repos
* fix bug
* rename some functions
* fix routes check
2018-11-28 19:26:14 +08:00
Lunny Xiao and techknowlogick
cef0f12c51
support envs on external render commands ( #5278 )
2018-11-20 17:11:21 -05:00
Lunny Xiao and techknowlogick
8ef177f8c5
add api for user to create org ( #5268 )
...
* add api for user to create org
* remove unused blank line on the swagger file end
* fix create and add test
* fix tests
* fix routes of create org API
* fix bug
* add copyright heads
2018-11-20 12:31:30 -05:00
Lunny Xiao and techknowlogick
499bff43d9
dont' send assign webhooks when creating issue ( #5365 )
2018-11-20 12:10:18 -05:00
Lunny Xiao and techknowlogick
b3000ae623
Fix create team, update team missing units ( #5188 )
2018-11-10 14:45:32 -05:00
Lunny Xiao and Lauris BH
c5d098c32e
fix bug when users have serval teams with different units on different repositories ( #5307 )
2018-11-09 08:16:52 +02:00
Lunny Xiao and techknowlogick
10370651fc
This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql ( #5136 )
...
* This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql
* fix tests
2018-10-30 17:48:37 -04:00
Lunny Xiao and techknowlogick
e61c6cd3db
fix data race on migrate repository ( #5224 )
2018-10-30 10:06:01 -04:00
Lunny Xiao and Lauris BH
0ba57949e4
remove unused db init on commands serv, update, hooks ( #5225 )
2018-10-30 12:41:25 +02:00
Lunny Xiao and GitHub
735b12eaf0
fix sqlite lock ( #5210 )
2018-10-30 09:21:18 +08:00
Lunny Xiao and techknowlogick
70a80e31cf
fix sqlite and mssql lock ( #5214 )
2018-10-29 09:48:37 -04:00
Lunny Xiao and techknowlogick
a2ee2a3c67
fix showing pull request link when delete a branch ( #5166 )
2018-10-28 18:15:25 -04:00
Lunny Xiao and GitHub
2b7c366f64
fix sqlite lock ( #5184 )
...
* fix sqlite lock
* fix bug
Co-Authored-By: lunny <xiaolunwen@gmail.com >
* fix bug
Co-Authored-By: lunny <xiaolunwen@gmail.com >
2018-10-27 22:45:24 +08:00
Lunny Xiao and Lauris BH
e7822473e9
Fix race on updatesize ( #5190 )
...
* fix race on updatesize
* fix more repoPath
2018-10-26 12:37:57 +03:00
Lunny Xiao and GitHub
5f938c0c78
Fix sqlite lock ( #5176 )
...
* fix sqlite lock
* fix sqlite lock on getUnitType
2018-10-25 18:55:16 +08:00
Lunny Xiao and techknowlogick
616b8f42f9
Fix deadlock when sqlite ( #5118 )
...
* fix deadlock when sqlite
* fix clonelink deadlock on sqlite
2018-10-19 12:36:42 -04:00
Lunny Xiao and GitHub
ea619b39b2
Add notification interface and refactor UI notifications ( #5085 )
...
* add notification interface and refactor UI notifications
* add missing methods on notification interface and notifiy only issue status really changed
* implement NotifyPullRequestReview for ui notification
2018-10-18 19:23:05 +08:00
Lunny Xiao and Jonas Franz
cc63985876
Add change log for 1.6.0-rc1 ( #5095 )
...
* add change log for 1.6.0-rc1
* Fix some uppercases
2018-10-17 19:05:49 +02:00
Lunny Xiao and Lauris BH
970c690681
fix release creation via API ( #5076 )
...
* fix release creation via API
* fix release create tests
2018-10-15 06:52:52 +03:00
Lunny Xiao and techknowlogick
061b1aa2d4
update comparsion docs to add file viewer items ( #4865 )
2018-09-04 22:07:24 -04:00
Lunny Xiao and techknowlogick
e48df3ee47
issues api allow pulls and fix #4832 ( #4852 )
2018-09-03 13:20:54 -04:00
Lunny Xiao and Lauris BH
52c2cb15db
add vendor to user reserved words and format words list according alphabet ( #4685 )
2018-08-13 08:02:18 +03:00
Lunny Xiao and Lauris BH
8da45ae2b3
improve comparison to add issue dependency ( #4658 )
2018-08-10 08:22:07 +03:00
Lunny Xiao and GitHub
578cf52ce5
Site admin could create repos even MAX_CREATION_LIMIT=0 ( #4645 )
...
* site admin could create repos even MAX_CREATION_LIMIT=0
* Optimize if structure
2018-08-09 09:04:16 +08:00
Lunny Xiao and GitHub
9c354a539a
fix bugs when too many IN variables ( #4594 )
2018-08-02 21:49:05 +08:00
Lunny Xiao and Lauris BH
0bb1c84208
Add csv file render support defaultly ( #4105 )
...
* add csv file render support defaultly
* escaping csv column content
2018-07-21 00:08:15 +03:00
Lunny Xiao and techknowlogick
d1337299e2
add valid for lfs oid ( #4461 )
2018-07-19 11:39:19 -04:00
Lunny Xiao and Lauris BH
1675fc4301
add git timeout settings docs ( #4383 )
2018-07-06 08:49:37 +03:00
Lunny Xiao and Lauris BH
b46066f17c
fix repository last updated time update when delete a user who watched the repo ( #4363 )
2018-07-05 00:47:05 +03:00
Lunny Xiao and Lauris BH
3f0d9beece
fix exclude files .sha265 to .sha256 ( #4304 )
2018-06-24 14:10:11 +03:00
Lunny Xiao and techknowlogick
406031d3cc
fix bug when deleting a release ( #4207 )
2018-06-12 12:44:17 -04:00
Lunny Xiao and techknowlogick
da898d4066
fix delete comment bug ( #4216 )
2018-06-11 18:54:30 -04:00
Lunny Xiao and techknowlogick
ed51aa9c92
improve backup document and add zh-cn backup document ( #4145 )
2018-06-08 19:47:51 -04:00
Lunny Xiao and GitHub
5c95f7c7ce
fix attachment ENABLED ( #4064 )
...
* fix attachment ENABLED
* change wrong name on app.ini.sample
2018-05-28 22:56:54 +08:00
Lunny Xiao and GitHub
3623f12a28
fix writer cannot read bare repo guide ( #4033 )
2018-05-24 22:28:53 +08:00
Lunny Xiao and GitHub
60d95a0b85
fix bugs caused by #3929 ( #3999 )
2018-05-23 15:23:23 +08:00
Lunny Xiao and GitHub
4ec8551490
fix webhook bug of response info is not displayed in UI ( #4000 )
2018-05-23 14:12:02 +08:00
Lunny Xiao and GitHub
6bdc556b7f
Fix some webhooks bugs ( #3981 )
...
* fix some webhooks bugs
* update vendor
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* fix test
* fix clearlabels
* fix pullrequest webhook bug fix #3492
* update release webhook description
* remove unused code
* fix push webhook in pull request
* small changes
2018-05-21 10:28:29 +08:00
Lunny Xiao and GitHub
24941a1046
Add more webhooks support and refactor webhook templates directory ( #3929 )
...
* add more webhook support
* move hooks templates to standalone dir and add more webhooks ui
* fix tests
* update vendor checksum
* add more webhook support
* move hooks templates to standalone dir and add more webhooks ui
* fix tests
* update vendor checksum
* update vendor
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* load attributes when created release
* update comparsion doc
2018-05-16 22:01:55 +08:00
Lunny Xiao and GitHub
c14870c5ac
fix blank topic ( #3948 )
2018-05-11 16:15:18 +08:00
Lunny Xiao and Bo-Yi Wu
071ca771fd
Add opencollective badges on READMEs ( #3808 )
2018-04-17 17:10:34 +08:00
Lunny Xiao and GitHub
bec69f702b
Add topic support ( #3711 )
...
* add topic models and unit tests
* fix comments
* fix comment
* add the UI to show or add topics for a repo
* show topics on repositories list
* fix test
* don't show manage topics link when no permission
* use green basic as topic label
* fix topic label color
* remove trace content
* remove debug function
2018-04-11 10:51:44 +08:00
Lunny Xiao and GitHub
d877bf7e15
Add config option to enable or disable log executed SQL ( #3726 )
...
* add config option to enable or disable log executed SQL
* rename ShowSQL to LogSQL
2018-03-30 22:49:46 +08:00
Lunny Xiao and GitHub
45d1fc03cb
fix go vet error ( #3740 )
2018-03-30 07:21:27 +08:00
Lunny Xiao and GitHub
9e5d0a09eb
Global code search support ( #3664 )
...
* add global code search on explore
* fix bug when no anyone public repos
* change the icon
* fix typo and add UnitTypeCode check for login non-admin user
* fix ui description when no match
2018-03-16 22:04:33 +08:00
Lunny Xiao and Lauris BH
769ab1e424
fix gpg expired bug when time is zero ( #3584 )
2018-02-26 12:25:45 +02:00
Lunny Xiao and Lauris BH
97fe773491
fix MSSQL bug on org ( #3405 )
2018-01-27 17:20:59 +02:00
Lunny Xiao and Lauris BH
835b890329
fix bug when a user delete but assigned on issue ( #3318 )
2018-01-07 11:13:10 +02:00
Lunny Xiao and GitHub
bf78c95d80
add external tool docs ( #3301 )
2018-01-06 05:28:31 -06:00
Lunny Xiao and Lauris BH
f5155b9913
Small improve on deleting attachements ( #3145 )
...
* Small improve on deleting attachements
* improve the sequence of deletion
2017-12-24 23:04:22 +02:00
Lunny Xiao and GitHub
529482135c
Support default private when creating or migrating repository ( #3239 )
...
* support default private when creating or migrating repository
* fix fmt
* use string constants on repository default private in app.ini
* fix fmt
2017-12-20 06:59:56 -06:00
Lunny Xiao and GitHub
f94c1b3943
Improvements for supporting UI Location ( #3146 )
...
* improvements for supporting UI Location
* improved the comment
2017-12-14 07:45:31 +08:00
Lunny Xiao and GitHub
00bfa1d055
fix run web with -p push failed ( #3154 )
2017-12-13 16:57:28 +08:00
Lunny Xiao and Lauris BH
859b9ad7ea
fix org owner cannot be removed if there is not in owner team ( #3164 )
2017-12-13 00:26:31 +02:00
Lunny Xiao and Lauris BH
e3f88719ab
fix source download link when no code unit allowed ( #3166 )
2017-12-12 08:45:02 +02:00
Lunny Xiao and GitHub
3b525d5696
fix gpg tmpl ( #3153 )
2017-12-11 22:07:25 +08:00
Lunny Xiao and Lauris BH
956354885a
simple usage of x ( #3144 )
2017-12-11 09:16:23 +02:00
Lunny Xiao and Lauris BH
f2e20c81b6
Refactor struct's time to remove unnecessary memory usage ( #3142 )
...
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
2017-12-11 06:37:04 +02:00
Lunny Xiao and Lauris BH
41d6afe0e7
Fix compile failed without gcc ( #3130 )
...
* fix comile failed without gcc
* add sqlite tag for unit test
2017-12-10 16:08:19 +02:00
Lunny Xiao and Lauris BH
b8e45b1e19
Fix missing drone test on release/* ( #3126 )
...
* fix missing drone test on release/*
* remove test coverage on release/*
2017-12-09 12:17:40 +02:00
Lunny Xiao and GitHub
2738effddf
fix redis cache failed ( #3086 )
2017-12-04 23:00:14 +08:00
Lunny Xiao and Lauris BH
ef5364950b
fix issue list branch link broken ( #3061 )
2017-12-02 21:57:47 +02:00
Lunny Xiao and Lauris BH
b3d5ba6f90
Fix missing password length check when change password ( #3039 )
...
* fix missing password length check when change password
* add tests for change password
2017-12-02 19:11:22 +02:00
Lunny Xiao and GitHub
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
Lunny Xiao and Lauris BH
9a8805d785
remove duplicated sanitize ( #3037 )
2017-11-30 21:38:33 +02:00
Lunny Xiao and Lauris BH
13e59c8b7a
remove unused variable ( #3038 )
2017-11-30 20:44:25 +02:00
Lunny Xiao and GitHub
d517b56682
add notice for docker run gitea http port issue ( #3020 )
2017-11-30 19:18:35 +08:00
Lunny Xiao and Lauris BH
061c501d54
Fix error when add user has full name to team ( #2973 )
...
* fix error when add user has full name to team
* add comment for extra uname check
2017-11-26 10:01:48 +02:00
Lunny Xiao and Lauris BH
10b54df2b2
Add dingtalk webhook ( #2777 )
...
* add dingtalk webhook type
* add vendor
* some fixes
* fix name check
* fix name check & improvment
2017-11-21 06:26:43 +02:00
Lunny Xiao and Lauris BH
84498301ca
update screenshots on README ( #2910 )
2017-11-14 13:23:55 +02:00
Lunny Xiao and Lauris BH
62d0a4d882
Add external markup render support ( #2570 )
...
* add external markup render support
* bug fixed
* refacotr codes and fix wrong error log
* fix comments and add check to prevent leaks
* add check for config file and improve the example
* check file close error
* use ioutil.TempFile instead uuid
* correct Render -> Parser
* improve warning when incorrect markup setting
* fix typos
2017-11-07 08:33:06 +02:00
Lunny Xiao and GitHub
cdc4600725
Fix fork repository cycle to self ( #2860 )
...
* fix fork repository cycle to self
* rename testForkRepo to traverseParentRepo
2017-11-06 12:12:55 +08:00
Lunny Xiao and Lauris BH
ff9daa3e9b
fix click create pull request button 404 ( #2859 )
2017-11-05 21:11:35 +02:00
Lunny Xiao and Kim "BKC" Carlbäcker
f70758dec9
Add git clone test on integration test ( #1682 )
2017-11-02 18:51:03 +01:00
lunny
3217102516
'[skip ci] Updated translations via Crowdin'
2017-11-01 15:47:40 +00:00
Lunny Xiao and GitHub
c7ade55d39
fix update-translations on drone ( #2822 )
2017-11-01 23:46:28 +08:00