1cd4a3b963
Update caddyserver/certmagic ( #16789 )
...
Fixes issue with windows users & letsencrypt
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-08-23 18:07:40 -04:00
86e2789960
Vendor Update ( #16121 )
...
* update github.com/PuerkitoBio/goquery
* update github.com/alecthomas/chroma
* update github.com/blevesearch/bleve/v2
* update github.com/caddyserver/certmagic
* update github.com/go-enry/go-enry/v2
* update github.com/go-git/go-billy/v5
* update github.com/go-git/go-git/v5
* update github.com/go-redis/redis/v8
* update github.com/go-testfixtures/testfixtures/v3
* update github.com/jaytaylor/html2text
* update github.com/json-iterator/go
* update github.com/klauspost/compress
* update github.com/markbates/goth
* update github.com/mattn/go-isatty
* update github.com/mholt/archiver/v3
* update github.com/microcosm-cc/bluemonday
* update github.com/minio/minio-go/v7
* update github.com/prometheus/client_golang
* update github.com/unrolled/render
* update github.com/xanzy/go-gitlab
* update github.com/yuin/goldmark
* update github.com/yuin/goldmark-highlighting
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-06-10 16:44:25 +02:00
8ea1d32bea
[Vendor] update certmagic ( #15590 )
...
* update github.com/caddyserver/certmagic v0.12.0 -> v0.13.0
* migrate
2021-04-22 22:42:33 +02:00
04196b7658
Update to bluemonday-1.0.6 ( #15294 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net >
2021-04-05 17:38:31 -04:00
70d84f9b73
update golang libraries ( #15258 )
2021-04-03 11:02:27 +08:00
47f6a4ec3f
go1.16 ( #14783 )
2021-02-28 18:08:33 -05:00
d1353e1f7c
Vendor Update ( #14496 )
...
* update code.gitea.io/sdk/gitea v0.13.1 -> v0.13.2
* update github.com/go-swagger/go-swagger v0.25.0 -> v0.26.0
* update github.com/google/uuid v1.1.2 -> v1.2.0
* update github.com/klauspost/compress v1.11.3 -> v1.11.7
* update github.com/lib/pq 083382b7e6fc -> v1.9.0
* update github.com/markbates/goth v1.65.0 -> v1.66.1
* update github.com/mattn/go-sqlite3 v1.14.4 -> v1.14.6
* update github.com/mgechev/revive 246eac737dc7 -> v1.0.3
* update github.com/minio/minio-go/v7 v7.0.6 -> v7.0.7
* update github.com/niklasfasching/go-org v1.3.2 -> v1.4.0
* update github.com/olivere/elastic/v7 v7.0.21 -> v7.0.22
* update github.com/pquerna/otp v1.2.0 -> v1.3.0
* update github.com/xanzy/go-gitlab v0.39.0 -> v0.42.0
* update github.com/yuin/goldmark v1.2.1 -> v1.3.1
2021-01-28 17:56:38 +01:00
d2ea21d0d8
Use caddy's certmagic library for extensible/robust ACME handling ( #14177 )
...
* use certmagic for more extensible/robust ACME cert handling
* accept TOS based on config option
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
2021-01-25 01:37:35 +02:00
30ce3731a1
Vendor Update Go Libs ( #13444 )
...
* denisenkom/go-mssqldb untagged -> v0.9.0
* github.com/editorconfig/editorconfig-core-go v2.3.7 -> v2.3.8
* github.com/go-testfixtures/testfixtures v3.4.0 -> v3.4.1
* github.com/mholt/archiver v3.3.2 -> v3.5.0
* github.com/olivere/elastic v7.0.20 -> v7.0.21
* github.com/urfave/cli v1.22.4 -> v1.22.5
* github.com/xanzy/go-gitlab v0.38.1 -> v0.39.0
* github.com/yuin/goldmark-meta untagged -> v1.0.0
* github.com/ethantkoenig/rupture 0a76f03a811a -> c3b3b810dc77
* github.com/jaytaylor/html2text 8fb95d837f7d -> 3577fbdbcff7
* github.com/kballard/go-shellquote cd60e84ee657 -> 95032a82bc51
* github.com/msteinert/pam 02ccfbfaf0cc -> 913b8f8cdf8b
* github.com/unknwon/paginater 7748a72e0141 -> 042474bd0eae
* CI.restart()
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-11-06 13:41:42 -05:00
12a1f914f4
Vendor Update Go Libs ( #13166 )
...
* update github.com/alecthomas/chroma v0.8.0 -> v0.8.1
* github.com/blevesearch/bleve v1.0.10 -> v1.0.12
* editorconfig-core-go v2.1.1 -> v2.3.7
* github.com/gliderlabs/ssh v0.2.2 -> v0.3.1
* migrate editorconfig.ParseBytes to Parse
* github.com/shurcooL/vfsgen to 0d455de96546
* github.com/go-git/go-git/v5 v5.1.0 -> v5.2.0
* github.com/google/uuid v1.1.1 -> v1.1.2
* github.com/huandu/xstrings v1.3.0 -> v1.3.2
* github.com/klauspost/compress v1.10.11 -> v1.11.1
* github.com/markbates/goth v1.61.2 -> v1.65.0
* github.com/mattn/go-sqlite3 v1.14.0 -> v1.14.4
* github.com/mholt/archiver v3.3.0 -> v3.3.2
* github.com/microcosm-cc/bluemonday 4f7140c49acb -> v1.0.4
* github.com/minio/minio-go v7.0.4 -> v7.0.5
* github.com/olivere/elastic v7.0.9 -> v7.0.20
* github.com/urfave/cli v1.20.0 -> v1.22.4
* github.com/prometheus/client_golang v1.1.0 -> v1.8.0
* github.com/xanzy/go-gitlab v0.37.0 -> v0.38.1
* mvdan.cc/xurls v2.1.0 -> v2.2.0
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-10-16 01:06:27 -04:00
9fdb4f887b
Update to go-org 1.3.2 ( #12728 )
...
* Update to go-org 1.3.2
Fix #12727
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Fix unit test
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-09-05 11:45:10 -04:00
62e6c9bc6c
Add a storage layer for attachments ( #11387 )
...
* Add a storage layer for attachments
* Fix some bug
* fix test
* Fix copyright head and lint
* Fix bug
* Add setting for minio and flags for migrate-storage
* Add documents
* fix lint
* Add test for minio store type on attachments
* fix test
* fix test
* Apply suggestions from code review
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
* Add warning when storage migrated successfully
* Fix drone
* fix test
* rebase
* Fix test
* display the error on console
* Move minio test to amd64 since minio docker don't support arm64
* refactor the codes
* add trace
* Fix test
* remove log on xorm
* Fi download bug
* Add a storage layer for attachments
* Add setting for minio and flags for migrate-storage
* fix lint
* Add test for minio store type on attachments
* Apply suggestions from code review
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
* Fix drone
* fix test
* Fix test
* display the error on console
* Move minio test to amd64 since minio docker don't support arm64
* refactor the codes
* add trace
* Fix test
* Add URL function to serve attachments directly from S3/Minio
* Add ability to enable/disable redirection in attachment configuration
* Fix typo
* Add a storage layer for attachments
* Add setting for minio and flags for migrate-storage
* fix lint
* Add test for minio store type on attachments
* Apply suggestions from code review
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
* Fix drone
* fix test
* Fix test
* display the error on console
* Move minio test to amd64 since minio docker don't support arm64
* don't change unrelated files
* Fix lint
* Fix build
* update go.mod and go.sum
* Use github.com/minio/minio-go/v6
* Remove unused function
* Upgrade minio to v7 and some other improvements
* fix lint
* Fix go mod
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
Co-authored-by: Tyler <tystuyfzand@gmail.com >
2020-08-18 12:23:45 +08:00
43c09134a9
Migrate to go-git/go-git v5.0.0 ( #10735 )
2020-03-17 12:19:58 -04:00
86fdba177a
Add Octicon SVG spritemap ( #10107 )
...
* Add octicon SVG sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Static prefix
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* SVG for all repo icons
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* make vendor
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Swap out octicons
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Move octicons to top of less imports
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix JS
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Definitely not a search/replace
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Missed regex
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Move to more generic calls and webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* make svg -> make webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Remove svg-sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Missed a test
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Remove svg from makefile
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Suggestions
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Attempt to fix test
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Revert timetracking test
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Swap .octicon for .svg in less
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add aria-hidden
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Replace mega-octicon
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix webpack globbing on Windows
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Revert
Co-Authored-By: silverwind <me@silverwind.io >
* Fix octions from upstream
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Fix Vue and missed JS function
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add JS helper and PWA
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Preload SVG
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: techknowlogick <matti@mdranta.net >
2020-02-11 12:02:41 -05:00
05e7715c4b
Update go-org to optimize code ( #8824 )
2019-11-05 16:39:03 +08:00
086a46994a
Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering to go-org ( #8560 )
...
* Rewrite markdown rendering to blackfriday v2.0
* Fix style
* Fix go mod with golang 1.13
* Fix blackfriday v2 import
* Inital orgmode renderer migration to go-org
* Vendor go-org dependency
* Ignore errors :/
* Update go-org to latest version
* Update test
* Fix go-org test
* Remove unneeded code
* Fix comments
* Fix markdown test
* Fix blackfriday regression rendering HTML block
2019-10-31 01:06:25 +00:00
3f5cdfe359
use go 1.13 ( #8088 )
...
* use go 1.13
* use go 1.13 in gomod file
* Update Makefile
* update swagger deps
2019-09-12 14:58:32 +03:00
33ad554800
update go-git to v4.12.0 - fixes #7248 ( #7249 )
2019-06-19 10:14:15 +08:00
4c1f1f9646
Remove x/net/context vendor by using std package ( #5202 )
...
* Update dep github.com/markbates/goth
* Update dep github.com/blevesearch/bleve
* Update dep golang.org/x/oauth2
* Fix github.com/blevesearch/bleve to c74e08f039e56cef576e4336382b2a2d12d9e026
* Update dep golang.org/x/oauth2
2018-11-10 18:55:36 -05:00
2af57c7820
Update x/net ( #5169 )
2018-10-26 19:05:56 -04:00
3f3383dc0a
Migrate to dep ( #3972 )
...
* Update makefile to use dep
* Migrate to dep
* Fix some deps
* Try to find a better version for golang.org/x/net
* Try to find a better version for golang.org/x/oauth2
2018-05-21 15:34:20 +03:00
833f8b94c2
Search bar for issues/pulls ( #530 )
2017-01-25 10:43:02 +08:00
1ebb35b988
Added all required dependencies
2016-11-04 08:43:11 +01:00