summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
Commit message (Collapse)AuthorAgeFilesLines
* Add more webhooks support and refactor webhook templates directory (#3929)Lunny Xiao2018-05-1611-14/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * update vendor Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * load attributes when created release * update comparsion doc
* Some small template fixes (#3820)Rodrigo Villablanca Vásquez2018-04-201-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 protected branch whitelists for merging (#3689)Chri-s2018-03-251-0/+43
| | | | | | | | * Add database migrations for merge whitelist * Add merge whitelist settings for protected branches * Add checks for merge whitelists
* 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
|
* Writable deploy keys (closes #671) (#3225)Vlad Temian2018-01-071-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add is_writable checkbox to deploy keys interface * Add writable key option to deploy key form * Add support for writable ssh keys in the interface * Rename IsWritable to ReadOnly * Test: create read-only and read-write deploy keys via api * Add DeployKey access mode migration * Update gitea sdk via govendor * Fix deploykey migration * Add unittests for writable deploy keys * Move template text to locale * Remove implicit column update * Remove duplicate locales * Replace ReadOnly field with IsReadOnly method * Fix deploy_keys related integration test * Rename v54 migration with v55 * Fix migration hell
* 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-112-2/+2
| | | | | | | | | | | | | | * 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 dingtalk webhook (#2777)Lunny Xiao2017-11-213-0/+17
| | | | | | | | | | | | * add dingtalk webhook type * add vendor * some fixes * fix name check * fix name check & improvment
* Disable add key button if SSH is disabled (#2873)Michael Kuhn2017-11-211-0/+4
|
* Add owner to delete repo message (#2886)Ethan Koenig2017-11-151-1/+1
|
* Use Semantic UI's Search component for user and repo search (#2636)harry2017-10-031-2/+1
| | | | | | | | | | | | | | | | * Use search component on org invitation user input. * Search component for collaboration and members. * Search component for repo search. * minCharacters for search input * Display full_name for user search. * Fixed missing uid query parameter for repo search. * Removed unused comment.
* improve protected branch to add whitelist support (#2451)Lunny Xiao2017-09-142-9/+79
| | | | | | | | | | | | | | | | | | | | * improve protected branch to add whitelist support * fix lint * fix style check * fix tests * fix description on UI and import * fix test * bug fixed * fix tests and languages * move isSliceInt64Eq to util pkg; improve function names & typo
* 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>
* Webhooks for repo creation/deletion (#1663)Ethan Koenig2017-09-031-0/+10
| | | | | | | | * Webhooks for repo creation/deletion * add createHookTask * Add handles for GetSlackPayload and GetDiscordPayload
* Implementation of discord webhook (#2402)Lunny Xiao2017-08-283-0/+25
| | | | | | | | | | | | * implementation of discord webhook * fix webhooks * fix typo and unnecessary color values * fix typo * fix imports and revert changes to webhook_slack.go
* fix webhook linkLunny Xiao2017-08-112-2/+2
|
* EnableUnit() -> UnitEnabled() (#2242)Ethan Koenig2017-08-021-11/+11
|
* Add task to generate images from SVG and change to new logo (#2194)Lauris BH2017-07-282-2/+2
| | | | | | * Add makefile task to generate images from SVG and change to new logo * use absolute path on generate-images
* Add Gitea Webhook (#1755)Rémy Boulanouar2017-05-293-2/+36
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* Do not show empty collaborators segment (#1531)Morlinest2017-04-231-0/+2
|
* 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 #1418 (#1456)Antoine GIRARD2017-04-073-6/+6
|
* Fix and simplify repo branches UI (#1435)Morlinest2017-04-061-24/+20
|
* Fix disabled fields in repo settings UI (#1431)Morlinest2017-04-031-4/+6
|
* Simplify settings pages with item list (#1389)Antoine GIRARD2017-03-301-20/+15
| | | | | | | | | | * Remove point column on ssh key setting page * Remove un-used css * Some cleaning * Use octicon-key
* Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)Patrick G2017-03-1510-523/+488
|
* fix 500 caused by branches settings introduced by #1198 (#1214)Lunny Xiao2017-03-121-4/+4
|
* Make strings translatable (#1188) (#1198)Patrick G2017-03-111-7/+5
| | | | | | * Add strings to ini * Make strings translatable (#1188)
* Protected branches system (#339)Denis Denisov2017-02-214-24/+105
| | | | | | | | | | | | | | | | | | | | * 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
* fix: fill in ssh key title on setting of repo (#950)Bo-Yi Wu2017-02-161-2/+2
| | | | | * fix: fill in ssh key title on setting of repo * fix: Don't overwrite ssh key title if exist.
* 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
* Fixed project on repo template hook settingsAvelino2016-12-022-2/+2
|
* Added rel="noopener" to target="_blank" hrefs (#327)Bwko2016-12-021-1/+1
| | | | | | * Added rel="noopener" to target="_blank" hrefs * Replaced gogs.io/docs with docs.gitea.io
* 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
* #2246 fully support of webhooks for pull requestUnknwon2016-08-141-0/+10
|
* Replace gogs.io http links with https version (#3386)rugk2016-08-051-1/+1
|
* #3348 always use relative avatar link in the templateUnknwon2016-08-051-1/+1
|
* #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
|
* Refactor User.Id to User.IDUnknwon2016-07-241-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.