summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/options.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* Add rebase with merge commit merge style (#3844) (#4052)Julian2018-12-271-0/+6
| | | Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
* Restrict permission check on repositories and fix some problems (#5314)Lunny Xiao2018-11-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix units permission problems * fix some bugs and merge LoadUnits to repoAssignment * refactor permission struct and add some copyright heads * remove unused codes * fix routes units check * improve permission check * add unit tests for permission * fix typo * fix tests * fix some routes * fix api permission check * improve permission check * fix some permission check * fix tests * fix tests * improve some permission check * fix some permission check * refactor AccessLevel * fix bug * fix tests * fix tests * fix tests * fix AccessLevel * rename CanAccess * fix tests * fix comment * fix bug * add missing unit for test repos * fix bug * rename some functions * fix routes check
* Added dependencies for issues (#2196) (#2531)kolaente2018-07-171-0/+6
|
* Fix typos in i18n variable names. (#4080)Matthew Richardson2018-07-041-1/+1
|
* Remove unnecessary Safe tags (#3778)Bwko2018-04-101-4/+4
|
* Add EnableTimetracking option to app settings (#3719)Bwko2018-04-091-11/+12
|
* Add repository setting to enable/disable health checks (#3607)Allen Wild2018-03-271-0/+23
| | | | | | | | | | | | | | New Feature: * Repository struct field for IsFsckEnabled (default true of course) * Admin Settings section on repo options page, accessible only by admin users Possible Enhancements: * There's no way to force running health checks on all repos regardless of their IsFsckEnabled setting. This would be useful if there were an admin API or dashboard button to run fsck immediately. Issue: https://github.com/go-gitea/gitea/issues/1712 Signed-off-by: Allen Wild <allenwild93@gmail.com>
* Add string to confirm wiki data erasure (#3629)bugreport02018-03-061-1/+1
| | | | | | * Add a string to confirm wiki data erasure. * Add a string to confirm wiki data erasure.
* Fix incorrect 'Erase Wiki Data' string identifier. (#3613)bugreport02018-03-021-1/+1
|
* Add Pull Request merge options - Ignore white-space for conflict checking, ↵Lauris BH2018-01-051-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rebase, Squash merge (#3188) * Pull request options migration and UI in settings * Add ignore whitespace functionality * Fix settings if pull requests are disabled * Fix migration transaction * Merge with Rebase functionality * UI changes and related functionality for pull request merging button * Implement squash functionality * Fix rebase merging * Fix pull request merge tests * Add squash and rebase tests * Fix API method to reuse default message functions * Some refactoring and small fixes * Remove more hardcoded values from tests * Remove unneeded check from API method * Fix variable name and comment typo * Fix reset commit count after PR merge
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-1/+1
| | | | | | | | | | | | | | * refactor struct's time to remove unnecessary memory usage * use AsTimePtr simple code * fix tests * fix time compare * fix template on gpg * use AddDuration instead of Add
* Add owner to delete repo message (#2886)Ethan Koenig2017-11-151-1/+1
|
* Feature: Timetracking (#2211)Jonas Franz2017-09-121-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* EnableUnit() -> UnitEnabled() (#2242)Ethan Koenig2017-08-021-11/+11
|
* Mirror sync interval specified as duration string (#1407)Jonas2017-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sync interval specifed as duration string * Changed mirror interval text * make fmt * Add MinInterval for mirror sync * Use duration internally * Changed min default to 10m * make fmt * Incorrect default * Removed defaults in MustDuration() * Add Mirror interval migration * Default values corrected * Use transaction during migration * Change http 500 to page with error message * Cleanup session.commit()
* Fix disabled fields in repo settings UI (#1431)Morlinest2017-04-031-4/+6
|
* Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)Patrick G2017-03-151-212/+208
|
* Protected branches system (#339)Denis Denisov2017-02-211-24/+8
| | | | | | | | | | | | | | | | | | | | * Protected branches system * Moved default branch to branches section (`:org/:reponame/settings/branches`). * Initial support Protected Branch. - Admin does not restrict - Owner not to limit - To write permission restrictions * reformat tmpl * finished the UI and add/delete protected branch response * remove unused comment * indent all the template files and remove ru translations since we use crowdin * fix the push bug
* Redirects for renamed repos (#807)Ethan Koenig2017-02-051-1/+1
| | | | | | * Redirects for renamed repos * Remove unused phrase from locales
* Add units concept for modulable functions of a repository (#742)Lunny Xiao2017-02-041-18/+20
| | | | | | | | | | | | | | | | * Add units concept for modulable functions of a repository * remove unused comment codes & fix lints and tests * remove unused comment codes * use struct config instead of map * fix lint * rm wrong files * fix tests
* Implementation of the feature to redirect to an external issue trackerRémy Boulanouar2016-11-041-0/+5
|
* #2018 able to sync now for mirrorsUnknwon2016-08-301-12/+39
| | | | | - Refactor code to use sync.UniqueQueue - Closes #3509
* #2162 improve repository advance options UI displayUnknwon2016-07-311-28/+46
| | | | Enable/disable input based on user chosen options for wiki and issue tracker.
* repo/settings/options: take naming style examples out of locale stringUnknwon2016-07-251-2/+2
|
* Minor HTML fix for delete repository noticeUnknwon2016-07-231-1/+1
|
* Minor fix for #3246Unknwon2016-07-091-1/+1
|
* The pruning for the synchronized mirrors is a option now. Default value: ↵Pablo Saavedra2016-07-091-0/+7
| | | | | | | | | | | | | enable_prune = true (#3246) Executed go fmt getEngine() not handles DB parameters (#2972) (#2974) Uses .AllCols() for Update in updateMirror() Spanish traslation removed Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
* Modify behaviour of repo-delete. (#3232)Pheng Heong TAN2016-07-091-3/+1
| | | | | | | | | | Re: issues gogits/gogs#2863 and gogits/gogs#3231 As a result of modifications to the contents of the conf folder, `make bindata` was run, causing an update to bindata.go. Meta ----- This commit will be rebased onto the 'develop' branch.
* Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992)Cosmin Stroe2016-04-221-0/+15
|
* #1146 finish new access rights for collaboratorsUnknwon2016-03-051-115/+119
|
* Minor fixes for #2745Unknwon2016-03-031-4/+6
|
* Repo setting to delete and disable wikiJosh Frye2016-03-031-0/+46
|
* #2505 Allow to fork and disallow to create PRs for mirrors.Download-Fritz2016-02-191-7/+9
|
* Minor fix for #2624Unknwon2016-02-151-1/+1
|
* Refactored according to suggestionsMartin Hartkorn2016-02-141-0/+2
|
* Convert mirrors to regular repositories.Martin Hartkorn2016-02-141-20/+63
|
* #2114 External URL for wikiUnknwon2015-12-111-1/+12
|
* #1984 Better mirror repo managementUnknwon2015-12-081-0/+5
|
* Indent all templates with tabsAdam Strzelecki2015-12-081-158/+158
| | | | | | | | | | | | This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
* fix #1829 and fix #890Unknwon2015-12-041-2/+56
|
* UI: Always show menu on repo pagesAdam Strzelecki2015-12-031-1/+0
| | | | | Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use middleware.RepoRef() necessary to display information on this menu.
* UI: Make repository menu divide header and contentAdam Strzelecki2015-12-021-1/+1
| | | | | This is more inline with way GitHub looks like and feels much more natural and in style with rest of the interface.
* minor UI fix and fix ssh raceUnknwon2015-11-141-0/+1
|
* fix dropdown styleUnknwon2015-09-051-1/+1
|
* #1021 Forked repo unavailable after deleting original repoUnknwon2015-09-011-1/+6
|
* fix dashboard 500 when no issues at allUnknwon2015-09-011-2/+8
| | | | | - update locales - update README
* finish new repo options pageUnknwon2015-08-311-2/+2
|
* new repo options UIUnknwon2015-08-301-141/+154
|
* UI: issues - finish basic frameUnknwon2015-07-241-1/+1
|
* Remove GoGet option from repository and handle it with ?go-get=1 insteadPeter Smit2015-02-171-5/+0
| | | | The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.