summaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-201-0/+21
|
* Reference issues from pull requests and other issues (#8137)guillep2k2019-09-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update ref comment * Generate comment on simple ref * Make fmt + remove unneeded repo load * Add TODO comments * Add ref-check in issue creation; re-arrange template * Make unit tests pass; rearrange code * Make fmt * Filter out xref comment if user can't see the referencing issue * Add TODOs * Add cross reference * Rearrange code; add cross-repository references * Striketrhough obsolete references * Remove unnecesary TODO * Add "not supported" note * Support for edits and deletes, and issue title * Revert changes to go.mod * Fix fmt * Add support for xref from API * Add first integration test * Add integration tests * Correct formatting * Fix add comment test * Add migration * Remove outdated comments; fix typo * Some code refactoring and rearranging * Rename findCrossReferences to createCrossReferences * Delete xrefs when repository is deleted * Corrections as suggested by @lafriks * Prepare for merge * Fix log for errors
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-193-0/+32
|
* Refuse merge until all required status checks success (#7481)Lunny Xiao2019-09-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refuse merge until ci successfully * deny merge request when required status checkes not succeed on merge Post and API * add database migration for added columns on protected_branch * fix migration * fix protected branch check bug * fix protected branch settings * remove duplicated code on check pull request's required commit statuses pass * remove unused codes * fix migration * add newline for template file * fix go mod * rename function name and some other fixes * fix template * fix bug pull view * remove go1.12 wrong dependencies * add administrator bypass when protected branch status check enabled * fix bug * improve the codes
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-171-0/+6
|
* Adds side-by-side diff for images (#6784)Mario Lubenka2019-09-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds side-by-side diff for images Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Explain blank imports Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Use complete word for width and height labels on image compare Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Update index.css from master Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Moves ImageInfo to git commit file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Assign ImageInfo function for template and sets correct target for BeforeSourcePath Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds missing comment Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Return error if ImageInfo failed Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Avoid template panic when ImageInfo failed for some reason Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Show file size on image diff Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Removes unused helper function Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Reverts copyright year change Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Close file reader Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Update commit.go Sets correct data key * Moves reader.Close() up a few lines * Updates index.css * Updates CSS file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Transfers adjustments for image compare to compare.go file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adjusts variable name Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Apply lesshint recommendations Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Do not show old image on image compare if it is not in index of base commit Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Change file size text Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-141-0/+1
|
* oauth2 with remote Gitea - Fix #8093 (#8149)techknowlogick2019-09-121-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-121-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-111-0/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-102-0/+8
|
* Implement webhook branch filter (#7791)WGH2019-09-091-0/+3
| | | | | | | | * Fix validate() function to handle errors in embedded anon structs * Implement webhook branch filter See #2025, #3998.
* Add option to initialize repository with labels (#6061)John Olheiser2019-09-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add optional label sets on repo creation * Fix CRLF * Instead of hardcoding default, make it the helper * Move label set init out of repo init Add a new error for the router Combine router label init with repo creation label init Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add issue labels to Swagger for repo creation Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update models/issue_label.go Co-Authored-By: Lauris BH <lauris@nix.lv> * Update models/issue_label.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-071-1/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-072-68/+1820
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-062-3/+61
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-054-4/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-054-4/+4
|
* Display description of 'make this repo private' as help text, not as tooltip ↵micw2019-09-055-5/+5
| | | | (#8097)
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-041-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-032-0/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-032-0/+15
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-031-1/+40
|
* Add merged commit id on pull view when it's merged (#8062)Lunny Xiao2019-09-031-0/+1
|
* Add tooltip for the visibility checkbox in /repo/create (#8025)Mura Li2019-09-021-0/+1
| | | | | | | | | | * Add tooltip for the visibility checkbox in /repo/create * Change the tooltip wording * Update options/locale/locale_en-US.ini Co-Authored-By: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-0219-20/+49
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-022-0/+17
|
* Add strike to old header on comment (#8046)jaqra2019-09-031-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-2930-0/+39
|
* Add Ability for User to Customize Email Notification Frequency (#7813)Gary Kim2019-08-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Backend Logic for Toggling Email Notification This commit adds the backend logic for allowing users to enable or disable email notifications. The implementation ensures that only issue notification emails get disabled and important emails are still sent regardless of the setting. The UI to toggle this setting has not yet been implemented. * Add UI and complete user email notification enable This commit completes the functionality to allow users to disable their own email notifications. Signed-off-by: Gary Kim <gary@garykim.dev> * Add Third Option for Only Email on Mention Signed-off-by: Gary Kim <gary@garykim.dev> * Readd NOT NULL to new preference string Signed-off-by: Gary Kim <gary@garykim.dev> * Add Tests and Rewrite Comment Signed-off-by: Gary Kim <gary@garykim.dev> * Allow admin to set default email frequency Signed-off-by: Gary Kim <gary@garykim.dev> * Add new config option to docs Signed-off-by: Gary Kim <gary@garykim.dev> * Fix a few mistakes Signed-off-by: Gary Kim <gary@garykim.dev> * Only update required columns Signed-off-by: Gary Kim <gary@garykim.dev> * Simplify an error check Signed-off-by: Gary Kim <gary@garykim.dev> * Make email_notification_preference column in DB be VARCHAR(20) Signed-off-by: Gary Kim <gary@garykim.dev> * Handle errors Signed-off-by: Gary Kim <gary@garykim.dev> * Update models/migrations/v93.go Co-Authored-By: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-281-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-2714-14/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-272-25/+55
|
* Use "Pull Request" instead of "Merge Request" (#8003)kolaente2019-08-271-1/+1
| | | Signed-off-by: kolaente <k@knt.li>
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-231-11/+13
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-201-2/+398
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-204-1/+70
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-168-8/+0
|
* Extract the username and password from the mirror url (#7651)zeripath2019-08-161-1/+1
| | | | | | | | | | | | * Explode out mirror username and password * Update models/repo_mirror.go * Just roundtrip the password * remove unused declaration * Update templates/repo/settings/options.tmpl
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-141-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-141-1/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-141-4/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-131-65/+68
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-121-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-311-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-293-0/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-291-0/+1
|
* [Branch View] add download button (#7604)65432019-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * add download-button info message * add overflow-visible css for table colum class * right colum is always there * add download button for default branch * add download button for all other branchs * resize table colum so two buttons fit in * code indent avter rebase * show commit divergence corect https://github.com/go-gitea/gitea/issues/7625 * changes because of merge master into ... * optimize if statement for protected branches * dont downloat a deleted branch - fix error 404
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-261-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-261-1/+2
|