f773733252
Fix LFS commit finder not working ( #15856 ) ( #15874 )
...
* Create a copy of the sha bytes.
Co-authored-by: Andrew Thornton <art27@cantab.net >
2021-05-14 16:39:59 +01:00
KN4CK3R and GitHub
54263ff123
Delete protected branch if repository gets removed ( #15658 ) ( #15676 )
...
* Added missing error parameters.
* Delete protected branch if repository gets removed.
* Added doctor fix.
2021-04-30 19:59:42 +01:00
5da024a019
Add ETag header ( #15370 ) ( #15552 )
...
* Add ETag header.
* Comply with RFC 7232.
* Moved logic into httpcache.go
* Changed name.
* Lint
* Implemented If-None-Match list.
* Fixed missing header on *
* Removed weak etag support.
* Removed * support.
* Added unit test.
* Lint
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-04-20 12:01:58 -04:00
cf9b6c281f
Close file on invalid range (Addition to #15166 ) ( #15268 ) ( #15308 )
...
* Close file on invalid range.
* Close on seek error
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Moved 'Seek' into server.
* io.ReadSeekCloser is only available in Go 1.16
Co-authored-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-04-06 15:25:31 -04:00
8ec7beb9f4
Fix graph pagination ( #15225 ) ( #15249 )
...
* Fixed invalid HTML tag.
* Fixed pagination.
* Update templates/repo/graph/commits.tmpl
Co-authored-by: zeripath <art27@cantab.net >
2021-04-02 04:29:14 +01:00
KN4CK3R and GitHub
e8ad6c1ff3
Do not convert file path to lowercase ( #15023 )
...
* Do not convert file path to lowercase.
* lint
* Check against lowercase hostname.
2021-03-18 13:58:47 +00:00
KN4CK3R and GitHub
7019076f7f
Fixed wrong migrate url error description. ( #15010 )
2021-03-17 03:34:09 +01:00
bc423a1e84
Use correct default value ( #14949 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-03-11 00:09:30 -05:00
KN4CK3R and GitHub
40aca73347
Fix migration context data ( #14910 )
...
* Unified context data.
* Changed method name.
2021-03-07 20:21:09 +01:00
KN4CK3R and GitHub
904a26c57c
Add Image Diff options in Pull Request Diff view ( #14450 )
...
Implemented GitHub style image diff
2021-02-27 18:25:00 +01:00
56a8929605
Comment - Reference in new issue ( #14366 )
...
* Implemented "Reference in new issue"
* Fixed menu style on "pulls/x/files" because "button" has a style.
* Added context menu for PR file comments.
* Use only a single modal for every comment.
* Use current repository as default. Added search filter.
* Added suggested changes.
* Fixed assignment.
Co-authored-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: 6543 <6543@obermui.de >
2021-01-21 14:51:17 +01:00
KN4CK3R and GitHub
8d0e331c0a
Removed invalid form tag ( #14391 )
...
introduced by #5073
2021-01-19 04:02:47 +01:00