]>
source.dussan.org Git - gitea.git/log
Lunny Xiao [Wed, 20 Jan 2021 01:47:43 +0000 (09:47 +0800)]
Fix log http status is always zero (#14400)
* Fix log http status is always zero
* Fix lint
Co-authored-by: 6543 <6543@obermui.de>
Kyle D [Wed, 20 Jan 2021 01:08:21 +0000 (18:08 -0700)]
Align dropdown right (#14406)
Jake Howard [Tue, 19 Jan 2021 15:50:55 +0000 (15:50 +0000)]
Note that all template directories are relative to the `CustomPath` configuration, not a `custom` directory inside it (#14399)
* Note that all template directories are relative to the `CustomPath` configuration, not a `custom` directory inside it.
This is a minor clarification, which makes locating where the templates need to be much easier
* Note that it's possible to read the `GITEA_CUSTOM` value from the admin
* Use "$GITEA_CUSTOM" as placeholder
It's more obvious it's a variable and not a typo
Chester Liu [Tue, 19 Jan 2021 04:07:38 +0000 (12:07 +0800)]
Add pager to the branches page (#14202)
* Add pager to the branches page
* override pageSize if bigger than max
* Make branches commit range configurable
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
KN4CK3R [Tue, 19 Jan 2021 03:02:47 +0000 (04:02 +0100)]
Removed invalid form tag (#14391)
introduced by #5073
Daniel Vos [Tue, 19 Jan 2021 02:05:11 +0000 (03:05 +0100)]
Update back-up restore example for 1.13 changes (#14374)
Signed-off-by: Daniƫl Vos <danielvos@outlook.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Lunny Xiao [Tue, 19 Jan 2021 01:56:10 +0000 (09:56 +0800)]
It seems vet on windows is unnecessary (#14302)
* It seems vet on windows is unnecessary
* add vet back to drone but remove GOOS and GOARCH when build vet
zeripath [Mon, 18 Jan 2021 23:20:10 +0000 (23:20 +0000)]
Use path not filepath in routers/editor (#14390)
The incorrect use of filepath instead of path means that
it is possible to cause a stackoverflow on Windows
Signed-off-by: Andrew Thornton <art27@cantab.net>
Ash McKenzie [Mon, 18 Jan 2021 20:38:41 +0000 (07:38 +1100)]
Display error if twofaSecret cannot be retrieved (#14372)
6543 [Mon, 18 Jan 2021 20:00:50 +0000 (21:00 +0100)]
Check if label template exist first (#14384)
* add check
* refactor
* rollback repo on error after session closed
Ash McKenzie [Mon, 18 Jan 2021 08:51:32 +0000 (19:51 +1100)]
Allow passcode invalid error to appear (#14371)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Jimmy Praet [Mon, 18 Jan 2021 05:13:15 +0000 (06:13 +0100)]
exclude authored PRs from Review Requested filter (#14368)
Co-authored-by: Lauris BH <lauris@nix.lv>
GiteaBot [Mon, 18 Jan 2021 01:22:31 +0000 (01:22 +0000)]
[skip ci] Updated translations via Crowdin
Lauris BH [Mon, 18 Jan 2021 01:21:14 +0000 (03:21 +0200)]
Upgrade blevesearch dependency to v2.0.1 (#14346)
* Upgrade blevesearch dependency to v2.0.1
* Update rupture to v1.0.0
* Fix test
GiteaBot [Sun, 17 Jan 2021 20:49:54 +0000 (20:49 +0000)]
[skip ci] Updated translations via Crowdin
6543 [Sun, 17 Jan 2021 20:48:38 +0000 (21:48 +0100)]
Implement ghost comment mitigation (#14349)
* Implement ghost comment mitigation
Adds a config option USER_DELETE_WITH_COMMENTS_MAX_DAYS to the [service] section. See https://codeberg.org/Codeberg/Discussion/issues/24 for the underlying issue.
* cleanup
* use setting module correctly
* add to docs
Co-authored-by: Moritz Marquardt <git@momar.de>
Lauris BH [Sun, 17 Jan 2021 17:29:10 +0000 (19:29 +0200)]
Add edit, delete and reaction support to code review comments on issue page (#14339)
Jimmy Praet [Sun, 17 Jan 2021 16:34:19 +0000 (17:34 +0100)]
Add review requested filter on pull request overview (#13701)
* Add review requested filter on pull request overview #13682
fix formatting
* add review_requested filter to /repos/issues/search API endpoint
* only Approve and Reject status should supersede Request status
* add support for team reviews
* refactor: remove duplication of issue filtering conditions
Jimmy Praet [Sun, 17 Jan 2021 14:57:42 +0000 (15:57 +0100)]
escape branch names in compare url (#14364)
GiteaBot [Sun, 17 Jan 2021 14:17:10 +0000 (14:17 +0000)]
[skip ci] Updated translations via Crowdin
Jimmy Praet [Sun, 17 Jan 2021 14:15:57 +0000 (15:15 +0100)]
label and milestone webhooks on issue/pull creation (#14363)
GiteaBot [Sat, 16 Jan 2021 11:24:18 +0000 (11:24 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Sat, 16 Jan 2021 11:23:02 +0000 (19:23 +0800)]
Fix middlewares sequences (#14354)
Co-authored-by: 6543 <6543@obermui.de>
GiteaBot [Sat, 16 Jan 2021 04:56:29 +0000 (04:56 +0000)]
[skip ci] Updated translations via Crowdin
Lauris BH [Sat, 16 Jan 2021 04:55:17 +0000 (06:55 +0200)]
Sort issue search results by revelance (#14353)
GiteaBot [Fri, 15 Jan 2021 20:30:48 +0000 (20:30 +0000)]
[skip ci] Updated translations via Crowdin
6543 [Fri, 15 Jan 2021 20:29:32 +0000 (21:29 +0100)]
KanBan: be able to set default board (#14147)
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: zeripath <art27@cantab.net>
GiteaBot [Fri, 15 Jan 2021 09:39:56 +0000 (09:39 +0000)]
[skip ci] Updated translations via Crowdin
Kyle D [Fri, 15 Jan 2021 09:38:41 +0000 (02:38 -0700)]
Kd/fix allow svg doctype (#14344)
* make svg regex case-insensitive & use strict word boundary
* allow doctype svg
* add doctype tests
* allow <!DOCTYPE svg> and <svg/>
Norwin [Fri, 15 Jan 2021 04:55:51 +0000 (04:55 +0000)]
restrict query selector to edit form (#14307)
Co-authored-by: Lauris BH <lauris@nix.lv>
Lauris BH [Thu, 14 Jan 2021 23:24:03 +0000 (01:24 +0200)]
Merge default and system webhooks under one menu (#14244)
Lunny Xiao [Thu, 14 Jan 2021 21:17:03 +0000 (05:17 +0800)]
Use IsProd instead of testing if it's equal. (#14336)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Lunny Xiao [Thu, 14 Jan 2021 20:27:22 +0000 (04:27 +0800)]
Use ServerError provided by Context (#14333)
... instead of InternalServerError by macaron
Lunny Xiao [Thu, 14 Jan 2021 15:35:10 +0000 (23:35 +0800)]
Fix typo (#14332)
Kyungmin Bae [Wed, 13 Jan 2021 20:30:46 +0000 (05:30 +0900)]
Use Request.URL.RequestURI() for fcgi (#14312) (#14314)
techknowlogick [Wed, 13 Jan 2021 15:55:52 +0000 (10:55 -0500)]
Update Link
GiteaBot [Wed, 13 Jan 2021 15:54:47 +0000 (15:54 +0000)]
[skip ci] Updated translations via Crowdin
Kyle D [Wed, 13 Jan 2021 15:53:17 +0000 (08:53 -0700)]
Kd/add bountysource (#14323)
* Add bountysource to Sponsors link
* Add badge to readme
Elena Neuschild [Wed, 13 Jan 2021 04:19:17 +0000 (05:19 +0100)]
Issues overview should not show issues from archived repos (#13220)
* Add lots of comments to user.Issues()
* Answered some questions from comments
* fix typo in comment
* Refac user.Issues(): add func repoIDs
* Refac user.Issues(): add func userRepoIDs
* Refac user.Issues(): add func issueIDsFromSearch
* Refac user.Issues(): improve error handling
* Refac user.Issues(): add inline documentation and move variable declarations closer to their usages
* Refac user.Issues(): add func repoIDMap
* Refac user.Issues(): cleanup
* Refac: Separate Issues from Pulls during routing
* fix typo in comment
* Adapt Unittests to Refactoring
* Issue13171: Issue and PR Overviews now ignore archived Repositories
* changed some verbatim SQL conditions to builder.Eq
* models/issue.go: use OptionalBool properly
Co-authored-by: 6543 <6543@obermui.de>
* Use IsArchived rather than ExcludeArchivedRepos
* fixed broken test after merge
* added nil check
* Added Unit Test securing Issue 13171 fix
* Improved IsArchived filtering in issue.GetUserIssueStats
* Removed unused func
* Added grouping to avoid returning duplicate repo IDs
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Gitea <gitea@fake.local>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Jonathan Tran [Wed, 13 Jan 2021 03:45:19 +0000 (22:45 -0500)]
Display SVG files as images instead of text (#14101)
* Change to display SVG files as images
* Remove unsafe styles from SVG CSP
* Add integration test to test SVG headers
* Add config setting to disable SVG rendering
* Add test for img tag when loading SVG image
* Remove the Raw view button for svg files since we don't fully support this
* Fix copyright year
* Rename and move config setting
* Add setting to cheat sheet in docs
* Fix so that comment matches cheat sheet
* Add allowing styles in CSP based on pull request feedback
* Re-enable raw button since we show SVG styles now
* Change so that SVG files are editable
* Add UI to toggle between source and rendered image for SVGs
* Change to show blame button for SVG images
* Fix to update ctx data
* Add test for DetectContentType when file is longer than sniffLen
Co-authored-by: Jonathan Tran <jon@allspice.io>
Co-authored-by: Kyle D <kdumontnu@gmail.com>
GiteaBot [Wed, 13 Jan 2021 00:51:06 +0000 (00:51 +0000)]
[skip ci] Updated translations via Crowdin
Nuno Silva [Wed, 13 Jan 2021 00:49:52 +0000 (00:49 +0000)]
Update docs to clarify issues raised in #14272 (#14318)
- example config is not supposed to be copied
- 'persistable-channel' uses a leveldb internally
- '*CONN_STR' overrides queue DIR
GiteaBot [Sun, 10 Jan 2021 18:06:29 +0000 (18:06 +0000)]
[skip ci] Updated translations via Crowdin
6543 [Sun, 10 Jan 2021 18:05:18 +0000 (19:05 +0100)]
[Refactor] Passwort Hash/Set (#14282)
* move SaltGeneration into HashPasswort and rename it to what it does
* Migration: Where Password is Valid with Empty String delete it
* prohibit empty password hash
* let SetPassword("") unset pwd stuff
6543 [Sun, 10 Jan 2021 12:14:02 +0000 (13:14 +0100)]
Add option to change username to the admin panel (#14229)
Co-authored-by: Bwko <bouwko@gmail.com>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: zeripath <art27@cantab.net>
a1012112796 [Sat, 9 Jan 2021 17:34:08 +0000 (01:34 +0800)]
fix mailIssueCommentBatch for pull request (#14252)
fix #14250
Signed-off-by: a1012112796 <1012112796@qq.com>
Cirno the Strongest [Sat, 9 Jan 2021 06:53:19 +0000 (07:53 +0100)]
Remove self from MAINTAINERS (#14286)
My time is limited and given recent developments, I don't think i want to dedicate any more of my time to this project.
Jimmy Praet [Fri, 8 Jan 2021 21:49:55 +0000 (22:49 +0100)]
Do not reload page after adding comments in Pull Request reviews (#13877)
Fixed #8861
* use ajax on PR review page
* handle review comments
* extract duplicate code
FetchCodeCommentsByLine was initially more or less copied from fetchCodeCommentsByReview. Now they both use a common findCodeComments function instead
* use the Engine that was passed into the method
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Lunny Xiao [Fri, 8 Jan 2021 12:15:06 +0000 (20:15 +0800)]
Fix session bug when introduce chi (#14287)
* Update go-chi session
GiteaBot [Thu, 7 Jan 2021 13:41:39 +0000 (13:41 +0000)]
[skip ci] Updated translations via Crowdin
Timo Gurr [Thu, 7 Jan 2021 13:40:24 +0000 (14:40 +0100)]
Add secure/httpOnly attributes to the lang cookie (#9690) (#14279)
Lunny Xiao [Wed, 6 Jan 2021 19:23:57 +0000 (03:23 +0800)]
Some code improvements (#14266)
GiteaBot [Wed, 6 Jan 2021 15:12:41 +0000 (15:12 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Wed, 6 Jan 2021 15:11:23 +0000 (23:11 +0800)]
Fix wrong type on hooktask to convert typ from char(16) to varchar(16) (#14148)
* Fix wrong type on hooktask to convert typ from char(16) to varchar(16)
* Fix bugs
* Improve code
* Use different trim function for MSSQL
* Fix bug
* Removed wrong changed line
* Removed wrong changed line
* Fix nullable
* Fix lint
* Ignore sqlite on migration
* Fix mssql modify column failure
* Move modifyColumn to migrations.go so that other migrate function could use it
Grace [Wed, 6 Jan 2021 07:25:01 +0000 (02:25 -0500)]
Upgrade XORM links in documentation. (#14265)
* [en] upgrade XORM link.
* [fr] upgrade XORM link.
* [zh-cn] upgrade XORM link.
* [zh-tw] upgrade XORM link.
Jimmy Praet [Wed, 6 Jan 2021 05:07:58 +0000 (06:07 +0100)]
Check permission for the appropriate unit type (#14261)
* Check permission for the appropriate unit type
Fixes false positives for "User created Issues in Repository which they no longer have access to" errors
* change log level to Debug
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
techknowlogick [Wed, 6 Jan 2021 02:16:37 +0000 (21:16 -0500)]
Add compliance check for windows to ensure cross platform build (#14260)
* Add compliance check for windows to ensure cross platform build
* no race condition
* woops. meant to change windows, not arm64
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
GiteaBot [Wed, 6 Jan 2021 01:39:13 +0000 (01:39 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Wed, 6 Jan 2021 01:38:00 +0000 (09:38 +0800)]
Fix windows build error (#14263)
* fix build
* take flash error message back and fix more windows lint error
* performance optimization
* own step to check lint for windows
Co-authored-by: 6543 <6543@obermui.de>
GiteaBot [Tue, 5 Jan 2021 13:56:10 +0000 (13:56 +0000)]
[skip ci] Updated translations via Crowdin
6543 [Tue, 5 Jan 2021 13:54:48 +0000 (13:54 +0000)]
Add option for administrator to reset user 2FA (#14243)
* Frontend
* Backend
* only show 2FA-Reset option if posible
Lunny Xiao [Tue, 5 Jan 2021 13:05:40 +0000 (21:05 +0800)]
Fix recovery middleware to render gitea style page. (#13857)
* Some changes to fix recovery
* Move Recovery to middlewares
* Remove trace code
* Fix lint
* add session middleware and remove dependent on macaron for sso
* Fix panic 500 page rendering
* Fix bugs
* Fix fmt
* Fix vendor
* recover unnecessary change
* Fix lint and addd some comments about the copied codes.
* Use util.StatDir instead of com.StatDir
Co-authored-by: 6543 <6543@obermui.de>
Lunny Xiao [Tue, 5 Jan 2021 06:28:51 +0000 (14:28 +0800)]
upgrade xorm to v1.0.6 (#14246)
Cirno the Strongest [Mon, 4 Jan 2021 16:51:00 +0000 (17:51 +0100)]
Handle NotifyCreateRef as create branch in feeds (#14245)
Co-authored-by: Lauris BH <lauris@nix.lv>
Antoine GIRARD [Mon, 4 Jan 2021 14:23:04 +0000 (15:23 +0100)]
Publish docker rootless docs (#14240)
Co-authored-by: 6543 <6543@obermui.de>
Cirno the Strongest [Mon, 4 Jan 2021 12:18:12 +0000 (13:18 +0100)]
Various UI fixes (#14239)
* Fix #14238
* Fix #14235
* Fix #14237
* Fix #14234
* Use octicon to show private status of repo in admin dashboard
* Fix #14232
* Fix #14236
Kyle D [Sun, 3 Jan 2021 21:20:05 +0000 (14:20 -0700)]
Kd/fix team avatar aspect ratio (#14200)
* Add org member avatar to text data for fixed width
* set min-width to prevent single char lines
Jimmy Praet [Sun, 3 Jan 2021 17:29:12 +0000 (18:29 +0100)]
Issue and pull request filters on organization dashboard #14052 (#14072)
Nuno Silva [Sun, 3 Jan 2021 15:11:10 +0000 (15:11 +0000)]
Render links for commit hashes followed by comma (#14224)
Regex test cases: https://regex101.com/r/mVbPxM/2/
fixes #14223
Paul Barton [Sat, 2 Jan 2021 23:47:47 +0000 (23:47 +0000)]
Add MirrorInterval to the API (#14163)
* Added MirrorInterval to the API
* Remove MirrorInterval from CreateRepository
* Removed Duplicate UpdateMirror Function
* Updated Error Logging
* Update Log Message for is not Mirror
Co-authored-by: 6543 <6543@obermui.de>
* Delete Debug Statement that snuck in
Co-authored-by: zeripath <art27@cantab.net>
* Add Check for If Interval is too small
* Output to API Call
* Add Error Object when time is Less than Min Interval
* Frequency Error Message
Co-authored-by: zeripath <art27@cantab.net>
* Allow Zero Mirror Interval
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Lunny Xiao [Sat, 2 Jan 2021 18:01:09 +0000 (02:01 +0800)]
Fix avatar bugs (#14217)
Jimmy Praet [Sat, 2 Jan 2021 17:04:02 +0000 (18:04 +0100)]
Send notifications for mentions in pulls, issues, (code-)comments (#14218)
Fixes #14187: mention handling extracted from email notification code
Fixes #14013: add notification for mentions in pull request code comments
Fixes #13450: Not receiving any emails with setting "Only Email on Mention"
zeripath [Sat, 2 Jan 2021 02:07:43 +0000 (02:07 +0000)]
Ensure that schema search path is set with every connection on postgres (#14131)
* Ensure that schema search path is set with every connection on postgres
Unfortunately every connection to postgres requires that the search path is
set appropriately.
This PR shadows the postgres driver to ensure that as soon as a connection
is open, the search_path is set appropriately.
Fix #14088
Signed-off-by: Andrew Thornton <art27@cantab.net>
* no golangci-lint that is not a helpful suggestion
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use Execer if available
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Lunny Xiao [Fri, 1 Jan 2021 22:05:45 +0000 (06:05 +0800)]
When visit /favicon.ico but the static file is not exist return 404 but not continue to handle the route (#14211)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Lunny Xiao [Fri, 1 Jan 2021 21:03:31 +0000 (05:03 +0800)]
Fix wrong publisher id (#14212)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
Kyle D [Fri, 1 Jan 2021 19:05:40 +0000 (12:05 -0700)]
Prevent clipping input text in Chrome (#14179)
silverwind [Fri, 1 Jan 2021 19:04:35 +0000 (20:04 +0100)]
Consolidate Logos and update README header (#14136)
* Consolidate Logos and update README header
- Remove unused `logo-lg.png`, `logo-sm.png` and `logo-192.png`.
- Consolidate `favicon.svg` and `logo.svg` to just `logo.svg`.
- Remove Safari Mask icon, it seems to work fine with just `favicon.png` (no SVG support).
- Remove Fluid Icon. It only served Firefox and SVG works just fine there.
- Update customization instructions.
- Update README.md to use SVG icon, increase logo size and center it and badges.
* Update README_ZH.md
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Update README_ZH.md
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Lunny Xiao [Fri, 1 Jan 2021 17:49:42 +0000 (01:49 +0800)]
Fix dashboard issues labels filter bug (#14210)
Co-authored-by: zeripath <art27@cantab.net>
Johnny Oskarsson [Fri, 1 Jan 2021 16:33:27 +0000 (17:33 +0100)]
Minimal OpenID Connect implementation (#14139)
This is "minimal" in the sense that only the Authorization Code Flow
from OpenID Connect Core is implemented. No discovery, no configuration
endpoint, and no user scope management.
OpenID Connect is an extension to the (already implemented) OAuth 2.0
protocol, and essentially an `id_token` JWT is added to the access token
endpoint response when using the Authorization Code Flow. I also added
support for the "nonce" field since it is required to be used in the
id_token if the client decides to include it in its initial request.
In order to enable this extension an OAuth 2.0 scope containing
"openid" is needed. Other OAuth 2.0 requests should not be impacted by
this change.
This minimal implementation is enough to enable single sign-on (SSO)
for other sites, e.g. by using something like `mod_auth_openidc` to
only allow access to a CI server if a user has logged into Gitea.
Fixes: #1310
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
techknowlogick [Fri, 1 Jan 2021 15:22:32 +0000 (10:22 -0500)]
deprecate building for mips (#14174)
Co-authored-by: zeripath <art27@cantab.net>
techknowlogick [Thu, 31 Dec 2020 23:41:03 +0000 (18:41 -0500)]
Update owners for 2021 (#14206)
Fix #13801
a1012112796 [Thu, 31 Dec 2020 18:32:11 +0000 (02:32 +0800)]
fix branch selector on new issue page (#14194)
fix #14185
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
zeripath [Thu, 31 Dec 2020 07:45:54 +0000 (07:45 +0000)]
Check for notExist on profile repository page (#14197)
Fix #14189
Chester Liu [Wed, 30 Dec 2020 15:46:26 +0000 (23:46 +0800)]
Check for 'main' as potential default branch name (#14193)
Kyle D [Wed, 30 Dec 2020 03:04:30 +0000 (20:04 -0700)]
Hide migration failed by default (#14188)
GiteaBot [Tue, 29 Dec 2020 23:49:34 +0000 (23:49 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Tue, 29 Dec 2020 23:48:28 +0000 (00:48 +0100)]
Improve label and text wrapping (#14113)
* Improve label wrapping
- Adjust issue list styles so labels can wrap on the same line as the
text. This relies on `display: inline` with the HTML whitespace being
used as the separator.
- Add global word-break: break-word. This should generally avoid text
overflows in various places.
* add whitespace to history labels
* use overflow-wrap
* restore word-break rules
* use correct pre
* use better selector for middle align
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
GiteaBot [Tue, 29 Dec 2020 00:39:54 +0000 (00:39 +0000)]
[skip ci] Updated translations via Crowdin
techknowlogick [Tue, 29 Dec 2020 00:38:44 +0000 (19:38 -0500)]
frontport 1.13.1 changelog (#14175)
* frontport 1.13.1 changelog
* Update config.yaml
Co-authored-by: zeripath <art27@cantab.net>
silverwind [Mon, 28 Dec 2020 18:30:06 +0000 (19:30 +0100)]
Consolidate clone button templates (#14023)
The four clone button templates are pretty much identical except the one
in a non-empty repo had a few features which the others lacked.
Consolidate them in a single shared template which also makes the JS
that remembers protocol work on them all.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
0xflotus [Mon, 28 Dec 2020 17:08:01 +0000 (18:08 +0100)]
fix: small typo error (#14170)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Lunny Xiao [Mon, 28 Dec 2020 16:28:27 +0000 (00:28 +0800)]
Fix bug of link query order on markdown render (#14156)
* Fix bug of link query order on markdown render
* Fix bluemonday bug and fix one wrong test
Co-authored-by: 6543 <6543@obermui.de>
Daniil Pankratov [Mon, 28 Dec 2020 08:39:12 +0000 (11:39 +0300)]
CLI support for OAuth sources custom icons (#14166)
Co-authored-by: Daniil Pankratov <daniil.pankratov@t-systems.com>
GiteaBot [Mon, 28 Dec 2020 02:37:00 +0000 (02:37 +0000)]
[skip ci] Updated translations via Crowdin
Timo Ley [Mon, 28 Dec 2020 02:35:55 +0000 (03:35 +0100)]
Custom icons for OAuth sources (#14161)
* Add Icon URL to Backend
* Template for Icon URL
* Localization & Edit Icon URL
* Improve Custom Icon URL
* Removed not working else
Co-authored-by: 6543 <6543@obermui.de>
GiteaBot [Sun, 27 Dec 2020 19:59:15 +0000 (19:59 +0000)]
[skip ci] Updated translations via Crowdin
Jimmy Praet [Sun, 27 Dec 2020 19:58:03 +0000 (20:58 +0100)]
Team dashboards (#14159)
Bagas Sanjaya [Sun, 27 Dec 2020 15:55:45 +0000 (22:55 +0700)]
[Docs] Database preparation: Clarify why database client is installed on Gitea server (#12833)
* Database preparation: Clarify why database client is installed on Gitea server
The database client program (`mysql` or `psql`) is used to test database
connection, but Gitea use Go's database driver to do the same.
Also, rename "server part" and "client part" to "server application" and
"client program" to disambiguate.
* Update docs/content/doc/installation/database-preparation.en-us.md
Co-authored-by: 6543 <6543@obermui.de>
silverwind [Sun, 27 Dec 2020 14:24:27 +0000 (15:24 +0100)]
Update JS dependencies and webpack (#14118)
* Update JS dependencies
- Update all JS dependencies
- Adapt webpack config for version 5
- Update to Less 4.0, adapting usage of removed mixin syntax
- Enable new ESLint rules and fix discovered issues
* update license-webpack-plugin to fix missing licenses
* update license-webpack-plugin once more to get webpack into the license output
* switch to license-checker-webpack-plugin again for performance
* update deps again
Co-authored-by: Lauris BH <lauris@nix.lv>
silverwind [Sun, 27 Dec 2020 10:53:53 +0000 (11:53 +0100)]
Improve basic button and label styles (#14119)
* Improve disabled styles for repo buttons
- Simplify disabled styling of label by matching for the disabled
attribute.
- Raise fomantic disabled opacity from .45 to .55 to for more contrast.
- Use CSS vars for basic button styles.
* restore clickability on label
* color tweaks and remove arc-green style
* slightly reduce button size
* consolidate vars
* also cover active class
* slightly more distinct active class
* remove useless rule