aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-05PersonInboxGet and PersonOutboxPostfeature-inbox-outboxAnthony Wang
2022-04-05Implement pub.database InboxForActor functionAnthony Wang
2022-04-05Finish implementing everything else except for a few db methodsAnthony Wang
2022-04-05Finish pub.database implementationAnthony Wang
2022-04-04Implement more pub.database functionsAnthony Wang
2022-04-04Add latest codeAnthony Wang
2022-03-31Inbox/outbox prototype using go-fed pubAnthony Wang
2022-03-31Add API path for outboxAnthony Wang
2022-03-30Use system timezone instead of setting.DefaultUILocationAnthony Wang
2022-03-30Remove unneeded copyAnthony Wang
2022-03-30Clean up some variable declarationsAnthony Wang
2022-03-29Check if digest algo is supported in setting moduleAnthony Wang
2022-03-28Use time.RFC1123 and make the http.Client proxy-awareAnthony Wang
2022-03-27Clean up whitespace with make fmtAnthony Wang
2022-03-27Use the httplib module instead of http for GET requestsAnthony Wang
2022-03-25Rename hack_16834 to user_settingsAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-24Cleanup, handle invalid usernames for ActivityPub person GET requestAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-20Assert if json.Unmarshal succeedsAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-20Remove LogSQL from ActivityPub person testAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-20Run make fmt again, fix err var redeclarationAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19Use Gitea JSON library, add assert for pkpAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19Run make fmt and make generate-swaggerAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19Change 2021 to 2022, properly format package importsAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19Fix CI checks-backend errors with go mod tidyAnthony Wang
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-18activitypub: hack_16834Loïc Dachary
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18activitypub: implement the ReqSignature middlewareLoïc Dachary
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18activitypub: signing http clientLoïc Dachary
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18activitypub: go-fed conformant Clock instanceLoïc Dachary
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18activitypub: add the public key to Person (#14186)Loïc Dachary
Refs: https://github.com/go-gitea/gitea/issues/14186 Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18activitypub: implement /api/v1/activitypub/user/{username} (#14186)Loïc Dachary
Return informations regarding a Person (as defined in ActivityStreams https://www.w3.org/TR/activitystreams-vocabulary/#dfn-person). Refs: https://github.com/go-gitea/gitea/issues/14186 Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18go.mod: add go-fed/{httpsig,activity/pub,activity/streams} dependencyLoïc Dachary
go get github.com/go-fed/activity/streams@master go get github.com/go-fed/activity/pub@master go get github.com/go-fed/httpsig@master
2022-03-10Fix flag validation (#19046)Norwin
Regression from #5785
2022-03-10Improve SyncMirrors logging (#19045)zeripath
Yet another issue has come up where the logging from SyncMirrors does not provide enough context. This PR adds more context to these logging events. Related #19038 Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-10fix pam authorization (#19040)zeripath
https://huntr.dev/bounties/8d221f92-b2b1-4878-bc31-66ff272e5ceb/ Co-authored-by: ysf <34326+ysf@users.noreply.github.com>
2022-03-10[skip ci] Updated translations via CrowdinGiteaBot
2022-03-09Upgrading binding package (#19034)Lunny Xiao
Fix #18855
2022-03-09Ensure isSSH is set whenever DISABLE_HTTP_GIT is set (#19028)wxiaoguang
When DISABLE_HTTP_GIT is set we should always show the SSH button
2022-03-09Add button for issue deletion (#19032)Otto Richter (fnetX)
Co-authored-by: Norwin <noerw@users.noreply.github.com> Co-authored-by: 6543 <6543@obermui.de>
2022-03-08Fix script compatiable with OpenWrt (#19000)YISH
* Fix compatibility of upgrade.sh in openwrt and add service init script for openwrt. * Apply suggestions from code review Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-authored-by: zeripath <art27@cantab.net> * Update contrib/upgrade.sh Co-authored-by: Norwin <noerw@users.noreply.github.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Norwin <noerw@users.noreply.github.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-03-08Allow users to self-request a PR review (#19030)Norwin
The review request feature was added in https://github.com/go-gitea/gitea/pull/10756, where the doer got explicitly excluded from available reviewers. I don't see a functionality or security related reason to forbid this case. As shown by GitHubs implementation, it may be useful to self-request a review, to be reminded oneselves about reviewing, while communicating to team mates that a review is missing. Co-authored-by: delvh <dev.lh@web.de>
2022-03-08Fix wrong scopes caused by empty scope input (#19029)wxiaoguang
2022-03-09Feature: show issue assignee on project board (#15232)Roger Luo
* Show assignees in project boards.
2022-03-08bump go deps (#19021)techknowlogick
* update gitea.com/go-chi/binding * update gitea.com/go-chi/cache * update github.com/42wim/sshsig * update github.com/PuerkitoBio/goquery * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/denisenkom/go-mssqldb * update github.com/duo-labs/webauthn * update github.com/dustin/go-humanize * update github.com/editorconfig/editorconfig-core-go/v2 * update github.com/ethantkoenig/rupture * update github.com/go-chi/chi/v5 * update github.com/go-git/go-git/v5 * update github.com/go-ldap/ldap/v3 * update github.com/go-redis/redis/v8 * update github.com/go-swagger/go-swagger * update github.com/gogs/chardet * update github.com/golang-jwt/jwt/v4 * update github.com/hashicorp/go-version * update github.com/jaytaylor/html2text * update github.com/klauspost/compress * update github.com/lib/pq * update github.com/markbates/goth * update github.com/mattn/go-sqlite3 * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/msteinert/pam * update github.com/niklasfasching/go-org * update github.com/olivere/elastic/v7 * update github.com/prometheus/client_golang * update github.com/quasoft/websspi * update github.com/stretchr/testify * update github.com/unknwon/i18n * update github.com/unrolled/render * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark * update github.com/yuin/goldmark-highlighting * update github.com/yuin/goldmark-meta * post make vendor Signed-off-by: Andrew Thornton <art27@cantab.net> * add make vendor back into update_dependencies.sh Signed-off-by: Andrew Thornton <art27@cantab.net> * Update update_dependencies.sh * Update contrib/update_dependencies.sh Co-authored-by: zeripath <art27@cantab.net> * update mvdan.cc/xurls/v2 Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-03-08Don't show context cancelled errors in attribute reader (#19006)zeripath
Fix #18997 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-03-07Set `rel="nofollow noindex"` on new issue links (#19023)zeripath
Fix #19018 Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-07update to correct stable versiontechknowlogick
2022-03-07[skip ci] Updated translations via CrowdinGiteaBot
2022-03-06Add Index to comment for migrations and mirroring (#18806)singuliere
Comments have an id (see Gitea[0], GitLab[1], GitHub[2], etc.), and the comment migration format must represent it during migrations so that it can be used during mirroring or incremental migrations. [0] https://try.gitea.io/api/swagger#/issue/issueGetComment [1] https://docs.gitlab.com/ee/api/discussions.html#get-single-issue-discussion-item [2] https://docs.github.com/en/rest/reference/issues#get-an-issue-comment Signed-off-by: Loïc Dachary <loic@dachary.org> Co-authored-by: Loïc Dachary <loic@dachary.org>
2022-03-06Support ignore all santize for external renderer (#18984)Lunny Xiao
* Support ignore all santize for external renderer * Update docs * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> * Fix doc Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: 6543 <6543@obermui.de>
2022-03-06Fix EasyMDE error when input Enter (#19004)wxiaoguang
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>