summaryrefslogtreecommitdiffstats
path: root/Dockerfile (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-20[doctor] pq: syntax error at or near "." quote user table name (#19765)silentcodeg1-2/+2
2022-05-20[doctor] update the help with fix capabilities (#19762)silentcodeg1-2/+2
* [doctor] update the help with fix capabilities
2022-05-20Remove fomantic progress module (#19760)silverwind11-2035/+37
Replace it with HTML `<progress>` element. The bar won't go green at 100% anymore but I think it's not something that fits stylistically anyways.
2022-05-20Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (#19729)wxiaoguang8-16/+54
* Make Ctrl+Enter (quick submit) work for issue comment and wiki editor * Remove the required `SubmitReviewForm.Type`, empty type (triggered by quick submit) means "comment" * Merge duplicate code
2022-05-20Enable packages by default again (as described by docs) (#19746)delvh1-1/+1
2022-05-20Replace blue button and label classes with primary (#19763)silverwind61-123/+132
* make blue really blue * replace blue button and label classes with primary * add --color-blue-dark * add light color variants, tweak a few colors * fix colors * add comment Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-05-19Fix org package owner permissions (#19742)KN4CK3R1-13/+21
Old code did not respect owner visibility and the organization access calculation was wrong if the user was not a member.
2022-05-19Update base.go (#19739)Guo Y.K1-1/+1
use http.StatusTemporaryRedirect(307) when serve avatar directly browser caches 301 redirections, pre-signed s3 url would expire at some later point Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-05-19[doctor] do not update User Stars numbers unless --fix (#19750)silentcodeg1-3/+8
2022-05-19Fix incorrect translation key (#19744)delvh1-1/+1
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-05-18Improved ref comment link when origin is body/title (#19741)Eekle1-1/+2
* Makes comments in body text/title return the base page URL instead of "" in RefCommentHTMLURL() * Add comment explaining branch Co-authored-by: delvh <dev.lh@web.de>
2022-05-18[doctor] explain what enable-push-options does (#19740)silentcodeg1-1/+1
2022-05-18Add doctor orphan check for orphaned pull requests without an existing base ↵silentcodeg1-0/+3
repo (#19731)
2022-05-17ContainerRegistry - removed Basic Auth header (#19735)KN4CK3R2-5/+1
* Removed Basic Auth header. * Fixed test.
2022-05-17[skip ci] Updated translations via CrowdinGiteaBot2-3/+3
2022-05-16Add changelog for v1.16.8 (#19724) (#19730)65432-1/+18
* Add changelog for v1.16.8 (#19724) * Add changelog for v1.16.8 Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> * bump Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-05-16Improve commit list/view on mobile (#19712)Gusted3-15/+93
- This is a continuation on [the work](https://github.com/go-gitea/gitea/pull/19546) I've done for improving mobile experience on Gitea. - The current behavior of going trough the commits list is horrible, each individual item gets it's own row and thereby isn't quite compact as it should be on mobile. The commit view's header is in a bit better state, it's quite only that content is overlapping each other. - This patch fixes those problems. Each row in the commit list table will actually take a row in the UI. The commit view's header has now a better organized way of placing the information.
2022-05-16Fix issue overview for teams (#19652)Gusted12-36/+87
- Don't use hacky solution to limit to the correct RepoID's, instead use current code to handle these limits. The existing code is more correct than the hacky solution. - Resolves #19636 - Add test-case
2022-05-16Fix nodeinfo caching and prevent NPE if cache non-existent (#19721)zeripath1-7/+11
Extract from #19703 Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-05-15Update go-chi/cache to utilize Ping() (#19719)65436-30/+15
* update gitea.com/go-chi/cache -> v0.2.0 * ajust to new interface * refactor
2022-05-15Disable blank issues (#19717)John Olheiser1-1/+1
2022-05-15clarify what session provider 'db' does (#19713)f0x522-2/+3
* clarify what session provider 'db' does * Also update session.PROVIDER in app.example.ini Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-05-15[skip ci] Updated translations via CrowdinGiteaBot3-9/+57
2022-05-14Fix duplicate entry error when add team member (#19702)zuzuviewer2-0/+12
2022-05-13[Refactor] convert team(s) to apiTeam(s) (#13745)65439-98/+110
* Refactor: teams to api convert * make org load optional * more info in tests
2022-05-13Use a better OlderThan for DeleteInactiveUsers (#19693)Gusted1-1/+1
* Use a better OlderThan for DeleteInactiveUsers - Currently the OlderThan is zero, for instances that enable or run this task this could actually delete just new users that still need to confirm their email. This patch fixes that by setting the default to the `ActiveCodeLives` setting, which corresponds to the amount of time that a user can active their account, thus avoiding the issue of deleting unactivated email users. * Use correct duration
2022-05-13[skip ci] Updated translations via CrowdinGiteaBot2-1/+20
2022-05-12Introduce eslint-plugin-jquery (#19690)silverwind3-0/+68
Introduce the plugin that allows us to gradually forbid jQuery code. I've enabled all rules that already pass. Next step will be to go through each rule and fix the issues by using native DOM equivalents, which I think can be done in separate PRs, but if prefered I could also start here.
2022-05-12Use Vue to refactor pull merge UI (#19650)wxiaoguang7-218/+206
* Use Vue to refactor pull merge UI * add comments * fix comments * small fine tune * fix tests * adopt new pull default messages * clean up Co-authored-by: 6543 <6543@obermui.de>
2022-05-12[skip ci] Updated translations via CrowdinGiteaBot1-14/+14
2022-05-11Fix oauth setting list bug (#19682)Lunny Xiao1-1/+1
2022-05-11Delete user related oauth stuff on user deletion too (#19677)65433-0/+34
* delete user related oauth stuff on user deletion too * extend doctor check-db-consistency
2022-05-11Move access and repo permission to models/perm/access (#19350)Lunny Xiao72-511/+608
* Move access and repo permission to models/perm/access * Remove unnecessary code
2022-05-11Tidy up `<head>` template (#19678)silverwind1-24/+22
Neiter `<meta>` nor `<link>` require a closing slash at the end in HTML, remove it.
2022-05-10Update go tool dependencies (#19676)silverwind12-18/+30
* Update go tool dependencies Updated all tool dependencies to latest tags, hoping CI will like it. * fix new lint errors * handle more strings.Title cases * remove lint skip
2022-05-10Update JS dependencies (#19675)silverwind9-2178/+3020
* Update JS dependencies - Update all JS dependencies minus vue and vue-loader - Adapt to jest 28 - Add new eslint rules - Tested Mermaid and Swagger-UI * switch to @happy-dom/jest-environment for faster tests * bump eslint env to es2022
2022-05-10Use better message for consistency check (#19672)Gusted1-15/+15
- Don't log the reflect struct, but instead log the ID of the struct. This improves the error message, as you would actually know which row is the error.
2022-05-10Fix new release from tags list UI (#19670)Lunny Xiao1-1/+3
2022-05-10Update go deps (#19665)65433-120/+146
* update gitea.com/go-chi/binding * update github.com/42wim/sshsig * update github.com/PuerkitoBio/goquery * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/duo-labs/webauthn * update github.com/editorconfig/editorconfig-core-go/v2 * update github.com/emirpasic/gods * update github.com/gliderlabs/ssh * update github.com/go-chi/cors * update github.com/go-enry/go-enry/v2 * update github.com/go-git/go-git/v5 * update github.com/go-ldap/ldap/v3 * update github.com/golang-jwt/jwt/v4 * update github.com/google/pprof * update github.com/klauspost/compress * update github.com/lib/pq * update github.com/markbates/goth * update github.com/minio/minio-go/v7 * update github.com/olivere/elastic/v7 * update github.com/unrolled/render * update github.com/urfave/cli * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark * adopt breaking changes of certmagic
2022-05-10[doctor] Add check/fix for bogus action rows (#19656)singuliere3-0/+74
Signed-off-by: Loïc Dachary <loic@dachary.org> Co-authored-by: Loïc Dachary <loic@dachary.org>
2022-05-10[skip ci] Updated translations via CrowdinGiteaBot1-33/+36
2022-05-09Add tooltip to pending PR comments (#19662)Jack Hay2-1/+2
2022-05-09Add Webfinger endpoint (#19462)KN4CK3R3-2/+189
This adds the [Webfinger](https://webfinger.net/) endpoint for federation. Supported schemes are `acct` and `mailto`. The profile and avatar url are returned as metadata.
2022-05-09Update documentation to disable duration settings with -1 instead of 0 (#19647)Jimmy Praet3-14/+14
To turn off the notification endpoint polling, the value should be set to -1, not 0.
2022-05-09Set the LastModified header for raw files (#18356)zeripath5-29/+133
Although the use of LastModified dates for caching of git objects should be discouraged (as it is not native to git - and there are a LOT of ways this could be incorrect) - LastModified dates can be a helpful somewhat more human way of caching for simple cases. This PR adds this header and handles the If-Modified-Since header to the /raw/ routes. Fix #18354 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
2022-05-09Don't select join table's columns (#19660)Lunny Xiao1-1/+3
* Don't select join table * Add comment
2022-05-09[skip ci] Updated translations via CrowdinGiteaBot28-28/+21
2022-05-09Calculate filename hash only once (#19654)KN4CK3R8-29/+26
* Calculate hash only once. * remove unused Sha1 template helper function, use ctx.Data["FileNameHash"] * fix unit tests
2022-05-08Admin should not delete himself (#19423)Lunny Xiao3-0/+16
Admin should not be able to delete themselves. Also partially fix #15449
2022-05-08Restore reviewed-on message (#19657)Lunny Xiao1-0/+3
Regression from #18177