]>
source.dussan.org Git - gitea.git/log
Lunny Xiao [Fri, 6 Nov 2020 07:04:21 +0000 (15:04 +0800)]
Revert "Replies to outdated code comments should also be outdated (#13217)" (#13439)
This reverts commit
3cab3bee5750a12da9ef8a9ba5cbe3da00594921 .
GiteaBot [Thu, 5 Nov 2020 19:35:13 +0000 (19:35 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Thu, 5 Nov 2020 19:34:04 +0000 (20:34 +0100)]
Rework focused comment styling (#13434)
Had to tweak a few borders to make it work properly in all cases, also
added .comment-body class to specifically target that body.
GiteaBot [Thu, 5 Nov 2020 14:21:49 +0000 (14:21 +0000)]
[skip ci] Updated translations via Crowdin
John Olheiser [Thu, 5 Nov 2020 14:20:42 +0000 (08:20 -0600)]
Tags cleanup (#13428)
* Tags cleanup
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
silverwind [Thu, 5 Nov 2020 01:51:17 +0000 (02:51 +0100)]
Various style tweaks (#13418)
- Change code review '+' to SVG and increase size slightly
- Set placeholder color in both themes
- Set proper font for textareas
- Fix black code in arc-green
- Various arc-green fixes
mrsdizzie [Thu, 5 Nov 2020 00:35:05 +0000 (19:35 -0500)]
Alternative fix for HTML diff entity split (#13425)
* Alternative fix for HTML diff entity split
This commit both reverts PR #13357 and uses the exiting implementation alredy used for spans to fix the same issue. That PR duplicates most of logic that is already present elsewhere and still was failing for some cases. This should be simpler as it uses the existing logic that already works for <span>s being split apart.
Added both test cases as well.
* Update gitdiff_test.go
* fmt
* entity can have uppercase letter, also add detailed comment per @zeripath
GiteaBot [Wed, 4 Nov 2020 22:56:17 +0000 (22:56 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Wed, 4 Nov 2020 22:55:15 +0000 (22:55 +0000)]
Replies to outdated code comments should also be outdated (#13217)
* When replying to an outdated comment it should not appear on the files page
This happened because the comment took the latest commitID as its base instead of the
reviewID that it was replying to.
There was also no way of creating an already outdated comment - and a
reply to a review on an outdated line should be outdated.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix test
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Wim [Wed, 4 Nov 2020 09:11:19 +0000 (10:11 +0100)]
Add missing full names when DEFAULT_SHOW_FULL_NAME is enabled (#13417)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
GiteaBot [Wed, 4 Nov 2020 07:15:15 +0000 (07:15 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Wed, 4 Nov 2020 07:14:07 +0000 (08:14 +0100)]
Fix whitespace rendering in diff (#13415)
- Introduce new .code-inner class that sets the CSS attributes on
rendered code lines like view,blame and diff.
- Rename .wrap class to .word-break to reflect what it actually does
- Remove .raw which was only used on webhook page
- Set white-space: pre-wrap except on blame where it can break the
layout
Fixes: https://github.com/go-gitea/gitea/issues/13406
GiteaBot [Tue, 3 Nov 2020 15:49:01 +0000 (15:49 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Tue, 3 Nov 2020 15:47:54 +0000 (23:47 +0800)]
Fix bug on release publisherid migrations (#13410)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
GiteaBot [Tue, 3 Nov 2020 11:36:19 +0000 (11:36 +0000)]
[skip ci] Updated translations via Crowdin
Viktor Suprun [Tue, 3 Nov 2020 11:35:09 +0000 (22:35 +1100)]
Fixed git args duplication (#13411)
Because newGit() invoked twice (inside PreInstallInit() and
GlobalInit()) and git parameters is global object, all
git commands call with duplicated args
`-c credential.helper= -c protocol.version=2`
GiteaBot [Tue, 3 Nov 2020 06:05:23 +0000 (06:05 +0000)]
[skip ci] Updated translations via Crowdin
6543 [Tue, 3 Nov 2020 06:04:09 +0000 (07:04 +0100)]
[Vendor] update macaron related (#13409)
* Vendor: update gitea.com/macaron/session to
a177a270
* make vendor
* Vendor: update gitea.com/macaron/macaron to
0db5d458
* make vendor
* Vendor: update gitea.com/macaron/cache to
905232fb
* make vendor
* Vendor: update gitea.com/macaron/i18n to
4ca3dd0c
* make vendor
* Vendor: update gitea.com/macaron/gzip to
efa5e847
* make vendor
* Vendor: update gitea.com/macaron/captcha to
e8597820
* make vendor
a1012112796 [Mon, 2 Nov 2020 23:10:22 +0000 (07:10 +0800)]
Add the tag list page to the release page (#12096)
* Add the tag list page to the release page
* Add the tags list view
* Add the delete tag way on ui
* Not delete tag and clear message when delete a release
Signed-off-by: a1012112796 <1012112796@qq.com>
* Apply suggestions from code review
Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: zeripath <art27@cantab.net>
* fix ui
* Add to header
* ui
* permission
* ui
* Update options/locale/locale_en-US.ini
Co-authored-by: Lauris BH <lauris@nix.lv>
* tweaks
* monospace commit hashes
* Add read permission check
* fix permission
* fix nit
* Update web_src/less/_base.less
Co-authored-by: silverwind <me@silverwind.io>
* ui fixes
* title tweaks
* fix lint
* fix test
* fix test and some ui nits
* Apply suggestions from code review
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
Antoine GIRARD [Mon, 2 Nov 2020 19:50:13 +0000 (20:50 +0100)]
fix docker rootless manifest (#13386)
silverwind [Mon, 2 Nov 2020 17:08:30 +0000 (18:08 +0100)]
Refactor image paste code (#13354)
Some minor refactors I did while investigating another issue.
Functionalily should be pretty much the same as before.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
GiteaBot [Mon, 2 Nov 2020 15:59:27 +0000 (15:59 +0000)]
[skip ci] Updated translations via Crowdin
Cirno the Strongest [Mon, 2 Nov 2020 15:58:14 +0000 (16:58 +0100)]
Fix 'add code comment' button being invisible all the time (#13389)
* Fix 'add code comment' button being invisible all the time
* Fix off-center icon
* Remove old JS hover hack
* Show on full-line hover
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Cirno the Strongest [Mon, 2 Nov 2020 08:56:02 +0000 (09:56 +0100)]
Fix reactions on code comments (#13390)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Antoine GIRARD [Sun, 1 Nov 2020 23:34:38 +0000 (00:34 +0100)]
Remove specific indexer path (#13388)
Co-authored-by: Lauris BH <lauris@nix.lv>
GiteaBot [Sun, 1 Nov 2020 20:05:29 +0000 (20:05 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Sun, 1 Nov 2020 20:04:26 +0000 (21:04 +0100)]
Misc UI fixes, add secondary color (#13378)
* Misc UI fixes, add secondary color
- Add secondary color, primarily used in arc-green currently
- Convert icons on release page to SVG
- Improve resolved conversation placeholder
- Diff fixes on arc-green
- Misc color tweaks
* fix comment header, adjust arc-green dropzone
* label margin, sidebar margin
* flexbox commits table and add primary button styles
* tooltip styles
* file header fixes
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
techknowlogick [Sun, 1 Nov 2020 11:30:01 +0000 (06:30 -0500)]
Set auto-tag to false on rootless manifest (#13383)
Current overrides rootful container
Lunny Xiao [Sun, 1 Nov 2020 02:09:16 +0000 (10:09 +0800)]
Fix typo (#13380)
Antoine GIRARD [Sun, 1 Nov 2020 00:58:22 +0000 (01:58 +0100)]
docker: rootless image (#10154)
* docker: rootless image
* improve docs + remove check for write perm on custom
* add more info on ssh passtrough
* Add comment for internal ssh server in container config
Antoine GIRARD [Sun, 1 Nov 2020 00:57:41 +0000 (01:57 +0100)]
don't append key file if asked not to (#13368)
silverwind [Sat, 31 Oct 2020 22:15:11 +0000 (23:15 +0100)]
Comment box tweaks and SVG dropdown triangles (#13376)
* Comment box tweaks and SVG dropdown triangles
- Change all dropdown triangles to SVG
- Bring inline review comment box closer to regular comment boxes
- Enhance arc-green checkbox contrast
- Minor reaction tweaks
- Flexbox the diff file header
* remove a border
* fix type marker in arc-green
* add small code padding
* fix position regression and remove useless rules
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Lunny Xiao [Sat, 31 Oct 2020 20:51:48 +0000 (04:51 +0800)]
Storage configuration support `[storage]` (#13314)
* Fix minio bug
* Add tests for storage configuration
* Change the Seek flag to keep compitable minio?
* Fix test when first-byte-pos of all ranges is greater than the resource length
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
GiteaBot [Sat, 31 Oct 2020 17:25:33 +0000 (17:25 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Sat, 31 Oct 2020 17:24:32 +0000 (17:24 +0000)]
When creating line diffs do not split within an html entity (#13357)
* When creating line diffs do not split within an html entity
Fix #13342
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add test case
Signed-off-by: Andrew Thornton <art27@cantab.net>
* improve test
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Lunny Xiao [Sat, 31 Oct 2020 15:42:54 +0000 (23:42 +0800)]
Fix a bug on refactoring (#13373)
Antoine GIRARD [Sat, 31 Oct 2020 13:19:41 +0000 (14:19 +0100)]
Revert "Dockerfile: Support socat use cases (#13208)" (#13369)
This reverts commit
ff50274ff34e4342d8f6b9470345a1df341d8428 .
silverwind [Sat, 31 Oct 2020 13:17:52 +0000 (14:17 +0100)]
Comment Header fixes (#13356)
Apply more flexboxes on comment header and remove float hacks. Needs
1.13 backport.
Fixes: https://github.com/go-gitea/gitea/issues/13316
Co-authored-by: Lauris BH <lauris@nix.lv>
GiteaBot [Sat, 31 Oct 2020 12:18:38 +0000 (12:18 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Sat, 31 Oct 2020 12:17:32 +0000 (13:17 +0100)]
Various style fixes (#13372)
- Add alpha variants for primary color
- Make timeline items solid background color
- Fix reaction styles recently regressed
- Fix diff header and make it flexbox
- Numerous smaller fixes for arc green
zeripath [Sat, 31 Oct 2020 05:36:46 +0000 (05:36 +0000)]
Refactor Logger (#13294)
Refactor Logger to make a logger interface and make it possible to
wrap loggers for specific purposes.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
zeripath [Sat, 31 Oct 2020 04:35:35 +0000 (04:35 +0000)]
Fix scrolling to resolved comment anchors (#13343)
* Fix scrolling to resolved comment anchors
As described on discord, when the window.location.hash refers to a
resolved comment then the scroll to functionality does not work.
This PR fixes this.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Apply suggestions from code review
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
silverwind [Sat, 31 Oct 2020 03:52:10 +0000 (04:52 +0100)]
Use CSS Vars for primary color (#13361)
* Use CSS Vars for primary color
- Create 15 color shades derived from primary color
- Change blue-ish colors to use that primary color
- Move styles for scrollbars, selection from arc-green to base
- Remove obsolete arc-green styles that now use those variables
* simplify webkit scrollbar style
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
John Olheiser [Sat, 31 Oct 2020 01:56:34 +0000 (20:56 -0500)]
Delete tag API (#13358)
* Delete tag API
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Wording
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add conflict response and fix API tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix other test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
GiteaBot [Fri, 30 Oct 2020 22:00:02 +0000 (22:00 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Fri, 30 Oct 2020 21:59:02 +0000 (05:59 +0800)]
Refactor: Move PushUpdateOptions (#13363)
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
zeripath [Fri, 30 Oct 2020 19:26:03 +0000 (19:26 +0000)]
Fix --port setting (#13288)
* Fix --port setting
Unfortunately there was an error in #13195 which set the --port
option before the settings were read. This PR fixes this by
moving applying this option to after the the settings are read
However, on looking further into this code I believe that the setPort
code was slightly odd.
Firstly, it may make sense to run the install page on a different
temporary port to the full system and this should be possible with
a --install-port option.
Secondy, if the --port option is provided we should apply it to both
otherwise there will be unusual behaviour on graceful restart
Thirdly, the documentation for --port says that the setting is
temporary - it should therefore not save its result to the configuration
(This however, does mean that authorized_keys and internal links may
not be correct. - I think we need to discuss this option further.)
Fix #13277
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update cmd/web.go
* Apply suggestions from code review
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
silverwind [Fri, 30 Oct 2020 18:54:58 +0000 (19:54 +0100)]
Change repo home page icons to SVG (#13364)
GiteaBot [Fri, 30 Oct 2020 16:28:07 +0000 (16:28 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Fri, 30 Oct 2020 16:27:01 +0000 (16:27 +0000)]
Fix links to repositories in /user/setting/repos (#13360)
* Fix links to repositories in /user/setting/repos
somehow the links gained a spurious $ in the links.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* And fix #13359
Signed-off-by: Andrew Thornton <art27@cantab.net>
GiteaBot [Thu, 29 Oct 2020 21:42:52 +0000 (21:42 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Thu, 29 Oct 2020 21:41:49 +0000 (21:41 +0000)]
Migrations should not fail for comment reactions (#13352)
An extension to #13444 - where we now ensure that comment reaction failures do not cause migrations failure
Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath [Thu, 29 Oct 2020 12:48:07 +0000 (12:48 +0000)]
Issue comment reactions should also check pull type (#13349)
* Migrating reactions is just not that important
A failure during migrating reactions should not cause failure of
migration.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* When checking issue reactions check the correct permission
Signed-off-by: Andrew Thornton <art27@cantab.net>
* And there is another one ...
Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath [Thu, 29 Oct 2020 02:23:31 +0000 (02:23 +0000)]
Migration failure during reaction migration from gitea (#13344)
* Migrating reactions is just not that important
A failure during migrating reactions should not cause failure of
migration.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* When checking issue reactions check the correct permission
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
zeripath [Wed, 28 Oct 2020 22:33:14 +0000 (22:33 +0000)]
Remove obsolete change of email on profile page (#13341)
* Remove obsolete change of email on profile page
The change email on the account profile page is out-of-date
and unnecessary.
Changing email should be done using the account page.
Fix #13336
Signed-off-by: Andrew Thornton <art27@cantab.net>
silverwind [Wed, 28 Oct 2020 21:51:03 +0000 (22:51 +0100)]
Fully remove fomantic-ui from frontend build dependencies (#13340)
Followup to https://github.com/go-gitea/gitea/pull/13332. Turns out I
missed this dependency which resulted in fomantic-ui being uselessly
rebuild on CI. This fully removes it from the chain so it's not
attempted to be build as part of the main build process.
Shikaku [Wed, 28 Oct 2020 20:47:51 +0000 (05:47 +0900)]
Fix command-line doc examples (#13337)
silverwind [Tue, 27 Oct 2020 23:44:06 +0000 (00:44 +0100)]
Precompile fomantic-ui files (#13332)
We rarely change fomantic-ui or its configuration so it's kind of a
waste to have it rebuild on every CI run. These changes remove the
fomantic files from the build and instead add the relevant output files
to the git index, which should shave of 2-3 minutes on every CI run.
`make fomantic` should still work and should be ran whenever fomantic is
updated or its configuration is changed.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
zeripath [Tue, 27 Oct 2020 21:34:56 +0000 (21:34 +0000)]
Add migrated pulls to pull request task queue (#13331)
* Add migrated pulls to pull request task queue
Fix #13321
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Improve error reports
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Elena Neuschild [Tue, 27 Oct 2020 20:58:09 +0000 (21:58 +0100)]
fix quotation marks in launch.json (#13325)
Co-authored-by: zeripath <art27@cantab.net>
GiteaBot [Tue, 27 Oct 2020 20:07:43 +0000 (20:07 +0000)]
[skip ci] Updated translations via Crowdin
JustAnotherArchivist [Tue, 27 Oct 2020 20:06:35 +0000 (20:06 +0000)]
Add deprecation notice for webhook payload's secret field (#13330)
Pedro Alves [Tue, 27 Oct 2020 07:12:01 +0000 (07:12 +0000)]
[UI] Hide consecutive additions and removals of the same label (#13315)
GiteaBot [Mon, 26 Oct 2020 16:43:30 +0000 (16:43 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Mon, 26 Oct 2020 16:42:27 +0000 (00:42 +0800)]
Fix send mail (#13312)
* Fix send mail
* Fix send mail
* Update modules/private/mail.go
Co-authored-by: techknowlogick <matti@mdranta.net>
GiteaBot [Mon, 26 Oct 2020 09:06:29 +0000 (09:06 +0000)]
[skip ci] Updated translations via Crowdin
M4RKUS-11111 [Mon, 26 Oct 2020 09:05:27 +0000 (10:05 +0100)]
Deny wrong pull (#13308)
* Deny wrong pull
* Update routers/api/v1/repo/pull.go
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Markus <git+markus@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Pedro Alves [Sun, 25 Oct 2020 21:49:48 +0000 (21:49 +0000)]
Group Label Changed Comments in timeline (#13304)
* Create function to group label comments
* Combine multiple label additions into one
* Group removed and added labels in the same comment
* Fix indentation on comments.tmpl
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
GiteaBot [Sun, 25 Oct 2020 20:57:54 +0000 (20:57 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Sun, 25 Oct 2020 20:56:51 +0000 (20:56 +0000)]
Attempt to handle unready PR in tests (#13305)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Divyam Bhasin [Sun, 25 Oct 2020 18:21:49 +0000 (14:21 -0400)]
#12897 - add mastodon provider (#13293)
* added mastodon provider to oauth code
* changed go.mod and vendor/modules.txt to add updated goth
* vendored mastodon and new goth
* committing result of go mod tidy && go mod vendor
* added pic and mastodon to oauth models
* handled instance url
* applied lafriks suggestion
* Update web_src/js/index.js
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <matti@mdranta.net>
GiteaBot [Sun, 25 Oct 2020 17:20:28 +0000 (17:20 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Sun, 25 Oct 2020 17:19:06 +0000 (17:19 +0000)]
Fix Storage mapping (#13297)
This PR fixes several bugs in setting storage
* The default STORAGE_TYPE should be the provided type.
* The Storage config should be passed in to NewStorage as a pointer - otherwise the Mappable interface function MapTo will not be found
* There was a bug in the MapTo function.
Fix #13286
Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath [Sun, 25 Oct 2020 07:32:25 +0000 (07:32 +0000)]
Update Mirror IsEmpty status on synchronize (#13185)
Fix #9630
Fix #13183
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Lunny Xiao [Sun, 25 Oct 2020 05:11:03 +0000 (13:11 +0800)]
Fix bug isEnd detection on getIssues/getPullRequests (#13299)
Bagas Sanjaya [Sat, 24 Oct 2020 21:13:59 +0000 (04:13 +0700)]
systemd service: Add commented PATH environment option for Git prefix (#13170)
On some setups, Git is installed to directory prefix other than default
PATH (such as /opt/git/bin). For Gitea to know such Git installations,
PATH environment must be specified on service file.
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Maxim Zhiburt [Sat, 24 Oct 2020 20:38:14 +0000 (23:38 +0300)]
Sendmail command (#13079)
* Add SendSync method
Usefull to have when you need to be confident that message was sent.
* Add sendmail command
* add checks that if either title or content is empty then error out
* Add a confirmation step
* Add --force option to bypass confirm step
* Move implementation of runSendMail to a different file
* Add copyrighting comment
* Make content optional
Print waring if it's empty or haven't been set up.
The warning will be skiped if there's a `--force` flag.
* Fix import style
Co-authored-by: 6543 <6543@obermui.de>
* Use batch when getting all users
IterateUsers uses batching by default.
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Send emails one by one instead of as one chunck
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Send messages concurantly
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Use SendAsync+Flush instead of SendSync
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Add timeout parameter to sendemail command
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Fix spelling mistake
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
* Update cmd/admin.go
Co-authored-by: 6543 <6543@obermui.de>
* Connect to a running Gitea instance
* Fix mispelling
* Add copyright comment
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
silverwind [Sat, 24 Oct 2020 19:15:29 +0000 (21:15 +0200)]
Various UI and arc-green fixes (#13291)
- introduce variable for border-radius value
- fix some white borders in arc-green
- add text selection and placeholder in arc-green
- tweak branch list footer
- more things I forgot
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
GiteaBot [Sat, 24 Oct 2020 17:50:51 +0000 (17:50 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Sat, 24 Oct 2020 17:49:52 +0000 (01:49 +0800)]
Remove duplicated repository.upload on cheat-sheet docs (#13290)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
GiteaBot [Sat, 24 Oct 2020 16:49:12 +0000 (16:49 +0000)]
[skip ci] Updated translations via Crowdin
kolaente [Sat, 24 Oct 2020 16:48:08 +0000 (18:48 +0200)]
Fix PR/Issue titles on mobile (#13292)
* Start fixing Issue & PR title on mobile
Signed-off-by: kolaente <k@knt.li>
* Make sure the save & cancel buttons float right
Signed-off-by: kolaente <k@knt.li>
* Fix edit buttons and title input on mobile
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
zeripath [Sat, 24 Oct 2020 14:11:30 +0000 (15:11 +0100)]
Ensure topics added using the API are added to the repository (#13285)
* Ensure topics added using the API are added to the repository
Fix #12426
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
GiteaBot [Sat, 24 Oct 2020 11:55:43 +0000 (11:55 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Sat, 24 Oct 2020 11:54:33 +0000 (13:54 +0200)]
Don't show "0" labels on repo tabs (#13289)
If count is zero, don't show the label, matching GH behavior.
zeripath [Sat, 24 Oct 2020 03:34:21 +0000 (04:34 +0100)]
Rearrange the order of the merged by etc. in locale (#13284)
Fix #13260
Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath [Fri, 23 Oct 2020 23:46:35 +0000 (00:46 +0100)]
Store task errors following migrations and display them (#13246)
* Store task errors following migrations and display them
When migrate tasks fail store the error in the task table
and ensure that they show on the status page.
Fix #13242
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update web_src/js/index.js
* Hide the failed first
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Divyam Bhasin [Fri, 23 Oct 2020 23:01:58 +0000 (19:01 -0400)]
#13091 - add new mirror button (#13105)
* added button
* got URL params to carry through to service specific migrate pages
* do not display add mirror button if mirroring turned off
* added corrections by reviewers
* Add silverwind's suggestion
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
Paweł Bogusławski [Fri, 23 Oct 2020 17:55:10 +0000 (19:55 +0200)]
Avatar autogeneration fixed (#13233)
This mod fixes problem with initial avatar autogeneration and
avatar autogneration after deleting previous avatar.
Related: https://github.com/go-gitea/gitea/issues/13159
Fixes: 80a6b0f5bce15a641fc75f5f1ef6e42ef54424bc
Author-Change-Id: IB#
1105243
GiteaBot [Fri, 23 Oct 2020 16:00:48 +0000 (16:00 +0000)]
[skip ci] Updated translations via Crowdin
John Olheiser [Fri, 23 Oct 2020 15:59:45 +0000 (10:59 -0500)]
Refactor docs (#13275)
* First pass
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* More changes
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Redirects
Signed-off-by: jolheiser <john.olheiser@gmail.com>
GiteaBot [Fri, 23 Oct 2020 10:12:50 +0000 (10:12 +0000)]
[skip ci] Updated translations via Crowdin
John Olheiser [Fri, 23 Oct 2020 10:10:29 +0000 (05:10 -0500)]
Remove PAM from auth dropdown when unavailable (#13276)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
GiteaBot [Thu, 22 Oct 2020 19:49:54 +0000 (19:49 +0000)]
[skip ci] Updated translations via Crowdin
Iván Valdés [Thu, 22 Oct 2020 19:48:48 +0000 (12:48 -0700)]
Fix arc theme label backgrounds (#13267)
* Fix arc theme label backgrounds
* Add specific style to yellow labels (background + border color)
* Remove !important from label's background rule to avoid breaking user
defined labels. Make the rule more specific to override fomantic UI
default white background
* Remove unnecesary selector
Co-authored-by: zeripath <art27@cantab.net>
GiteaBot [Thu, 22 Oct 2020 18:03:41 +0000 (18:03 +0000)]
[skip ci] Updated translations via Crowdin
Mattias Persson [Thu, 22 Oct 2020 18:02:28 +0000 (20:02 +0200)]
Clarify app.example.ini documentation (#13256)
* Clarify app.example.ini documentation
Hard to understand if cron i needed to activate all other cron.
* Added missing "Extended cron tasks" to config-cheat-sheet.en-us.md
cron default is false - setting it true activates all cron. Changed the documentation accordingly
* Fixed spelling
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
GiteaBot [Thu, 22 Oct 2020 17:05:26 +0000 (17:05 +0000)]
[skip ci] Updated translations via Crowdin
M4RKUS-11111 [Thu, 22 Oct 2020 17:04:23 +0000 (19:04 +0200)]
add sdk links to docs (#13266)
* add sdk links to docs
* Update docs/content/doc/advanced/api-usage.en-us.md
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Markus <git+markus@obermui.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
GiteaBot [Thu, 22 Oct 2020 15:46:58 +0000 (15:46 +0000)]
[skip ci] Updated translations via Crowdin