aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update markbates/goth (#10444)oscar.lofwenhamn2020-02-2411-18/+46
| | | | | | | | | | | | | - Fixes a JWT decoding issue in the OpenID provider - Updates the GitHub provider to use the authorization header for authentication - Updates the Twitch provider for Twitch's v5 API changes - Adds the email and is_private_email fields to the Apple provider's GetUser implementation - Modifies gothic to export a non-collidable context key for setting the Provider in a context.Context - Adds new scopes to the Spotify provider - Adds the IDToken from OpenID providers on the user struct - Make Apple provider's SecretParams public - Adds support for sign in with Apple, and drops support for Go versions 1.7 and 1.8 - Fixes the Slack provider's FetchURL logic to use the appropriate scope for the info it needs Signed-off-by: Oscar LÃfwenhamn <oscar.lofwenhamn@cgi.com>
* docs: Fix MySQL create database syntax (#10436)Ask Bjørn Hansen2020-02-241-1/+1
| | | Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
* Trigger webhooks on issue label-change via API too (#10421)65432020-02-232-36/+44
| | | | | | | | | | | | | | * trigger webhooks with api too * fix comment * notify report old too * CI restart * restart CI again * remove duplicated code
* move vue and vue-calendar-heatmap to webpack (#10188)silverwind2020-02-2315-263/+154
| | | | | | | | | | | | - unvendor vue and vue-calendar-heatmap - remove unused moment.js leftover from previous heatmap version - ensure webpack loads the full version of vue - fix vue devmode warning related to 'searchLimit' type I wanted to name the chunk heatmap.js but adblockers don't like that filename [1]. [1] https://github.com/easylist/easylist/blob/3899d5dff33216c0bc64f09ff15d376f346d3e33/easyprivacy/easyprivacy_general.txt#L2095
* Various fixes in login sources (#10428)guillep2k2020-02-2315-21/+66
|
* Fix webhook bug (#10427)Lunny Xiao2020-02-231-2/+2
| | | | Co-authored-by: techknowlogick <matti@mdranta.net>
* Disallow leading zeroes in Less (#10407)silverwind2020-02-2311-101/+102
|
* Prevent Firefox from using apple-touch-icon (#10402)silverwind2020-02-234-3/+9
| | | | | | | | | | | | | | * Prevent Firefox from using apple-touch-icon The opaque background does not work well in Firefox which uses the icon as a "rich icon". Prevent this by not specifying it in HTML. Real Apple devices will still request the icon on the static path. Fixes: https://github.com/go-gitea/gitea/issues/10394 Also adjust gitignore so app.ini.sample becomes searchable and fixed a variable name in app.ini.sample. * fix gitignore
* Support NODE_ENV in webpack (#10245)silverwind2020-02-231-2/+11
| | | | | Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Various dark theme fixes (#10416)silverwind2020-02-222-11/+71
| | | | | | | | | | - beatify simplemde, remove header hover effect (does not play well with border colors), remove double border separators - fix colored outline buttons - fix disabled style - fix positive messages - fix markdown header border and quote block - adjust footer color - adjust file icons and release list timeline
* update integration README (#10400)65432020-02-231-5/+6
|
* Fix profile page CSS (#10406)John Olheiser2020-02-221-0/+11
| | | | | | | | | | | | | | | | * Fix profile page Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove redundant CSS Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix .username and change em to rem Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* Handle push rejection message in Merge & Web Editor (#10373)zeripath2020-02-228-16/+135
| | | | | | | | | | | | | | | | | | * Handle push rejection message in Merge * placate golangci-lint * Fix sanitize, adjust message handling * oops * Oops * Handle push-rejection in webeditor CRUD too * Apply suggestions from code review Co-authored-by: Lauris BH <lauris@nix.lv>
* Add frontend/backend make targets, fix source release (#10325)silverwind2020-02-224-18/+57
| | | | | | | | | | | | | | | | | | | | | | | * Add frontend/backend make targets, fix source release - Add 'make backend' and 'make frontend' make targets which are used to build go and js/css/svg files respectively. - The 'backend' target can be invoked without requiring Node.js to be present on the system if pre-built frontend assets are present like in the release source tarballs. - Fix source releases missing 'dist' folders inside 'node_modules' which were erronously excluded from tar. - Store VERSION in file VERSION for the release tarballs and prefer that file over git-derived version. * fix release task * fix typo * fix another typo
* Render READMEs in docs/ .gitea or .github from root (#10361)zeripath2020-02-217-12/+214
| | | | * Render READMEs in docs/ .gitea or .github from root
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-211-0/+1
|
* Prevent panic on merge to PR (#10403)zeripath2020-02-212-0/+19
| | | | | | | | If you attempt to merge to a branch which on a PR there will be a nil pointer error in the pull request checker. This panic is uncaught and will bring down the gitea server. This PR adds protection to prevent this.
* Ensure only own addresses are updated (#10397)guillep2k2020-02-212-2/+2
|
* Fixes (#10386)John Olheiser2020-02-203-3/+3
| | | | | | Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: techknowlogick <matti@mdranta.net>
* fix input[type=file] on dark theme (#10382)silverwind2020-02-201-12/+14
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-201-0/+9
|
* update crypto vendors (#10385)techknowlogick2020-02-20129-1374/+3568
|
* Add detected file language to code search (#10256)Lauris BH2020-02-2020-63/+346
| | | | | | | Move langauge detection to separate module to be more reusable Add option to disable vendored file exclusion from file search Allways show all language stats for search
* Fix wrong num closed issues on repository when close issue via commit (#10364)Lunny Xiao2020-02-202-7/+19
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* optimize public/img/loading.png (#10372)silverwind2020-02-191-0/+0
|
* fix typo of english content page (#10370)Andres Mazzo2020-02-191-1/+1
|
* Change loading animation frame order (#10358)Lauris BH2020-02-191-0/+0
|
* Fix test (#10363)Lunny Xiao2020-02-191-0/+1
|
* remove release-dirs make target (#10350)silverwind2020-02-181-11/+11
| | | | | | | | - only `mkdir`the dist dirs when they are absent - add the dist dirs as prereqs so targets like `make release-sources` can run standalone Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Re-order GPG signing docs and fix code blocks (#10349)John Olheiser2020-02-191-13/+17
| | | | | | | | | | * Move chunk and format Signed-off-by: jolheiser <john.olheiser@gmail.com> * word Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Reading pull attachments should depend on read UnitTypePullRequests (#10346)zeripath2020-02-182-2/+6
| | | | | | | | * Make pull attachments depend on read UnitTypePullRequests Fixes #10336 * Fix test
* Set max-width on review-box comment box (#10348)zeripath2020-02-181-0/+22
|
* [Docs] Database Preparation (#9826)Bagas Sanjaya2020-02-181-0/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Database Preparation * Apply suggestions from @guillep2k Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Repeat strong password notice on PostgreSQL * Add prerequisite note * Use utf8mb4 instead of utf8 * Use utf8mb4 if complete character coverage wanted * utf8mb4 recommended * Reword utf8mb4 recommendation * Set InnoDB global variables may be needed * Reorder step number * Whoops, bump year date * Remove `SET GLOBAL`s and step number reorder It is assumed that such global variables value are already as default on MySQL 5.7 and later, so those are redundant. * Syntax edit on MySQL GRANT PRIVILEGEs * DB engine uniformity intro edit Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Revert "Do docker releases for pushes to release branches (#10330)" (#10345)zeripath2020-02-181-3/+0
| | | This reverts commit 69f80fd9f69c08b2320523adc99c9257df52108d.
* Prevent nil pointer in GetPullRequestCommitStatusState (#10342)zeripath2020-02-181-0/+5
| | | | | Ensure that pr.HeadRepo is loaded before using it in GetPullRequestCommitStatusState. Fixes error on merging with successful commit merge statuses.
* Fix status check enable (#10341)John Olheiser2020-02-181-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Do docker releases for pushes to release branches (#10330)zeripath2020-02-181-0/+3
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix notification (#10331)Lunny Xiao2020-02-181-18/+18
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-181-0/+12
|
* Fix JS and Vue (#10328)John Olheiser2020-02-182-4/+2
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-181-0/+1
|
* Fix cron.repo_health_check schedule example in config cheat sheet (#10324)Mike Gerber2020-02-171-1/+1
| | | | | | Fixes #10274. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix migration information update bug when linked github account (#10310)Lunny Xiao2020-02-172-13/+16
| | | | | | | | * Fix bug on upgrade migrated reactions * Fix migration information update bug when linked github account Co-authored-by: zeripath <art27@cantab.net>
* Inject SVG sprite via ajax (#10320)John Olheiser2020-02-173-4/+11
| | | | | | | | | | * AJAX SVG * Fix PWA * Remove unused PWA assets Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-Authored-by: silverwind <me@silverwind.io>
* Create Changelog for v1.11.1 release (#10286) (#10321)zeripath2020-02-171-0/+14
| | | | | | | | | | * Create Changelog * Update CHANGELOG.md * Include Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Set the initial commit status to Success otherwise it will always be Pending ↵zeripath2020-02-171-1/+1
| | | | | (#10317) The commit status code has a bug whereby setting the initial status to Pending means you can never have the status of Success - it should be set to Success.
* Truncate long commit message header (#10301)zeripath2020-02-173-3/+40
| | | | | | | | | | | | | | * Truncate long commit message header * Fix overflow in view commit table * Use @media less * Further improvements * Fix the commit message on small screens * adjust width of minimal table
* Don't manually replace whitespace during render (#10291)mrsdizzie2020-02-172-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't manually replace whitespace during render For historical reasons Gitea manually alters the urlPrefix and replaces a whitespace with a +. This Works for URLs, but we're also passing urlPrefix to git calls and adding the + is breaking the tree path. Goldmark will automatically convert a white space to the proper %20, so we should leave the string as is which lets us pass it to git unmodified and then let Goldmark fix it. Also fixed separate bug in URLJoin I noticed while testing where it will silently discard sections of a path that have # in them (possibly others). We should just escape it first. Fixes 10156 * Escape elems as well * Revert "Escape elems as well" This reverts commit 8bf49596fee6fac4d9da256cd1e90a0ec0183671. * restart ci * remove changes to URLJoin * restart ci Co-authored-by: techknowlogick <matti@mdranta.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-161-2/+51
|
* v1.10.4 Changelog (#10294) (#10306)zeripath2020-02-161-0/+13
| | | | | | | | | | * v1.10.4 Changelog * Add backport identifier for #10261 * Update CHANGELOG.md entry for #9884 Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>