aboutsummaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-151-0/+25
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-141-0/+25
|
* Add user status filter to admin user management page (#16770)wxiaoguang2021-10-121-0/+12
| | | | | | | | | | | | | | | | | | | | It makes Admin's life easier to filter users by various status. * introduce window.config.PageData to pass template data to javascript module and small refactor move legacy window.ActivityTopAuthors to window.config.PageData.ActivityTopAuthors make HTML structure more IDE-friendly in footer.tmpl and head.tmpl remove incorrect <style class="list-search-style"></style> in head.tmpl use log.Error instead of log.Critical in admin user search * use LEFT JOIN instead of SubQuery when admin filters users by 2fa. revert non-en locale. * use OptionalBool instead of status map * refactor SearchUserOptions.toConds to SearchUserOptions.toSearchQueryBase * add unit test for user search * only allow admin to use filters to search users
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-122-0/+19
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-112-0/+17
|
* Save and view issue/comment content history (#16909)wxiaoguang2021-10-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * issue content history * Use timeutil.TimeStampNow() for content history time instead of issue/comment.UpdatedUnix (which are not updated in time) * i18n for frontend * refactor * clean up * fix refactor * re-format * temp refactor * follow db refactor * rename IssueContentHistory to ContentHistory, remove empty model tags * fix html * use avatar refactor to generate avatar url * add unit test, keep at most 20 history revisions. * re-format * syntax nit * Add issue content history table * Update models/migrations/v197.go Co-authored-by: 6543 <6543@obermui.de> * fix merge Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-101-0/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-091-0/+12
|
* Add a simple way to rename branch like gh (#15870)a10121127962021-10-081-0/+7
| | | | | | | | | | - Update default branch if needed - Update protected branch if needed - Update all not merged pull request base branch name - Rename git branch - Record this rename work and auto redirect for old branch on ui Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: delvh <dev.lh@web.de>
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-051-0/+11
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-042-0/+8
|
* Add option to copy line permalink (#17145)qwerty2872021-10-021-0/+1
| | | | | | | | | | | * Add option to copy line permalink * Fix lint * Apply review suggestions * Update code and fix lint * Use features/clipboard.js framework
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-021-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-10-0126-64/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-302-5/+4
|
* Fix missing repo link in issue/pull assigned emails (#17183)zeripath2021-09-301-2/+2
| | | | | | | | | | | | | There was a mistake in the template file: `templates/mail/issue/assigned.tmpl` where the repourl was generated from a non-existent release instead of the issue. This PR changes this to use the issue but also ensure that the issue repo is loaded. It also slightly improves the English locale string. Fix #17160 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: delvh <dev.lh@web.de>
* Kanban colored boards (#16647)Romain2021-09-291-2/+1
| | | Add a column Color in ProjectBoard and color picker in new / edit project board form.
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-293-1/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-281-1/+1
|
* Support direct comparison (git diff a..b) as well merge comparison (a...b) ↵zeripath2021-09-271-0/+2
| | | | | | | | | | | | (#16635) This PR changes the compare page to make the "..." in the between branches a clickable link. This changes the comparison type from "..." to "..". Similarly it makes the initial compare icon clickable to switch the head and base branches. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Allow LDAP Sources to provide Avatars (#16851)zeripath2021-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow LDAP Sources to provide Avatars Add setting to LDAP source to allow it to provide an Avatar. Currently this is required to point to the image bytes. Fix #4144 Signed-off-by: Andrew Thornton <art27@cantab.net> * Rename as Avatar Attribute (drop JPEG) Signed-off-by: Andrew Thornton <art27@cantab.net> * Always synchronize avatar if there is change Signed-off-by: Andrew Thornton <art27@cantab.net> * Actually get the avatar from the ldap Signed-off-by: Andrew Thornton <art27@cantab.net> * clean-up Signed-off-by: Andrew Thornton <art27@cantab.net> * use len()>0 rather than != "" Signed-off-by: Andrew Thornton <art27@cantab.net> * slight shortcut in IsUploadAvatarChanged Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-261-3/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-2519-77/+49
|
* Unify issue and pr subtitles (#17133)crapStone2021-09-231-5/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-202-2/+14
|
* [skip ci] Updated licenses and gitignoresGiteaBot2021-09-191-0/+21
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-181-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-171-0/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-152-3/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-132-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-122-3/+11
|
* Support unprotected file patterns (#16395)Jimmy Praet2021-09-111-0/+2
| | | | | | | Fixes #16381 Note that changes to unprotected files via the web editor still cannot be pushed directly to the protected branch. I could easily add such support for edits and deletes if needed. But for adding, uploading or renaming unprotected files, it is not trivial. * Extract & Move GetAffectedFiles to modules/git
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-111-0/+16
|
* Add setting to OAuth handlers to skip local 2FA authentication (#16594)zeripath2021-09-101-0/+2
| | | | | | | | This PR adds a setting to OAuth and OpenID login sources to allow the source to skip local 2FA authentication. Fix #13939 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use git attributes to determine generated and vendored status for language ↵zeripath2021-09-091-0/+2
| | | | | | | | | | | | | | | | stats and diffs (#16773) Replaces #16262 Replaces #16250 Replaces #14833 This PR first implements a `git check-attr` pipe reader - using `git check-attr --stdin -z --cached` - taking account of the change in the output format in git 1.8.5 and creates a helper function to read a tree into a temporary index file for that pipe reader. It then wires this in to the language stats helper and into the git diff generation. Files which are marked generated will be folded by default. Fixes #14786 Fixes #12653
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-092-1/+30
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-072-4/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-041-52/+52
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-033-1/+2801
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-09-0219-19/+2
|
* Add option to update pull request by `rebase` (#16125)a10121127962021-08-311-1/+2
| | | | | * add option to update pull request by `rebase` Signed-off-by: a1012112796 <1012112796@qq.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-301-0/+20
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-294-0/+28
|
* Add modals to Organization and Team remove/leave (#16471)zeripath2021-08-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * Add modals to Organization and Team remove/leave Add confirmation modals to Organization and Team remove and leave. Fix #16215 Signed-off-by: Andrew Thornton <art27@cantab.net> * avoid for-in Signed-off-by: Andrew Thornton <art27@cantab.net> * Revert "avoid for-in" This reverts commit 2af9a6f9d46ed31b6fc6e3a29e695577dcf09f75. * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-2716-193/+284
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-262-0/+2
|
* Unify migration descriptions (#16781)delvh2021-08-251-6/+6
| | | | | | | | | | | | * Unify migration descriptions * Clarify that pure Git migration differs from other migrations Co-authored-by: Norwin <noerw@users.noreply.github.com> * Use Pull Requests for Gitea migration Co-authored-by: Norwin <noerw@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net>
* Add bundle download for repository (#14538)John Olheiser2021-08-241-0/+1
| | | | | | | | | | | | | | | | | * Add bundle download Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix fmt Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix build tags Signed-off-by: jolheiser <john.olheiser@gmail.com> * Download specific commit Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-245-2/+7
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-2320-39/+26
|