Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge of upstream 'release' into G-Node/gogs 'master' #107

Merged
merged 164 commits into from
Dec 3, 2020

Conversation

mpsonntag
Copy link
Contributor

This large PR merges all of the latest changes from gogs/gogs release/0.12 into the current G-Node/gogs master branch.

  • All commits where cherry picked and any merge conflicts resolved.
  • The base make and make test did run successfully.
  • A docker container was built and successfully deployed with a postgres database.

Potentially breaking changes

During the full list of merges most of the merge conflicts were minor and should not cause any issues. The following list were upstream changes that caused merge issues and require serious testing since they change core concepts of the service:

  • 41f56ad login_source: migrate to GORM and add tests (#6090)
    • migration to a different ORM mapper; it should be checked whether it affects our service.
  • d19287d ssh: improve env command processing (#6095)
    • changes in ssh handling which also might affect our service.
  • 62dda96 access_token: migrate to GORM and add tests (#6086)
    • the usage of AccessTokens was changed
  • 6a09681 docker: bump to Go 1.14 (#6077)
    • Dockerfile merge conflict; the Docker build needs to be checked.
  • af0cfe1 web: rename CSRF header (#6027)
    • major javascript merge conflicts; test functionality provided by public/js/gogs.js.
  • 07818d5 route: no session for routes without UI (#6066)
    • merge conflicts in internal/cmd/web.go that should be tested.
  • 34145c9 lfs: implement HTTP routes (#6035)
    • merge conflict in internal/cmd/serv.go that should be tested.
  • a0651b6 dep: bump github.com/gogs/git-module from 1.0.1 to 1.0.2 (#6030)
    • internal/route/repo/editor.go merge conflict; test CreateDataCite.
  • 4702742 api: support get releases endpoint (#6026)
    • merge conflicts in the route file.
  • a43fc9a ipynb: sanitize rendered HTML (#5996)
    • merge conflicts in templates/repo/view_file.tmpl

The following list documents merge conflicts that clashed with custom GIN code but should not cause any serious issues with the service and should be checked on a deployed service. The commit hashes correspond to the commits in their original upstream branch (main or release/0.12).

  • 6b6bfe8 cmd/serv: use different log files for ORMs in hook mode (#6361)
  • 253b2be ci: update Go workflow from main
  • 672625b gitutil: infer submodule with baseURL when it is a relative path (#6337)
  • 39bdd5c assets: make generate (#6265)
  • 7bc3ee49a cmd/serv: use different log files for ORMs in hook mode (#6361)
  • c7a10dd locale: sync from Crowdin (#6263)
  • cb439a1 db: add tests for two factors (#6099)
  • 958d8b6 admin: use POST to run operations (#5997)
  • 9e9ca66 refactor: unify error handling in routing layer

Cherry pick list and status

The following is a list of all cherry picked commits as compared from the current status compared to the gogs/release/0.12 branch via git cherry. Commits with a - sign could be merged cleanly, those with a + sign had merge conflicts. Most of the merge conflicts occurred in go.mod, go.sum or one of the generated template files or were import issues.

- 70e345c5ebd7bbab6c4d1ca3202d06d816804660 templates: fix copypaste of email verification in reset_passwd (#5975)
+ 3e075f0e630c886d19e2df0f23ff844e69e47d6d go.mod: update to Go 1.13 (#5976)
+ b2b7ba8c44cdaf6c6ab6ca6f7b7afb05b26f0fe1 diff: remove misaligned space
- effb9b171bfae1f488d9b4738094f658b7a613a2 commit: fix unexpected truncation in title
+ 9da04665a4170c49678381cd2c16fb5974579c9e templates: fix not able to upload issue attachments (#5978)
+ 800906bc205c5be4d321aa2c5800a69651e47f61 api: overhaul `/repos/owner/repos/contents` (#5980)
- a89da51cde507de070acc21a9294328560bd320a ci: enable go vet check (#5981)
+ d69f65cce6d826f7ff15df282aa872aa87fbf7b6 api: minor changes to `/repo/owner/repo/git/trees` (#5982)
- 2b3456bf650d0ae607e20b262fdad24b385edbdb all: clean up dot files (#5983)
- e5083086e83db96f54a432b92657eeccb589b1e5 api: group "/contents" with "" and "/*" #5985 (#5986)
+ 971e5127065178ee70d5ac17fc80e11ba4b94ba0 public: make lessc compile minimize CSS (#5987)
+ e12a86df95e5448a557c68d78220f0e3d1ef426c README: update link to local development
+ 529694dc6d877488532c09e560e9ee160996830b email: check the owner when set as primary (#5988)
+ 042f31a42af0bdaab96584ad03b2166d713efa42 refactor: unify error handling in routing layer
+ 345cdb5ed2c25be1872b0848857d81fe26399079 util: add tests (#5989)
+ b92f7d84fb8071fbe59db4026b05da77aa6bfc2a locale: sync from Crowdin (#5991)
+ 69cb408e6df92efe8818a76b6e48df69c7d9b71f ipynb: sanitize rendered HTML (#5996)
+ 2a6cc3da2624ceb52caaa7ce61614129ca40176f [templates] Conform to upstream indentation
+ f27ef19105ab391c575f718c4dd3aa877a8114d4 admin: use POST to run operations (#5997)
+ 19444253bd1d3134edecf30de0ceb5c390e5e21c workflows: enable golangci-lint (#5998)
- d16c165700cbd1998d48deaf07201778fb8110a9 cmd: init logging before `SetEngine` (#6001)
+ 0b4843e23e195c0544da094d40be6461d75c5c7e webhook: overhaul route handlers (#6002)
- ecd8be1e2c1c45fbd0e9a801fe2f13738833d530 github: rename job name (#6004)
- 53ade9c76781b5d611819999094cb98333429b45 [ImgBot] Optimize images (#6005)
+ d02c113a366bd49d266fa883b919fdd874a2efbb locale: sync from Crowdin (#6006)
+ b8e5b10496cd1834d08008e6b378a8501d1fcd85 http: always set header `X-Content-Type-Options` to `nosniff` (#6008)
- 1fb9dd6bbd8663951124f1ff18e78c3734868beb cmd: backup support exclude mirror repositories (#6003)
+ 72547acc0781df9cbaa880cab8f238f8ad0ee0cc go.mod: update github.com/gogs/git-module (#6011)
- 907c3ca042c562abc5ff277958fa5333a328288c csrf: set cookie HttpOnly and Secure (#6013)
+ 72b7b359dfcb1f3a29fd20f87036fafa50f80402 build(deps): bump github.com/google/go-cmp from 0.3.0 to 0.4.0 (#6014)
+ 00b719bf03bacf608d6c60adb40b16f71bc9cc11 build(deps): bump github.com/urfave/cli from 1.22.1 to 1.22.3 (#6015)
+ 2acc994fe72be30526a34c194b10058d45637f6e build(deps): bump gopkg.in/macaron.v1 from 1.3.4 to 1.3.5 (#6016)
+ 1d856183a3f4d6950aea8a6614aa17c23bca0e78 build(deps): bump github.com/mattn/go-sqlite3 from 1.11.0 to 1.… (#6017)
+ 0be8db6fdbcfa3b4aa57d89aaef96e5d84279e0f github: use Actions for CI (#6022)
+ 4c500d807ca48fdc4934db8c0cb4125cf33b5a5c README: remove unused badge (#6024)
+ 932a683d4e38be27b9e839432287e283600ce5ed build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5… (#6019)
+ d0df6ae66ac3e59ca00e95ffabdcb347263fcb13 build(deps): bump github.com/editorconfig/editorconfig-core-go/… (#6020)
+ 26cdef1d22a9da520ae45dc6ddf6a233f2cc1e77 build(deps): bump xorm.io/builder from 0.3.6 to 0.3.7 (#6021)
+ 8c9e5bfcb8a2222c429bd3ee9c4c6b33c9b99d4e Revert "build(deps): bump xorm.io/builder from 0.3.6 to 0.3.7" (#6025)
+ 250c8b2a876cbccc0ba1bad550c61ca1706926f6 web: rename CSRF header (#6027)
+ 75e9c78d167305a8413dba165a216cbac11705e1 api: support get releases endpoint (#6026)
+ 10d7e4061eb3d37706678ca9814bdccdc6e741e5 dep: bump github.com/gogs/git-module from 1.0.1 to 1.0.2 (#6030)
- 6e628587d3c80fb41ef8b6579922e6be2ac68b44 codecov: formalize coverage settings (#6031)
- 7bf87ad303e1605c91b9c1c5a75b13ab63cb3ea4 gitutil: refactor the way to mock (#6032)
- 5e520e32f57f77a4eb096e4063a66a226e212989 gitutil: simplify mock with `t.Cleanup` (#6033)
+ 61277e26286f75f25c07d2909f7caccf6166f83c build(deps): bump github.com/go-sql-driver/mysql from 1.4.1 to… (#6037)
+ 762f6a20cbe48996d67e85268cecee62d50b2983 build(deps): bump github.com/json-iterator/go from 1.1.7 to 1.1… (#6036)
+ 0f91c26dcbd97009bf8b569bd652edacb82af819 build(deps): bump github.com/niklasfasching/go-org from 0.1.6 t… (#6043)
+ 3f6c91a913fb7a6fddfe79600c1f84bbf10c4a51 build(deps): bump github.com/sergi/go-diff from 1.0.0 to 1.1.0 (#6042)
+ d64efbffcb364adc8bc0adcda09304c53c2335f2 build(deps): bump gopkg.in/ini.v1 from 1.54.0 to 1.55.0 (#6039)
+ 84988811df7a35bf6132bf2d8093071c48c77fd1 build(deps): bump github.com/go-macaron/binding from 1.0.1 to 1… (#6045)
+ bee09e26693fdb28d66aae5bfb25de9e3c5a06b9 build(deps): bump github.com/lib/pq from 1.2.0 to 1.3.0 (#6041)
+ beeaf3a373768636dc0acff6aeb2f0164d969edf build(deps): bump github.com/prometheus/client_golang from 1.2.… (#6044)
+ 1a1e421f5dc4cf914b1801ffd9341fdb6b05c0f3 locale: sync from Crowdin (#6046)
+ c5ca5525bbc8f98c1edce1feb15b6604b99a0574 template: better diff handling of rename and deleted files (#6048)
- f6e2d0cb8388a323586bf8b6441c327924f208ee Update CHANGELOG (#6049)
+ 9178ec0be2744da6bc5edaee4683a48a85584897 build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 (#6047)
- 4978d14dbe09b37231751d17883857de3b739a23 dep: bump github.com/gogs/git-module from 1.1.0 to 1.1.1 (#6051)
+ 6a0f190994538bdf9d67272c63e9a82f2d2fe8e8 build(deps): bump github.com/urfave/cli from 1.22.3 to 1.22.4 (#6055)
+ 3a6cab45b152c874d9bdf12a77b3cc01e89203c7 lfs: implement HTTP routes (#6035)
+ e781a84d27e95aee25a624d1cb806c191705bffa lfs: run e2e and fix minor issues (#6059)
- 9a9d51bc2155d640f2bdc54356f55ef6eabcdc55 lfs: support upload retry (#6061)
- e42af3188d6f271c6844cb1ad3fc6161d69df994 db: use gorm function to check `ErrRecordNotFound` (#6060)
- 16b41ce65cc3545d877a1b1f72d5d2b9df25cc9c lfs: only remove file on io error (#6062)
+ bced406fc2125c9b3b8499f967cebf31caaa3a82 route: no session for routes without UI (#6066)
+ 0a996cabb2edf11bac0f3fca2f6047a6e1d47c7a conf: clearer doc comments for mirror config options (#6058)
+ 9c3f576435068f64a54918d42028a554dbdca57f build: require Go 1.14 for using `t.Cleanup` (#6069)
+ 98e89f7c66451363abb07542a4235d35677aaa22 locale: sync from Crowdin (#6071)
+ 9630f7192a5c18e0cfe3dc9d76c282ce037abeb6 lfs: add unit test for middleware (#6070)
- dbdf1cac48b30d5337dd7503a4e55c0219c8ba6d repo: delete rows in `lfs_object` table when delete repo (#6072)
+ f8249b7d1d5dff25c048223cc70080245e3df613 lfs: add tests to batch endpoint (#6073)
- 6b2f091bea6cc6590745b3a97bb54aed878d360d db: handle JSON conversion for `LoginSource` (#6075)
- be731f37aac532d5e888818b340cc0111517d9d5 db: include the Team ID in the error message (#6056)
- a51f1dde8fabf3a15b34223dc390380b9f21e968 docker: fix the bug of using root account to create `/data/*` directory (#6068)
+ 538aa5a181a68bffa74a28bd7bd724942d98402d lfs import fixes
- 0664e4ce3c3cbc48a70692a158a315c01dfa3ffb github: update bug report template (#6076)
+ ce1912485b00f09dfb38e60dbbcaba6844ddfa87 docker: bump to Go 1.14 (#6077)
+ b5dda73997e9cf966b64b6f05c33b4fcd3662f1b route: bypass require signin check for trigger repo tasks (#6079)
+ 8ca627f6ec3eddb530703f30eea51957fe24aa2d docker: clean up never used files (#6080)
+ e5bb6d8275fdc2205aab1c8fc67e5dde4124d485 repo: disable public access option when using external wiki and issue tracker (#6081)
+ 2528335623e0f172d15158cd05dea80a050ffd07 lfsutil: add `Storager` interface and local storage (#6083)
+ 663bec88738f6172720b20be6a5052a3878e3366 db: add tests for helper functions (#6084)
- 1823a53529835e27df921b968620cc905467c1dc Revert "docker: fix the bug of using root account to create `/d… (#6085)
+ fc1f3a7d15d8b786618df3f9dbacd9bd63defc3e access_token: migrate to GORM and add tests (#6086)
+ 68f37e80945ae15f5215682110980f107fb2143c db: add tests for LFS (#6087)
+ 3035394ec0df4ad7468566a402ec34dc6c6ebbe5 db: add tests for permissions (#6088)
+ 755d455aa8b4565849a24b8c27767750b3567514 login_source: migrate to GORM and add tests (#6090)
- c7fa7abd014e9ae6de04d4f09af85724529776ed db: only use `AutoMigrate` to create new tables (#6092)
- fe6544c2e5f72f9854d16aec0d29baefb9d05baf ssh: ignore malformed "env" commands (#6094)
- 69572ed9cae9bd45c41d1a790a27aee45e538481 ssh: improve env command processing (#6095)
- d04773292275463f7ebebaf278d9ea29341bad33 github: update bug report template (#6097)
+ c06269b756ac091d1df30c3c3095c05f7bad6f9b db: add tests for two factors (#6099)
+ e60a968fed85ef1556f595f1f5f99006337c237f db: use GORM bulk insert helper (#6100)
+ 6abcefed49e84dc5af5de9a927afd14fbe53a7ad db: add tests for `loginSourceFiles` (#6102)
- 7fc126244dc49274ee1ee4e30c83a5dc2d848c8f api: add admin endpoint to get team members (#6101)
- cc4b83db09b00a916a855067334645d858dd2d14 Update CHANGELOG (#6103)
+ 72637c1d23de6b44bad5537112c9137fff01c6ec docs: fix Go version (#6105)
- 3a5e2442f0d27e7099f298899f6cda6dbd77fa8a docker: fix the bug of using root to create /data/ directory (#6106)
- da58cd6591a8452dd4340e6fb8b77a499b3afe99 docker: fix mkdir subdir in /data failed when no mount volume (#6107)
+ ddb4fdbb9b37b7d4a971d40de3670eb22da4cdf0 db: add tests for repos (#6112)
+ 45044e135c9687806e6074bf14fe15b251d784d5 db: add tests for users (#6116)
+ 09299a13280a64b8475126f3e2da03feb60fca63 public: remove unused github.min.css (#6119)
- 5d1b11a0d0938cb7ba574b00cae2ce5053c69af6 conf: fallback time layout to RFC 3339 when misconfigured (#6120)
+ 5dcbe6947bd5c3a61950b661ac98a45bb78053c4 test: remove the use of goconvey (#6123)
- 82cbb471e1c940c179dd74bb16fdb55db4c5f5df db: remove `db.User.LoginType` field (#6122)
- 0814a9e7eccbb2345cbed74d9cc38984db27d6b8 Update CHANGELOG.md
+ 94830303b92b8cc4dd08efff61c3327b8f451a53 lfs: show configs in admin ui (#6128)
+ 7785c1eddf03d3eb890f2cd348e73f21fedac24c build(deps): bump github.com/editorconfig/editorconfig-core-go/v2 from 2.3.1 to 2.3.2 (#6135)
+ af7dd7e25d66a748fbac3248737b67529d80e177 build(deps): bump gopkg.in/macaron.v1 from 1.3.5 to 1.3.6 (#6143)
+ 2ccae5e84f6d2d9ee7fb811901080def44e8425e build(deps): bump github.com/prometheus/client_golang from 1.5.1 to 1.6.0 (#6144)
- 3b36d0cfb1bb7f1cb1cc67257157238f0fe68dc8 Add security policy
+ 8713bac75f913c2b5af0b64194db30d0435571e3 db: use GORM to backup and restore non-legacy tables (#6142)
+ 27fe714892c4e0828e045428a16b3577adfad76a all: use semver to compare versions (#6147)
+ 7e7158080be1663a2fe240bf57ddfe811e766ecf build(deps): bump gopkg.in/macaron.v1 from 1.3.6 to 1.3.8 (#6153)
+ 702694776b87b55674330802522042ebc430935b locale: sync from Crowdin (#6156)
+ e3f6a74ba37857033f941b507da88359ff834634 lfs: add user and admin docs (#6158)
- 1760f65fc90f201206276f72904dcedcf4bfa471 docker: add scheduled backups with retention policy (#6140)
+ ac59434f2ab05ba0930cf7eb4fe03bf01d57a66d build(deps): bump gopkg.in/ini.v1 from 1.55.0 to 1.56.0 (#6166)
- 49d08dcf1c8cd64211dc0149977d1237152253d8 docker: fix broken link in README
- 45cbf6ec403a165fe3bd0ad326a6558ced904cb5 lsif: don't upload indexes for forks (#6170)
- 592a4f39e396985f7a6bd69a54eaa4d61dfa38d6 lsif: upload data to dogfood instance (#6171)
+ be8713f347982f5b00fe6072716a32b6aed38838 locale: sync from Crowdin (#6174)
+ c9b4286489d5a52792df5cc70c917480ba11ac24 build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (#6181)
+ 4228e8a4a07032202e0aacdd0ab08fc9563c30a4 locale: sync from Crowdin (#6191)
+ 94db16db614175e0fdb27487af9f0f422f088052 README: remove OpenShift link (#6194)
- 7bbfc8609d7e1f74640949a2a2795db9d58ab341 Add CodeQL security scanning (#6188)
- 6742931b58e4d914bd608cf487a78731db2682d1 Update Dockerfiles for ARM to use alpine golang (#6183)
+ 07d7b1edfb2910487b04fc90704e3b6f454ad8a4 build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#6201)
+ 437c875516c58f8c7cdf38fe2c67b4351ed7969b build(deps): bump gopkg.in/macaron.v1 from 1.3.8 to 1.3.9 (#6200)
+ 14dd9087e8e4975219b7d46eddb20411802cb0b4 build(deps): bump github.com/json-iterator/go from 1.1.9 to 1.1.10 (#6199)
- fc9b0f7ffc2f0c44532e948594568df8d331a7d9 lsif: fix upload to private instance (#6216)
- ad458f01c72b717bacd0d1af1c59beaa58d51c3f workflow: add shellcheck as a linter (#6202)
+ 066f891ac7c2e68933d412027e8edc955f45169e README: update VPS sponsor
- e2e2b2648d0333eaa82f137405e31a0d93363e54 db: fix update team panic (#6253)
- e14057805f5e6f6ad1d2cfe2701e7532f82d57d5 organization: limit showing at most 12 members in profile page (#6254)
+ 482eea57f0c0e67fe6e1b4782212c2f8f96200d7 build(deps): bump github.com/microcosm-cc/bluemonday from 1.0.2 to 1.0.4 (#6251)
+ f6ac2e4fcc0efff1c090467bec1d74c4f4e91e5b build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3 (#6207)
- 932fa9b72d8b2d94c228dc04024d046a42a72b22 docker: fix gosu link in Dockerfile.rpi (#6203)
- 50572df92c82f98e9803fa485a6c20a3de609d99 osutil: use system API to get the username when env vars are empty (#6246)
- debef3dbec0468eb90a5967a0e3d5370b9329fd5 osutil: update docstring and tests (#6255)
+ f797933d9cf498511c93e7071a4afae28a6b9e00 deps: update git-module to v.1.1.2 (#6256)
- 4985fc71c05f5cb96308f105e9f989cef14ba37d CHANGELOG: add entry for gogs/git-module#59 (#6257)
+ 498ea55504da7bf0440e55398fb86b32881ab979 conf: fix some typos in comments (app.ini) (#6237)
+ b4f5cdfc340db5f6141e018e2a16591335b49994 conf: make generate for #6237 (#6260)
- 5d91f3b0e5d9f92044946d69f7887f5baed3b5c4 repo: users have access to base repository can also view forks (#6261)
+ 7e671ffe5537fce62ff9094d236ac0fb943a451f locale: sync from Crowdin (#6263)
- b0474539022461472e54147a969bacd638a385d4 CHANGELOG: cut 0.12.0 and 0.13.0+dev (#6264)
- 29cef04b8a4f96f09c5ebfd598c459ed4e72c39b release: remove dev version notion
+ 362880b5214cef87333690d615bea116c8033b82 assets: make generate (#6265)
- e129d5daf2350a6a248151b71c6532c3c873786e issue: fix timestamp updating (#6210)
- d6e7da44de9de6f5ff56e0218f1bc50239c30206 db: fix wrong column type of `login_source` (#6283)
- f8d0b84bfef1b36ed44a800da53e0880edd58c33 release: update version to 0.12.1
+ af9c626d540f7b766aef8f883210b71917758c17 web: correctly serving go-get pages for subdirs (#6318)
+ 83747177db07f15347f68cf9afd19f5121c2a9d4 gitutil: infer submodule with baseURL when it is a relative path (#6337)
+ 2cca22382e9001d650dd836ad58c3ba870045008 dep: update github.com/unknwon/cae to v1.0.2 (#6342)
- cab45f05feb481d9ec12b9c725920ceeca3a7a95 action: fix issue reference regexp and error handling (#6352)
+ 746447fd47d3b67b1328dea28d7113f06f9c5613 release: update version to 0.12.2
+ 0e5b866374b7de08c1a5e31723e1fccbab0282a3 ci: update Go workflow from main
+ 9521732cfc608661fdd01b81093865bcb77492de cmd/serv: use different log files for ORMs in hook mode (#6361)
- 0677f9be2510fbb8ff08e15e6dcb8eef23864274 markup: render SHA links without branch prefix (#6350)
- 53c14f5c2200849ddae4d6f489889d636a38fa07 lfs: ask client to always send the same value for the HTTP header (#6369)
- 91c09d125b0f33c8792e6a53051991bdd6c10683 release: update version to 0.12.3
+ 16f5c71393039ab4a75002ef63c219b7dfaf3b9b context: add X-Frame-Options header (#6411)
- b66a68f0b3a713e730eda0a343b9dcd340328f33 repo: disallow urlencoded new lines in git protocol paths (#6420)

KostyaEsmukov and others added 30 commits November 25, 2020 14:25
The commit message should not be treated as locale at all.
* Fix import path renaming

* api: overhaul /repos/owner/repos/contents
* ci: enable go vet check

* Improve .travis.yml
This PR groups the contents api endpoint with both `""` and `/*` as
valid URL patterns.

When `""` is the URL pattern, this means that no repo path has'nt been
provided, in which case the path would be the default repo path.

When  `"/*"` is the URL pattern, then this would return the contents at
the specified path if it's valid.

Github API v3 is conformant to this behavior and have verified it
locally.
* email: check the owner when set as primary

Fixes a security issue reported by muxishuihan.

* Update CHANGELOG
* ipynb: sanitize rendered HTML

Fixes #5170

* Remove hardcode URL

* Add tests
* admin: use POST to run operations

Fixed CSRF reported by Wenxu Wu of Tencent's Xuanwu Lab.

* Update CHANGELOG
* Create golint.yml

* Update golint.yml

* Update golint.yml

* Fix errcheck

* Fix gosimple

* Fix staticcheck
* Overual route handlers and fixes #5366

* Merge routes for repo and org

* Inject OrgRepoContext

* DRY validateWebhook

* DRY c.HasError

* Add tests

* Update CHANGELOG
* Update golint.yml

* Update lsif.yml
*Total -- 13.23kb -> 10.21kb (22.85%)

/public/img/dingtalk.png -- 7.86kb -> 5.96kb (24.1%)
/public/img/slack.png -- 5.38kb -> 4.25kb (21.02%)

Signed-off-by: ImgBotApp <[email protected]>

Co-authored-by: ImgBotApp <[email protected]>
* cmd: backup support exclude mirror repositories

* Apply suggestions from code review

Co-authored-by: ᴜɴᴋɴᴡᴏɴ <[email protected]>
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](google/go-cmp@v0.3.0...v0.4.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
unknwon and others added 25 commits November 27, 2020 16:06
* web: correctly serving go-get page for subdirs

* Update CHANGELOG

* Fix golint error
Co-authored-by: Zhukov Roman <[email protected]>
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <[email protected]>
@achilleas-k
Copy link
Member

Merging and ignoring linting errors for now. Dav can be cleaned out in a followup PR.

@achilleas-k achilleas-k merged commit 1619dc1 into G-Node:master Dec 3, 2020
@mpsonntag mpsonntag deleted the release0123 branch December 3, 2020 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet