Lunny Xiao and GitHub
139fc7cfee
Fix milestones too many SQL variables bug ( #10880 ) ( #10904 )
...
* Fix milestones too many SQL variables bug
* Fix test
* Don't display repositories with no milestone and fix tests
* Remove unused code and add some comments
2020-03-31 08:40:37 -05:00
Lunny Xiao and GitHub
602fe45936
Fix bug on branch API ( #10767 ) ( #10775 )
...
* Fix bug on branch API (#10767 )
* Fix branch api canPush and canMerge
2020-03-20 23:31:01 +02:00
0158725387
Changelog for v1.10.6 ( #10699 ) ( #10709 )
...
* Changelog for v1.10.6
* Add warnning
* Apply suggestions from code review
Co-Authored-By: John Olheiser <john.olheiser@gmail.com >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2020-03-10 23:09:56 -04:00
f3cacf1332
Add changelog for v1.11.3 ( #10700 )
...
* Add changelog for v1.11.3
* Apply suggestions from code review
Co-Authored-By: John Olheiser <john.olheiser@gmail.com >
* Update CHANGELOG.md
Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com >
2020-03-10 17:11:15 +00:00
Lunny Xiao and GitHub
931ddfec6d
add changelog for v1.10.5 ( #10628 ) ( #10632 )
2020-03-08 09:54:23 -05:00
Lunny Xiao and GitHub
7e0a5b17db
Fix bug on pull view when required status check no ci result ( #10648 ) ( #10651 )
2020-03-07 17:32:08 +08:00
fd85d31cb4
Ensure executable bit is kept on the web editor ( #10607 ) ( #10614 )
...
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com >
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com >
2020-03-05 16:55:21 +08:00
b51d7c459e
Fix webhook bug ( #10427 ) ( #10432 )
...
Co-authored-by: techknowlogick <matti@mdranta.net >
2020-02-24 01:48:30 -03:00
34e3644ada
Fix wrong num closed issues on repository when close issue via commit ( #10364 ) ( #10380 )
...
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-02-20 15:52:19 +01:00
987cd277f6
Fix reply on code review ( #10227 ) ( #10257 )
...
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
2020-02-13 11:32:30 +02:00
Lunny Xiao and GitHub
049af0d3d0
Fix branch page pull request title and link error ( #10092 ) ( #10097 )
...
* Fix branch page pull request title and link error (#10092 )
2020-02-01 15:14:56 +00:00
Lunny Xiao and GitHub
491cbeca67
Fix milestone API state parameter unhandled ( #10049 ) ( #10052 )
...
* Fix milestone API state parameter unhandled
* Fix test
2020-01-29 18:01:44 +02:00
Lunny Xiao and zeripath
1e73dd2446
Fix wiki raw view on sub path ( #10002 ) ( #10040 )
...
* Fix wiki raw view on sub path
* Add test for subpath wiki raw file
* Fix bug
2020-01-28 15:10:25 +00:00
Lunny Xiao and zeripath
16dfd9ffbe
Sanitize credentials in mirror form ( #9975 ) ( #9991 )
2020-01-26 08:16:53 +00:00
16f7b43903
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch ( #9927 ) ( #9974 )
...
* fix pull view when head repository or head branch missed and close related pull requests when delete branch
* fix pull view broken when head repository deleted
* close pull requests when head repositories deleted
* Add tests for broken pull request head repository or branch
* fix typo
* ignore special error when close pull request
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-01-25 17:39:53 +08:00
Lunny Xiao and Lauris BH
0dced15c1a
Fix wrong hint when status checking is running on pull request view ( #9886 ) ( #9928 )
...
* Fix wrong hint when status checking is running on pull request view
* fix lint
* fix test
* fix test
* fix wrong tmpl
* fix import
* rename function name
2020-01-22 08:06:11 +02:00
f96c1a2c79
Fix wrong permissions check when issues/prs shared operations ( #9885 ) ( #9889 )
...
* Fix wrong permissions check when issues/prs shared operations
* move redirect to the last of the function
* fix swagger
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-01-20 17:59:33 +02:00
Lunny Xiao and techknowlogick
8add1dfacc
Fix issues/pulls dependencies problems ( #9842 ) ( #9864 )
...
* Fix issues/pulls dependencies problems
* fix swagger and api param name
* fix js
2020-01-19 12:56:57 -05:00
fe46185407
Fix download file wrong content-type ( #9825 ) ( #9834 )
...
* Fix download file wrong content-type
* change the error text to be more precise
* fix test
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-01-17 15:11:20 +01:00
Lunny Xiao and Antoine GIRARD
69a2a29c33
Fix wrong identify poster on a migrated pull request when submi… ( #9827 ) ( #9830 )
2020-01-17 13:38:11 +01:00
Lunny Xiao and GitHub
f766719895
fix dump non-exist log directory ( #9818 ) ( #9819 )
2020-01-17 13:02:41 +08:00
e2ddc42377
Fix compare ( #9808 ) ( #9814 )
...
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: techknowlogick <matti@mdranta.net >
2020-01-17 10:08:28 +08:00
Lunny Xiao and zeripath
c8bb0ecf52
Fix missing msteam webhook on organization ( #9781 ) ( #9794 )
2020-01-16 03:09:47 +00:00
Lunny Xiao and Antoine GIRARD
28508792ba
Fix missing updated time on migrated issues and comments ( #9744 ) ( #9764 )
...
* Fix missing updated time on migrated issues and comments
* Fix testing and missing updated on migrating pullrequest
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com >
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com >
2020-01-14 17:55:03 +01:00
Lunny Xiao and zeripath
b9309e52f0
Move wiki related funtions from models to services/wiki ( #9355 )
...
* Move wiki related funtions from models to services/wiki
2020-01-07 18:27:36 +00:00
Lunny Xiao and zeripath
ed67bbe444
Fix repository issues pagination bug when there are more than one label filter ( #9512 )
2019-12-28 14:43:46 +00:00
Lunny Xiao and zeripath
0bcf644da4
Fix deleted branch isn't removed when push the branch again ( #9516 )
2019-12-27 19:17:37 +00:00
Lunny Xiao and zeripath
3d5f31f77d
Fix SetExpr failed ( #9506 )
2019-12-27 14:18:07 +00:00
Lunny Xiao and techknowlogick
c0f8795462
Upgrade lato fonts to v16. ( #9498 )
...
* Upgrade lato fonts to v16
* Upgrade lato fonts to v16
* fix bug
2019-12-25 23:11:39 -05:00
Lunny Xiao and GitHub
8b2f29c0d2
fix datarace on issue indexer queue ( #9490 )
2019-12-25 17:44:09 +08:00
Lunny Xiao and GitHub
89b4e0477b
Refactor code indexer ( #9313 )
...
* Refactor code indexer
* fix test
* fix test
* refactor code indexer
* fix import
* improve code
* fix typo
* fix test and make code clean
* fix lint
2019-12-23 20:31:16 +08:00
Lunny Xiao and GitHub
050a8af424
Response for context on retry database connection ( #9444 )
2019-12-20 13:39:33 +08:00
Lunny Xiao and GitHub
59fc29db38
fix wrong migration ( #9381 )
2019-12-17 14:58:30 +08:00
Lunny Xiao and techknowlogick
ffc904b1e0
Sleep longer if request speed is over github limitation ( #9335 )
...
* Sleep longer if request speed is over github limitation
* improve code
* remove unused code
* fix lint
* Use github's rate limit remain value to determine how long to sleep
* Save reset time when finished github api request
* fix bug
* fix lint
* Add context.Context for sleep
* fix test
* improve code
* fix bug and lint
* fix import order
2019-12-16 23:16:54 -05:00
Lunny Xiao and GitHub
59d6401486
Use ioutil.TmpDir for new created temp directory ( #9368 )
...
* Use os.TmpDir for new created temp directory
* fix error message
2019-12-16 13:17:55 +08:00
Lunny Xiao and GitHub
43ada65571
remove unused method and rename createcommentWithNoAction ( #9367 )
2019-12-16 11:54:24 +08:00
Lunny Xiao and techknowlogick
67b316a954
Refactor comment ( #9330 )
...
* Refactor comment
* fix test
* improve code
2019-12-15 16:57:34 -05:00
Lunny Xiao and techknowlogick
c6b3c5bcef
Fix cache problem on dashboard ( #9358 )
2019-12-15 15:44:23 -05:00
Lunny Xiao and Antoine GIRARD
ce2d488c94
Move PushToBaseRepo from models to services/pull ( #9352 )
2019-12-15 04:28:51 +01:00
Lunny Xiao and Antoine GIRARD
7b2ff82d20
Move some repository methods from models to modules/repository ( #9353 )
...
* Move some repository methods from models to modules/repository
* fix test
2019-12-14 18:30:01 +01:00
Lunny Xiao and techknowlogick
484e3dc5a9
site admin could view org's members ( #9346 )
2019-12-14 01:36:59 -05:00
Lunny Xiao and techknowlogick
bfcce5f86c
Remove release attachments which repository has been deleted ( #9334 )
2019-12-13 22:30:39 -05:00
Lunny Xiao and Lauris BH
ba1acf5b50
fix issue indexer not triggered when migrating a repository ( #9332 )
2019-12-12 23:46:43 +02:00
Lunny Xiao and GitHub
751cfb805d
Fix bug that release attachment files not deleted when deleting repository ( #9322 )
...
* Fix bug that release attachment files not deleted when deleting repository
* improve code
* add quote
* improve code
2019-12-12 13:31:05 +08:00
Lunny Xiao and Antoine GIRARD
50da9f7dae
Move modules/indexer to modules/indexer/code ( #9301 )
2019-12-10 14:29:40 +01:00
Lunny Xiao and techknowlogick
be06dee04c
Move code indexer related code to a new package ( #9191 )
...
* move code indexer related code to a new package
* fix lint
* fix tests
* fix fmt
* GetMaxID support interface parameter
2019-12-08 14:15:35 -05:00
Lunny Xiao and GitHub
ef98b168f7
Move UpdateIssuesCommit from models to repofiles ( #9276 )
2019-12-07 23:52:36 +08:00
Lunny Xiao and techknowlogick
82e0383d21
Move some pull request functions from models to services ( #9266 )
...
* Move some pull request functions from models to services
* Fix test
2019-12-06 21:44:10 -05:00
Lunny Xiao and GitHub
e3081c667a
Only show part of members on orgnization dashboard and add paging for orgnization members page ( #9092 )
...
* Only show part of members on orgnization dashboard and add paging for orgnization members page
* fix test
* fix typo
2019-12-06 13:34:54 +08:00
Lunny Xiao and GitHub
77730db257
Move repoWorkPool outside rename/transfer repository ( #9086 )
...
* Move repoWorkPool outside rename/transfer repository
* fix import
* Fix test
2019-12-06 12:00:50 +08:00
Lunny Xiao and techknowlogick
48be1889cd
Fix latest docker image haven't include static files. ( #9252 )
...
* add warnging on docs
* fix docs
2019-12-05 12:18:28 -05:00
Lunny Xiao and Lauris BH
6e81eafdd6
Remove unused comment actions ( #9222 )
...
* Remove unused comment actions
* improve code
2019-12-02 16:43:39 +02:00
Lunny Xiao and techknowlogick
2011a5b818
Extract createComment ( #9125 )
...
* Extract createComment
* fix lint
* fix lint
2019-11-30 21:44:39 -05:00
Lunny Xiao and GitHub
e151674cfa
Move PushUpdateOptions from models to repofiles ( #9124 )
2019-11-29 10:21:05 +08:00
Lunny Xiao and GitHub
3bdce82ce9
upgrade levelqueue to 0.1.0 ( #9192 )
2019-11-28 23:37:33 +08:00
Lunny Xiao and GitHub
ef9a0370ca
Fix panic when diff ( #9187 )
...
* fix panic when diff
* improve code
2019-11-28 17:05:57 +08:00
Lunny Xiao and Antoine GIRARD
7b7d382b8b
Fix datarace on git.GlobalCommandArgs on tests ( #9162 )
...
* fix datarace on git.GlobalCommandArgs on tests
* fix tests
* fix tests
* fix tests
2019-11-27 01:35:52 +01:00
Lunny Xiao and techknowlogick
8ab35eefc4
Move mirror sync actions to notification ( #9022 )
...
* Move mirror sync actions to notification
* fix lint
2019-11-24 00:16:59 -05:00
Lunny Xiao and GitHub
9856ac5818
fix race on indexer ( #9136 )
2019-11-23 23:03:35 +08:00
Lunny Xiao and techknowlogick
d7ac9727bb
Move merge actions to notification ( #9024 )
...
* Move merge actions to notification
* Add missing mail notification
2019-11-21 12:08:42 -05:00
Lunny Xiao and techknowlogick
d5261b9aab
Move HttpBackend function to Http to reduce function calls when git smart http requests ( #9057 )
2019-11-21 11:24:43 -05:00
Lunny Xiao and GitHub
9ff6312627
Move modules/gzip to gitea.com/macaron/gzip ( #9058 )
...
* Move modules/gzip to gitea.com/macaron/gzip
* Fix vendor
2019-11-18 13:18:33 +08:00
Lunny Xiao and GitHub
1b7182e5ec
Add retry for migration http/https requests ( #9019 )
...
* Add retry for migration http/https requests
* give the more suitable name for retry configuraion items
* fix docs and lint
* Only use retryDownloader when setting > 1
2019-11-16 16:30:06 +08:00
Lunny Xiao and GitHub
11208f3381
Move git graph from models to modules/graph ( #9027 )
2019-11-16 08:47:57 +08:00
Lunny Xiao and zeripath
e0e4473172
extract some inline functions related with create comment ( #8931 )
2019-11-15 18:18:09 +00:00
Lunny Xiao and zeripath
c0c2624079
fix wrong system notice when repository is empty ( #9010 )
2019-11-15 10:53:20 +00:00
Lunny Xiao and GitHub
21ae9838e0
Move transfer repository and rename repository on a service package and start action notification ( #8573 )
...
* move transfer repository and rename repository on a service package and start action notification
* remove unused codes
* fix lint
* fix bugs
* fix test
* fix test
* fix test
* fix lint
* update go mod and sum
2019-11-15 16:06:11 +08:00
Lunny Xiao and techknowlogick
42ada741e3
Pack web_src/js/draw.js to public/js/index.js ( #8975 )
...
* pack web_src/js/draw.js to public/js/index.js
* fix eslint
2019-11-14 20:27:50 -05:00
Lunny Xiao and Lauris BH
9bd879bef8
fix bug when pack js ( #8992 )
2019-11-14 19:58:32 +02:00
Lunny Xiao and GitHub
dad67cae54
Refactor pull request review ( #8954 )
...
* refactor submit review
* remove unnecessary code
* remove unused comment
* fix lint
* remove duplicated actions
* remove duplicated actions
* fix typo
* fix comment content
2019-11-14 10:57:36 +08:00
Lunny Xiao and Antoine GIRARD
afe50873a5
Move index.js to web_src and use webpack to pack them ( #8598 )
...
* Move index.js to web_src and use webpack
* Fix initHeatMap
* update eslint and move webpack to devDependencies
* update index.js
* add eslint env node
2019-11-13 15:52:13 +01:00
Lunny Xiao and Antoine GIRARD
e4e6d48e30
Move less from public/ to web_src/ so that it will not be packe… ( #8908 )
2019-11-12 10:22:16 +01:00
Lunny Xiao and GitHub
bb6879d339
Improve notification ( #8835 )
...
* Improve notifications
* batch load user
* Update notification only when read
* Fix reorder
* fix lint
* fix test
* fix lint
* make function meaningful
* fix comment
2019-11-12 16:33:34 +08:00
Lunny Xiao and GitHub
273a24f226
Move notifywatchers from models to notification ( #8907 )
2019-11-11 11:39:41 +08:00
Lunny Xiao and GitHub
daab245167
Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert ( #8892 )
...
* Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert
* fix fmt
2019-11-10 12:41:51 +08:00
Lunny Xiao and techknowlogick
f02138a148
Fix bug when migrate from API ( #8631 )
...
* fix bug when migrate from API
* fix test
* fix test
* improve
* fix error message
2019-11-08 17:21:00 -05:00
Lunny Xiao and techknowlogick
55bdc9aa38
Webhook support custom proxy ( #8760 )
...
* Webhook support custom proxy
* Add glob support on webhook proxy host rules
* fix app.ini.sample
* improve code and app.ini.sample
* update cheetsheet about added webhook options
2019-11-08 16:25:53 -05:00
Lunny Xiao and techknowlogick
016a5d0438
Move some actions to notification/action ( #8779 )
...
* Move some actions to notification/action
* Fix test
* fix test
2019-11-08 15:54:50 -05:00
Lunny Xiao and Lauris BH
12170d26a7
Split sendCreateCommentAction as two parts, one for update comment related informations, another for actions ( #8784 )
...
* Split sendCreateCommentAction as two parts, one for update comment related informations, another for actions
* fix lint
2019-11-06 15:39:29 +02:00
Lunny Xiao and GitHub
0109229928
Move release webhook to notification ( #8817 )
...
* Move release webhook to notification
* Extract release webhook method
* fix bug
* fix import
2019-11-06 16:25:50 +08:00
Lunny Xiao and GitHub
8a84d82d53
Move repofiles webhooks to notification ( #8807 )
2019-11-06 14:43:03 +08:00
Lunny Xiao and GitHub
aaeef295bb
Move pull webhook to notification ( #8805 )
...
* Move pull webhook to notification
* fix fmt
2019-11-05 19:04:08 +08:00
Lunny Xiao and zeripath
a966a0298e
Move more webhook codes from models to webhook module ( #8802 )
...
* Move more webhook codes from models to webhook module
2019-11-03 22:13:25 +00:00
Lunny Xiao and zeripath
491887d441
Move actions to notification ( #8785 )
2019-11-03 20:59:09 +00:00
022d2d8beb
Move push commits events to notification ( #8783 )
...
* Move push commits events to notification
* Update modules/notification/base/null.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com >
2019-11-03 14:59:26 +08:00
Lunny Xiao and GitHub
21dfe1b256
fix 500 when edit hook ( #8782 )
2019-11-02 21:38:11 +08:00
Lunny Xiao and GitHub
8f26397928
Move issue milestone assign to issue service and move webhook to notification ( #8780 )
2019-11-02 11:33:20 +08:00
Lunny Xiao and GitHub
f518fe6662
Rename HookQueue to hookQueue ( #8778 )
...
* Rename HookQueue to hookQueue
* fix lint
2019-11-02 10:35:12 +08:00
Lunny Xiao and GitHub
4b8d9e58c5
Move labels webhooks to notification ( #8749 )
...
* Move webhooks to notification
* fix notification
2019-11-02 09:49:57 +08:00
Lunny Xiao and zeripath
0e7f7df3cf
Move webhook to a standalone package under modules ( #8747 )
...
* Move webhook to a standalone package under modules
* fix test
* fix comments
2019-11-01 22:51:22 +00:00
Lunny Xiao and zeripath
de2f45f95e
Move pull list code to a seperate file ( #8748 )
2019-10-30 20:33:10 +00:00
Lunny Xiao and Lauris BH
ac6accef09
Move webhook codes from service to webhook notification ( #8712 )
...
* Move webhook codes from service to webhook notification
* move deletecomment webhook to notifications
* fix notification
2019-10-30 12:02:46 +02:00
Lunny Xiao and Lauris BH
f694bb45d7
Move issue change content from models to service ( #8711 )
...
* Move issue change content from models to service
* fix lint
2019-10-30 10:36:25 +02:00
Lunny Xiao and GitHub
af8957bc4c
Move issue notifications ( #8713 )
2019-10-29 00:45:43 +08:00
Lunny Xiao and GitHub
c66c9dabc7
Move issue change status from models to service ( #8691 )
2019-10-28 13:26:46 +08:00
Lunny Xiao and GitHub
495d5e4329
Move more issue assignee code from models to issue service ( #8690 )
...
* Move more issue assignee code from models to issue service
* fix test
2019-10-28 10:11:50 +08:00
Lunny Xiao and GitHub
9e85358777
Move some repositories' operations to a standalone service package ( #8557 )
...
* Move some repositories' operations to a standalone service package
* improve code
* remove unused codes
* add rollback when fork failed
* add repo when return
2019-10-26 14:54:11 +08:00
Lunny Xiao and zeripath
0a80164bec
Revert "API should follow RequireSignInView ( #8654 )" ( #8675 )
...
This reverts commit 3c63c3ace4 .
2019-10-24 22:10:48 +01:00
Lunny Xiao and GitHub
3c63c3ace4
API should follow RequireSignInView ( #8654 )
2019-10-24 13:32:40 +08:00
Lunny Xiao and GitHub
bd7709a602
Hide some user information via API if user have no enough permission ( #8655 )
...
* Hide some user information via API if user have no enough permission
* fix test
2019-10-24 10:52:17 +08:00