summaryrefslogtreecommitdiffstats
path: root/options/locale
Commit message (Collapse)AuthorAgeFilesLines
* fix sprintf verbs in locales (#17187)Alexey 〒erentyev2021-09-309-19/+19
| | | | | Signed-off-by: Alexey Terentyev <axifnx@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
* Fix missing repo link in issue/pull assigned emails (#17183) (#17184)zeripath2021-09-302-3/+3
| | | | | | | | | | | | | | | Backport #17183 There was a mistake in the template file: `templates/mail/issue/assigned.tmpl` where the repourl was generated from a non-existent release instead of the issue. This PR changes this to use the issue but also ensure that the issue repo is loaded. It also slightly improves the English and the Russian locale string. Fix #17160 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* Remove spurious / from issues.opened_by (#16793)zeripath2021-08-232-2/+2
| | | | | | | Fix #16713 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Fix dependency translations (#16755)Steven2021-08-2020-40/+40
| | | Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-151-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-151-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-151-0/+8
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-141-22/+22
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-141-0/+15
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-148-11/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-1423-36/+720
|
* Use TrN helper for email templates (#16425)65432021-07-141-1/+1
| | | | | | | * Add TrN helper * use TrN * a nit
* Make gpg resource string more readable (#16423)delvh2021-07-141-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-145-1/+79
|
* Add option to provide signature for a token to verify key ownership (#14054)zeripath2021-07-131-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to provide signed token to verify key ownership Currently we will only allow a key to be matched to a user if it matches an activated email address. This PR provides a different mechanism - if the user provides a signature for automatically generated token (based on the timestamp, user creation time, user ID, username and primary email. * Ensure verified keys can act for all active emails for the user * Add code to mark keys as verified * Slight UI adjustments * Slight UI adjustments 2 * Simplify signature verification slightly * fix postgres test * add api routes * handle swapped primary-keys * Verify the no-reply address for verified keys * Only add email addresses that are activated to keys * Fix committer shortcut properly * Restructure gpg_keys.go * Use common Verification Token code Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-136-3/+53
|
* Add checkbox to delete pull branch after successful merge (#16049)Jimmy Praet2021-07-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * Add checkbox to delete pull branch after successful merge * Omit DeleteBranchAfterMerge field in json * Log a warning instead of error when PR head branch deleted * Add DefaultDeleteBranchAfterMerge to PullRequestConfig * Add support for delete_branch_after_merge via API * Fix for API: the branch should be deleted from the HEAD repo If head and base repo are the same, reuse the already opened ctx.Repo.GitRepo * Don't delegate to CleanupBranch, only reuse branch deletion code CleanupBranch contains too much logic that has already been performed by the Merge * Reuse gitrepo in MergePullRequest Co-authored-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-125-10/+2
|
* Fix invalid params and typo of email templates (#16394)Meano2021-07-101-2/+2
| | | Signed-off-by: Meano <meanocat@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-102-4/+7
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-091-2/+2
|
* Redirect on bad CSRF instead of presenting bad page (#14937)zeripath2021-07-081-0/+2
| | | | | | The current CSRF handler is a bit harsh with bad CSRF tokens on webpages I think we can be a little kinder and redirect to base page with a flash error Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-081-8/+65
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-071-15/+17
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-062-2/+38
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-031-0/+15
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-2926-35/+90
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-2817-90/+138
|
* Link to previous blames in file blame page (#16259)Norwin2021-06-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a link to each blame hunk, to view the blame of an earlier version of the file, similar to GitHub. Also refactors the blame render from fmtstring based to template based. * Fix blame bottom line and add blame prior button * Jump to previous parent commit from the commit. * Fix previous commit link * Fix previous blame link * Fix the given file not exist in the previous commit. * Fix blameRow struct not export * fix theming issues, rename template var * remove unused LastCommit fetch * fix location of blame-hunk divider * rewrite previous commit checks * remove duplicate commit lookup its already resolved and stored in ctx.Repo.Commit! * split out blamePart processing into function Co-authored-by: rogerluo410 <rogerluo410@gmail.com>
* Add Visible modes function from Organisation to Users too (#16069)Sergey Dryabzhinsky2021-06-261-0/+8
| | | | | | | | | | | | | | | | | | You can limit or hide organisations. This pull make it also posible for users - new strings to translte - add checkbox to user profile form - add checkbox to admin user.edit form - filter explore page user search - filter api admin and public user searches - allow admins view "hidden" users - add app option DEFAULT_USER_VISIBILITY - rewrite many files to use Visibility field - check for teams intersection - fix context output - right fake 404 if not visible Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Andrew Thornton <art27@cantab.net>
* Add better errors for disabled account recovery (#15117)John Olheiser2021-06-251-2/+2
| | | | | | Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* Add tag protection (#15629)KN4CK3R2021-06-251-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added tag protection in hook. * Prevent UI tag creation if protected. * Added settings page. * Added tests. * Added suggestions. * Moved tests. * Use individual errors. * Removed unneeded methods. * Switched delete selector. * Changed method names. * No reason to be unique. * Allow editing of protected tags. * Removed unique key from migration. * Added docs page. * Changed date. * Respond with 404 to not found tags. * Replaced glob with regex pattern. * Added support for glob and regex pattern. * Updated documentation. * Changed white* to allow*. * Fixed edit button link. * Added cancel button. Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-259-5/+213
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-2426-25/+233
|
* Fix Nits (#16234)65432021-06-231-3/+3
| | | | | | | * template fix * nits * add doer to "created issue/pull"
* Localize Email Templates (#16200)65432021-06-231-1/+46
| | | close #14822
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-211-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-201-0/+21
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-196-4/+42
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-182-6/+20
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-171-1/+15
|
* Add Status Updates whilst Gitea migrations are occurring (#15076)zeripath2021-06-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add migrating message Signed-off-by: Andrew Thornton <art27@cantab.net> * simplify messenger Signed-off-by: Andrew Thornton <art27@cantab.net> * make messenger an interface Signed-off-by: Andrew Thornton <art27@cantab.net> * rename Signed-off-by: Andrew Thornton <art27@cantab.net> * prepare for merge Signed-off-by: Andrew Thornton <art27@cantab.net> * as per tech Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-1626-41/+51
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-151-0/+7
|
* Fix private repo permission problem (#16142)Nils Dralle2021-06-141-0/+1
| | | | | | | | | | | | * Change user access permission * Add string 'transfer_notices_3' * Add 3rd transfer note to transfer dialog * Add test Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add push to remote mirror repository (#15157)KN4CK3R2021-06-141-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added push mirror model. * Integrated push mirror into queue. * Moved methods into own file. * Added basic implementation. * Mirror wiki too. * Removed duplicated method. * Get url for different remotes. * Added migration. * Unified remote url access. * Add/Remove push mirror remotes. * Prevent hangs with missing credentials. * Moved code between files. * Changed sanitizer interface. * Added push mirror backend methods. * Only update the mirror remote. * Limit refs on push. * Added UI part. * Added missing table. * Delete mirror if repository gets removed. * Changed signature. Handle object errors. * Added upload method. * Added "upload" unit tests. * Added transfer adapter unit tests. * Send correct headers. * Added pushing of LFS objects. * Added more logging. * Simpler body handling. * Process files in batches to reduce HTTP calls. * Added created timestamp. * Fixed invalid column name. * Changed name to prevent xorm auto setting. * Remove table header im empty. * Strip exit code from error message. * Added docs page about mirroring. * Fixed date. * Fixed merge errors. * Moved test to integrations. * Added push mirror test. * Added test.
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-101-1/+72
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-061-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-041-2/+14
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-06-031-0/+3
|