Commit Graph

1995 Commits (f48fda8eefa4d47e335f01ac92366b9373950e0e)

Author SHA1 Message Date
Lucas Azevedo e3697efbb0
Fix modified due date message (#20388) (#21032)
Backport #20388
3 years ago
John Olheiser 0d869c574e
Translations for repo buttons (#20834)
* Translations

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update locale_de-DE.ini

* Update locales

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
3 years ago
silverwind c61ed6fad4
Rework repo buttons (#20602, #20718) (#20719)
* Rework repo buttons (#20602)

* Rework repo buttons

- Replace "New PR" and "Go to File" button with Icon Button
- Move all "Add File" actions into a dropdown button
- Remove most custom styling of clone buttons
- Margin and wiki tweaks

Buttons are now all equal height, mobile layout wraps gracefully.

Fixes: https://github.com/go-gitea/gitea/issues/13671
Replaces: https://github.com/go-gitea/gitea/pull/20375

* Restore history button and hide add button when unable to add (#20718)

Fix two regressions from #20602:

- Restore the 'History' button that was previously unable to render
  because it's show condition was never hit
- Hide the 'Add File' button when there would be no items in the
  dropdown.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 years ago
Gusted c3b4f3f7e9
Add missing translation for queue flush workers (#20791) (#20792)
- Backport #20791
  - Add a missing translation key and value for the flush worker indication
  - Resolves #20770
3 years ago
Maxim Slipenko cedf4fef0a
Update issues.ref_closing_from in locale_ru-RU.ini (#20699) 3 years ago
Norwin 0a32bd56eb
Show hint to link package to repo when viewing empty repo package list (#20504) (#20507) 3 years ago
Ing. Jaroslav Šafka 92a43d577d
Fix checks in PR for empty commits (#20290) (#20352)
Backport #20290

* Fix #19603
* fill HeadCommitID in PullRequest
* compare real commits ID as check for merging


Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
3 years ago
zeripath 870d7f90e7 [skip ci] Updated translations via Crowdin 3 years ago
zeripath af7cfdee0e [skip ci] Updated translations via Crowdin 3 years ago
zeripath 7fbf002403 [skip ci] Updated translations via Crowdin 3 years ago
zeripath 46e50bcbfc [skip ci] Updated translations via Crowdin 3 years ago
wxiaoguang 89b0aac374 [skip ci] Updated translations via Crowdin 3 years ago
Gusted 70ce051f1a [skip ci] Updated translations via Crowdin 3 years ago
a1012112796 d05fb6f6c9 [skip ci] Updated translations via Crowdin 3 years ago
Gusted 881646520e [skip ci] Updated translations via Crowdin 3 years ago
singuliere f6e2dbaf1e [skip ci] Updated translations via Crowdin 3 years ago
singuliere 460c03ca49 [skip ci] Updated translations via Crowdin 3 years ago
Lunny Xiao 5f136783d1 [skip ci] Updated translations via Crowdin 3 years ago
Gusted 796c4eca0b
Prettify number of issues (#17760)
* Prettify number of issues

- Use the PrettyNumber function to add commas in large amount of issues.

* Use client-side formatting

* prettify on both server and client

* remove unused i18n entries

* handle more cases, support other int types in PrettyNumber

* specify locale to avoid issues with node default locale

* remove superfluos argument

* introduce template helper, octicon tweaks, js refactor

* Update modules/templates/helper.go

* Apply some suggestions.

* Add comment

* Update templates/user/dashboard/issues.tmpl

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
Gusted edf14202fe
Unify repo settings & show better error (#19828)
* Unify context data
* Actually show invalid url in error
3 years ago
xkcdstickfigure 3898fc5bda [skip ci] Updated translations via Crowdin 3 years ago
6543 a9cc9c0f7a
Auto merge pull requests when all checks succeeded via WebUI (#19648)
Add WebUI part of Auto merge feature

close #19621

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
3 years ago
silverwind 23422f9909 [skip ci] Updated translations via Crowdin 3 years ago
Sandro Santilli 52c2e82813
Custom regexp external issues (#17624)
* Implement custom regular expression for external issue tracking.

Signed-off-by: Alexander Beyn <malex@fatelectrons.org>

* Fix syntax/style

* Update repo.go

* Set metas['regexp']

* gofmt

* fix some tests

* fix more tests

* refactor frontend

* use LRU cache for regexp

* Update modules/markup/html_internal_test.go

Co-authored-by: Alexander Beyn <malex@fatelectrons.org>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 years ago
Roger Luo e26f84a9b7 [skip ci] Updated translations via Crowdin 3 years ago
Roger Luo 2ae45cebbf
Feature: Find files in repo (#15028)
* Create finding files page ui in repo page

* Get tree entries for find repo files.

* Move find files JS to individual file.

* gen swagger.

* Add enry.IsVendor to exclude entries

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
Lauris BH d087554d81 [skip ci] Updated translations via Crowdin 3 years ago
André Jaenisch c1c07e533c
Improve wording on delete access token modal (#19909)
This PR highlights the nature of the destructive action.
It also rewords the action buttons to remove ambiguity.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>

Co-authored-by: Lauris BH <lauris@nix.lv>
3 years ago
Gusted d78ea362d4 [skip ci] Updated translations via Crowdin 3 years ago
zeripath d8236f1b16
Ensure minimum mirror interval is reported on settings page (#19895)
* Ensure minimum mirror interval is reported on settings page

Expecting users to guess the minimum mirror interval appears a little unkind.
In this PR we simply change the locale string to include the minimum interval.
This will of course be affected by our current localization framework but...
we can fix that else where.

This PR also includes some fixes for error handling on the settings page as
previously the mirror block amongst others would simply disappear on error.

Fix #3737

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update options/locale/locale_en-US.ini

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* placate lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update options/locale/locale_en-US.ini

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
3 years ago
wxiaoguang 23dd0f3456 [skip ci] Updated translations via Crowdin 3 years ago
Wim 0a8c030600 [skip ci] Updated translations via Crowdin 3 years ago
André Jaenisch 73382d2132
Add alt text to logo (#19892)
The recommended way is to use the name of the organisation followed
by "logo". however, since this is my first contribution, I am not
entirely sure, whether this is the best approach here.

The organisation is different from the organisation you can create as
part of the application. Instead, it is more related to the site
hosting the instance. Plus, I don't know how to best handle it when
the logo image is swapped out. Therefore, I use plain "Logo" and hope
that the person visiting the site has enough context.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
Paweł Bogusławski 14d96ff7ac
Disable unnecessary mirroring elements (#18527)
* Disable unnecessary mirroring elements

This mod fixes disabling unnecessary mirroring elements.

Related: https://github.com/go-gitea/gitea/pull/16957
Related: https://github.com/go-gitea/gitea/pull/13084
Author-Change-Id: IB#1105104

* Checkbox rendering disabled instead of hiding it

Fixes: 02b4505150
Related: https://github.com/go-gitea/gitea/pull/18527#pullrequestreview-878061913
Author-Change-Id: IB#1105104

* Update custom/conf/app.example.ini

Co-authored-by: silverwind <me@silverwind.io>

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-authored-by: silverwind <me@silverwind.io>

* Mirror filter removed only when whole mirroring feature is disabled

Fixes: 02b4505150
Related: https://github.com/go-gitea/gitea/pull/18527#discussion_r883268890
Author-Change-Id: IB#1105104

Co-authored-by: silverwind <me@silverwind.io>
3 years ago
wxiaoguang 867b34d5e9 [skip ci] Updated translations via Crowdin 3 years ago
zeripath 808a780309 [skip ci] Updated translations via Crowdin 3 years ago
zeripath 5283d1ead5 [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot e31c6166ee [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot fe4c846ccb [skip ci] Updated translations via Crowdin 3 years ago
wxiaoguang e0273bad72
Fix i18n for Link Account button, re-format tmpl (#19835) 3 years ago
GiteaBot 76681883ec [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot cfb4c23a50 [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot 7671a3322b [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot d2a91e5e59 [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot fa5dec966c [skip ci] Updated licenses and gitignores 3 years ago
zeripath ffb7ab31f2
Estimate Action Count in Statistics (#19775) 3 years ago
GiteaBot 6d54799bbc [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot 761d4f40be [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot cafa2dcb87 [skip ci] Updated translations via Crowdin 3 years ago
GiteaBot d985dcc922 [skip ci] Updated translations via Crowdin 3 years ago