Commit Graph
100 Commits
Author SHA1 Message Date
techknowlogick 39d209dccc change s3 bucket name (#15847) 2021-05-12 16:12:36 -04:00
techknowlogickandLunny Xiao 761111f9ed Resolve panic on failed interface conversion in migration v156 (#15604) (#15610)
go panics otherwise with `panic: interface conversion: error is git.ErrNotExist, not *git.ErrNotExist`, thanks to Codeberg/Andi for reporting this.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-04-25 11:58:42 -04:00
techknowlogickandzeripath fa3fe1e28a v172 migration adds created_unix field instead of expiry (#15458) (#15463)
The Session table must have an Expiry field not a created_unix field - somehow
this migration adds the incorrect named field leading to #15445 reports.

Fix #15445

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2021-04-14 08:03:42 +02:00
62f5cf4386 Fix repository search (#15428) (#15442)
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>

Co-authored-by: KN4CK3R <KN4CK3R@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-04-13 12:30:28 +08:00
techknowlogickandzeripath 779d1185e7 Prevent NPE on avatar direct rendering if federated avatars disabled (#15434) (#15439)
#13649 assumed that direct avatar urls would always be libravatar urls - this leads
to NPEs if federated avatar service is disabled.

Fix #15421

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: zeripath <art27@cantab.net>
2021-04-12 22:50:07 -04:00
techknowlogick 33c4e246fe update golang libraries (#15258) (#15259) 2021-04-03 10:42:18 +02:00
techknowlogick b175791665 build darwin on arm64 platforms (#14951)
fix #14945
2021-03-10 23:59:57 -05:00
techknowlogick faf775c552 drone workspace path 2021-02-28 23:57:58 -05:00
techknowlogick 1e95b389c0 drone workspace base 2021-02-28 23:25:09 -05:00
techknowlogick d801a158c5 use gomod support w/ xgo (#14836) 2021-03-01 11:43:55 +08:00
techknowlogick 47f6a4ec3f go1.16 (#14783) 2021-02-28 18:08:33 -05:00
techknowlogick 428d0edcb0 Exclude running docker build on cron tasks (#14778) 2021-02-23 04:55:35 +01:00
techknowlogick 1f570f2208 build for only available darwin target (#14771) 2021-02-22 08:44:54 -05:00
techknowlogickand6543 ce0346448f remove outdated notice in makefile (#14720)
Co-authored-by: 6543 <6543@obermui.de>
2021-02-17 21:48:12 -05:00
techknowlogickand6543 a3cc842e15 Show Gitea version in swagger (#14654)
Show Gitea version in swagger

Co-authored-by: 6543 <6543@obermui.de>
2021-02-12 21:51:56 +01:00
techknowlogick 9b6ff819d7 update docs to show latest stable version (1.13.2) (#14550) 2021-02-03 08:46:42 +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
techknowlogick 62643d94a3 Update golangci-lint to 1.35.2 (#14418) 2021-01-21 17:14:23 -05:00
techknowlogick b708968694 upgrade to alpine 3.13 (#14343) 2021-01-20 05:21:01 +01:00
techknowlogick 954aeefb05 Update Link 2021-01-13 10:55:52 -05:00
techknowlogickandLunny Xiao d1581a4563 Add compliance check for windows to ensure cross platform build (#14260)
* Add compliance check for windows to ensure cross platform build

* no race condition

* woops. meant to change windows, not arm64

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-01-05 21:16:37 -05:00
techknowlogickandzeripath 4f2f08bd80 deprecate building for mips (#14174)
Co-authored-by: zeripath <art27@cantab.net>
2021-01-01 23:22:32 +08:00
techknowlogick c9b9b462d2 Update owners for 2021 (#14206)
Fix #13801
2021-01-01 01:41:03 +02:00
techknowlogickandzeripath 9164ff7791 frontport 1.13.1 changelog (#14175)
* frontport 1.13.1 changelog

* Update config.yaml

Co-authored-by: zeripath <art27@cantab.net>
2020-12-28 19:38:44 -05:00
techknowlogickandzeripath e0a84d7880 dep: update crypto. info: https://golangtutorial.dev/news/fix-in-crypto-package/ (#14067)
Co-authored-by: zeripath <art27@cantab.net>
2020-12-20 17:36:07 +02:00
techknowlogickand6543 f8a668ab0c Clean up SVG (#13680)
* Clean up SVG

* update per feedback

* fix css style

* Delete gitea.png

* no new line at end of file

* fix newline?

Co-authored-by: 6543 <6543@obermui.de>
2020-12-17 16:33:53 -05:00
techknowlogickandsilverwind 88b585c2e0 Store repository data in data path if not previously set (#13991)
* Store repository data in data path if not previously set

* update docs

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-authored-by: silverwind <me@silverwind.io>

* update docs

Co-authored-by: silverwind <me@silverwind.io>
2020-12-15 16:52:59 -05:00
techknowlogick 9b22ada0a7 Self-host cloudron image for docs (#13895)
* Add cloudron image to docs itself

* rm cloudron csp

* Update from-package.en-us.md
2020-12-07 22:20:37 -05:00
techknowlogick 9c71c6c4a5 Add link to shop in docs (#13864)
Replaced link to code.gitea.io as that subdomain isn't meant for human consumption, but rather for our vanity go import URLs
Only replaced link for english, open to adding links for other languages if anyone is able/willing to add them
2020-12-05 17:34:29 -05:00
techknowlogick fd1c3519c3 frontport 1.13.0 changelog (#13790) 2020-12-02 11:39:22 -05:00
techknowlogick 64bd5f4c66 specific version in docker compose (#13644)
* specific version in docker compose

fix #13643

* update latest version
2020-11-19 11:36:48 -05:00
techknowlogickandzeripath 8a7101fdd3 Add note about installation on kubernetes to docs (#13469)
Co-authored-by: zeripath <art27@cantab.net>
2020-11-08 15:50:40 -05:00
techknowlogickandLauris BH c178a36438 use registry mirror for docker-in-docker (#13438)
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-11-06 02:35:10 -05:00
techknowlogick 543697e61e Set auto-tag to false on rootless manifest (#13383)
Current overrides rootful container
2020-11-01 11:30:01 +00:00
techknowlogick 76ac83402b Clean up mysql service in drone (#13145) 2020-10-14 17:44:18 -04:00
techknowlogick e00e8d8ad3 Disable Git Hooks by default (#13064)
* Disable Git Hooks by default

Related #13058

* pass tests
2020-10-07 14:24:14 -04:00
techknowlogick 77f3dbed6d latest version is 1.12.5 (#13005) 2020-10-01 15:21:25 -04:00
techknowlogickandzeripath 156f54d6e2 allow U2F with default settings for gitea in subpath (#12990)
* allow U2F with default settings for gitea in subpath

* use trim suffix

Co-authored-by: zeripath <art27@cantab.net>
2020-10-01 20:49:49 +08:00
techknowlogick 1c3278c2fa update revive lint to latest commit (#12921)
* update revive lint to latest commit

* make fmt

* change import
2020-09-22 20:02:16 +03:00
techknowlogick 33ac0cc125 Set language via AJAX (#12785)
* Set language via AJAX

* fix lint
2020-09-10 09:09:23 +08:00
techknowlogick e4b3f35b8d Removing k8s contrib file (#12761)
We now have a helm chart that users should use instead
2020-09-07 23:22:55 -04:00
techknowlogickandAndrew Thornton 9a17e2830b refactor repo_stats to use os.pipe (#11726)
* refactor repo_stats to use os.pipe

* woops. missing reader.

* stdout not stderr, woops

* Fix copyright date and ensure that the stderr is collected

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Andrew Thornton <art27@cantab.net>
2020-09-05 16:12:14 -04:00
techknowlogick bab1204db4 Use pre-built hugo binary in release step (#12725)
* Use pre-built hugo binary in release step

* decrease verbosity of tar
2020-09-05 07:24:36 +01:00
techknowlogick 144de79c1b Add details re: Kanban (#12721) 2020-09-04 18:46:21 -04:00
techknowlogickandzeripath 482b0e6d47 Bump min required golang to 1.13 (#12717)
* Bump min required golang to 1.13

* Update config.yaml

* Update Makefile

* per silverwind feedback

* per silverwind

Co-authored-by: zeripath <art27@cantab.net>
2020-09-04 14:12:01 -04:00
c5d5d63c9c Macaron 1.5 (#12596)
* update macaron to v1.5 of fork

* update macaron to v1.5 of fork

* test gzip PR

* add push method impl to context_tests

* use proper gzip commit

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-08-27 22:47:17 -04:00
techknowlogick e90e122b39 update to latest golangci-lint (v1.30.0) (#12597) 2020-08-25 09:24:37 +03:00
techknowlogickandJohn Olheiser 019e577d54 Update JWT docs in example config (#12591)
* Update JWT docs in example config

align with way we have `LFS_JWT_SECRET` in config

Fix #12590

* Update custom/conf/app.example.ini

Co-authored-by: John Olheiser <john.olheiser@gmail.com>

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2020-08-24 17:49:26 -04:00
techknowlogick 125ffb87f0 go1.15 on windows (#12589)
* go1.15 on windows

* update xgo to use node14
2020-08-24 17:46:41 -04:00
techknowlogick 1ca652c826 Add security policy to repo (#12536) 2020-08-19 17:15:55 +01:00
techknowlogick eb60a5d054 Build windows using golang 1.14 (#12489) 2020-08-13 22:29:00 -04:00
techknowlogick 8a0049bb03 go-sqlite3 gomod version (#12490) 2020-08-14 09:54:46 +08:00
techknowlogick b37c7dd384 Build windows using golang 1.14 (#12489) 2020-08-13 21:18:04 -04:00
techknowlogick c9d1e40dfc UI: Update commit signature view (#12473) 2020-08-13 10:54:54 -04:00
techknowlogickandLauris BH bd7d6a3d73 go1.15 (#12475)
* go1.15

* update makefile xgo version

* fix vet issue

* update docs to version of go in use

* add TODO for asyncpreemptoff

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-08-13 10:11:24 -04:00
techknowlogickandJohn Olheiser 22c952ac7a Make dashboard newsfeed list length a configurable item (#12469)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2020-08-11 10:48:13 -04:00
techknowlogick 0cc21fb72d use community codecov drone plugin (#12468) 2020-08-10 22:02:09 -04:00
techknowlogickandzeripath 6ab4d76ced Match GH with Commit page (#12425)
Co-authored-by: zeripath <art27@cantab.net>
2020-08-05 09:32:13 +08:00
techknowlogick bfb25e4be1 update chroma to v0.8.0 (#12337) 2020-07-27 13:18:02 -04:00
techknowlogick e6c9f19b8f Use url.Parse to parse hostname (#12335) 2020-07-26 20:16:22 -04:00
techknowlogickandLauris BH 366ca88eea merge docker makefile into main one (#12289)
* merge docker makefile into main one

* add readme for docker folder

* don't include a file that doesn't exist anymore

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-07-21 16:41:03 -04:00
techknowlogickandLauris BH 6ea2701cd9 Release docs as archive (#12253)
It is ok to use go modules at this point as release-source make target has already been run. Otherwise hugo fails to build. Example of failed build: https://drone.gitea.io/go-gitea/gitea/27976/5/3

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-07-15 22:39:45 +01:00
techknowlogick ec40e593cf 1.12.0 is latest stable version (#11964) 2020-06-18 15:37:25 -04:00
techknowlogickandJohn Olheiser 4d2c2962d3 recommend bindata for building (#11938)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2020-06-18 11:25:58 -04:00
techknowlogickandJohn Olheiser 6bf78d2b57 Global default branch setting (#11918)
* Global default branch setting

* add to app.ini example per @silverwind

* update per @lunny

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2020-06-17 16:53:55 -04:00
techknowlogickandLauris BH 9e6a79bea9 upgrade to use testfixtures v3 (#11904)
* upgrade to use testfixtures v3

* simplify logic

* make vendor

* update per @lunny

* Update templates/repo/empty.tmpl

* Update templates/repo/empty.tmpl

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-06-17 22:07:58 +03:00
techknowlogickandLauris BH 6a4de37f7e pq -> v1.7.0 (#11905)
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-06-16 19:57:38 +08:00
techknowlogick cfac97542b 1.11.6 is latest version (#11780) 2020-06-06 09:57:33 +03:00
techknowlogick a3b185d54c Alpine 3.12 (#11720)
* increase alpine to 3.12

* Update .drone.yml
2020-06-03 16:32:51 -04:00
08611fb765 Update docs to reflect new location of homebrew repo (#11384)
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
2020-05-12 20:51:41 +08:00
techknowlogick d00ebf445b upgrade to most recent bluemonday (#11007)
* upgrade to most recent bluemonday

* make vendor

* update tests for bluemonday

* update tests for bluemonday

* update tests for bluemonday
2020-04-07 23:08:47 +03:00
techknowlogick 4af7c47b38 Update docs to 1.11.4 (#10941) 2020-04-03 13:08:40 -04:00
techknowlogick 2fa1078911 go 1.14 (#10467) 2020-03-20 10:29:31 -04:00
techknowlogick bea497ff96 nextcloud oauth (#10562)
Fix #7078
2020-03-02 22:11:45 -05:00
techknowlogick 63a6e71ac2 update crypto vendors (#10385) 2020-02-20 16:03:34 -05:00
techknowlogick c0bc9871be Blacklist manifest.json & milestones user (#10292)
Fix #10290
2020-02-16 02:56:49 -05:00
techknowlogick 7791d904b4 Add note about which version embedded tool is implemented (#10255) 2020-02-12 14:30:48 -05:00
techknowlogick e6730c9f18 Frontport: Fix regression with tag test running (#9941) (#9942) 2020-01-22 16:25:41 -05:00
techknowlogick c437e8e930 run translations pipeline on arm server (#9865) 2020-01-19 10:17:57 +01:00
techknowlogick 6b1fa12359 use arm drone agent for docs (#9776) 2020-01-15 00:59:13 -05:00
techknowlogick fef49f5e2e golangci-lint 1.22.2 (#9711) 2020-01-11 22:33:40 +02:00
techknowlogick 8f31c2fc76 remove google font call (#9668) 2020-01-09 15:48:47 -05:00
techknowlogick c884735740 Plural form for changelog (#9645)
Fix: https://gitea.com/gitea/changelog/issues/16
2020-01-08 00:08:49 -05:00
techknowlogick 8e132cd16a Update date for new year (#9644) 2020-01-07 23:06:45 -05:00
techknowlogickandLunny Xiao 1ea447aedf Delete conflicting file (#9526)
Case collision with other jboss file

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2019-12-28 10:43:03 +00:00
techknowlogick 10455a88dc Resolve deprecated INI conversion (#9525)
Per https://github.com/go-ini/ini/blob/8fe474341f7eedd6804eda75896c8f3e4b5dc36a/deprecated.go#L24
2019-12-27 22:37:26 -05:00
techknowlogick d86e587186 alpine 3.11 (#9440) 2019-12-26 19:52:32 -05:00
techknowlogick 590d56dbb3 switch to fomantic-ui (#9374) 2019-12-17 16:34:11 -05:00
techknowlogick 6442e003c5 Youtrack now supports Gitea (#9343)
* Youtrack now supports Gitea

* Update third-party-tools.en-us.md
2019-12-12 23:28:54 -05:00
techknowlogick c34fdf7e33 prebuild CSS/JS before xgo release binaries (#9293)
* prebuild CSS/JS before xgo release binaries

* Update .drone.yml

* Update Makefile

* update per @lafriks feedback
2019-12-08 17:24:17 -05:00
techknowlogick cbf18f61d1 Update Owners for upcoming year (#9290)
Close #9230
2019-12-07 21:51:55 -05:00
techknowlogick 05f6eccf27 update golang.org/x/crypto vendor to use acme v2 (#9056) 2019-11-20 00:30:46 -05:00
techknowlogick 04e6d761bc docs reference latest stable version (1.10.0) 2019-11-14 01:37:12 -05:00
techknowlogick 9395805512 update docs to latest version (#8845) 2019-11-05 13:54:20 -05:00
techknowlogick a60d3cbea2 Remove legacy handling of drone token (#8191)
Now Drone has removed Gitea user/pass handling we can remove legacy handling
2019-09-17 15:13:24 +03:00
techknowlogickandAntoine GIRARD 7a8e299c7c migrate gplus to google oauth2 provider (#7885)
* migrate gplus to google oauth2 provider. this still provides support for old gplus connections.

* Update models/oauth2.go

Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com>

* make vendor
2019-09-14 12:02:39 +02:00
techknowlogick 2837563147 oauth2 with remote Gitea - Fix #8093 (#8149) 2019-09-12 22:15:36 -04:00
techknowlogick cff0787759 update docs to latest version (#8164) 2019-09-12 13:23:39 -04:00
techknowlogick 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
techknowlogick 3fd0eec900 Update third-party-tools.en-us.md (#8148) 2019-09-11 00:16:11 -04:00