6543
6e948d789f
Merge branch 'master' into add-api-issues-subscriptions
2019-10-29 22:33:40 +01:00
Benno
7bb817e6d1
Respect LFS File Lock on UI ( #8719 )
...
* update #8687 respect file locking
* upate #8687 Add LFS locker information
* update #8719 enhance coding style and return error
2019-10-29 23:32:21 +02:00
jaqra
e7fbc551ab
apply exclude label on milestone issue list ( #8739 )
...
* apply exclude label on milestone issue list
* remove __debug.bin file
2019-10-29 22:50:38 +02:00
6543
2ca4a7e49e
Revert "FIX: getIssueWatchers() get only aktive suscriber"
...
This reverts commit 5eca929185
.
2019-10-29 19:31:48 +01:00
6543
e8bb5572a0
add return avter error on right position
2019-10-29 18:35:05 +01:00
6543
5eca929185
FIX: getIssueWatchers() get only aktive suscriber
2019-10-29 18:32:35 +01:00
6543
2de729046b
Merge branch 'master' into add-api-issues-subscriptions
2019-10-29 17:14:05 +01:00
Lukas
559803025d
Show zero lines on the line counter if the file empty ( #8700 )
...
* Show zero lines on the line counter if the file empty
Signed-off-by: LukBukkit <luk.bukkit@gmail.com>
* A single variable to check whether NumLines is set
Signed-off-by: LukBukkit <luk.bukkit@gmail.com>
2019-10-29 16:05:26 +00:00
6543
7c24ae37b8
without "reqToken()" api works ...
...
* should be still secure beause ctx.user has to be there or nothing will hapen
2019-10-29 16:27:44 +01:00
6543
1aced19838
Merge branch 'master' into add-api-issues-subscriptions
2019-10-29 15:55:04 +01:00
GiteaBot
9513a6983a
[skip ci] Updated translations via Crowdin
2019-10-29 14:49:58 +00:00
6543
413b2b63d9
more meaningfull description
2019-10-29 15:38:33 +01:00
May
c0f97f2687
add marking to title_wip_desc ( #8705 )
...
Signed-off-by: May <themaymeow@gmail.com>
2019-10-29 10:29:39 -04:00
6543
a7c7674b3f
add comments
2019-10-29 15:24:46 +01:00
6543
deaf69c801
subscribers return []user.APIFormat
2019-10-29 15:19:13 +01:00
6543
06daf4e863
add issue subscriber API
2019-10-29 11:17:45 +01:00
6543
c4f9d06855
[Fix] milestone close timestamp ( #8728 )
...
* BugFix: Update closed_date_unix colum on milestone table on close
* go fmt
2019-10-29 10:35:50 +08:00
jaqra
c4bc5abda3
Make 100% width search bar ( #8710 )
...
* Make 100% width search bar
* Use flex: auto instead of flex: 1
2019-10-29 08:19:18 +08:00
kolaente
d6f6f9db3f
Add notice to docs for migrating from more recent versions of Gogs ( #8724 )
...
Signed-off-by: kolaente <k@knt.li>
2019-10-28 18:37:29 -04:00
GiteaBot
09b281a6ac
[skip ci] Updated translations via Crowdin
2019-10-28 19:31:28 +00:00
6543
fd40c9d024
[Docs] add explicit info about customization of homepage ( #8694 )
...
* first draft
* Update docs/content/doc/advanced/customizing-gitea.en-us.md
Co-Authored-By: zeripath <art27@cantab.net>
* add notice to restart
2019-10-28 15:11:02 -04:00
zeripath
5e6a008fba
Add basic repository lfs management ( #7199 )
...
This PR adds basic repository LFS management UI including the ability to find all possible pointers within the repository. Locks are not managed at present but would be addable through some simple additions.
* Add basic repository lfs management
* add auto-associate function
* Add functionality to find commits with this lfs file
* Add link to find commits on the lfs file view
* Adjust commit view to state the likely branch causing the commit
* Only read Oid from database
2019-10-28 18:31:55 +00:00
Lunny Xiao
af8957bc4c
Move issue notifications ( #8713 )
2019-10-29 00:45:43 +08:00
May
e3875ace91
update color theme for heatmap ( #8709 )
...
Signed-off-by: May <themaymeow@gmail.com>
2019-10-28 14:47:54 +08:00
Lunny Xiao
c66c9dabc7
Move issue change status from models to service ( #8691 )
2019-10-28 13:26:46 +08:00
Lunny Xiao
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
David Svantesson
018b0e8180
Fix deadline on update issue or PR via API ( #8696 )
...
* Fix deadline on update issue or PR via API
* variable initialized directly (review comment)
2019-10-28 01:35:20 +02:00
GiteaBot
478f7db68e
[skip ci] Updated translations via Crowdin
2019-10-27 20:48:38 +00:00
jaqra
5b33ffe7c5
Add myself as maintainer ( #8708 )
2019-10-27 16:45:21 -04:00
GiteaBot
70fa80df11
[skip ci] Updated translations via Crowdin
2019-10-26 06:56:48 +00:00
Lunny Xiao
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
GiteaBot
d2d5910894
[skip ci] Updated translations via Crowdin
2019-10-26 00:45:54 +00:00
guillep2k
8b07823680
Improve visibility of "Pending" indicator ( #8685 )
...
* Improve visibility of "Pending" indicator
* Use background-color instead of just background
* Tone down the yellow
2019-10-26 08:43:38 +08:00
David Svantesson
6aa3f8bc29
Mail assignee when issue/pull request is assigned ( #8546 )
...
* Send email to assigned user
* Only send mail if enabled
* Mail also when assigned through API
* Need to refactor functions from models to issue service
* Refer to issue index rather than ID
* Disable email notifications completly at initalization if global disable
* Check of user enbled mail shall be in mail notification function only
* Initialize notifications from routers init function.
* Use the assigned comment when sending assigned mail
* Refactor so that assignees always added as separate step when new issue/pr.
* Check error from AddAssignees
* Check if user can be assiged to issue or pull request
* Missing return
* Refactor of CanBeAssigned check.
CanBeAssigned shall have same check as UI.
* Clarify function names (toggle rather than update/change), and clean up.
* Fix review comments.
* Flash error if assignees was not added when creating issue/pr
* Generate error if assignee users doesn't exist
2019-10-25 22:46:37 +08:00
jaqra
c34e58fc00
Prevent chrome download page with alt + click ( #8669 )
2019-10-25 12:06:03 +01:00
Chris Sexton
560a511a35
Change external asciidoctor tool to embeded mode ( #8677 )
...
Ref #8676
* add the `-e` flag for embedded mode
* add a level offset to include the title of the document
2019-10-25 11:11:14 +01:00
GiteaBot
516fd7d3ae
[skip ci] Updated translations via Crowdin
2019-10-25 07:23:33 +00:00
jaqra
fc0580a4b7
make call createMilestoneComment on newIssue func ( #8678 )
...
* make call createMilestoneComment on newIssue func
* make OldMilestoneID 0 instead of -1
2019-10-25 08:19:04 +01:00
GiteaBot
a520236cb5
[skip ci] Updated translations via Crowdin
2019-10-24 21:14:00 +00:00
Lunny Xiao
0a80164bec
Revert "API should follow RequireSignInView ( #8654 )" ( #8675 )
...
This reverts commit 3c63c3ace4
.
2019-10-24 22:10:48 +01:00
Lunny Xiao
3c63c3ace4
API should follow RequireSignInView ( #8654 )
2019-10-24 13:32:40 +08:00
Lunny Xiao
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
GiteaBot
ab791fe7bb
[skip ci] Updated translations via Crowdin
2019-10-24 01:20:30 +00:00
Monty Taylor
ee7b153dd9
Fix 500 when getting user as unauthenticated user ( #8653 )
...
When doing GET /api/v1/users/{user} as an unauthenticated user,
gitea throws a 500 because it's trying to dereference elements
from the context user. It wants to do this to see whether to
show the primary email and will do that if the logged in user
is admin or the user in question. However, if ctx.User is nil,
go gets really unhappy.
2019-10-24 09:18:41 +08:00
zeripath
c84174b764
Use AppSubUrl for more redirections ( #8647 )
...
Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template
Fixes /explore and organisation redirection
2019-10-23 22:04:22 +01:00
7FM
22272fe1e4
Make /users/{username}/repos list private repos the current user has access to ( #8621 )
2019-10-23 19:46:32 +01:00
GiteaBot
ace0346c66
[skip ci] Updated translations via Crowdin
2019-10-23 17:58:51 +00:00
John Olheiser
3e61a9628c
Improve OGP ( #8637 )
...
* Improve OGP
* Ensure Repo is loaded when checking Pull info
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-10-23 18:54:13 +01:00
jaqra
dbd9d8dd54
Add 'Alt + click' feature to exclude labels ( #8199 )
...
Add 'Alt + click' and 'Alt +enter' feature to exclude particular labels on searching for issues.
2019-10-23 17:29:14 +01:00
GiteaBot
637e3219ab
[skip ci] Updated translations via Crowdin
2019-10-23 15:37:47 +00:00