You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1722 lines
83 KiB

Oauth2 consumer (#679) * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
7 years ago
8 years ago
Pull request review/approval and comment on code (#3748) * Initial ui components for pull request review * Add Review Add IssueComment types Signed-off-by: Jonas Franz <info@jonasfranz.software> (cherry picked from commit 2b4daab) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Replace ReviewComment with Content Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add load functions Add ReviewID to findComments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add create review comment implementation Add migration for review Other small changes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Simplified create and find functions for review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved "Pending" to first position Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add GetCurrentReview to simplify fetching current review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Preview for listing comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move new comment form to its own file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Implement Review form Show Review comments on comment stream Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for single comments Showing buttons in context Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add pending tag to pending review comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for Review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fetch all review ids at once Add unit tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improved comment rendering in "Files" view by adding Comments to DiffLine Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for invalidating comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Switched back to code.gitea.io/git Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved review migration from v64 to v65 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Rebuild css Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improve translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests by updating fixtures and updating outdated test Signed-off-by: Jonas Franz <info@jonasfranz.software> * Comments will be shown at the right place now Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for deleting CodeComments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by files in subdirectories Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for showing code comments of reviews in conversation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for "Show/Hide outdated" Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update code.gitea.io/git Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for new webhooks Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update comparison Signed-off-by: Jonas Franz <info@jonasfranz.software> * Resolve conflicts Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor UI improvements * update code.gitea.io/git * Fix ui bug reported by @lunny causing wrong position of add button Add functionality to "Cancel" button Add scale effects to add button Hide "Cancel" button for existing comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Prepare solving conflicts Signed-off-by: Jonas Franz <info@jonasfranz.software> * Show add button only if no comments already exist for the line Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing vendor files Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if reviewer is nil Signed-off-by: Jonas Franz <info@jonasfranz.software> * Show forms only to users who are logged in Signed-off-by: Jonas Franz <info@jonasfranz.software> * Revert "Show forms only to users who are logged in" This reverts commit c083682 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Save patch in comment Render patch for code comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add link to comment in code Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add reply form to comment list Show forms only to signed in users Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add 'Reply' as translatable Add CODE_COMMENT_LINES setting Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems introduced by checking for singed in user Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add v70 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update generated stylesheet Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix preview Beginn with new review comment patch system Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add new algo to generate diff for line range Remove old algo used for cutting big diffs (it was very buggy) * Add documentation and example for CutDiffAroundLine * Fix example of CutDiffAroundLine * Fix some comment UI rendering bugs * Add code comment edit mode * Send notifications / actions to users until review gets published Fix diff generation bug Fix wrong hashtag * Fix vet errors * Send notifications also for single comments * Fix some notification bugs, fix link * Fix: add comment icon is only shown on code lines * Add lint comment * Add unit tests for git diff * Add more error messages * Regenerated css Signed-off-by: Jonas Franz <info@jonasfranz.software> * fmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Regenerated CSS with latest less version Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test by updating comment type to new ID Signed-off-by: Jonas Franz <info@jonasfranz.software> * Introducing CodeComments as type for map[string]map[int64][]*Comment Other minor code improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix data-tab issues Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove unnecessary change Signed-off-by: Jonas Franz <info@jonasfranz.software> * refactored checkForInvalidation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Append comments instead of setting Signed-off-by: Jonas Franz <info@jonasfranz.software> * Use HeadRepo instead of BaseRepo Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update migration Signed-off-by: Jonas Franz <info@jonasfranz.de> * Regenerated CSS Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add copyright Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update index.css Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
10 years ago
10 years ago
Squashed commit of the following: commit 0afcb843d7ffd596991c4885cab768273a6eb42c Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 17:13:29 2016 -0600 Removed Upload stats as the upload table is just a temporary table commit 7ecd73ff5535612d79d471409173ee7f1fcfa157 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:42:41 2016 -0600 Fix for CodeMirror mode commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:03:33 2016 -0600 Made tabbing in editor use spaces commit 23af384c53206a8a40e11e45bf49d7a149c4adcd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:56:46 2016 -0600 Fix for data-url commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9 Merge: 7fc8a89 991ce42 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:42:53 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit 7fc8a89cb495478225b02d613e647f99a1489634 Merge: fd3d86c c03d040 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:40:00 2016 -0600 Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:39:44 2016 -0600 Code cleanup commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 29 15:38:23 2016 -0600 Code cleanup commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:36:01 2016 -0600 Code cleanup and fixes commit c2895dc742f25f8412879c9fa15e18f27f42f194 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:24:04 2016 -0600 Fixes per Unknwon's requests commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef Merge: 889e9fa ad7ea88 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 17:13:43 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go modules/setting/setting.go commit 889e9faf1bd8559a4979c8f46005d488c1a234d4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:09:18 2016 -0600 Fix in gogs.js commit 47603edf223f147b114be65f3bd27bc1e88827a5 Merge: bb57912 cf85e9e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:07:36 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit bb5791255867a71c11a77b639db050ad09c597a4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:02:18 2016 -0600 Update for using CodeMirror mode addon commit d10d128c51039be19e2af9c66c63db66a9f2ec6d Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 16:12:57 2016 -0600 Update for Edit commit 34a34982025144e3225e389f7849eb6273c1d576 Merge: fa1b752 1c7dcdd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 11:52:02 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go commit fa1b752be29cd455c5184ddac2ffe80b3489763e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 15 18:35:42 2016 -0600 Feature for editing, creating, uploading and deleting files
8 years ago
Add support for federated avatars (#3320) * Add support for federated avatars Fixes #3105 Removes avatar fetching duplication code Adds an "Enable Federated Avatar" checkbox in user settings (defaults to unchecked) Moves avatar settings all in the same form, making local and remote avatars mutually exclusive Renames UploadAvatarForm to AvatarForm as it's not anymore only for uploading * Run gofmt on all modified files * Move Avatar form in its own page * Add go-libravatar dependency to vendor/ dir Hopefully helps with accepting the contribution. See also #3214 * Revert "Add go-libravatar dependency to vendor/ dir" This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82. * Make federated avatar setting a global configuration Removes the per-user setting * Move avatar handling back to base tool, disable federated avatar in offline mode * Format, handle error * Properly set fallback host * Use unsupported github.com mirror for importing go-libravatar * Remove comment showing life exists outside of github.com ... pity, but contribution would not be accepted otherwise * Use Combo for Get and Post methods over /avatar * FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR * Fix persistance of federated avatar lookup checkbox at install time * Federated Avatars -> Enable Federated Avatars * Use len(string) == 0 instead of string == "" * Move import line where it belong See https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md Pity the import url is still the unofficial one, but oh well... * Save a line (and waste much more expensive time) * Remove redundant parens * Remove an empty line * Remove empty lines * Reorder lines to make diff smaller * Remove another newline Unknwon review got me start a fight against newlines * Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE On re-reading the diff I figured what Unknwon meant here: https://github.com/gogits/gogs/pull/3320/files#r73741106 * Remove newlines that weren't there before my intervention
8 years ago
10 years ago
Add support for federated avatars (#3320) * Add support for federated avatars Fixes #3105 Removes avatar fetching duplication code Adds an "Enable Federated Avatar" checkbox in user settings (defaults to unchecked) Moves avatar settings all in the same form, making local and remote avatars mutually exclusive Renames UploadAvatarForm to AvatarForm as it's not anymore only for uploading * Run gofmt on all modified files * Move Avatar form in its own page * Add go-libravatar dependency to vendor/ dir Hopefully helps with accepting the contribution. See also #3214 * Revert "Add go-libravatar dependency to vendor/ dir" This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82. * Make federated avatar setting a global configuration Removes the per-user setting * Move avatar handling back to base tool, disable federated avatar in offline mode * Format, handle error * Properly set fallback host * Use unsupported github.com mirror for importing go-libravatar * Remove comment showing life exists outside of github.com ... pity, but contribution would not be accepted otherwise * Use Combo for Get and Post methods over /avatar * FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR * Fix persistance of federated avatar lookup checkbox at install time * Federated Avatars -> Enable Federated Avatars * Use len(string) == 0 instead of string == "" * Move import line where it belong See https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md Pity the import url is still the unofficial one, but oh well... * Save a line (and waste much more expensive time) * Remove redundant parens * Remove an empty line * Remove empty lines * Reorder lines to make diff smaller * Remove another newline Unknwon review got me start a fight against newlines * Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE On re-reading the diff I figured what Unknwon meant here: https://github.com/gogits/gogs/pull/3320/files#r73741106 * Remove newlines that weren't there before my intervention
8 years ago
Oauth2 consumer (#679) * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
7 years ago
Git LFS support v2 (#122) * Import github.com/git-lfs/lfs-test-server as lfs module base Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198 Removed: Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go .dockerignore .gitignore README.md * Remove config, add JWT support from github.com/mgit-at/lfs-test-server Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83 * Add LFS settings * Add LFS meta object model * Add LFS routes and initialization * Import github.com/dgrijalva/jwt-go into vendor/ * Adapt LFS module: handlers, routing, meta store * Move LFS routes to /user/repo/info/lfs/* * Add request header checks to LFS BatchHandler / PostHandler * Implement LFS basic authentication * Rework JWT secret generation / load * Implement LFS SSH token authentication with JWT Specification: https://github.com/github/git-lfs/tree/master/docs/api * Integrate LFS settings into install process * Remove LFS objects when repository is deleted Only removes objects from content store when deleted repo is the only referencing repository * Make LFS module stateless Fixes bug where LFS would not work after installation without restarting Gitea * Change 500 'Internal Server Error' to 400 'Bad Request' * Change sql query to xorm call * Remove unneeded type from LFS module * Change internal imports to code.gitea.io/gitea/ * Add Gitea authors copyright * Change basic auth realm to "gitea-lfs" * Add unique indexes to LFS model * Use xorm count function in LFS check on repository delete * Return io.ReadCloser from content store and close after usage * Add LFS info to runWeb() * Export LFS content store base path * LFS file download from UI * Work around git-lfs client issue with unauthenticated requests Returning a dummy Authorization header for unauthenticated requests lets git-lfs client skip asking for auth credentials See: https://github.com/github/git-lfs/issues/1088 * Fix unauthenticated UI downloads from public repositories * Authentication check order, Finish LFS file view logic * Ignore LFS hooks if installed for current OS user Fixes Gitea UI actions for repositories tracking LFS files. Checks for minimum needed git version by parsing the semantic version string. * Hide LFS metafile diff from commit view, marking as binary * Show LFS notice if file in commit view is tracked * Add notbefore/nbf JWT claim * Correct lint suggestions - comments for structs and functions - Add comments to LFS model - Function comment for GetRandomBytesAsBase64 - LFS server function comments and lint variable suggestion * Move secret generation code out of conditional Ensures no LFS code may run with an empty secret * Do not hand out JWT tokens if LFS server support is disabled
8 years ago
Squashed commit of the following: commit 0afcb843d7ffd596991c4885cab768273a6eb42c Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 17:13:29 2016 -0600 Removed Upload stats as the upload table is just a temporary table commit 7ecd73ff5535612d79d471409173ee7f1fcfa157 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:42:41 2016 -0600 Fix for CodeMirror mode commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:03:33 2016 -0600 Made tabbing in editor use spaces commit 23af384c53206a8a40e11e45bf49d7a149c4adcd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:56:46 2016 -0600 Fix for data-url commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9 Merge: 7fc8a89 991ce42 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:42:53 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit 7fc8a89cb495478225b02d613e647f99a1489634 Merge: fd3d86c c03d040 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:40:00 2016 -0600 Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:39:44 2016 -0600 Code cleanup commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 29 15:38:23 2016 -0600 Code cleanup commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:36:01 2016 -0600 Code cleanup and fixes commit c2895dc742f25f8412879c9fa15e18f27f42f194 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:24:04 2016 -0600 Fixes per Unknwon's requests commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef Merge: 889e9fa ad7ea88 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 17:13:43 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go modules/setting/setting.go commit 889e9faf1bd8559a4979c8f46005d488c1a234d4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:09:18 2016 -0600 Fix in gogs.js commit 47603edf223f147b114be65f3bd27bc1e88827a5 Merge: bb57912 cf85e9e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:07:36 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit bb5791255867a71c11a77b639db050ad09c597a4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:02:18 2016 -0600 Update for using CodeMirror mode addon commit d10d128c51039be19e2af9c66c63db66a9f2ec6d Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 16:12:57 2016 -0600 Update for Edit commit 34a34982025144e3225e389f7849eb6273c1d576 Merge: fa1b752 1c7dcdd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 11:52:02 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go commit fa1b752be29cd455c5184ddac2ffe80b3489763e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 15 18:35:42 2016 -0600 Feature for editing, creating, uploading and deleting files
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
Feature: Timetracking (#2211) * Added comment's hashtag to url for mail notifications. * Added explanation to return statement + documentation. * Replacing in-line link generation with HTMLURL. (+gofmt) * Replaced action-based model with nil-based model. (+gofmt) * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. * Updating comment for mailIssueCommentToParticipants * Added link to comment in "Dashboard" * Deleting feed entry if a comment is going to be deleted * Added migration * Added improved migration to add a CommentID column to action. * Added improved links to comments in feed entries. * Fixes #1956 by filtering for deleted comments that are referenced in actions. * Introducing "IsDeleted" column to action. * Adding design draft (not functional) * Adding database models for stopwatches and trackedtimes * See go-gitea/gitea#967 * Adding design draft (not functional) * Adding translations and improving design * Implementing stopwatch (for timetracking) * Make UI functional * Add hints in timeline for time tracking events * Implementing timetracking feature * Adding "Add time manual" option * Improved stopwatch * Created report of total spent time by user * Only showing total time spent if theire is something to show. * Adding license headers. * Improved error handling for "Add Time Manual" * Adding @sapks 's changes, refactoring * Adding API for feature tracking * Adding unit test * Adding DISABLE/ENABLE option to Repository settings page * Improving translations * Applying @sapk 's changes * Removing repo_unit and using IssuesSetting for disabling/enabling timetracker * Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu * Improving documentation * Fixing vendor/ folder * Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks ) * Restricting write access to timetracking based on the repo settings (Proposed by @lafriks ) * Fixed minor permissions bug. * Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo * Allow assignees and authors to track there time too. * Fixed some build-time-errors + logical errors. * Removing unused Get...ByID functions * Moving IsTimetrackerEnabled from context.Repository to models.Repository * Adding a seperate file for issue related repo functions * Adding license headers * Fixed GetUserByParams return 404 * Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons * Adding /repos/:username/times to get all tracked times of the repo * Updating sdk-dependency * Updating swagger.v1.json * Adding warning if user has already a running stopwatch (auto-timetracker) * Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions) * Changing code.gitea.io/sdk back to code.gitea.io/sdk * Correcting spelling mistake * Updating vendor.json * Changing GET stopwatch/toggle to POST stopwatch/toggle * Changing GET stopwatch/cancel to POST stopwatch/cancel * Added migration for stopwatches/timetracking * Fixed some access bugs for read-only users * Added default allow only contributors to track time value to config * Fixed migration by chaging x.Iterate to x.Find * Resorted imports * Moved Add Time Manually form to repo_form.go * Removed "Seconds" field from Add Time Manually * Resorted imports * Improved permission checking * Fixed some bugs * Added integration test * gofmt * Adding integration test by @lafriks * Added created_unix to comment fixtures * Using last event instead of a fixed event * Adding another integration test by @lafriks * Fixing bug Timetracker enabled causing error 500 at sidebar.tpl * Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning. * Returning TrackedTime instead of AddTimeOption at AddTime. * Updating SDK from go-gitea/go-sdk#69 * Resetting Go-SDK back to default repository * Fixing test-vendor by changing ini back to original repository * Adding "tags" to swagger spec * govendor sync * Removed duplicate * Formatting templates * Adding IsTimetrackingEnabled checks to API * Improving translations / english texts * Improving documentation * Updating swagger spec * Fixing integration test caused be translation-changes * Removed encoding issues in local_en-US.ini. * "Added" copyright line * Moved unit.IssuesConfig().EnableTimetracker into a != nil check * Removed some other encoding issues in local_en-US.ini * Improved javascript by checking if data-context exists * Replaced manual comment creation with CreateComment * Removed unnecessary code * Improved error checking * Small cosmetic changes * Replaced int>string>duration parsing with int>duration parsing * Fixed encoding issues * Removed unused imports Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
Feature: Timetracking (#2211) * Added comment's hashtag to url for mail notifications. * Added explanation to return statement + documentation. * Replacing in-line link generation with HTMLURL. (+gofmt) * Replaced action-based model with nil-based model. (+gofmt) * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. * Updating comment for mailIssueCommentToParticipants * Added link to comment in "Dashboard" * Deleting feed entry if a comment is going to be deleted * Added migration * Added improved migration to add a CommentID column to action. * Added improved links to comments in feed entries. * Fixes #1956 by filtering for deleted comments that are referenced in actions. * Introducing "IsDeleted" column to action. * Adding design draft (not functional) * Adding database models for stopwatches and trackedtimes * See go-gitea/gitea#967 * Adding design draft (not functional) * Adding translations and improving design * Implementing stopwatch (for timetracking) * Make UI functional * Add hints in timeline for time tracking events * Implementing timetracking feature * Adding "Add time manual" option * Improved stopwatch * Created report of total spent time by user * Only showing total time spent if theire is something to show. * Adding license headers. * Improved error handling for "Add Time Manual" * Adding @sapks 's changes, refactoring * Adding API for feature tracking * Adding unit test * Adding DISABLE/ENABLE option to Repository settings page * Improving translations * Applying @sapk 's changes * Removing repo_unit and using IssuesSetting for disabling/enabling timetracker * Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu * Improving documentation * Fixing vendor/ folder * Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks ) * Restricting write access to timetracking based on the repo settings (Proposed by @lafriks ) * Fixed minor permissions bug. * Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo * Allow assignees and authors to track there time too. * Fixed some build-time-errors + logical errors. * Removing unused Get...ByID functions * Moving IsTimetrackerEnabled from context.Repository to models.Repository * Adding a seperate file for issue related repo functions * Adding license headers * Fixed GetUserByParams return 404 * Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons * Adding /repos/:username/times to get all tracked times of the repo * Updating sdk-dependency * Updating swagger.v1.json * Adding warning if user has already a running stopwatch (auto-timetracker) * Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions) * Changing code.gitea.io/sdk back to code.gitea.io/sdk * Correcting spelling mistake * Updating vendor.json * Changing GET stopwatch/toggle to POST stopwatch/toggle * Changing GET stopwatch/cancel to POST stopwatch/cancel * Added migration for stopwatches/timetracking * Fixed some access bugs for read-only users * Added default allow only contributors to track time value to config * Fixed migration by chaging x.Iterate to x.Find * Resorted imports * Moved Add Time Manually form to repo_form.go * Removed "Seconds" field from Add Time Manually * Resorted imports * Improved permission checking * Fixed some bugs * Added integration test * gofmt * Adding integration test by @lafriks * Added created_unix to comment fixtures * Using last event instead of a fixed event * Adding another integration test by @lafriks * Fixing bug Timetracker enabled causing error 500 at sidebar.tpl * Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning. * Returning TrackedTime instead of AddTimeOption at AddTime. * Updating SDK from go-gitea/go-sdk#69 * Resetting Go-SDK back to default repository * Fixing test-vendor by changing ini back to original repository * Adding "tags" to swagger spec * govendor sync * Removed duplicate * Formatting templates * Adding IsTimetrackingEnabled checks to API * Improving translations / english texts * Improving documentation * Updating swagger spec * Fixing integration test caused be translation-changes * Removed encoding issues in local_en-US.ini. * "Added" copyright line * Moved unit.IssuesConfig().EnableTimetracker into a != nil check * Removed some other encoding issues in local_en-US.ini * Improved javascript by checking if data-context exists * Replaced manual comment creation with CreateComment * Removed unnecessary code * Improved error checking * Small cosmetic changes * Replaced int>string>duration parsing with int>duration parsing * Fixed encoding issues * Removed unused imports Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
Feature: Timetracking (#2211) * Added comment's hashtag to url for mail notifications. * Added explanation to return statement + documentation. * Replacing in-line link generation with HTMLURL. (+gofmt) * Replaced action-based model with nil-based model. (+gofmt) * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. * Updating comment for mailIssueCommentToParticipants * Added link to comment in "Dashboard" * Deleting feed entry if a comment is going to be deleted * Added migration * Added improved migration to add a CommentID column to action. * Added improved links to comments in feed entries. * Fixes #1956 by filtering for deleted comments that are referenced in actions. * Introducing "IsDeleted" column to action. * Adding design draft (not functional) * Adding database models for stopwatches and trackedtimes * See go-gitea/gitea#967 * Adding design draft (not functional) * Adding translations and improving design * Implementing stopwatch (for timetracking) * Make UI functional * Add hints in timeline for time tracking events * Implementing timetracking feature * Adding "Add time manual" option * Improved stopwatch * Created report of total spent time by user * Only showing total time spent if theire is something to show. * Adding license headers. * Improved error handling for "Add Time Manual" * Adding @sapks 's changes, refactoring * Adding API for feature tracking * Adding unit test * Adding DISABLE/ENABLE option to Repository settings page * Improving translations * Applying @sapk 's changes * Removing repo_unit and using IssuesSetting for disabling/enabling timetracker * Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu * Improving documentation * Fixing vendor/ folder * Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks ) * Restricting write access to timetracking based on the repo settings (Proposed by @lafriks ) * Fixed minor permissions bug. * Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo * Allow assignees and authors to track there time too. * Fixed some build-time-errors + logical errors. * Removing unused Get...ByID functions * Moving IsTimetrackerEnabled from context.Repository to models.Repository * Adding a seperate file for issue related repo functions * Adding license headers * Fixed GetUserByParams return 404 * Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons * Adding /repos/:username/times to get all tracked times of the repo * Updating sdk-dependency * Updating swagger.v1.json * Adding warning if user has already a running stopwatch (auto-timetracker) * Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions) * Changing code.gitea.io/sdk back to code.gitea.io/sdk * Correcting spelling mistake * Updating vendor.json * Changing GET stopwatch/toggle to POST stopwatch/toggle * Changing GET stopwatch/cancel to POST stopwatch/cancel * Added migration for stopwatches/timetracking * Fixed some access bugs for read-only users * Added default allow only contributors to track time value to config * Fixed migration by chaging x.Iterate to x.Find * Resorted imports * Moved Add Time Manually form to repo_form.go * Removed "Seconds" field from Add Time Manually * Resorted imports * Improved permission checking * Fixed some bugs * Added integration test * gofmt * Adding integration test by @lafriks * Added created_unix to comment fixtures * Using last event instead of a fixed event * Adding another integration test by @lafriks * Fixing bug Timetracker enabled causing error 500 at sidebar.tpl * Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning. * Returning TrackedTime instead of AddTimeOption at AddTime. * Updating SDK from go-gitea/go-sdk#69 * Resetting Go-SDK back to default repository * Fixing test-vendor by changing ini back to original repository * Adding "tags" to swagger spec * govendor sync * Removed duplicate * Formatting templates * Adding IsTimetrackingEnabled checks to API * Improving translations / english texts * Improving documentation * Updating swagger spec * Fixing integration test caused be translation-changes * Removed encoding issues in local_en-US.ini. * "Added" copyright line * Moved unit.IssuesConfig().EnableTimetracker into a != nil check * Removed some other encoding issues in local_en-US.ini * Improved javascript by checking if data-context exists * Replaced manual comment creation with CreateComment * Removed unnecessary code * Improved error checking * Small cosmetic changes * Replaced int>string>duration parsing with int>duration parsing * Fixed encoding issues * Removed unused imports Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
Feature: Timetracking (#2211) * Added comment's hashtag to url for mail notifications. * Added explanation to return statement + documentation. * Replacing in-line link generation with HTMLURL. (+gofmt) * Replaced action-based model with nil-based model. (+gofmt) * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. * Updating comment for mailIssueCommentToParticipants * Added link to comment in "Dashboard" * Deleting feed entry if a comment is going to be deleted * Added migration * Added improved migration to add a CommentID column to action. * Added improved links to comments in feed entries. * Fixes #1956 by filtering for deleted comments that are referenced in actions. * Introducing "IsDeleted" column to action. * Adding design draft (not functional) * Adding database models for stopwatches and trackedtimes * See go-gitea/gitea#967 * Adding design draft (not functional) * Adding translations and improving design * Implementing stopwatch (for timetracking) * Make UI functional * Add hints in timeline for time tracking events * Implementing timetracking feature * Adding "Add time manual" option * Improved stopwatch * Created report of total spent time by user * Only showing total time spent if theire is something to show. * Adding license headers. * Improved error handling for "Add Time Manual" * Adding @sapks 's changes, refactoring * Adding API for feature tracking * Adding unit test * Adding DISABLE/ENABLE option to Repository settings page * Improving translations * Applying @sapk 's changes * Removing repo_unit and using IssuesSetting for disabling/enabling timetracker * Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu * Improving documentation * Fixing vendor/ folder * Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks ) * Restricting write access to timetracking based on the repo settings (Proposed by @lafriks ) * Fixed minor permissions bug. * Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo * Allow assignees and authors to track there time too. * Fixed some build-time-errors + logical errors. * Removing unused Get...ByID functions * Moving IsTimetrackerEnabled from context.Repository to models.Repository * Adding a seperate file for issue related repo functions * Adding license headers * Fixed GetUserByParams return 404 * Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons * Adding /repos/:username/times to get all tracked times of the repo * Updating sdk-dependency * Updating swagger.v1.json * Adding warning if user has already a running stopwatch (auto-timetracker) * Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions) * Changing code.gitea.io/sdk back to code.gitea.io/sdk * Correcting spelling mistake * Updating vendor.json * Changing GET stopwatch/toggle to POST stopwatch/toggle * Changing GET stopwatch/cancel to POST stopwatch/cancel * Added migration for stopwatches/timetracking * Fixed some access bugs for read-only users * Added default allow only contributors to track time value to config * Fixed migration by chaging x.Iterate to x.Find * Resorted imports * Moved Add Time Manually form to repo_form.go * Removed "Seconds" field from Add Time Manually * Resorted imports * Improved permission checking * Fixed some bugs * Added integration test * gofmt * Adding integration test by @lafriks * Added created_unix to comment fixtures * Using last event instead of a fixed event * Adding another integration test by @lafriks * Fixing bug Timetracker enabled causing error 500 at sidebar.tpl * Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning. * Returning TrackedTime instead of AddTimeOption at AddTime. * Updating SDK from go-gitea/go-sdk#69 * Resetting Go-SDK back to default repository * Fixing test-vendor by changing ini back to original repository * Adding "tags" to swagger spec * govendor sync * Removed duplicate * Formatting templates * Adding IsTimetrackingEnabled checks to API * Improving translations / english texts * Improving documentation * Updating swagger spec * Fixing integration test caused be translation-changes * Removed encoding issues in local_en-US.ini. * "Added" copyright line * Moved unit.IssuesConfig().EnableTimetracker into a != nil check * Removed some other encoding issues in local_en-US.ini * Improved javascript by checking if data-context exists * Replaced manual comment creation with CreateComment * Removed unnecessary code * Improved error checking * Small cosmetic changes * Replaced int>string>duration parsing with int>duration parsing * Fixed encoding issues * Removed unused imports Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
Feature: Timetracking (#2211) * Added comment's hashtag to url for mail notifications. * Added explanation to return statement + documentation. * Replacing in-line link generation with HTMLURL. (+gofmt) * Replaced action-based model with nil-based model. (+gofmt) * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. * Updating comment for mailIssueCommentToParticipants * Added link to comment in "Dashboard" * Deleting feed entry if a comment is going to be deleted * Added migration * Added improved migration to add a CommentID column to action. * Added improved links to comments in feed entries. * Fixes #1956 by filtering for deleted comments that are referenced in actions. * Introducing "IsDeleted" column to action. * Adding design draft (not functional) * Adding database models for stopwatches and trackedtimes * See go-gitea/gitea#967 * Adding design draft (not functional) * Adding translations and improving design * Implementing stopwatch (for timetracking) * Make UI functional * Add hints in timeline for time tracking events * Implementing timetracking feature * Adding "Add time manual" option * Improved stopwatch * Created report of total spent time by user * Only showing total time spent if theire is something to show. * Adding license headers. * Improved error handling for "Add Time Manual" * Adding @sapks 's changes, refactoring * Adding API for feature tracking * Adding unit test * Adding DISABLE/ENABLE option to Repository settings page * Improving translations * Applying @sapk 's changes * Removing repo_unit and using IssuesSetting for disabling/enabling timetracker * Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu * Improving documentation * Fixing vendor/ folder * Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks ) * Restricting write access to timetracking based on the repo settings (Proposed by @lafriks ) * Fixed minor permissions bug. * Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo * Allow assignees and authors to track there time too. * Fixed some build-time-errors + logical errors. * Removing unused Get...ByID functions * Moving IsTimetrackerEnabled from context.Repository to models.Repository * Adding a seperate file for issue related repo functions * Adding license headers * Fixed GetUserByParams return 404 * Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons * Adding /repos/:username/times to get all tracked times of the repo * Updating sdk-dependency * Updating swagger.v1.json * Adding warning if user has already a running stopwatch (auto-timetracker) * Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions) * Changing code.gitea.io/sdk back to code.gitea.io/sdk * Correcting spelling mistake * Updating vendor.json * Changing GET stopwatch/toggle to POST stopwatch/toggle * Changing GET stopwatch/cancel to POST stopwatch/cancel * Added migration for stopwatches/timetracking * Fixed some access bugs for read-only users * Added default allow only contributors to track time value to config * Fixed migration by chaging x.Iterate to x.Find * Resorted imports * Moved Add Time Manually form to repo_form.go * Removed "Seconds" field from Add Time Manually * Resorted imports * Improved permission checking * Fixed some bugs * Added integration test * gofmt * Adding integration test by @lafriks * Added created_unix to comment fixtures * Using last event instead of a fixed event * Adding another integration test by @lafriks * Fixing bug Timetracker enabled causing error 500 at sidebar.tpl * Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning. * Returning TrackedTime instead of AddTimeOption at AddTime. * Updating SDK from go-gitea/go-sdk#69 * Resetting Go-SDK back to default repository * Fixing test-vendor by changing ini back to original repository * Adding "tags" to swagger spec * govendor sync * Removed duplicate * Formatting templates * Adding IsTimetrackingEnabled checks to API * Improving translations / english texts * Improving documentation * Updating swagger spec * Fixing integration test caused be translation-changes * Removed encoding issues in local_en-US.ini. * "Added" copyright line * Moved unit.IssuesConfig().EnableTimetracker into a != nil check * Removed some other encoding issues in local_en-US.ini * Improved javascript by checking if data-context exists * Replaced manual comment creation with CreateComment * Removed unnecessary code * Improved error checking * Small cosmetic changes * Replaced int>string>duration parsing with int>duration parsing * Fixed encoding issues * Removed unused imports Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
Issue due date (#3794) * Started adding deadline to ui * Implemented basic issue due date managing * Improved UI for due date managing * Added at least write access to the repo in order to modify issue due dates * Ui improvements * Added issue comments creation when adding/modifying/removing a due date * Show due date in issue list * Added api support for issue due dates * Fixed lint suggestions * Added deadline to sdk * Updated css * Added support for adding/modifiying deadlines for pull requests via api * Fixed comments not created when updating or removing a deadline * update sdk (will do properly once go-gitea/go-sdk#103 is merged) * enhanced updateIssueDeadline * Removed unnessecary Issue.DeadlineString * UI improvements * Small improvments to comment creation + ui & validation improvements * Check if an issue is overdue is now a seperate function * Updated go-sdk with govendor as it was merged * Simplified isOverdue method * removed unessecary deadline to 0 set * Update swagger definitions * Added missing return * Added an explanary comment * Improved updateIssueDeadline method so it'll only update `deadline_unix` * Small changes and improvements * no need to explicitly load the issue when updating a deadline, just use whats already there * small optimisations * Added check if a deadline was modified before updating it * Moved comment creating logic into its own function * Code cleanup for creating deadline comment * locale improvement * When modifying a deadline, the old deadline is saved with the comment * small improvments to xorm session handling when updating an issue deadline + style nitpicks * style nitpicks * Moved checking for if the user has write acces to middleware
6 years ago
Shows total tracked time in issue and milestone list (#3341) * Show total tracked time in issue and milestone list Show total tracked time at issue page Signed-off-by: Jonas Franz <info@jonasfranz.software> * Optimizing TotalTimes by using SumInt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fixing wrong total times for milestones caused by a missing JOIN Adding unit tests for total times Signed-off-by: Jonas Franz <info@jonasfranz.software> * Logging error instead of ignoring it Signed-off-by: Jonas Franz <info@jonasfranz.software> * Correcting spelling mistakes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change error message to a short version Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add error handling to TotalTimes Add variable for totalTimes Signed-off-by: Jonas Franz <info@jonasfranz.de> * Introduce TotalTrackedTimes as variable of issue Load TotalTrackedTimes by loading attributes of IssueList Load TotalTrackedTimes by loading attributes of single issue Add Sec2Time as helper to use it in templates Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fixed test + gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Load TotalTrackedTimes via MilestoneList instead of single requests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation for MilestoneList Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation for MilestoneList Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change comment from SQL query to description Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit test by using int64 instead of int Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit test by using int64 instead of int Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if timetracker is enabled Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test by enabling timetracking Signed-off-by: Jonas Franz <info@jonasfranz.de>
6 years ago
Issue due date (#3794) * Started adding deadline to ui * Implemented basic issue due date managing * Improved UI for due date managing * Added at least write access to the repo in order to modify issue due dates * Ui improvements * Added issue comments creation when adding/modifying/removing a due date * Show due date in issue list * Added api support for issue due dates * Fixed lint suggestions * Added deadline to sdk * Updated css * Added support for adding/modifiying deadlines for pull requests via api * Fixed comments not created when updating or removing a deadline * update sdk (will do properly once go-gitea/go-sdk#103 is merged) * enhanced updateIssueDeadline * Removed unnessecary Issue.DeadlineString * UI improvements * Small improvments to comment creation + ui & validation improvements * Check if an issue is overdue is now a seperate function * Updated go-sdk with govendor as it was merged * Simplified isOverdue method * removed unessecary deadline to 0 set * Update swagger definitions * Added missing return * Added an explanary comment * Improved updateIssueDeadline method so it'll only update `deadline_unix` * Small changes and improvements * no need to explicitly load the issue when updating a deadline, just use whats already there * small optimisations * Added check if a deadline was modified before updating it * Moved comment creating logic into its own function * Code cleanup for creating deadline comment * locale improvement * When modifying a deadline, the old deadline is saved with the comment * small improvments to xorm session handling when updating an issue deadline + style nitpicks * style nitpicks * Moved checking for if the user has write acces to middleware
6 years ago
Issue due date (#3794) * Started adding deadline to ui * Implemented basic issue due date managing * Improved UI for due date managing * Added at least write access to the repo in order to modify issue due dates * Ui improvements * Added issue comments creation when adding/modifying/removing a due date * Show due date in issue list * Added api support for issue due dates * Fixed lint suggestions * Added deadline to sdk * Updated css * Added support for adding/modifiying deadlines for pull requests via api * Fixed comments not created when updating or removing a deadline * update sdk (will do properly once go-gitea/go-sdk#103 is merged) * enhanced updateIssueDeadline * Removed unnessecary Issue.DeadlineString * UI improvements * Small improvments to comment creation + ui & validation improvements * Check if an issue is overdue is now a seperate function * Updated go-sdk with govendor as it was merged * Simplified isOverdue method * removed unessecary deadline to 0 set * Update swagger definitions * Added missing return * Added an explanary comment * Improved updateIssueDeadline method so it'll only update `deadline_unix` * Small changes and improvements * no need to explicitly load the issue when updating a deadline, just use whats already there * small optimisations * Added check if a deadline was modified before updating it * Moved comment creating logic into its own function * Code cleanup for creating deadline comment * locale improvement * When modifying a deadline, the old deadline is saved with the comment * small improvments to xorm session handling when updating an issue deadline + style nitpicks * style nitpicks * Moved checking for if the user has write acces to middleware
6 years ago
Pull request review/approval and comment on code (#3748) * Initial ui components for pull request review * Add Review Add IssueComment types Signed-off-by: Jonas Franz <info@jonasfranz.software> (cherry picked from commit 2b4daab) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Replace ReviewComment with Content Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add load functions Add ReviewID to findComments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add create review comment implementation Add migration for review Other small changes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Simplified create and find functions for review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved "Pending" to first position Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add GetCurrentReview to simplify fetching current review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Preview for listing comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move new comment form to its own file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Implement Review form Show Review comments on comment stream Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for single comments Showing buttons in context Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add pending tag to pending review comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for Review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fetch all review ids at once Add unit tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improved comment rendering in "Files" view by adding Comments to DiffLine Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for invalidating comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Switched back to code.gitea.io/git Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved review migration from v64 to v65 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Rebuild css Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improve translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests by updating fixtures and updating outdated test Signed-off-by: Jonas Franz <info@jonasfranz.software> * Comments will be shown at the right place now Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for deleting CodeComments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by files in subdirectories Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for showing code comments of reviews in conversation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for "Show/Hide outdated" Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update code.gitea.io/git Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for new webhooks Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update comparison Signed-off-by: Jonas Franz <info@jonasfranz.software> * Resolve conflicts Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor UI improvements * update code.gitea.io/git * Fix ui bug reported by @lunny causing wrong position of add button Add functionality to "Cancel" button Add scale effects to add button Hide "Cancel" button for existing comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Prepare solving conflicts Signed-off-by: Jonas Franz <info@jonasfranz.software> * Show add button only if no comments already exist for the line Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing vendor files Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if reviewer is nil Signed-off-by: Jonas Franz <info@jonasfranz.software> * Show forms only to users who are logged in Signed-off-by: Jonas Franz <info@jonasfranz.software> * Revert "Show forms only to users who are logged in" This reverts commit c083682 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Save patch in comment Render patch for code comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add link to comment in code Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add reply form to comment list Show forms only to signed in users Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add 'Reply' as translatable Add CODE_COMMENT_LINES setting Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems introduced by checking for singed in user Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add v70 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update generated stylesheet Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix preview Beginn with new review comment patch system Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add new algo to generate diff for line range Remove old algo used for cutting big diffs (it was very buggy) * Add documentation and example for CutDiffAroundLine * Fix example of CutDiffAroundLine * Fix some comment UI rendering bugs * Add code comment edit mode * Send notifications / actions to users until review gets published Fix diff generation bug Fix wrong hashtag * Fix vet errors * Send notifications also for single comments * Fix some notification bugs, fix link * Fix: add comment icon is only shown on code lines * Add lint comment * Add unit tests for git diff * Add more error messages * Regenerated css Signed-off-by: Jonas Franz <info@jonasfranz.software> * fmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Regenerated CSS with latest less version Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test by updating comment type to new ID Signed-off-by: Jonas Franz <info@jonasfranz.software> * Introducing CodeComments as type for map[string]map[int64][]*Comment Other minor code improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix data-tab issues Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove unnecessary change Signed-off-by: Jonas Franz <info@jonasfranz.software> * refactored checkForInvalidation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Append comments instead of setting Signed-off-by: Jonas Franz <info@jonasfranz.software> * Use HeadRepo instead of BaseRepo Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update migration Signed-off-by: Jonas Franz <info@jonasfranz.de> * Regenerated CSS Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add copyright Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update index.css Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
Pull request review/approval and comment on code (#3748) * Initial ui components for pull request review * Add Review Add IssueComment types Signed-off-by: Jonas Franz <info@jonasfranz.software> (cherry picked from commit 2b4daab) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Replace ReviewComment with Content Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add load functions Add ReviewID to findComments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add create review comment implementation Add migration for review Other small changes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Simplified create and find functions for review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved "Pending" to first position Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add GetCurrentReview to simplify fetching current review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Preview for listing comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move new comment form to its own file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Implement Review form Show Review comments on comment stream Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for single comments Showing buttons in context Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add pending tag to pending review comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for Review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fetch all review ids at once Add unit tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improved comment rendering in "Files" view by adding Comments to DiffLine Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for invalidating comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Switched back to code.gitea.io/git Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved review migration from v64 to v65 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Rebuild css Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improve translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests by updating fixtures and updating outdated test Signed-off-by: Jonas Franz <info@jonasfranz.software> * Comments will be shown at the right place now Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for deleting CodeComments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by files in subdirectories Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for showing code comments of reviews in conversation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for "Show/Hide outdated" Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update code.gitea.io/git Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for new webhooks Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update comparison Signed-off-by: Jonas Franz <info@jonasfranz.software> * Resolve conflicts Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor UI improvements * update code.gitea.io/git * Fix ui bug reported by @lunny causing wrong position of add button Add functionality to "Cancel" button Add scale effects to add button Hide "Cancel" button for existing comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Prepare solving conflicts Signed-off-by: Jonas Franz <info@jonasfranz.software> * Show add button only if no comments already exist for the line Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing vendor files Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if reviewer is nil Signed-off-by: Jonas Franz <info@jonasfranz.software> * Show forms only to users who are logged in Signed-off-by: Jonas Franz <info@jonasfranz.software> * Revert "Show forms only to users who are logged in" This reverts commit c083682 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Save patch in comment Render patch for code comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add link to comment in code Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add reply form to comment list Show forms only to signed in users Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add 'Reply' as translatable Add CODE_COMMENT_LINES setting Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems introduced by checking for singed in user Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add v70 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update generated stylesheet Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix preview Beginn with new review comment patch system Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add new algo to generate diff for line range Remove old algo used for cutting big diffs (it was very buggy) * Add documentation and example for CutDiffAroundLine * Fix example of CutDiffAroundLine * Fix some comment UI rendering bugs * Add code comment edit mode * Send notifications / actions to users until review gets published Fix diff generation bug Fix wrong hashtag * Fix vet errors * Send notifications also for single comments * Fix some notification bugs, fix link * Fix: add comment icon is only shown on code lines * Add lint comment * Add unit tests for git diff * Add more error messages * Regenerated css Signed-off-by: Jonas Franz <info@jonasfranz.software> * fmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Regenerated CSS with latest less version Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test by updating comment type to new ID Signed-off-by: Jonas Franz <info@jonasfranz.software> * Introducing CodeComments as type for map[string]map[int64][]*Comment Other minor code improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix data-tab issues Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove unnecessary change Signed-off-by: Jonas Franz <info@jonasfranz.software> * refactored checkForInvalidation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Append comments instead of setting Signed-off-by: Jonas Franz <info@jonasfranz.software> * Use HeadRepo instead of BaseRepo Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update migration Signed-off-by: Jonas Franz <info@jonasfranz.de> * Regenerated CSS Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add copyright Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update index.css Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
8 years ago
Pull request review/approval and comment on code (#3748) * Initial ui components for pull request review * Add Review Add IssueComment types Signed-off-by: Jonas Franz <info@jonasfranz.software> (cherry picked from commit 2b4daab) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Replace ReviewComment with Content Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add load functions Add ReviewID to findComments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add create review comment implementation Add migration for review Other small changes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Simplified create and find functions for review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved "Pending" to first position Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add GetCurrentReview to simplify fetching current review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Preview for listing comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move new comment form to its own file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Implement Review form Show Review comments on comment stream Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for single comments Showing buttons in context Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add pending tag to pending review comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for Review Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fetch all review ids at once Add unit tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improved comment rendering in "Files" view by adding Comments to DiffLine Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for invalidating comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Switched back to code.gitea.io/git Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved review migration from v64 to v65 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Rebuild css Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Improve translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests by updating fixtures and updating outdated test Signed-off-by: Jonas Franz <info@jonasfranz.software> * Comments will be shown at the right place now Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for deleting CodeComments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by files in subdirectories Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for showing code comments of reviews in conversation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for "Show/Hide outdated" Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update code.gitea.io/git Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add support for new webhooks Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update comparison Signed-off-by: Jonas Franz <info@jonasfranz.software> * Resolve conflicts Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor UI improvements * update code.gitea.io/git * Fix ui bug reported by @lunny causing wrong position of add button Add functionality to "Cancel" button Add scale effects to add button Hide "Cancel" button for existing comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Prepare solving conflicts Signed-off-by: Jonas Franz <info@jonasfranz.software> * Show add button only if no comments already exist for the line Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing vendor files Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if reviewer is nil Signed-off-by: Jonas Franz <info@jonasfranz.software> * Show forms only to users who are logged in Signed-off-by: Jonas Franz <info@jonasfranz.software> * Revert "Show forms only to users who are logged in" This reverts commit c083682 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Save patch in comment Render patch for code comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add link to comment in code Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add reply form to comment list Show forms only to signed in users Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add 'Reply' as translatable Add CODE_COMMENT_LINES setting Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems introduced by checking for singed in user Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add v70 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update generated stylesheet Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix preview Beginn with new review comment patch system Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add new algo to generate diff for line range Remove old algo used for cutting big diffs (it was very buggy) * Add documentation and example for CutDiffAroundLine * Fix example of CutDiffAroundLine * Fix some comment UI rendering bugs * Add code comment edit mode * Send notifications / actions to users until review gets published Fix diff generation bug Fix wrong hashtag * Fix vet errors * Send notifications also for single comments * Fix some notification bugs, fix link * Fix: add comment icon is only shown on code lines * Add lint comment * Add unit tests for git diff * Add more error messages * Regenerated css Signed-off-by: Jonas Franz <info@jonasfranz.software> * fmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Regenerated CSS with latest less version Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test by updating comment type to new ID Signed-off-by: Jonas Franz <info@jonasfranz.software> * Introducing CodeComments as type for map[string]map[int64][]*Comment Other minor code improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix data-tab issues Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove unnecessary change Signed-off-by: Jonas Franz <info@jonasfranz.software> * refactored checkForInvalidation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Append comments instead of setting Signed-off-by: Jonas Franz <info@jonasfranz.software> * Use HeadRepo instead of BaseRepo Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update migration Signed-off-by: Jonas Franz <info@jonasfranz.de> * Regenerated CSS Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add copyright Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update index.css Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
Oauth2 consumer (#679) * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
7 years ago
Git LFS support v2 (#122) * Import github.com/git-lfs/lfs-test-server as lfs module base Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198 Removed: Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go .dockerignore .gitignore README.md * Remove config, add JWT support from github.com/mgit-at/lfs-test-server Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83 * Add LFS settings * Add LFS meta object model * Add LFS routes and initialization * Import github.com/dgrijalva/jwt-go into vendor/ * Adapt LFS module: handlers, routing, meta store * Move LFS routes to /user/repo/info/lfs/* * Add request header checks to LFS BatchHandler / PostHandler * Implement LFS basic authentication * Rework JWT secret generation / load * Implement LFS SSH token authentication with JWT Specification: https://github.com/github/git-lfs/tree/master/docs/api * Integrate LFS settings into install process * Remove LFS objects when repository is deleted Only removes objects from content store when deleted repo is the only referencing repository * Make LFS module stateless Fixes bug where LFS would not work after installation without restarting Gitea * Change 500 'Internal Server Error' to 400 'Bad Request' * Change sql query to xorm call * Remove unneeded type from LFS module * Change internal imports to code.gitea.io/gitea/ * Add Gitea authors copyright * Change basic auth realm to "gitea-lfs" * Add unique indexes to LFS model * Use xorm count function in LFS check on repository delete * Return io.ReadCloser from content store and close after usage * Add LFS info to runWeb() * Export LFS content store base path * LFS file download from UI * Work around git-lfs client issue with unauthenticated requests Returning a dummy Authorization header for unauthenticated requests lets git-lfs client skip asking for auth credentials See: https://github.com/github/git-lfs/issues/1088 * Fix unauthenticated UI downloads from public repositories * Authentication check order, Finish LFS file view logic * Ignore LFS hooks if installed for current OS user Fixes Gitea UI actions for repositories tracking LFS files. Checks for minimum needed git version by parsing the semantic version string. * Hide LFS metafile diff from commit view, marking as binary * Show LFS notice if file in commit view is tracked * Add notbefore/nbf JWT claim * Correct lint suggestions - comments for structs and functions - Add comments to LFS model - Function comment for GetRandomBytesAsBase64 - LFS server function comments and lint variable suggestion * Move secret generation code out of conditional Ensures no LFS code may run with an empty secret * Do not hand out JWT tokens if LFS server support is disabled
8 years ago
9 years ago
Add support for federated avatars (#3320) * Add support for federated avatars Fixes #3105 Removes avatar fetching duplication code Adds an "Enable Federated Avatar" checkbox in user settings (defaults to unchecked) Moves avatar settings all in the same form, making local and remote avatars mutually exclusive Renames UploadAvatarForm to AvatarForm as it's not anymore only for uploading * Run gofmt on all modified files * Move Avatar form in its own page * Add go-libravatar dependency to vendor/ dir Hopefully helps with accepting the contribution. See also #3214 * Revert "Add go-libravatar dependency to vendor/ dir" This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82. * Make federated avatar setting a global configuration Removes the per-user setting * Move avatar handling back to base tool, disable federated avatar in offline mode * Format, handle error * Properly set fallback host * Use unsupported github.com mirror for importing go-libravatar * Remove comment showing life exists outside of github.com ... pity, but contribution would not be accepted otherwise * Use Combo for Get and Post methods over /avatar * FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR * Fix persistance of federated avatar lookup checkbox at install time * Federated Avatars -> Enable Federated Avatars * Use len(string) == 0 instead of string == "" * Move import line where it belong See https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md Pity the import url is still the unofficial one, but oh well... * Save a line (and waste much more expensive time) * Remove redundant parens * Remove an empty line * Remove empty lines * Reorder lines to make diff smaller * Remove another newline Unknwon review got me start a fight against newlines * Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE On re-reading the diff I figured what Unknwon meant here: https://github.com/gogits/gogs/pull/3320/files#r73741106 * Remove newlines that weren't there before my intervention
8 years ago
  1. app_desc = A painless, self-hosted Git service
  2. home = Home
  3. dashboard = Dashboard
  4. explore = Explore
  5. help = Help
  6. sign_in = Sign In
  7. sign_in_with = Sign In With
  8. sign_out = Sign Out
  9. sign_up = Register
  10. link_account = Link Account
  11. link_account_signin_or_signup = Sign in with existing credentials to link your existing account to this account. Or register a new one.
  12. register = Register
  13. website = Website
  14. version = Version
  15. page = Page
  16. template = Template
  17. language = Language
  18. notifications = Notifications
  19. create_new = Create…
  20. user_profile_and_more = Profile and Settings…
  21. signed_in_as = Signed in as
  22. enable_javascript = This website works better with JavaScript.
  23. username = Username
  24. email = Email Address
  25. password = Password
  26. re_type = Re-Type Password
  27. captcha = CAPTCHA
  28. twofa = Two-Factor Authentication
  29. twofa_scratch = Two-Factor Scratch Code
  30. passcode = Passcode
  31. u2f_insert_key = Insert your security key
  32. u2f_sign_in = Press the button on your security key. If your security key has no button, re-insert it.
  33. u2f_press_button = Please press the button on your security key…
  34. u2f_use_twofa = Use a two-factor code from your phone
  35. u2f_error = Could not read your security key.
  36. u2f_unsupported_browser = Your browser does not support U2F security keys.
  37. u2f_error_1 = An unknown error occurred. Please retry.
  38. u2f_error_2 = Please make sure to use the correct, encrypted (https://) URL.
  39. u2f_error_3 = The server could not process your request.
  40. u2f_error_4 = The security key is not permitted for this request. Please make sure that the key is not already registered.
  41. u2f_error_5 = Timeout reached before your key could be read. Please reload this page and retry.
  42. u2f_reload = Reload
  43. repository = Repository
  44. organization = Organization
  45. mirror = Mirror
  46. new_repo = New Repository
  47. new_migrate = New Migration
  48. new_mirror = New Mirror
  49. new_fork = New Repository Fork
  50. new_org = New Organization
  51. manage_org = Manage Organizations
  52. admin_panel = Site Administration
  53. account_settings = Account Settings
  54. settings = Settings
  55. your_profile = Profile
  56. your_starred = Starred
  57. your_settings = Settings
  58. all = All
  59. sources = Sources
  60. mirrors = Mirrors
  61. collaborative = Collaborative
  62. forks = Forks
  63. activities = Activities
  64. pull_requests = Pull Requests
  65. issues = Issues
  66. cancel = Cancel
  67. write = Write
  68. preview = Preview
  69. loading = Loading…
  70. [install]
  71. install = Installation
  72. title = Initial Configuration
  73. docker_helper = If you run Gitea inside Docker, please read the <a target="_blank" rel="noopener noreferrer" href="%s">documentation</a> before changing any settings.
  74. requite_db_desc = Gitea requires MySQL, PostgreSQL, MSSQL or SQLite3.
  75. db_title = Database Settings
  76. db_type = Database Type
  77. host = Host
  78. user = Username
  79. password = Password
  80. db_name = Database Name
  81. db_helper = Note to MySQL users: please use the InnoDB storage engine and the 'utf8_general_ci' character set.
  82. ssl_mode = SSL
  83. path = Path
  84. sqlite_helper = File path for the SQLite3 database.<br>Enter an absolute path if you run Gitea as a service.
  85. err_empty_db_path = The SQLite3 database path cannot be empty.
  86. no_admin_and_disable_registration = You cannot disable user self-registration without creating an administrator account.
  87. err_empty_admin_password = The administrator password cannot be empty.
  88. general_title = General Settings
  89. app_name = Site Title
  90. app_name_helper = You can enter your company name here.
  91. repo_path = Repository Root Path
  92. repo_path_helper = Remote Git repositories will be saved to this directory.
  93. lfs_path = Git LFS Root Path
  94. lfs_path_helper = Files tracked by Git LFS will be stored in this directory. Leave empty to disable.
  95. run_user = Run As Username
  96. run_user_helper = Enter the operating system username that Gitea runs as. Note that this user must have access to the repository root path.
  97. domain = SSH Server Domain
  98. domain_helper = Domain or host address for SSH clone URLs.
  99. ssh_port = SSH Server Port
  100. ssh_port_helper = Port number your SSH server listens on. Leave empty to disable.
  101. http_port = Gitea HTTP Listen Port
  102. http_port_helper = Port number the Giteas web server will listen on.
  103. app_url = Gitea Base URL
  104. app_url_helper = Base address for HTTP(S) clone URLs and email notifications.
  105. log_root_path = Log Path
  106. log_root_path_helper = Log files will be written to this directory.
  107. optional_title = Optional Settings
  108. email_title = Email Settings
  109. smtp_host = SMTP Host
  110. smtp_from = Send Email As
  111. smtp_from_helper = Email address Gitea will use. Enter a plain email address or use the "Name" <email@example.com> format.
  112. mailer_user = SMTP Username
  113. mailer_password = SMTP Password
  114. register_confirm = Require Email Confirmation to Register
  115. mail_notify = Enable Email Notifications
  116. server_service_title = Server and Third-Party Service Settings
  117. offline_mode = Enable Local Mode
  118. offline_mode_popup = Disable third-party content delivery networks and serve all resources locally.
  119. disable_gravatar = Disable Gravatar
  120. disable_gravatar_popup = Disable Gravatar and third-party avatar sources. A default avatar will be used unless a user locally uploads an avatar.
  121. federated_avatar_lookup = Enable Federated Avatars
  122. federated_avatar_lookup_popup = Enable federated avatar lookup using Libravatar.
  123. disable_registration = Disable Self-Registration
  124. disable_registration_popup = Disable user self-registration. Only administrators will be able to create new user accounts.
  125. allow_only_external_registration_popup = Allow Registration Only Through External Services
  126. openid_signin = Enable OpenID Sign-In
  127. openid_signin_popup = Enable user sign-in via OpenID.
  128. openid_signup = Enable OpenID Self-Registration
  129. openid_signup_popup = Enable OpenID-based user self-registration.
  130. enable_captcha = Enable CAPTCHA
  131. enable_captcha_popup = Require a CAPTCHA for user self-registration.
  132. require_sign_in_view = Require Sign-In to View Pages
  133. require_sign_in_view_popup = Limit page access to signed-in users. Visitors will only see the 'sign in' and registration pages.
  134. admin_setting_desc = Creating an administrator account is optional. The first registered user will automatically become an administrator.
  135. admin_title = Administrator Account Settings
  136. admin_name = Administrator Username
  137. admin_password = Password
  138. confirm_password = Confirm Password
  139. admin_email = Email Address
  140. install_btn_confirm = Install Gitea
  141. test_git_failed = Could not test 'git' command: %v
  142. sqlite3_not_available = This Gitea version does not support SQLite3. Please download the official binary version from %s (not the 'gobuild' version).
  143. invalid_db_setting = The database settings are invalid: %v
  144. invalid_repo_path = The repository root path is invalid: %v
  145. run_user_not_match = The 'run as' username is not the current username: %s -> %s
  146. save_config_failed = Failed to save configuration: %v
  147. invalid_admin_setting = Administrator account setting is invalid: %v
  148. install_success = Welcome! Thank you for choosing Gitea. Have fun and take care!
  149. invalid_log_root_path = The log path is invalid: %v
  150. default_keep_email_private = Hide Email Addresses by Default
  151. default_keep_email_private_popup = Hide email addresses of new user accounts by default.
  152. default_allow_create_organization = Allow Creation of Organizations by Default
  153. default_allow_create_organization_popup = Allow new user accounts to create organizations by default.
  154. default_enable_timetracking = Enable Time Tracking by Default
  155. default_enable_timetracking_popup = Enable time tracking for new repositories by default.
  156. no_reply_address = Hidden Email Domain
  157. no_reply_address_helper = Domain name for users with a hidden email address. For example, the username 'joe' will be logged in Git as 'joe@noreply.example.org' if the hidden email domain is set to 'noreply.example.org'.
  158. [home]
  159. uname_holder = Username or Email Address
  160. password_holder = Password
  161. switch_dashboard_context = Switch Dashboard Context
  162. my_repos = Repositories
  163. show_more_repos = Show more repositories…
  164. collaborative_repos = Collaborative Repositories
  165. my_orgs = My Organizations
  166. my_mirrors = My Mirrors
  167. view_home = View %s
  168. search_repos = Find a repository…
  169. issues.in_your_repos = In your repositories
  170. [explore]
  171. repos = Repositories
  172. users = Users
  173. organizations = Organizations
  174. search = Search
  175. code = Code
  176. repo_no_results = No matching repositories found.
  177. user_no_results = No matching users found.
  178. org_no_results = No matching organizations found.
  179. code_no_results = No source code matching your search term found.
  180. code_search_results = Search results for '%s'
  181. [auth]
  182. create_new_account = Register Account
  183. register_helper_msg = Already have an account? Sign in now!
  184. social_register_helper_msg = Already have an account? Link it now!
  185. disable_register_prompt = Registration is disabled. Please contact your site administrator.
  186. disable_register_mail = Email confirmation for registration is disabled.
  187. remember_me = Remember Me
  188. forgot_password_title= Forgot Password
  189. forgot_password = Forgot password?
  190. sign_up_now = Need an account? Register now.
  191. sign_up_successful = Account was successfully created.
  192. confirmation_mail_sent_prompt = A new confirmation email has been sent to <b>%s</b>. Please check your inbox within the next %s to complete the registration process.
  193. must_change_password = Update your password
  194. allow_password_change = Require user to change password (recommended)
  195. reset_password_mail_sent_prompt = A confirmation email has been sent to <b>%s</b>. Please check your inbox within the next %s to complete the password reset process.
  196. active_your_account = Activate Your Account
  197. account_activated = Account has been activated
  198. prohibit_login = Sign In Prohibited
  199. prohibit_login_desc = Your account is prohibited to sign in, please contact your site administrator.
  200. resent_limit_prompt = You have already requested an activation email recently. Please wait 3 minutes and try again.
  201. has_unconfirmed_mail = Hi %s, you have an unconfirmed email address (<b>%s</b>). If you haven't received a confirmation email or need to resend a new one, please click on the button below.
  202. resend_mail = Click here to resend your activation email
  203. email_not_associate = The email address is not associated with any account.
  204. send_reset_mail = Click here to resend your password reset email
  205. reset_password = Reset Your Password
  206. invalid_code = Your confirmation code is invalid or has expired.
  207. reset_password_helper = Click here to reset your password
  208. password_too_short = Password length cannot be less than %d characters.
  209. non_local_account = Non-local users can not update their password through the Gitea web interface.
  210. verify = Verify
  211. scratch_code = Scratch code
  212. use_scratch_code = Use a scratch code
  213. twofa_scratch_used = You have used your scratch code. You have been redirected to the two-factor settings page so you may remove your device enrollment or generate a new scratch code.
  214. twofa_passcode_incorrect = Your passcode is incorrect. If you misplaced your device, use your scratch code to sign in.
  215. twofa_scratch_token_incorrect = Your scratch code is incorrect.
  216. login_userpass = Sign In
  217. login_openid = OpenID
  218. openid_connect_submit = Connect
  219. openid_connect_title = Connect to an existing account
  220. openid_connect_desc = The chosen OpenID URI is unknown. Associate it with a new account here.
  221. openid_register_title = Create new account
  222. openid_register_desc = The chosen OpenID URI is unknown. Associate it with a new account here.
  223. openid_signin_desc = Enter your OpenID URI. For example: https://anne.me, bob.openid.org.cn or gnusocial.net/carry.
  224. disable_forgot_password_mail = Password reset is disabled. Please contact your site administrator.
  225. [mail]
  226. activate_account = Please activate your account
  227. activate_email = Verify your email address
  228. reset_password = Reset your password
  229. register_success = Registration successful
  230. register_notify = Welcome to Gitea
  231. [modal]
  232. yes = Yes
  233. no = No
  234. modify = Update
  235. [form]
  236. UserName = Username
  237. RepoName = Repository name
  238. Email = Email address
  239. Password = Password
  240. Retype = Re-Type Password
  241. SSHTitle = SSH key name
  242. HttpsUrl = HTTPS URL
  243. PayloadUrl = Payload URL
  244. TeamName = Team name
  245. AuthName = Authorization name
  246. AdminEmail = Admin email
  247. NewBranchName = New branch name
  248. CommitSummary = Commit summary
  249. CommitMessage = Commit message
  250. CommitChoice = Commit choice
  251. TreeName = File path
  252. Content = Content
  253. require_error = ` cannot be empty.`
  254. alpha_dash_error = ` should contain only alphanumeric, dash ('-') and underscore ('_') characters.`
  255. alpha_dash_dot_error = ` should contain only alphanumeric, dash ('-'), underscore ('_') and dot ('.') characters.`
  256. git_ref_name_error = ` must be a well-formed Git reference name.`
  257. size_error = ` must be size %s.`
  258. min_size_error = ` must contain at least %s characters.`
  259. max_size_error = ` must contain at most %s characters.`
  260. email_error = ` is not a valid email address.`
  261. url_error = ` is not a valid URL.`
  262. include_error = ` must contain substring '%s'.`
  263. unknown_error = Unknown error:
  264. captcha_incorrect = The CAPTCHA code is incorrect.
  265. password_not_match = The passwords do not match.
  266. username_been_taken = The username is already taken.
  267. repo_name_been_taken = The repository name is already used.
  268. org_name_been_taken = The organization name is already taken.
  269. team_name_been_taken = The team name is already taken.
  270. team_no_units_error = Allow access to at least one repository section.
  271. email_been_used = The email address is already used.
  272. openid_been_used = The OpenID address '%s' is already used.
  273. username_password_incorrect = Username or password is incorrect.
  274. enterred_invalid_repo_name = The repository name you entered is incorrect.
  275. enterred_invalid_owner_name = The new owner name is not valid.
  276. enterred_invalid_password = The password you entered is incorrect.
  277. user_not_exist = The user does not exist.
  278. last_org_owner = You cannot remove the last user from the 'owners' team. There must be at least one owner in any given team.
  279. cannot_add_org_to_team = An organization cannot be added as a team member.
  280. invalid_ssh_key = Can not verify your SSH key: %s
  281. invalid_gpg_key = Can not verify your GPG key: %s
  282. unable_verify_ssh_key = "Can not verify the SSH key; double-check it for mistakes."
  283. auth_failed = Authentication failed: %v
  284. still_own_repo = "Your account owns one or more repositories; delete or transfer them first."
  285. still_has_org = "Your account is a member of one or more organizations; leave them first."
  286. org_still_own_repo = "This organization still owns one or more repositories; delete or transfer them first."
  287. target_branch_not_exist = Target branch does not exist.
  288. [user]
  289. change_avatar = Change your avatar…
  290. join_on = Joined on
  291. repositories = Repositories
  292. activity = Public Activity
  293. followers = Followers
  294. starred = Starred Repositories
  295. following = Following
  296. follow = Follow
  297. unfollow = Unfollow
  298. form.name_reserved = The username '%s' is reserved.
  299. form.name_pattern_not_allowed = The pattern '%s' is not allowed in a username.
  300. [settings]
  301. profile = Profile
  302. account = Account
  303. password = Password
  304. security = Security
  305. avatar = Avatar
  306. ssh_gpg_keys = SSH / GPG Keys
  307. social = Social Accounts
  308. applications = Applications
  309. orgs = Manage Organizations
  310. repos = Repositories
  311. delete = Delete Account
  312. twofa = Two-Factor Authentication
  313. account_link = Linked Accounts
  314. organization = Organizations
  315. uid = Uid
  316. u2f = Security Keys
  317. public_profile = Public Profile
  318. profile_desc = Your email address will be used for notifications and other operations.
  319. password_username_disabled = Non-local users are not allowed to change their username. Please contact your site administrator for more details.
  320. full_name = Full Name
  321. website = Website
  322. location = Location
  323. update_profile = Update Profile
  324. update_profile_success = Your profile has been updated.
  325. change_username = Your username has been changed.
  326. change_username_prompt = Note: username changes also change your account URL.
  327. continue = Continue
  328. cancel = Cancel
  329. language = Language
  330. lookup_avatar_by_mail = Look Up Avatar by Email Address
  331. federated_avatar_lookup = Federated Avatar Lookup
  332. enable_custom_avatar = Use Custom Avatar
  333. choose_new_avatar = Choose new avatar
  334. update_avatar = Update Avatar
  335. delete_current_avatar = Delete Current Avatar
  336. uploaded_avatar_not_a_image = The uploaded file is not an image.
  337. update_avatar_success = Your avatar has been updated.
  338. change_password = Update Password
  339. old_password = Current Password
  340. new_password = New Password
  341. retype_new_password = Re-Type New Password
  342. password_incorrect = The current password is incorrect.
  343. change_password_success = Your password has been updated. Sign in using your new password from now on.
  344. password_change_disabled = Non-local users can not update their password through the Gitea web interface.
  345. emails = Email Addresses
  346. manage_emails = Manage Email Addresses
  347. manage_openid = Manage OpenID Addresses
  348. email_desc = Your primary email address will be used for notifications and other operations.
  349. primary = Primary
  350. primary_email = Make Primary
  351. delete_email = Remove
  352. email_deletion = Remove Email Address
  353. email_deletion_desc = The email address and related information will be removed from your account. Git commits by this email address will remain unchanged. Continue?
  354. email_deletion_success = The email address has been removed.
  355. openid_deletion = Remove OpenID Address
  356. openid_deletion_desc = Removing this OpenID address from your account will prevent you from signing in with it. Continue?
  357. openid_deletion_success = The OpenID address has been removed.
  358. add_new_email = Add New Email Address
  359. add_new_openid = Add New OpenID URI
  360. add_email = Add Email Address
  361. add_openid = Add OpenID URI
  362. add_email_confirmation_sent = A confirmation email has been sent to '%s'. Please check your inbox within the next %s to confirm your email address.
  363. add_email_success = The new email address has been added.
  364. add_openid_success = The new OpenID address has been added.
  365. keep_email_private = Hide Email Address
  366. keep_email_private_popup = Your email address will be hidden from other users.
  367. openid_desc = OpenID lets you delegate authentication to an external provider.
  368. manage_ssh_keys = Manage SSH Keys
  369. manage_gpg_keys = Manage GPG Keys
  370. add_key = Add Key
  371. ssh_desc = These public SSH keys are associated with your account. The corresponding private keys allow full access to your repositories.
  372. gpg_desc = These public GPG keys are associated with your account. Keep your private keys safe as they allow commits to be verified.
  373. ssh_helper = <strong>Need help?</strong> Have a look at GitHub's guide to <a href="%s">create your own SSH keys</a> or solve <a href="%s">common problems</a> you may encounter using SSH.
  374. gpg_helper = <strong>Need help?</strong> Have a look at GitHub's guide <a href="%s">about GPG</a>.
  375. add_new_key = Add SSH Key
  376. add_new_gpg_key = Add GPG Key
  377. ssh_key_been_used = This SSH key is already added to your account.
  378. ssh_key_name_used = An SSH key with same name is already added to your account.
  379. gpg_key_id_used = A public GPG key with same ID already exists.
  380. gpg_no_key_email_found = This GPG key is not usable with any email address associated with your account.
  381. subkeys = Subkeys
  382. key_id = Key ID
  383. key_name = Key Name
  384. key_content = Content
  385. add_key_success = The SSH key '%s' has been added.
  386. add_gpg_key_success = The GPG key '%s' has been added.
  387. delete_key = Remove
  388. ssh_key_deletion = Remove SSH Key
  389. gpg_key_deletion = Remove GPG Key
  390. ssh_key_deletion_desc = Removing an SSH key revokes its access to your account. Continue?
  391. gpg_key_deletion_desc = Removing a GPG key un-verifies commits signed by it. Continue?
  392. ssh_key_deletion_success = The SSH key has been removed.
  393. gpg_key_deletion_success = The GPG key has been removed.
  394. add_on = Added on
  395. valid_until = Valid until
  396. valid_forever = Valid forever
  397. last_used = Last used on
  398. no_activity = No recent activity
  399. can_read_info = Read
  400. can_write_info = Write
  401. key_state_desc = This key has been used in the last 7 days
  402. token_state_desc = This token has been used in the last 7 days
  403. show_openid = Show on profile
  404. hide_openid = Hide from profile
  405. ssh_disabled = SSH Disabled
  406. manage_social = Manage Associated Social Accounts
  407. social_desc = These social accounts are linked to your Gitea account. Make sure you recognize all of them as they can be used to sign in to your Gitea account.
  408. unbind = Unlink
  409. unbind_success = The social account has been unlinked from your Gitea account.
  410. manage_access_token = Manage Access Tokens
  411. generate_new_token = Generate New Token
  412. tokens_desc = These tokens grant access to your account using the Gitea API.
  413. new_token_desc = Applications using a token have full access to your account.
  414. token_name = Token Name
  415. generate_token = Generate Token
  416. generate_token_success = Your new token has been generated. Copy it now as it will not be shown again.
  417. delete_token = Delete
  418. access_token_deletion = Delete Access Token
  419. access_token_deletion_desc = Deleting a token will revoke access to your account for applications using it. Continue?
  420. delete_token_success = The token has been deleted. Applications using it no longer have access to your account.
  421. twofa_desc = Two-factor authentication enhances the security of your account.
  422. twofa_is_enrolled = Your account is currently <strong>enrolled</strong> in two-factor authentication.
  423. twofa_not_enrolled = Your account is not currently enrolled in two-factor authentication.
  424. twofa_disable = Disable Two-Factor Authentication
  425. twofa_scratch_token_regenerate = Regenerate Scratch Token
  426. twofa_scratch_token_regenerated = Your scratch token is now %s. Store it in a safe place.
  427. twofa_enroll = Enroll into Two-Factor Authentication
  428. twofa_disable_note = You can disable two-factor authentication if needed.
  429. twofa_disable_desc = Disabling two-factor authentication will make your account less secure. Continue?
  430. regenerate_scratch_token_desc = If you misplaced your scratch token or have already used it to sign in you can reset it here.
  431. twofa_disabled = Two-factor authentication has been disabled.
  432. scan_this_image = Scan this image with your authentication application:
  433. or_enter_secret = Or enter the secret: %s
  434. then_enter_passcode = And enter the passcode shown in the application:
  435. passcode_invalid = The passcode is incorrect. Try again.
  436. twofa_enrolled = Your account has been enrolled into two-factor authentication. Store your scratch token (%s) in a safe place as it is only shown once!
  437. u2f_desc = Security keys are hardware devices containing cryptographic keys. They can be used for two-factor authentication. Security keys must support the <a rel="noreferrer" href="https://fidoalliance.org/">FIDO U2F</a> standard.
  438. u2f_require_twofa = Your account must be enrolled in two-factor authentication to use security keys.
  439. u2f_register_key = Add Security Key
  440. u2f_nickname = Nickname
  441. u2f_press_button = Press the button on your security key to register it.
  442. u2f_delete_key = Remove Security Key
  443. u2f_delete_key_desc = If you remove a security key you can no longer sign in with it. Continue?
  444. manage_account_links = Manage Linked Accounts
  445. manage_account_links_desc = These external accounts are linked to your Gitea account.
  446. account_links_not_available = There are currently no external accounts linked to your Gitea account.
  447. remove_account_link = Remove Linked Account
  448. remove_account_link_desc = Removing a linked account will revoke its access to your Gitea account. Continue?
  449. remove_account_link_success = The linked account has been removed.
  450. orgs_none = You are not a member of any organizations.
  451. repos_none = You do not own any repositories
  452. delete_account = Delete Your Account
  453. delete_prompt = This operation will permanently delete your user account. It <strong>CAN NOT</strong> be undone.
  454. confirm_delete_account = Confirm Deletion
  455. delete_account_title = Delete User Account
  456. delete_account_desc = Are you sure you want to permanently delete this user account?
  457. [repo]
  458. owner = Owner
  459. repo_name = Repository Name
  460. repo_name_helper = Good repository names use short, memorable and unique keywords.
  461. visibility = Visibility
  462. visibility_helper = Make Repository Private
  463. visibility_helper_forced = Your site administrator forces new repositories to be private.
  464. visibility_fork_helper = (Changing this will affect all forks.)
  465. clone_helper = Need help cloning? Visit <a target="_blank" rel="noopener noreferrer" href="%s">Help</a>.
  466. fork_repo = Fork Repository
  467. fork_from = Fork From
  468. fork_visibility_helper = The visibility of a forked repository cannot be changed.
  469. repo_desc = Description
  470. repo_lang = Language
  471. repo_gitignore_helper = Select .gitignore templates.
  472. license = License
  473. license_helper = Select a license file.
  474. readme = README
  475. readme_helper = Select a README file template.
  476. auto_init = Initialize Repository (Adds .gitignore, License and README)
  477. create_repo = Create Repository
  478. default_branch = Default Branch
  479. mirror_prune = Prune
  480. mirror_prune_desc = Remove obsolete remote-tracking references
  481. mirror_interval = Mirror Interval (valid time units are 'h', 'm', 's')
  482. mirror_interval_invalid = The mirror interval is not valid.
  483. mirror_address = Clone From URL
  484. mirror_address_desc = Include any required authorization credentials in the URL.
  485. mirror_last_synced = Last Synchronized
  486. watchers = Watchers
  487. stargazers = Stargazers
  488. forks = Forks
  489. pick_reaction = Pick your reaction
  490. reactions_more = and %d more
  491. form.reach_limit_of_creation = You have already reached your limit of %d repositories.
  492. form.name_reserved = The repository name '%s' is reserved.
  493. form.name_pattern_not_allowed = The pattern '%s' is not allowed in a repository name.
  494. need_auth = Clone Authorization
  495. migrate_type = Migration Type
  496. migrate_type_helper = This repository will be a <span class="text blue">mirror</span>
  497. migrate_repo = Migrate Repository
  498. migrate.clone_address = Migrate / Clone From URL
  499. migrate.clone_address_desc = The HTTP(S) or Git 'clone' URL of an existing repository
  500. migrate.clone_local_path = or a local server path
  501. migrate.permission_denied = You are not allowed to import local repositories.
  502. migrate.invalid_local_path = "The local path is invalid. It does not exist or is not a directory."
  503. migrate.failed = Migration failed: %v
  504. migrate.lfs_mirror_unsupported = Mirroring LFS objects is not supported - use 'git lfs fetch --all' and 'git lfs push --all' instead.
  505. mirror_from = mirror of
  506. forked_from = forked from
  507. fork_from_self = You cannot fork a repository you own.
  508. copy_link = Copy
  509. copy_link_success = Link has been copied
  510. copy_link_error = Use ⌘C or Ctrl-C to copy
  511. copied = Copied OK
  512. unwatch = Unwatch
  513. watch = Watch
  514. unstar = Unstar
  515. star = Star
  516. fork = Fork
  517. download_archive = Download Repository
  518. no_desc = No Description
  519. quick_guide = Quick Guide
  520. clone_this_repo = Clone this repository
  521. create_new_repo_command = Creating a new repository on the command line
  522. push_exist_repo = Pushing an existing repository from the command line
  523. bare_message = This repository does not contain any content.
  524. code = Code
  525. code.desc = Access source code, files, commits and branches.
  526. branch = Branch
  527. tree = Tree
  528. filter_branch_and_tag = Filter branch or tag
  529. branches = Branches
  530. tags = Tags
  531. issues = Issues
  532. pulls = Pull Requests
  533. labels = Labels
  534. milestones = Milestones
  535. commits = Commits
  536. commit = Commit
  537. releases = Releases
  538. file_raw = Raw
  539. file_history = History
  540. file_view_raw = View Raw
  541. file_permalink = Permalink
  542. file_too_large = The file is too large to be shown.
  543. video_not_supported_in_browser = Your browser does not support the HTML5 'video' tag.
  544. stored_lfs = Stored with Git LFS
  545. commit_graph = Commit Graph
  546. editor.new_file = New File
  547. editor.upload_file = Upload File
  548. editor.edit_file = Edit File
  549. editor.preview_changes = Preview Changes
  550. editor.cannot_edit_non_text_files = Binary files cannot be edited in the web interface.
  551. editor.edit_this_file = Edit File
  552. editor.must_be_on_a_branch = You must be on a branch to make or propose changes to this file.
  553. editor.fork_before_edit = You must fork this repository to make or propose changes to this file.
  554. editor.delete_this_file = Delete File
  555. editor.must_have_write_access = You must have write access to make or propose changes to this file.
  556. editor.file_delete_success = File '%s' has been deleted.
  557. editor.name_your_file = Name your file…
  558. editor.filename_help = Add a directory by typing its name followed by a slash ('/'). Remove a directory by typing backspace at the beginning of the input field.
  559. editor.or = or
  560. editor.cancel_lower = Cancel
  561. editor.commit_changes = Commit Changes
  562. editor.add_tmpl = Add '%s/<filename>'
  563. editor.add = Add '%s'
  564. editor.update = Update '%s'
  565. editor.delete = Delete '%s'
  566. editor.commit_message_desc = Add an optional extended description…
  567. editor.commit_directly_to_this_branch = Commit directly to the <strong class="branch-name">%s</strong> branch.
  568. editor.create_new_branch = Create a <strong>new branch</strong> for this commit and start a pull request.
  569. editor.new_branch_name_desc = New branch name…
  570. editor.cancel = Cancel
  571. editor.filename_cannot_be_empty = The filename cannot be empty.
  572. editor.branch_already_exists = Branch '%s' already exists in this repository.
  573. editor.directory_is_a_file = Directory name '%s' is already used as a filename in this repository.
  574. editor.file_is_a_symlink = '%s' is a symbolic link. Symbolic links cannot be edited in the web editor
  575. editor.filename_is_a_directory = Filename '%s' is already used as a directory name in this repository.
  576. editor.file_editing_no_longer_exists = The file being edited, '%s', no longer exists in this repository.
  577. editor.file_changed_while_editing = The file contents have changed since you started editing. <a target="_blank" rel="noopener noreferrer" href="%s">Click here</a> to see them or <strong>Commit Changes again</strong> to overwrite them.
  578. editor.file_already_exists = A file named '%s' already exists in this repository.
  579. editor.no_changes_to_show = There are no changes to show.
  580. editor.fail_to_update_file = Failed to update/create file '%s' with error: %v
  581. editor.add_subdir = Add a directory…
  582. editor.unable_to_upload_files = Failed to upload files to '%s' with error: %v
  583. editor.upload_files_to_dir = Upload files to '%s'
  584. editor.cannot_commit_to_protected_branch = Cannot commit to protected branch '%s'.
  585. commits.desc = Browse source code change history.
  586. commits.commits = Commits
  587. commits.search = Search commits…
  588. commits.find = Search
  589. commits.search_all = All Branches
  590. commits.author = Author
  591. commits.message = Message
  592. commits.date = Date
  593. commits.older = Older
  594. commits.newer = Newer
  595. commits.signed_by = Signed by
  596. commits.gpg_key_id = GPG Key ID
  597. ext_issues = Ext. Issues
  598. ext_issues.desc = Link to an external issue tracker.
  599. issues.desc = Organize bug reports, tasks and milestones.
  600. issues.new = New Issue
  601. issues.new.labels = Labels
  602. issues.new.no_label = No Label
  603. issues.new.clear_labels = Clear labels
  604. issues.new.milestone = Milestone
  605. issues.new.no_milestone = No Milestone
  606. issues.new.clear_milestone = Clear milestone
  607. issues.new.open_milestone = Open Milestones
  608. issues.new.closed_milestone = Closed Milestones
  609. issues.new.assignees = Assignees
  610. issues.new.clear_assignees = Clear assignees
  611. issues.new.no_assignees = No Assignees
  612. issues.no_ref = No Branch/Tag Specified
  613. issues.create = Create Issue
  614. issues.new_label = New Label
  615. issues.new_label_placeholder = Label name
  616. issues.new_label_desc_placeholder = Description
  617. issues.create_label = Create Label
  618. issues.label_templates.title = Load a predefined set of labels
  619. issues.label_templates.info = No labels exist yet. Create a label with 'New Label' or use a predefined label set:
  620. issues.label_templates.helper = Select a label set
  621. issues.label_templates.use = Use Label Set
  622. issues.label_templates.fail_to_load_file = Failed to load label template file '%s': %v
  623. issues.add_label_at = added the <div class="ui label" style="color: %s\; background-color: %s">%s</div> label %s
  624. issues.remove_label_at = removed the <div class="ui label" style="color: %s\; background-color: %s">%s</div> label %s
  625. issues.add_milestone_at = `added this to the <b>%s</b> milestone %s`
  626. issues.change_milestone_at = `modified the milestone from <b>%s</b> to <b>%s</b> %s`
  627. issues.remove_milestone_at = `removed this from the <b>%s</b> milestone %s`
  628. issues.deleted_milestone = `(deleted)`
  629. issues.self_assign_at = `self-assigned this %s`
  630. issues.add_assignee_at = `was assigned by <b>%s</b> %s`
  631. issues.remove_assignee_at = `removed their assignment %s`
  632. issues.change_title_at = `changed title from <b>%s</b> to <b>%s</b> %s`
  633. issues.delete_branch_at = `deleted branch <b>%s</b> %s`
  634. issues.open_tab = %d Open
  635. issues.close_tab = %d Closed
  636. issues.filter_label = Label
  637. issues.filter_label_no_select = All labels
  638. issues.filter_milestone = Milestone
  639. issues.filter_milestone_no_select = All milestones
  640. issues.filter_assignee = Assignee
  641. issues.filter_assginee_no_select = All assignees
  642. issues.filter_type = Type
  643. issues.filter_type.all_issues = All issues
  644. issues.filter_type.assigned_to_you = Assigned to you
  645. issues.filter_type.created_by_you = Created by you
  646. issues.filter_type.mentioning_you = Mentioning you
  647. issues.filter_sort = Sort
  648. issues.filter_sort.latest = Newest
  649. issues.filter_sort.oldest = Oldest
  650. issues.filter_sort.recentupdate = Recently updated
  651. issues.filter_sort.leastupdate = Least recently updated
  652. issues.filter_sort.mostcomment = Most commented
  653. issues.filter_sort.leastcomment = Least commented
  654. issues.filter_sort.moststars = Most stars
  655. issues.filter_sort.feweststars = Fewest stars
  656. issues.filter_sort.mostforks = Most forks
  657. issues.filter_sort.fewestforks = Fewest forks
  658. issues.action_open = Open
  659. issues.action_close = Close
  660. issues.action_label = Label
  661. issues.action_milestone = Milestone
  662. issues.action_milestone_no_select = No milestone
  663. issues.action_assignee = Assignee
  664. issues.action_assignee_no_select = No assignee
  665. issues.opened_by = opened %[1]s by <a href="%[2]s">%[3]s</a>
  666. issues.opened_by_fake = opened %[1]s by %[2]s
  667. issues.previous = Previous
  668. issues.next = Next
  669. issues.open_title = Open
  670. issues.closed_title = Closed
  671. issues.num_comments = %d comments
  672. issues.commented_at = `commented <a href="#%s">%s</a>`
  673. issues.delete_comment_confirm = Are you sure you want to delete this comment?
  674. issues.no_content = There is no content yet.
  675. issues.close_issue = Close
  676. issues.close_comment_issue = Comment and Close
  677. issues.reopen_issue = Reopen
  678. issues.reopen_comment_issue = Comment and Reopen
  679. issues.create_comment = Comment
  680. issues.closed_at = `closed <a id="%[1]s" href="#%[1]s">%[2]s</a>`
  681. issues.reopened_at = `reopened <a id="%[1]s" href="#%[1]s">%[2]s</a>`
  682. issues.commit_ref_at = `referenced this issue from a commit <a id="%[1]s" href="#%[1]s">%[2]s</a>`
  683. issues.poster = Poster
  684. issues.collaborator = Collaborator
  685. issues.owner = Owner
  686. issues.sign_in_require_desc = <a href="%s">Sign in</a> to join this conversation.
  687. issues.edit = Edit
  688. issues.cancel = Cancel
  689. issues.save = Save
  690. issues.label_title = Label name
  691. issues.label_description = Label description
  692. issues.label_color = Label color
  693. issues.label_count = %d labels
  694. issues.label_open_issues = %d open issues
  695. issues.label_edit = Edit
  696. issues.label_delete = Delete
  697. issues.label_modify = Edit Label
  698. issues.label_deletion = Delete Label
  699. issues.label_deletion_desc = Deleting a label removes it from all issues. Continue?
  700. issues.label_deletion_success = The label has been deleted.
  701. issues.label.filter_sort.alphabetically = Alphabetically
  702. issues.label.filter_sort.reverse_alphabetically = Reverse alphabetically
  703. issues.label.filter_sort.by_size = Size
  704. issues.label.filter_sort.reverse_by_size = Reverse size
  705. issues.num_participants = %d Participants
  706. issues.attachment.open_tab = `Click to see "%s" in a new tab`
  707. issues.attachment.download = `Click to download "%s"`
  708. issues.subscribe = Subscribe
  709. issues.unsubscribe = Unsubscribe
  710. issues.tracker = Time Tracker
  711. issues.start_tracking_short = Start
  712. issues.start_tracking = Start Time Tracking
  713. issues.start_tracking_history = `started working %s`
  714. issues.tracking_already_started = `You have already started time tracking on this <a href="%s">issue</a>!`
  715. issues.stop_tracking = Stop
  716. issues.stop_tracking_history = `stopped working %s`
  717. issues.add_time = Manually Add Time
  718. issues.add_time_short = Add Time
  719. issues.add_time_cancel = Cancel
  720. issues.add_time_history = `added spent time %s`
  721. issues.add_time_hours = Hours
  722. issues.add_time_minutes = Minutes
  723. issues.add_time_sum_to_small = No time was entered.
  724. issues.cancel_tracking = Cancel
  725. issues.cancel_tracking_history = `cancelled time tracking %s`
  726. issues.time_spent_total = Total Time Spent
  727. issues.time_spent_from_all_authors = `Total Time Spent: %s`
  728. issues.due_date = Due Date
  729. issues.invalid_due_date_format = "Due date format must be 'yyyy-mm-dd'."
  730. issues.error_modifying_due_date = "Failed to modify the due date."
  731. issues.error_removing_due_date = "Failed to remove the due date."
  732. issues.due_date_form = "yyyy-mm-dd"
  733. issues.due_date_form_add = "Add due date"
  734. issues.due_date_form_edit = "Edit"
  735. issues.due_date_form_remove = "Remove"
  736. issues.due_date_not_writer = "You need repository write access to update an issue's due date."
  737. issues.due_date_not_set = "No due date set."
  738. issues.due_date_added = "added the due date %s %s"
  739. issues.due_date_modified = "modified the due date to %s from %s %s"
  740. issues.due_date_remove = "removed the due date %s %s"
  741. issues.due_date_overdue = "Overdue"
  742. issues.due_date_invalid = "The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'."
  743. issues.dependency.title = Dependencies
  744. issues.dependency.issue_no_dependencies = This issue currently doesn't have any dependencies.
  745. issues.dependency.pr_no_dependencies = This pull request currently doesn't have any dependencies.
  746. issues.dependency.add = Add dependency…
  747. issues.dependency.cancel = Cancel
  748. issues.dependency.remove = Remove
  749. issues.dependency.remove_info = Remove this dependency
  750. issues.dependency.added_dependency = `<a href="%[1]s">%[2]s</a> added a new dependency %[3]s`
  751. issues.dependency.removed_dependency = `<a href="%[1]s">%[2]s</a> removed a dependency %[3]s`
  752. issues.dependency.issue_closing_blockedby = Closing this pull request is blocked by the following issues
  753. issues.dependency.pr_closing_blockedby = Closing this issue is blocked by the following issues
  754. issues.dependency.issue_close_blocks = This issue blocks closing of the following issues
  755. issues.dependency.pr_close_blocks = This pull request blocks closing of the following issues
  756. issues.dependency.issue_close_blocked = You need to close all issues blocking this issue before you can close it.
  757. issues.dependency.pr_close_blocked = You need to close all issues blocking this pull request before you can merge it.
  758. issues.dependency.blocks_short = Blocks
  759. issues.dependency.blocked_by_short = Depends on
  760. issues.dependency.remove_header = Remove Dependency
  761. issues.dependency.issue_remove_text = This will remove the dependency from this issue. Continue?
  762. issues.dependency.pr_remove_text = This will remove the dependency from this pull request. Continue?
  763. issues.dependency.setting = Enable Dependencies For Issues and Pull Requests
  764. issues.dependency.add_error_same_issue = You cannot make an issue depend on itself.
  765. issues.dependency.add_error_dep_issue_not_exist = Dependent issue does not exist.
  766. issues.dependency.add_error_dep_not_exist = Dependency does not exist.
  767. issues.dependency.add_error_dep_exists = Dependency already exists.
  768. issues.dependency.add_error_cannot_create_circular = You cannot create a dependency with two issues blocking each other.
  769. issues.dependency.add_error_dep_not_same_repo = Both issues must be in the same repository.
  770. issues.review.self.approval = You cannot approve your own pull request.
  771. issues.review.self.rejection = You cannot request changes on your own pull request.
  772. issues.review.approve = "approved these changes %s"
  773. issues.review.comment = "reviewed %s"
  774. issues.review.content.empty = You need to leave a comment indicating the requested change(s).
  775. issues.review.reject = "rejected these changes %s"
  776. issues.review.pending = Pending
  777. issues.review.review = Review
  778. issues.review.show_outdated = Show outdated
  779. issues.review.hide_outdated = Hide outdated
  780. pulls.desc = Enable merge requests and code reviews.
  781. pulls.new = New Pull Request
  782. pulls.compare_changes = New Pull Request
  783. pulls.compare_changes_desc = Select the branch to merge into and the branch to pull from.
  784. pulls.compare_base = merge into
  785. pulls.compare_compare = pull from
  786. pulls.filter_branch = Filter branch
  787. pulls.no_results = No results found.
  788. pulls.nothing_to_compare = These branches are equal. There is no need to create a pull request.
  789. pulls.has_pull_request = `A pull request between these branches already exists: <a href="%[1]s/pulls/%[3]d">%[2]s#%[3]d</a>`
  790. pulls.create = Create Pull Request
  791. pulls.title_desc = wants to merge %[1]d commits from <code>%[2]s</code> into <code>%[3]s</code>
  792. pulls.merged_title_desc = merged %[1]d commits from <code>%[2]s</code> into <code>%[3]s</code> %[4]s
  793. pulls.tab_conversation = Conversation
  794. pulls.tab_commits = Commits
  795. pulls.tab_files = Files Changed
  796. pulls.reopen_to_merge = Please reopen this pull request to perform a merge.
  797. pulls.merged = Merged
  798. pulls.has_merged = The pull request has been merged.
  799. pulls.title_wip_desc = `<a href="#">Start the title with <strong>%s</strong></a> to prevent the pull request from being merged accidentally.`
  800. pulls.cannot_merge_work_in_progress = This pull request is marked as a work in progress. Remove the <strong>%s</strong> prefix from the title when it's ready
  801. pulls.data_broken = This pull request is broken due to missing fork information.
  802. pulls.is_checking = "Merge conflict checking is in progress. Try again in few moments."
  803. pulls.can_auto_merge_desc = This pull request can be merged automatically.
  804. pulls.cannot_auto_merge_desc = This pull request cannot be merged automatically due to conflicts.
  805. pulls.cannot_auto_merge_helper = Merge manually to resolve the conflicts.
  806. pulls.no_merge_desc = This pull request cannot be merged because all repository merge options are disabled.
  807. pulls.no_merge_helper = Enable merge options in the repository settings or merge the pull request manually.
  808. pulls.no_merge_wip = This pull request can not be merged because it is marked as being a work in progress.
  809. pulls.merge_pull_request = Merge Pull Request
  810. pulls.rebase_merge_pull_request = Rebase and Merge
  811. pulls.squash_merge_pull_request = Squash and Merge
  812. pulls.invalid_merge_option = You cannot use this merge option for this pull request.
  813. pulls.open_unmerged_pull_exists = `You cannot perform a reopen operation because there is a pending pull request (#%d) with identical properties.`
  814. milestones.new = New Milestone
  815. milestones.open_tab = %d Open
  816. milestones.close_tab = %d Closed
  817. milestones.closed = Closed %s
  818. milestones.no_due_date = No due date
  819. milestones.open = Open
  820. milestones.close = Close
  821. milestones.new_subheader = Milestones organize issues and track progress.
  822. milestones.create = Create Milestone
  823. milestones.title = Title
  824. milestones.desc = Description
  825. milestones.due_date = Due Date (optional)
  826. milestones.clear = Clear
  827. milestones.invalid_due_date_format = "Due date format must be 'yyyy-mm-dd'."
  828. milestones.create_success = The milestone '%s' has been created.
  829. milestones.edit = Edit Milestone
  830. milestones.edit_subheader = Milestones organize issues and track progress.
  831. milestones.cancel = Cancel
  832. milestones.modify = Update Milestone
  833. milestones.edit_success = Milestone '%s' has been updated.
  834. milestones.deletion = Delete Milestone
  835. milestones.deletion_desc = Deleting a milestone removes it from all related issues. Continue?
  836. milestones.deletion_success = The milestone has been deleted.
  837. milestones.filter_sort.closest_due_date = Closest due date
  838. milestones.filter_sort.furthest_due_date = Furthest due date
  839. milestones.filter_sort.least_complete = Least complete
  840. milestones.filter_sort.most_complete = Most complete
  841. milestones.filter_sort.most_issues = Most issues
  842. milestones.filter_sort.least_issues = Least issues
  843. ext_wiki = Ext. Wiki
  844. ext_wiki.desc = Link to an external wiki.
  845. wiki = Wiki
  846. wiki.welcome = Welcome to the Wiki.
  847. wiki.welcome_desc = The wiki lets you write and share documentation with collaborators.
  848. wiki.desc = Write and share documentation with collaborators.
  849. wiki.create_first_page = Create the First Page
  850. wiki.page = Page
  851. wiki.filter_page = Filter page
  852. wiki.new_page = Page
  853. wiki.default_commit_message = Write a note about this page update (optional).
  854. wiki.save_page = Save Page
  855. wiki.last_commit_info = %s edited this page %s
  856. wiki.edit_page_button = Edit
  857. wiki.new_page_button = New Page
  858. wiki.delete_page_button = Delete Page
  859. wiki.delete_page_notice_1 = Deleting the wiki page '%s' cannot be undone. Continue?
  860. wiki.page_already_exists = A wiki page with the same name already exists.
  861. wiki.reserved_page = The wiki page name '%s' is reserved.
  862. wiki.pages = Pages
  863. wiki.last_updated = Last updated %s
  864. activity = Activity
  865. activity.period.filter_label = Period:
  866. activity.period.daily = 1 day
  867. activity.period.halfweekly = 3 days
  868. activity.period.weekly = 1 week
  869. activity.period.monthly = 1 month
  870. activity.overview = Overview
  871. activity.active_prs_count_1 = <strong>%d</strong> Active Pull Request
  872. activity.active_prs_count_n = <strong>%d</strong> Active Pull Requests
  873. activity.merged_prs_count_1 = Merged Pull Request
  874. activity.merged_prs_count_n = Merged Pull Requests
  875. activity.opened_prs_count_1 = Proposed Pull Request
  876. activity.opened_prs_count_n = Proposed Pull Requests
  877. activity.title.user_1 = %d user
  878. activity.title.user_n = %d users
  879. activity.title.prs_1 = %d Pull request
  880. activity.title.prs_n = %d Pull requests
  881. activity.title.prs_merged_by = %s merged by %s
  882. activity.title.prs_opened_by = %s proposed by %s
  883. activity.merged_prs_label = Merged
  884. activity.opened_prs_label = Proposed
  885. activity.active_issues_count_1 = <strong>%d</strong> Active Issue
  886. activity.active_issues_count_n = <strong>%d</strong> Active Issues
  887. activity.closed_issues_count_1 = Closed Issue
  888. activity.closed_issues_count_n = Closed Issues
  889. activity.title.issues_1 = %d Issue
  890. activity.title.issues_n = %d Issues
  891. activity.title.issues_closed_by = %s closed by %s
  892. activity.title.issues_created_by = %s created by %s
  893. activity.closed_issue_label = Closed
  894. activity.new_issues_count_1 = New Issue
  895. activity.new_issues_count_n = New Issues
  896. activity.new_issue_label = Opened
  897. activity.title.unresolved_conv_1 = %d Unresolved Conversation
  898. activity.title.unresolved_conv_n = %d Unresolved Conversations
  899. activity.unresolved_conv_desc = These recently changed issues and pull requests have not been resolved yet.
  900. activity.unresolved_conv_label = Open
  901. activity.title.releases_1 = %d Release
  902. activity.title.releases_n = %d Releases
  903. activity.title.releases_published_by = %s published by %s
  904. activity.published_release_label = Published
  905. search = Search
  906. search.search_repo = Search repository
  907. search.results = Search results for "%s" in <a href="%s">%s</a>
  908. settings = Settings
  909. settings.desc = Settings is where you can manage the settings for the repository
  910. settings.options = Repository
  911. settings.collaboration = Collaborators
  912. settings.collaboration.admin = Administrator
  913. settings.collaboration.write = Write
  914. settings.collaboration.read = Read
  915. settings.collaboration.undefined = Undefined
  916. settings.hooks = Webhooks
  917. settings.githooks = Git Hooks
  918. settings.basic_settings = Basic Settings
  919. settings.mirror_settings = Mirror Settings
  920. settings.sync_mirror = Synchronize Now
  921. settings.mirror_sync_in_progress = Mirror synchronization is in progress. Check back in a minute.
  922. settings.site = Website
  923. settings.update_settings = Update Settings
  924. settings.advanced_settings = Advanced Settings
  925. settings.wiki_desc = Enable Repository Wiki
  926. settings.use_internal_wiki = Use Built-In Wiki
  927. settings.use_external_wiki = Use External Wiki
  928. settings.external_wiki_url = External Wiki URL
  929. settings.external_wiki_url_error = The external wiki URL is not a valid URL.
  930. settings.external_wiki_url_desc = Visitors are redirected to the external wiki URL when clicking the wiki tab.
  931. settings.issues_desc = Enable Repository Issue Tracker
  932. settings.use_internal_issue_tracker = Use Built-In Issue Tracker
  933. settings.use_external_issue_tracker = Use External Issue Tracker
  934. settings.external_tracker_url = External Issue Tracker URL
  935. settings.external_tracker_url_error = The external issue tracker URL is not a valid URL.
  936. settings.external_tracker_url_desc = Visitors are redirected to the external issue tracker URL when clicking on the issues tab.
  937. settings.tracker_url_format = External Issue Tracker URL Format
  938. settings.tracker_url_format_error = The external issue tracker URL format is not a valid URL.
  939. settings.tracker_issue_style = External Issue Tracker Number Format
  940. settings.tracker_issue_style.numeric = Numeric
  941. settings.tracker_issue_style.alphanumeric = Alphanumeric
  942. settings.tracker_url_format_desc = Use the placeholders <code>{user}</code>, <code>{repo}</code> and <code>{index}</code> for the username, repository name and issue index.
  943. settings.enable_timetracker = Enable Time Tracking
  944. settings.allow_only_contributors_to_track_time = Let Only Contributors Track Time
  945. settings.pulls_desc = Enable Repository Pull Requests
  946. settings.pulls.ignore_whitespace = Ignore Whitespace for Conflicts
  947. settings.pulls.allow_merge_commits = Enable Commit Merging
  948. settings.pulls.allow_rebase_merge = Enable Rebasing to Merge Commits
  949. settings.pulls.allow_squash_commits = Enable Squashing to Merge Commits
  950. settings.admin_settings = Administrator Settings
  951. settings.admin_enable_health_check = Enable Repository Health Checks (git fsck)
  952. settings.danger_zone = Danger Zone
  953. settings.new_owner_has_same_repo = The new owner already has a repository with same name. Please choose another name.
  954. settings.convert = Convert to Regular Repository
  955. settings.convert_desc = You can convert this mirror into a regular repository. This cannot be undone.
  956. settings.convert_notices_1 = This operation will convert the mirror into a regular repository and cannot be undone.
  957. settings.convert_confirm = Convert Repository
  958. settings.convert_succeed = The mirror has been converted into a regular repository.
  959. settings.transfer = Transfer Ownership
  960. settings.transfer_desc = Transfer this repository to a user or to an organization for which you have administrator rights.
  961. settings.transfer_notices_1 = - You will lose access to the repository if you transfer it to an individual user.
  962. settings.transfer_notices_2 = - You will keep access to the repository if you transfer it to an organization that you (co-)own.
  963. settings.transfer_form_title = Enter the repository name as confirmation:
  964. settings.wiki_delete = Delete Wiki Data
  965. settings.wiki_delete_desc = Deleting repository wiki data is permanent and cannot be undone.
  966. settings.wiki_delete_notices_1 = - This will permanently delete and disable the repository wiki for %s.
  967. settings.confirm_wiki_delete = Delete Wiki Data
  968. settings.wiki_deletion_success = The repository wiki data has been deleted.
  969. settings.delete = Delete This Repository
  970. settings.delete_desc = Deleting a repository is permanent and cannot be undone.
  971. settings.delete_notices_1 = - This operation <strong>CANNOT</strong> be undone.
  972. settings.delete_notices_2 = - This operation will permanently delete the <strong>%s</strong> repository including code, issues, comments, wiki data and collaborator settings.
  973. settings.delete_notices_fork_1 = - Forks of this repository will become independent after deletion.
  974. settings.deletion_success = The repository has been deleted.
  975. settings.update_settings_success = The repository settings have been updated.
  976. settings.transfer_owner = New Owner
  977. settings.make_transfer = Perform Transfer
  978. settings.transfer_succeed = The repository has been transferred.
  979. settings.confirm_delete = Delete Repository
  980. settings.add_collaborator = Add Collaborator
  981. settings.add_collaborator_success = The collaborator has been added.
  982. settings.add_collaborator_inactive_user = Can not add an inactive user as a collaborator.
  983. settings.add_collaborator_duplicate = The collaborator is already added to this repository.
  984. settings.delete_collaborator = Remove
  985. settings.collaborator_deletion = Remove Collaborator
  986. settings.collaborator_deletion_desc = Removing a collaborator will revoke their access to this repository. Continue?
  987. settings.remove_collaborator_success = The collaborator has been removed.
  988. settings.search_user_placeholder = Search user…
  989. settings.org_not_allowed_to_be_collaborator = Organizations cannot be added as a collaborator.
  990. settings.user_is_org_member = The user is an organization member who cannot be added as a collaborator.
  991. settings.add_webhook = Add Webhook
  992. settings.add_webhook.invalid_channel_name = Webhook channel name cannot be empty and cannot contain only a # character.
  993. settings.hooks_desc = Webhooks automatically make HTTP POST requests to a server when certain Gitea events trigger. Read more in the <a target="_blank" rel="noopener noreferrer" href="%s">webhooks guide</a>.
  994. settings.webhook_deletion = Remove Webhook
  995. settings.webhook_deletion_desc = Removing a webhook deletes its settings and delivery history. Continue?
  996. settings.webhook_deletion_success = The webhook has been removed.
  997. settings.webhook.test_delivery = Test Delivery
  998. settings.webhook.test_delivery_desc = Test this webhook with a fake event.
  999. settings.webhook.test_delivery_success = A fake event has been added to the delivery queue. It may take few seconds before it shows up in the delivery history.
  1000. settings.webhook.request = Request
  1001. settings.webhook.response = Response
  1002. settings.webhook.headers = Headers
  1003. settings.webhook.payload = Content
  1004. settings.webhook.body = Body
  1005. settings.githooks_desc = "Git hooks are powered by Git itself. You can edit hook files below to set up custom operations."
  1006. settings.githook_edit_desc = If the hook is inactive, sample content will be presented. Leaving content to an empty value will disable this hook.
  1007. settings.githook_name = Hook Name
  1008. settings.githook_content = Hook Content
  1009. settings.update_githook = Update Hook
  1010. settings.add_webhook_desc = Gitea will send <code>POST</code> requests with a specified content type to the target URL. Read more in the <a target="_blank" rel="noopener noreferrer" href="%s">webhooks guide</a>.
  1011. settings.payload_url = Target URL
  1012. settings.content_type = POST Content Type
  1013. settings.secret = Secret
  1014. settings.slack_username = Username
  1015. settings.slack_icon_url = Icon URL
  1016. settings.discord_username = Username
  1017. settings.discord_icon_url = Icon URL
  1018. settings.slack_color = Color
  1019. settings.event_desc = Trigger On:
  1020. settings.event_push_only = Push Events
  1021. settings.event_send_everything = All Events
  1022. settings.event_choose = Custom Events…
  1023. settings.event_create = Create
  1024. settings.event_create_desc = Branch or tag created.
  1025. settings.event_delete = Delete
  1026. settings.event_delete_desc = Branch or tag deleted
  1027. settings.event_fork = Fork
  1028. settings.event_fork_desc = Repository forked
  1029. settings.event_issues = Issues
  1030. settings.event_issues_desc = Issue opened, closed, reopened, edited, assigned, unassigned, label updated, label cleared, milestoned, or demilestoned.
  1031. settings.event_issue_comment = Issue Comment
  1032. settings.event_issue_comment_desc = Issue comment created, edited, or deleted.
  1033. settings.event_release = Release
  1034. settings.event_release_desc = Release published, updated or deleted in a repository.
  1035. settings.event_pull_request = Pull Request
  1036. settings.event_pull_request_desc = Pull request opened, closed, reopened, edited, assigned, unassigned, label updated, label cleared or synchronized.
  1037. settings.event_push = Push
  1038. settings.event_push_desc = Git push to a repository.
  1039. settings.event_repository = Repository
  1040. settings.event_repository_desc = Repository created or deleted.
  1041. settings.active = Active
  1042. settings.active_helper = Information about triggered events will be sent to this webhook URL.
  1043. settings.add_hook_success = The webhook has been added.
  1044. settings.update_webhook = Update Webhook
  1045. settings.update_hook_success = The webhook has been updated.
  1046. settings.delete_webhook = Remove Webhook
  1047. settings.recent_deliveries = Recent Deliveries
  1048. settings.hook_type = Hook Type
  1049. settings.add_slack_hook_desc = Integrate <a href="%s">Slack</a> into your repository.
  1050. settings.slack_token = Token
  1051. settings.slack_domain = Domain
  1052. settings.slack_channel = Channel
  1053. settings.add_discord_hook_desc = Integrate <a href="%s">Discord</a> into your repository.
  1054. settings.add_dingtalk_hook_desc = Integrate <a href="%s">Dingtalk</a> into your repository.
  1055. settings.deploy_keys = Deploy Keys
  1056. settings.add_deploy_key = Add Deploy Key
  1057. settings.deploy_key_desc = Deploy keys have read-only pull access to the repository.
  1058. settings.is_writable = Enable Write Access
  1059. settings.is_writable_info = Allow this deploy key to <strong>push</strong> to the repository.
  1060. settings.no_deploy_keys = There are no deploy keys yet.
  1061. settings.title = Title
  1062. settings.deploy_key_content = Content
  1063. settings.key_been_used = A deploy key with identical content is already in use.
  1064. settings.key_name_used = A deploy key with the same name already exists.
  1065. settings.add_key_success = The deploy key '%s' has been added.
  1066. settings.deploy_key_deletion = Remove Deploy Key
  1067. settings.deploy_key_deletion_desc = Removing a deploy key will revoke its access to this repository. Continue?
  1068. settings.deploy_key_deletion_success = The deploy key has been removed.
  1069. settings.branches = Branches
  1070. settings.protected_branch = Branch Protection
  1071. settings.protected_branch_can_push = Allow push?
  1072. settings.protected_branch_can_push_yes = You can push
  1073. settings.protected_branch_can_push_no = You can not push
  1074. settings.branch_protection = Branch Protection for Branch '<b>%s</b>'
  1075. settings.protect_this_branch = Enable Branch Protection
  1076. settings.protect_this_branch_desc = Prevent deletion and disable Git force pushing to the branch.
  1077. settings.protect_whitelist_committers = Enable Push Whitelist
  1078. settings.protect_whitelist_committers_desc = Allow whitelisted users or teams to bypass push restrictions.
  1079. settings.protect_whitelist_users = Whitelisted users for pushing:
  1080. settings.protect_whitelist_search_users = Search users…
  1081. settings.protect_whitelist_teams = Whitelisted teams for pushing:
  1082. settings.protect_whitelist_search_teams = Search teams…
  1083. settings.protect_merge_whitelist_committers = Enable Merge Whitelist
  1084. settings.protect_merge_whitelist_committers_desc = Allow only whitelisted users or teams to merge pull requests into this branch.
  1085. settings.protect_merge_whitelist_users = Whitelisted users for merging:
  1086. settings.protect_merge_whitelist_teams = Whitelisted teams for merging:
  1087. settings.add_protected_branch = Enable protection
  1088. settings.delete_protected_branch = Disable protection
  1089. settings.update_protect_branch_success = Branch protection for branch '%s' has been updated.
  1090. settings.remove_protected_branch_success = Branch protection for branch '%s' has been disabled.
  1091. settings.protected_branch_deletion = Disable Branch Protection
  1092. settings.protected_branch_deletion_desc = Disabling branch protection allows users with write permission to push to the branch. Continue?
  1093. settings.default_branch_desc = Select a default repository branch for pull requests and code commits:
  1094. settings.choose_branch = Choose a branch…
  1095. settings.no_protected_branch = There are no protected branches.
  1096. settings.edit_protected_branch = Edit
  1097. diff.browse_source = Browse Source
  1098. diff.parent = parent
  1099. diff.commit = commit
  1100. diff.data_not_available = Diff Content Not Available
  1101. diff.show_diff_stats = Show Diff Stats
  1102. diff.show_split_view = Split View
  1103. diff.show_unified_view = Unified View
  1104. diff.whitespace_button = Whitespace
  1105. diff.whitespace_show_everything = Show all changes
  1106. diff.whitespace_ignore_all_whitespace = Ignore whitespace when comparing lines
  1107. diff.whitespace_ignore_amount_changes = Ignore changes in amount of whitespace
  1108. diff.whitespace_ignore_at_eol = Ignore changes in whitespace at EOL
  1109. diff.stats_desc = <strong> %d changed files</strong> with <strong>%d additions</strong> and <strong>%d deletions</strong>
  1110. diff.bin = BIN
  1111. diff.view_file = View File
  1112. diff.file_suppressed = File diff suppressed because it is too large
  1113. diff.too_many_files = Some files were not shown because too many files changed in this diff
  1114. diff.comment.placeholder = Leave a comment
  1115. diff.comment.markdown_info = Styling with markdown is supported.
  1116. diff.comment.add_single_comment = Add single comment
  1117. diff.comment.add_review_comment = Add comment
  1118. diff.comment.start_review = Start review
  1119. diff.comment.reply = Reply
  1120. diff.review = Review
  1121. diff.review.header = Submit review
  1122. diff.review.placeholder = Review comment
  1123. diff.review.comment = Comment
  1124. diff.review.approve = Approve
  1125. diff.review.reject = Reject
  1126. releases.desc = Track project versions and downloads.
  1127. release.releases = Releases
  1128. release.new_release = New Release
  1129. release.draft = Draft
  1130. release.prerelease = Pre-Release
  1131. release.stable = Stable
  1132. release.edit = edit
  1133. release.ahead = <strong>%d</strong> commits to %s since this release
  1134. release.source_code = Source Code
  1135. release.new_subheader = Releases organize project versions.
  1136. release.edit_subheader = Releases organize project versions.
  1137. release.tag_name = Tag name
  1138. release.target = Target
  1139. release.tag_helper = Choose an existing tag or create a new tag.
  1140. release.title = Title
  1141. release.content = Content
  1142. release.prerelease_desc = Mark as Pre-Release
  1143. release.prerelease_helper = Mark this release unsuitable for production use.
  1144. release.cancel = Cancel
  1145. release.publish = Publish Release
  1146. release.save_draft = Save Draft
  1147. release.edit_release = Update Release
  1148. release.delete_release = Delete Release
  1149. release.deletion = Delete Release
  1150. release.deletion_desc = Deleting a release removes its Git tag from the repository. Repository contents and history remain unchanged. Continue?
  1151. release.deletion_success = The release has been deleted.
  1152. release.tag_name_already_exist = A release with this tag name already exists.
  1153. release.tag_name_invalid = The tag name is not valid.
  1154. release.downloads = Downloads
  1155. branch.name = Branch Name
  1156. branch.search = Search branches
  1157. branch.already_exists = A branch named '%s' already exists.
  1158. branch.delete_head = Delete
  1159. branch.delete = Delete Branch '%s'
  1160. branch.delete_html = Delete Branch
  1161. branch.delete_desc = Deleting a branch is permanent. It <strong>CANNOT</strong> be undone. Continue?
  1162. branch.deletion_success = Branch '%s' has been deleted.
  1163. branch.deletion_failed = Failed to delete branch '%s'.
  1164. branch.delete_branch_has_new_commits = Branch '%s' cannot be deleted because new commits have been added after merging.
  1165. branch.create_branch = Create branch <strong>%s</strong>
  1166. branch.create_from = from '%s'
  1167. branch.create_success = Branch '%s' has been created.
  1168. branch.branch_already_exists = Branch '%s' already exists in this repository.
  1169. branch.branch_name_conflict = Branch name '%s' conflicts with the already existing branch '%s'.
  1170. branch.tag_collision = Branch '%s' cannot be created as a tag with same name already exists in the repository.
  1171. branch.deleted_by = Deleted by %s
  1172. branch.restore_success = Branch '%s' has been restored.
  1173. branch.restore_failed = Failed to restore branch '%s'.
  1174. branch.protected_deletion_failed = Branch '%s' is protected. It cannot be deleted.
  1175. topic.manage_topics = Manage Topics
  1176. topic.done = Done
  1177. topic.count_prompt = You can not select more than 25 topics
  1178. topic.format_prompt = Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
  1179. [org]
  1180. org_name_holder = Organization Name
  1181. org_full_name_holder = Organization Full Name
  1182. org_name_helper = Organization names should be short and memorable.
  1183. create_org = Create Organization
  1184. repo_updated = Updated
  1185. people = People
  1186. teams = Teams
  1187. lower_members = members
  1188. lower_repositories = repositories
  1189. create_new_team = New Team
  1190. create_team = Create Team
  1191. org_desc = Description
  1192. team_name = Team Name
  1193. team_desc = Description
  1194. team_name_helper = Team names should be short and memorable.
  1195. team_desc_helper = Describe the purpose or role of the team.
  1196. team_permission_desc = Permission
  1197. team_unit_desc = Allow Access to Repository Sections
  1198. form.name_reserved = The organization name '%s' is reserved.
  1199. form.name_pattern_not_allowed = The pattern '%s' is not allowed in an organization name.
  1200. form.create_org_not_allowed = You are not allowed to create an organization.
  1201. settings = Settings
  1202. settings.options = Organization
  1203. settings.full_name = Full Name
  1204. settings.website = Website
  1205. settings.location = Location
  1206. settings.update_settings = Update Settings
  1207. settings.update_setting_success = Organization settings have been updated.
  1208. settings.change_orgname_prompt = Note: changing the organization name also changes the organization's URL.
  1209. settings.update_avatar_success = The organization's avatar has been updated.
  1210. settings.delete = Delete Organization
  1211. settings.delete_account = Delete This Organization
  1212. settings.delete_prompt = The organization will be permanently removed. This <strong>CANNOT</strong> be undone!
  1213. settings.confirm_delete_account = Confirm Deletion
  1214. settings.delete_org_title = Delete Organization
  1215. settings.delete_org_desc = This organization will be deleted permanently. Continue?
  1216. settings.hooks_desc = Add webhooks which will be triggered for <strong>all repositories</strong> under this organization.
  1217. members.membership_visibility = Membership Visibility:
  1218. members.public = Visible
  1219. members.public_helper = make hidden
  1220. members.private = Hidden
  1221. members.private_helper = make visible
  1222. members.member_role = Member Role:
  1223. members.owner = Owner
  1224. members.member = Member
  1225. members.remove = Remove
  1226. members.leave = Leave
  1227. members.invite_desc = Add a new member to %s:
  1228. members.invite_now = Invite Now
  1229. teams.join = Join
  1230. teams.leave = Leave
  1231. teams.read_access = Read Access
  1232. teams.read_access_helper = Members can view and clone team repositories.
  1233. teams.write_access = Write Access
  1234. teams.write_access_helper = Members can read and push to team repositories.
  1235. teams.admin_access = Administrator Access
  1236. teams.admin_access_helper = Members can pull and push to team repositories and add collaborators to them.
  1237. teams.no_desc = This team has no description
  1238. teams.settings = Settings
  1239. teams.owners_permission_desc = Owners have full access to <strong>all repositories</strong> and have <strong>administrator access</strong> to the organization.
  1240. teams.members = Team Members
  1241. teams.update_settings = Update Settings
  1242. teams.delete_team = Delete Team
  1243. teams.add_team_member = Add Team Member
  1244. teams.delete_team_title = Delete Team
  1245. teams.delete_team_desc = Deleting a team revokes repository access from its members. Continue?
  1246. teams.delete_team_success = The team has been deleted.
  1247. teams.read_permission_desc = This team grants <strong>Read</strong> access: members can view and clone team repositories.
  1248. teams.write_permission_desc = This team grants <strong>Write</strong> access: members can read from and push to team repositories.
  1249. teams.admin_permission_desc = This team grants <strong>Admin</strong> access: members can read from, push to and add collaborators to team repositories.
  1250. teams.repositories = Team Repositories
  1251. teams.search_repo_placeholder = Search repository…
  1252. teams.add_team_repository = Add Team Repository
  1253. teams.remove_repo = Remove
  1254. teams.add_nonexistent_repo = "The repository you're trying to add does not exist; please create it first."
  1255. teams.add_duplicate_users = User is already a team member.
  1256. [admin]
  1257. dashboard = Dashboard
  1258. users = User Accounts
  1259. organizations = Organizations
  1260. repositories = Repositories
  1261. authentication = Authentication Sources
  1262. config = Configuration
  1263. notices = System Notices
  1264. monitor = Monitoring
  1265. first_page = First
  1266. last_page = Last
  1267. total = Total: %d
  1268. dashboard.statistic = Summary
  1269. dashboard.operations = Maintenance Operations
  1270. dashboard.system_status = System Status
  1271. dashboard.statistic_info = The Gitea database holds <b>%d</b> users, <b>%d</b> organizations, <b>%d</b> public keys, <b>%d</b> repositories, <b>%d</b> watches, <b>%d</b> stars, <b>%d</b> actions, <b>%d</b> accesses, <b>%d</b> issues, <b>%d</b> comments, <b>%d</b> social accounts, <b>%d</b> follows, <b>%d</b> mirrors, <b>%d</b> releases, <b>%d</b> authentication sources, <b>%d</b> webhooks, <b>%d</b> milestones, <b>%d</b> labels, <b>%d</b> hook tasks, <b>%d</b> teams, <b>%d</b> update tasks, <b>%d</b> attachments.
  1272. dashboard.operation_name = Operation Name
  1273. dashboard.operation_switch = Switch
  1274. dashboard.operation_run = Run
  1275. dashboard.clean_unbind_oauth = Clean unbound OAuth connections
  1276. dashboard.clean_unbind_oauth_success = All unbound OAuth connections have been deleted.
  1277. dashboard.delete_inactivate_accounts = Delete all unactivated accounts
  1278. dashboard.delete_inactivate_accounts_success = All unactivated accounts have been deleted.
  1279. dashboard.delete_repo_archives = Delete all repository archives
  1280. dashboard.delete_repo_archives_success = All repository archives have been deleted.
  1281. dashboard.delete_missing_repos = Delete all repositories missing their Git files
  1282. dashboard.delete_missing_repos_success = All repositories missing their Git files have been deleted.
  1283. dashboard.git_gc_repos = Garbage collect all repositories
  1284. dashboard.git_gc_repos_success = All repositories have finished garbage collection.
  1285. dashboard.resync_all_sshkeys = Update the '.ssh/authorized_keys' file with Gitea SSH keys. (Not needed for the built-in SSH server.)
  1286. dashboard.resync_all_sshkeys_success = The public SSH keys controlled by Gitea have been updated.
  1287. dashboard.resync_all_hooks = Resynchronize pre-receive, update and post-receive hooks of all repositories.
  1288. dashboard.resync_all_hooks_success = All pre-receive, update and post-receive repository hooks have been resynchronized.
  1289. dashboard.reinit_missing_repos = Reinitialize all missing Git repositories for which records exist
  1290. dashboard.reinit_missing_repos_success = All missing Git repositories for which records existed have been reinitialized.
  1291. dashboard.sync_external_users = Synchronize external user data
  1292. dashboard.sync_external_users_started = External user data synchronization has started.
  1293. dashboard.git_fsck = Execute health checks on all repositories
  1294. dashboard.git_fsck_started = Repository health checks have started.
  1295. dashboard.server_uptime = Server Uptime
  1296. dashboard.current_goroutine = Current Goroutines
  1297. dashboard.current_memory_usage = Current Memory Usage
  1298. dashboard.total_memory_allocated = Total Memory Allocated
  1299. dashboard.memory_obtained = Memory Obtained
  1300. dashboard.pointer_lookup_times = Pointer Lookup Times
  1301. dashboard.memory_allocate_times = Memory Allocations
  1302. dashboard.memory_free_times = Memory Frees
  1303. dashboard.current_heap_usage = Current Heap Usage
  1304. dashboard.heap_memory_obtained = Heap Memory Obtained
  1305. dashboard.heap_memory_idle = Heap Memory Idle
  1306. dashboard.heap_memory_in_use = Heap Memory In Use
  1307. dashboard.heap_memory_released = Heap Memory Released
  1308. dashboard.heap_objects = Heap Objects
  1309. dashboard.bootstrap_stack_usage = Bootstrap Stack Usage
  1310. dashboard.stack_memory_obtained = Stack Memory Obtained
  1311. dashboard.mspan_structures_usage = MSpan Structures Usage
  1312. dashboard.mspan_structures_obtained = MSpan Structures Obtained
  1313. dashboard.mcache_structures_usage = MCache Structures Usage
  1314. dashboard.mcache_structures_obtained = MCache Structures Obtained
  1315. dashboard.profiling_bucket_hash_table_obtained = Profiling Bucket Hash Table Obtained
  1316. dashboard.gc_metadata_obtained = GC Metadata Obtained
  1317. dashboard.other_system_allocation_obtained = Other System Allocation Obtained
  1318. dashboard.next_gc_recycle = Next GC Recycle
  1319. dashboard.last_gc_time = Since Last GC Time
  1320. dashboard.total_gc_time = Total GC Pause
  1321. dashboard.total_gc_pause = Total GC Pause
  1322. dashboard.last_gc_pause = Last GC Pause
  1323. dashboard.gc_times = GC Times
  1324. users.user_manage_panel = User Account Management
  1325. users.new_account = Create User Account
  1326. users.name = Username
  1327. users.activated = Activated
  1328. users.admin = Admin
  1329. users.repos = Repos
  1330. users.created = Created
  1331. users.last_login = Last Sign-In
  1332. users.never_login = Never Signed-In
  1333. users.send_register_notify = Send User Registration Notification
  1334. users.new_success = The user account '%s' has been created.
  1335. users.edit = Edit
  1336. users.auth_source = Authentication Source
  1337. users.local = Local
  1338. users.auth_login_name = Authentication Sign-In Name
  1339. users.password_helper = Leave the password empty to keep it unchanged.
  1340. users.update_profile_success = The user account has been updated.
  1341. users.edit_account = Edit User Account
  1342. users.max_repo_creation = Maximal Number of Repositories
  1343. users.max_repo_creation_desc = (Enter -1 to use the global default limit.)
  1344. users.is_activated = User Account Is Activated
  1345. users.prohibit_login = Disable Sign-In
  1346. users.is_admin = Is Administrator
  1347. users.allow_git_hook = May Create Git Hooks
  1348. users.allow_import_local = May Import Local Repositories
  1349. users.allow_create_organization = May Create Organizations
  1350. users.update_profile = Update User Account
  1351. users.delete_account = Delete User Account
  1352. users.still_own_repo = This user still owns one or more repositories. Delete or transfer these repositories first.
  1353. users.still_has_org = This user is a member of an organization. Remove the user from any organizations first.
  1354. users.deletion_success = The user account has been deleted.
  1355. orgs.org_manage_panel = Organization Management
  1356. orgs.name = Name
  1357. orgs.teams = Teams
  1358. orgs.members = Members
  1359. orgs.new_orga = New Organization
  1360. repos.repo_manage_panel = Repository Management
  1361. repos.owner = Owner
  1362. repos.name = Name
  1363. repos.private = Private
  1364. repos.watches = Watches
  1365. repos.stars = Stars
  1366. repos.forks = Forks
  1367. repos.issues = Issues
  1368. repos.size = Size
  1369. auths.auth_manage_panel = Authentication Source Management
  1370. auths.new = Add Authentication Source
  1371. auths.name = Name
  1372. auths.type = Type
  1373. auths.enabled = Enabled
  1374. auths.syncenabled = Enable User Synchronization
  1375. auths.updated = Updated
  1376. auths.auth_type = Authentication Type
  1377. auths.auth_name = Authentication Name
  1378. auths.security_protocol = Security Protocol
  1379. auths.domain = Domain
  1380. auths.host = Host
  1381. auths.port = Port
  1382. auths.bind_dn = Bind DN
  1383. auths.bind_password = Bind Password
  1384. auths.bind_password_helper = Warning: This password is stored in plain text. Use a read-only account if possible.
  1385. auths.user_base = User Search Base
  1386. auths.user_dn = User DN
  1387. auths.attribute_username = Username Attribute
  1388. auths.attribute_username_placeholder = Leave empty to use the username entered in Gitea.
  1389. auths.attribute_name = First Name Attribute
  1390. auths.attribute_surname = Surname Attribute
  1391. auths.attribute_mail = Email Attribute
  1392. auths.attribute_ssh_public_key = Public SSH Key Attribute
  1393. auths.attributes_in_bind = Fetch Attributes in Bind DN Context
  1394. auths.use_paged_search = Use Paged Search
  1395. auths.search_page_size = Page Size
  1396. auths.filter = User Filter
  1397. auths.admin_filter = Admin Filter
  1398. auths.ms_ad_sa = MS AD Search Attributes
  1399. auths.smtp_auth = SMTP Authentication Type
  1400. auths.smtphost = SMTP Host
  1401. auths.smtpport = SMTP Port
  1402. auths.allowed_domains = Allowed Domains
  1403. auths.allowed_domains_helper = Leave empty to allow all domains. Separate multiple domains with a comma (',').
  1404. auths.enable_tls = Enable TLS Encryption
  1405. auths.skip_tls_verify = Skip TLS Verify
  1406. auths.pam_service_name = PAM Service Name
  1407. auths.oauth2_provider = OAuth2 Provider
  1408. auths.oauth2_clientID = Client ID (Key)
  1409. auths.oauth2_clientSecret = Client Secret
  1410. auths.openIdConnectAutoDiscoveryURL = OpenID Connect Auto Discovery URL
  1411. auths.oauth2_use_custom_url = Use Custom URLs Instead of Default URLs
  1412. auths.oauth2_tokenURL = Token URL
  1413. auths.oauth2_authURL = Authorize URL
  1414. auths.oauth2_profileURL = Profile URL
  1415. auths.oauth2_emailURL = Email URL
  1416. auths.enable_auto_register = Enable Auto Registration
  1417. auths.tips = Tips
  1418. auths.tips.oauth2.general = OAuth2 Authentication
  1419. auths.tips.oauth2.general.tip = When registering a new OAuth2 authentication, the callback/redirect URL should be: <host>/user/oauth2/<Authentication Name>/callback
  1420. auths.tip.oauth2_provider = OAuth2 Provider
  1421. auths.tip.bitbucket = Register a new OAuth consumer on https://bitbucket.org/account/user/<your username>/oauth-consumers/new and add the permission 'Account' - 'Read'
  1422. auths.tip.dropbox = Create a new application at https://www.dropbox.com/developers/apps
  1423. auths.tip.facebook = Register a new application at https://developers.facebook.com/apps and add the product "Facebook Login"
  1424. auths.tip.github = Register a new OAuth application on https://github.com/settings/applications/new
  1425. auths.tip.gitlab = Register a new application on https://gitlab.com/profile/applications
  1426. auths.tip.google_plus = Obtain OAuth2 client credentials from the Google API console at https://console.developers.google.com/
  1427. auths.tip.openid_connect = Use the OpenID Connect Discovery URL (<server>/.well-known/openid-configuration) to specify the endpoints
  1428. auths.tip.twitter = Go to https://dev.twitter.com/apps, create an application and ensure that the “Allow this application to be used to Sign in with Twitter” option is enabled
  1429. auths.edit = Edit Authentication Source
  1430. auths.activated = This Authentication Source is Activated
  1431. auths.new_success = The authentication '%s' has been added.
  1432. auths.update_success = The authentication source has been updated.
  1433. auths.update = Update Authentication Source
  1434. auths.delete = Delete Authentication Source
  1435. auths.delete_auth_title = Delete Authentication Source
  1436. auths.delete_auth_desc = Deleting an authentication source prevents users from using it to sign in. Continue?
  1437. auths.still_in_used = The authentication source is still in use. Convert or delete any users using this authentication source first.
  1438. auths.deletion_success = The authentication source has been deleted.
  1439. auths.login_source_exist = The authentication source '%s' already exists.
  1440. config.server_config = Server Configuration
  1441. config.app_name = Site Title
  1442. config.app_ver = Gitea Version
  1443. config.app_url = Gitea Base URL
  1444. config.custom_conf = Configuration File Path
  1445. config.domain = SSH Server Domain
  1446. config.offline_mode = Local Mode
  1447. config.disable_router_log = Disable Router Log
  1448. config.run_user = Run As Username
  1449. config.run_mode = Run Mode
  1450. config.git_version = Git Version
  1451. config.repo_root_path = Repository Root Path
  1452. config.lfs_root_path = LFS Root Path
  1453. config.static_file_root_path = Static File Root Path
  1454. config.log_file_root_path = Log Path
  1455. config.script_type = Script Type
  1456. config.reverse_auth_user = Reverse Authentication User
  1457. config.ssh_config = SSH Configuration
  1458. config.ssh_enabled = Enabled
  1459. config.ssh_start_builtin_server = Use Built-In Server
  1460. config.ssh_domain = Server Domain
  1461. config.ssh_port = Port
  1462. config.ssh_listen_port = Listen Port
  1463. config.ssh_root_path = Root Path
  1464. config.ssh_key_test_path = Key Test Path
  1465. config.ssh_keygen_path = Keygen ('ssh-keygen') Path
  1466. config.ssh_minimum_key_size_check = Minimum Key Size Check
  1467. config.ssh_minimum_key_sizes = Minimum Key Sizes
  1468. config.db_config = Database Configuration
  1469. config.db_type = Type
  1470. config.db_host = Host
  1471. config.db_name = Name
  1472. config.db_user = Username
  1473. config.db_ssl_mode = SSL
  1474. config.db_path = Path
  1475. config.service_config = Service Configuration
  1476. config.register_email_confirm = Require Email Confirmation to Register
  1477. config.disable_register = Disable Self-Registration
  1478. config.allow_only_external_registration = Allow Registration Only Through External Services
  1479. config.enable_openid_signup = Enable OpenID Self-Registration
  1480. config.enable_openid_signin = Enable OpenID Sign-In
  1481. config.show_registration_button = Show Register Button
  1482. config.require_sign_in_view = Require Sign-In to View Pages
  1483. config.mail_notify = Enable Email Notifications
  1484. config.disable_key_size_check = Disable Minimum Key Size Check
  1485. config.enable_captcha = Enable CAPTCHA
  1486. config.active_code_lives = Active Code Lives
  1487. config.reset_password_code_lives = Reset Password Code Expiry Time
  1488. config.default_keep_email_private = Hide Email Addresses by Default
  1489. config.default_allow_create_organization = Allow Creation of Organizations by Default
  1490. config.enable_timetracking = Enable Time Tracking
  1491. config.default_enable_timetracking = Enable Time Tracking by Default
  1492. config.default_allow_only_contributors_to_track_time = Let Only Contributors Track Time
  1493. config.no_reply_address = Hidden Email Domain
  1494. config.default_enable_dependencies = Enable Issue Dependencies by Default
  1495. config.webhook_config = Webhook Configuration
  1496. config.queue_length = Queue Length
  1497. config.deliver_timeout = Deliver Timeout
  1498. config.skip_tls_verify = Skip TLS Verification
  1499. config.mailer_config = SMTP Mailer Configuration
  1500. config.mailer_enabled = Enabled
  1501. config.mailer_disable_helo = Disable HELO
  1502. config.mailer_name = Name
  1503. config.mailer_host = Host
  1504. config.mailer_user = User
  1505. config.mailer_use_sendmail = Use Sendmail
  1506. config.mailer_sendmail_path = Sendmail Path
  1507. config.mailer_sendmail_args = Extra Arguments to Sendmail
  1508. config.send_test_mail = Send Testing Email
  1509. config.test_mail_failed = Failed to send a testing email to '%s': %v
  1510. config.test_mail_sent = A testing email has been sent to '%s'.
  1511. config.oauth_config = OAuth Configuration
  1512. config.oauth_enabled = Enabled
  1513. config.cache_config = Cache Configuration
  1514. config.cache_adapter = Cache Adapter
  1515. config.cache_interval = Cache Interval
  1516. config.cache_conn = Cache Connection
  1517. config.session_config = Session Configuration
  1518. config.session_provider = Session Provider
  1519. config.provider_config = Provider Config
  1520. config.cookie_name = Cookie Name
  1521. config.enable_set_cookie = Enable Set Cookie
  1522. config.gc_interval_time = GC Interval Time
  1523. config.session_life_time = Session Life Time
  1524. config.https_only = HTTPS Only
  1525. config.cookie_life_time = Cookie Life Time
  1526. config.picture_config = Picture and Avatar Configuration
  1527. config.picture_service = Picture Service
  1528. config.disable_gravatar = Disable Gravatar
  1529. config.enable_federated_avatar = Enable Federated Avatars
  1530. config.git_config = Git Configuration
  1531. config.git_disable_diff_highlight = Disable Diff Syntax Highlight
  1532. config.git_max_diff_lines = Max Diff Lines (for a single file)
  1533. config.git_max_diff_line_characters = Max Diff Characters (for a single line)
  1534. config.git_max_diff_files = Max Diff Files (to be shown)
  1535. config.git_gc_args = GC Arguments
  1536. config.git_migrate_timeout = Migration Timeout
  1537. config.git_mirror_timeout = Mirror Update Timeout
  1538. config.git_clone_timeout = Clone Operation Timeout
  1539. config.git_pull_timeout = Pull Operation Timeout
  1540. config.git_gc_timeout = GC Operation Timeout
  1541. config.log_config = Log Configuration
  1542. config.log_mode = Log Mode
  1543. monitor.cron = Cron Tasks
  1544. monitor.name = Name
  1545. monitor.schedule = Schedule
  1546. monitor.next = Next Time
  1547. monitor.previous = Previous Time
  1548. monitor.execute_times = Executions
  1549. monitor.process = Running Processes
  1550. monitor.desc = Description
  1551. monitor.start = Start Time
  1552. monitor.execute_time = Execution Time
  1553. notices.system_notice_list = System Notices
  1554. notices.view_detail_header = View Notice Details
  1555. notices.actions = Actions
  1556. notices.select_all = Select All
  1557. notices.deselect_all = Deselect All
  1558. notices.inverse_selection = Inverse Selection
  1559. notices.delete_selected = Delete Selected
  1560. notices.delete_all = Delete All Notices
  1561. notices.type = Type
  1562. notices.type_1 = Repository
  1563. notices.desc = Description
  1564. notices.op = Op.
  1565. notices.delete_success = The system notices have been deleted.
  1566. [action]
  1567. create_repo = created repository <a href="%s">%s</a>
  1568. rename_repo = renamed repository from <code>%[1]s</code> to <a href="%[2]s">%[3]s</a>
  1569. commit_repo = pushed to <a href="%[1]s/src/branch/%[2]s">%[3]s</a> at <a href="%[1]s">%[4]s</a>
  1570. create_issue = `opened issue <a href="%s/issues/%s">%s#%[2]s</a>`
  1571. close_issue = `closed issue <a href="%s/issues/%s">%s#%[2]s</a>`
  1572. reopen_issue = `reopened issue <a href="%s/issues/%s">%s#%[2]s</a>`
  1573. create_pull_request = `created pull request <a href="%s/pulls/%s">%s#%[2]s</a>`
  1574. close_pull_request = `closed pull request <a href="%s/pulls/%s">%s#%[2]s</a>`
  1575. reopen_pull_request = `reopened pull request <a href="%s/pulls/%s">%s#%[2]s</a>`
  1576. comment_issue = `commented on issue <a href="%s/issues/%s">%s#%[2]s</a>`
  1577. merge_pull_request = `merged pull request <a href="%s/pulls/%s">%s#%[2]s</a>`
  1578. transfer_repo = transferred repository <code>%s</code> to <a href="%s">%s</a>
  1579. push_tag = pushed tag <a href="%s/src/tag/%s">%[2]s</a> to <a href="%[1]s">%[3]s</a>
  1580. delete_tag = deleted tag %[2]s from <a href="%[1]s">%[3]s</a>
  1581. delete_branch = deleted branch %[2]s from <a href="%[1]s">%[3]s</a>
  1582. compare_commits = Compare %d commits
  1583. mirror_sync_push = synced commits to <a href="%[1]s/src/%[2]s">%[3]s</a> at <a href="%[1]s">%[4]s</a> from mirror
  1584. mirror_sync_create = synced new reference <a href="%s/src/%s">%[2]s</a> to <a href="%[1]s">%[3]s</a> from mirror
  1585. mirror_sync_delete = synced and deleted reference <code>%[2]s</code> at <a href="%[1]s">%[3]s</a> from mirror
  1586. [tool]
  1587. ago = %s ago
  1588. from_now = %s from now
  1589. now = now
  1590. future = future
  1591. 1s = 1 second
  1592. 1m = 1 minute
  1593. 1h = 1 hour
  1594. 1d = 1 day
  1595. 1w = 1 week
  1596. 1mon = 1 month
  1597. 1y = 1 year
  1598. seconds = %d seconds
  1599. minutes = %d minutes
  1600. hours = %d hours
  1601. days = %d days
  1602. weeks = %d weeks
  1603. months = %d months
  1604. years = %d years
  1605. raw_seconds = seconds
  1606. raw_minutes = minutes
  1607. [dropzone]
  1608. default_message = Drop files or click here to upload.
  1609. invalid_input_type = You can not upload files of this type.
  1610. file_too_big = File size ({{filesize}} MB) exceeds the maximum size of ({{maxFilesize}} MB).
  1611. remove_file = Remove file
  1612. [notification]
  1613. notifications = Notifications
  1614. unread = Unread
  1615. read = Read
  1616. no_unread = No unread notifications.
  1617. no_read = No read notifications.
  1618. pin = Pin notification
  1619. mark_as_read = Mark as read
  1620. mark_as_unread = Mark as unread
  1621. mark_all_as_read = Mark all as read
  1622. [gpg]
  1623. error.extract_sign = Failed to extract signature
  1624. error.generate_hash = Failed to generate hash of commit
  1625. error.no_committer_account = No account linked to committer's email address
  1626. error.no_gpg_keys_found = "No known key found for this signature in database"
  1627. error.not_signed_commit = "Not a signed commit"
  1628. error.failed_retrieval_gpg_keys = "Failed to retrieve any key attached to the committer's account"
  1629. [units]
  1630. error.no_unit_allowed_repo = You are not allowed to access any section of this repository.
  1631. error.unit_not_allowed = You are not allowed to access this repository section.