summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* inform participants on UI too (#10473)65432020-02-285-28/+54
| | | | | | | | * inform participants on UI too * ajust test * refactor getParticipantIDsByIssue
* Add max-file-size to LFS (#10463)zeripath2020-02-284-0/+10
| | | | | | | | | | | | | | | * Add max-file-size to LFS * Update modules/lfs/server.go * As per @silverwind Co-Authored-By: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Use media links for img in post-process (#10515)zeripath2020-02-281-5/+29
| | | | | | * use media links for img in post-process * do not visit text of anchors
* Fix the signing icon in the view_list.tmpl page (#10511)zeripath2020-02-272-6/+6
| | | | | | | | | | | | | | | * Fix the view_list.tmpl page * fix-centerlock * Update web_src/less/_base.less as per @silverwind Co-Authored-By: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Fix potential bugs (#10513)65432020-02-277-10/+14
| | | | | | | * use e if it is an option * potential nil so check err first * check err first * m == nil already checked
* Org action fixes and form cleanup (#10512)John Olheiser2020-02-276-15/+26
| | | | | | | | * More org fixes * Move form action query to inputs Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Show Signer in commit lists and add basic trust (#10425)zeripath2020-02-2716-70/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show Signer in commit lists and add basic trust Show the avatar of the signer in the commit list pages as we do not enforce that the signer is an author or committer. This makes it clearer who has signed the commit. Also display commits signed by non-members differently from members and in particular make it clear when a non-member signer is different from the committer to help reduce the risk of spoofing. Signed-off-by: Andrew Thornton <art27@cantab.net> * ensure orange text and background is available Signed-off-by: Andrew Thornton <art27@cantab.net> * Update gpg_key.go * Update models/gpg_key.go * Apply suggestions from code review * Require team collaborators to have access to UnitTypeCode * as per @6543 * fix position of sha as per @silverwind * as per @guillep2k
* Use [:space:] instead of \s (#10508)zeripath2020-02-271-1/+1
|
* [BugFix] Avoid mailing explicit unwatched (#10475)65432020-02-272-4/+12
| | | | | | | | | | * Avoid mailing explicit unwatched * CI.restart() * back to normal Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Add fluid-icon (#10491)silverwind2020-02-271-0/+1
| | | | | | | | | | | | This provides Firefox (and possible other browsers) with a high-resolution rich icon, in place of the previously removed apple-touch-icon without having to use that one as it lacks an alpha channel. This is the same method GH uses. https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/UI_considerations#Rich_icons Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: techknowlogick <matti@mdranta.net>
* Fix SQLite concurrency problems by using BEGIN IMMEDIATE (#10368)guillep2k2020-02-273-3/+3
| | | | | | | | | * Test locking immediate for SQLite3 * fix url field separator Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
* Show the username as a fallback on feeds if full name is blank (#10438)James Lakin2020-02-262-5/+10
| | | | | Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Tweak language stats bar (#10487)silverwind2020-02-262-12/+24
| | | | | | | | | - Ensure bar does not overflow parent - Remove unneccessary borders/background - Fix shaky animation caused by JS animation miscalculation by setting fixed height on the summary box. Box itself is still shaky during animation, but better it then the whole page. Fixes: https://github.com/go-gitea/gitea/issues/10474
* Fixed formatting (#10485)Karsten Lehmann2020-02-261-1/+1
| | | | Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Fix double PR notification from API (#10482)John Olheiser2020-02-261-3/+0
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix admin notices (#10480)John Olheiser2020-02-263-3/+6
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Code Refactor of IssueWatch related things (#10401)65432020-02-268-80/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor * optimize * remove Iretating function LoadWatchUsers do not load Users into IW object and it is used only in api ... so move this logic * remove unessesary * Apply suggestions from code review Thx Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * make Tests more robust * fix rebase * restart CI * CI no dont hit sqlites deadlock Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Change admin dashboard to POST (#10465)John Olheiser2020-02-255-55/+81
| | | | | | | | * Add form and convert to POST * Redirect for flash Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Change action GETs to POST (#10462)John Olheiser2020-02-2511-35/+79
| | | | | | | | | | | | | | | | | | * Change action GETs to POST * submite = submit + smite * No more # href * Fix test * Match other tests * Explicit csrf Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [API] enable paggination for ListRepoTags (#10454)65432020-02-254-3/+38
| | | | | | | | | | | | * enable paggination for repoTags * precalculate first, cut slice second * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Use documentation IPs for example IPs (#10434)Ask Bjørn Hansen2020-02-251-8/+8
| | | | | | | See https://tools.ietf.org/html/rfc5737 Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* update discord link (#10455)65432020-02-2512-13/+13
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-251-2/+9
|
* Fixed wrong AppSubUrl in multiple templates (#10447)Philipp A. Beckmann2020-02-253-4/+4
| | | | | | | * Fixed wrong AppSubUrl in OAuth2 app edit page * Replaced all other occurrences of $.AppSubURL for support of sub-paths
* Update JS dependencies (#10450)silverwind2020-02-253-359/+291
| | | | | | | | | | Fomantic's update process did fail to update via 'npm install' because of our config initially but it did work after manually bumping the version in semantic.json. Fomantic changes: https://github.com/fomantic/Fomantic-UI/blob/master/CHANGELOG.md#284
* Use local timezone to compare (#10446)65432020-02-251-2/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-241-0/+6
|
* FIX Pagination of ListAccessTokens and GetIssueWatchers (#10449)65432020-02-242-5/+7
| | | | | | * fix a pagination bug * fix pagination of ListAccessTokens
* 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
|