aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/settings
Commit message (Collapse)AuthorAge
* refactor(db): move some methods off `user.go` (#7199)Joe Chen2022-10-22
|
* repo: support unlisted but publicly accessible repositories (#6176)Achilleas Koutsou2020-09-04
| | | Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* repo: disable public access option when using external wiki and issue ↵alpencrossi2020-04-09
| | | | tracker (#6081)
* webhook: overhaul route handlers (#6002)ᴜɴᴋɴᴡᴏɴ2020-03-22
| | | | | | | | | | | | | | | * Overual route handlers and fixes #5366 * Merge routes for repo and org * Inject OrgRepoContext * DRY validateWebhook * DRY c.HasError * Add tests * Update CHANGELOG
* git: migrate to github.com/gogs/git-module@v1.0.0 (#5958)ᴜɴᴋɴᴡᴏɴ2020-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * Finish `internal/db/git_diff.go` * FInish internal/db/mirror.go * Finish internal/db/pull.go * Finish internal/db/release.go * Finish internal/db/repo.go * Finish internal/db/repo_branch.go * Finish internal/db/repo_editor.go * Finish internal/db/update.go * Save my work * Add license header * Compile! * Merge master * Finish internal/cmd/hook.go * Finish internal/conf/static.go * Finish internal/context/repo.go * Finish internal/db/action.go * Finish internal/db/git_diff.go * Fix submodule URL inferring * Finish internal/db/mirror.go * Updat to beta.4 * css: update fonts * Finish internal/db/pull.go * Finish internal/db/release.go * Finish internal/db/repo_branch.go * Finish internal/db/wiki.go * gitutil: enhance infer submodule UR * Finish internal/route/api/v1/repo/commits.go * mirror: only collect branch commits after sync * mirror: fix tag support * Finish internal/db/repo.go * Finish internal/db/repo_editor.go * Finish internal/db/update.go * Finish internal/gitutil/pull_request.go * Make it compile * Finish internal/route/repo/setting.go * Finish internal/route/repo/branch.go * Finish internal/route/api/v1/repo/file.go * Finish internal/route/repo/download.go * Finish internal/route/repo/editor.go * Use helper * Finish internal/route/repo/issue.go * Finish internal/route/repo/pull.go * Finish internal/route/repo/release.go * Finish internal/route/repo/repo.go * Finish internal/route/repo/wiki.go * Finish internal/route/repo/commit.go * Finish internal/route/repo/view.go * Finish internal/gitutil/tag.go * go.sum
* templates: rename template function Str2html -> Str2HTMLUnknwon2018-12-10
|
* pkg/context: apply EscapePound at context levelUnknwon2018-09-28
| | | | | | Always escape template variable {{.Link}} variable and redirect calls. Relates to #5442
* templates/repo/setting: fix missing EscapePound (#5442)Unknwon2018-09-28
|
* repo: add changes to repository avatar feature (#5221)Unknwon2018-06-17
|
* repo: support avatars (#5221)Sergey Dryabzhinsky2018-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First code for repository avatars * Last code for repository avatars - add new option for repo avatars location on filesystem - add route catch in web - add new fields to repo model - add migration - update settings handlers - update repo header template * Update locale messages * Add repo avatars to home page * Add repo avatars to organization right panel * Show repo avatars in repo list * Remove AvatarEamil field, remove Gravatar support, use generic locale messages * Fix migration * Fix seed and not used tool * Revert public css changes, add them to less files * Latest lessc (2.6.0) don't put result into file but output to stdout So redirect output to file * Simplify things: - migration don't needed, and table changes too - just upload file to repo avatar storage - or generate random image * Fix repo image seed - name not unique * Get rid of not needed model fields * Class value is enough, remove height attribute * Don't generate random avatar for repository - use html and semantic ui icons if no avatar found * Update styles and templates for repo - use repo icon as default avatar - use globe icon for public repos - add micro style for repo avatars at dashboard * Remvoe redundant empty line * Fix nl2br filter - must return string * Fix css style for micro-repo-avatar in dashboard list * Remove `|len`, works fine w/o it. * Update after review 2: - use static route for repository avatar - format images settings block in settings * Update after review 2: - no random avatar for repo * Update after review 2: - no random avatar for repo 2 - update imports - update UploadAvatar* functions * Update after review 2: - update templates * Fix trace call * Remove unused immport since we use static route for repo avatars.
* repo: minor improve for PR #5219 and support UTF-8 byte countUnknwon2018-06-11
|
* repo: update repository description field to contain more than 256 symbols ↵Sergey Dryabzhinsky2018-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#5219) * Update repository description field to contain more than 256 symbols - update repository model - description field now is `TEXT` and limited by 4000 symbols - new migration - add description to html forms - repo creation and repo settings - add translation for description * Update for description field, new features - add autosize (height) for description textarea, new plugin - set max description length to 512 symbols - update locales * Fix migration - typo in var * Update repo description behaviour - add textarea autosize for /repo/create - add symbols counter under description testarea (create/edit) * Fix function definition - it a var * Revert ru-RU locale * Update by review - Use type `varchar(512)` in migration - Remove unused files from autosize plugin * Fix migration - new project paths * Fixes after review 2 - copyright year - format includes - use switch instead of multi-if * Remove unused `default:` option.
* models/mirror: shot push webhook after synced commits (#4528)Unknwon2018-06-03
|
* templates/repo/settings: fix mirror setting errorUnknwon2018-05-30
|
* template: delete legacy fileUnknwon2018-04-02
|
* templates/repo/branches: escape pound in branch name (#4874)Unknwon2018-03-20
|
* MISC: minor fixes in webhookUnknwon2017-11-18
|
* pull_request: able to ignore whitespace when check conflict (#4834)Unknwon2017-11-16
|
* repo/pull: allow rebase before merging (#4805)Unknwon2017-11-15
|
* pull: add an option to use rebase for merging pull requestsmharinder2017-11-15
| | | | | | | | | | | | | | | | For DVCS, either merge or rebase works for getting new code in a pull request in the main branch. The rebase workflow produces a linear history which is cleaner, and more bisect-able. This commit adds a repo-level option to enable the rebase workflow. Once enabled, "Merge Pull Request" will be replaced by "Rebase and Merge Pull Request" which does exactly what the user wants. It's unlikely a project wants a mixed-use of both rebase and merge workflows, therefore the feature is not implemented as a drop-down button like what GitHub does (https://github.com/blog/2243-rebase-and-merge-pull-requests).
* Add Dingtalk webhook support (#4773)Athurg Feng2017-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add dingtalk webhook into html template * Add Dingtalk's icon * Insert dingtalk into repo's webhook page template * Insert dingtalk into org's webhook page * Add dingtalk into default webhook config * Add locale string for add_dingtalk_hook_desc * Update bindata * Add dingtalk webhook form validator * Add dingtalk hook task * Add dingtalk hook create handler * Add dingtalk hook edit handler * Add dingtalk router * Add dingtalk webhook task skeleton * Add markdown link formatter * Add Dingtalk ActionCard create wrapper * Add support for dingtalk create event payload * Add support for dingtalk delete event payload * Add support for dingtalk fork event payload * Add support for dingtalk push event payload * Add support for dingtalk issue event payload * Add support for dingtalk issue comment payload * Add support for dingtalk pull event payload * Add support for dingtalk release event payload
* random: some code simplifyUnknwon2017-06-11
|
* ldap: minor fix for PR #4398Unknwon2017-05-29
|
* user/setting: improve UIUnknwon2017-04-07
|
* Refactoring: rename Signed -> LoggedUnknwon2017-04-06
|
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}Unknwon2017-04-06
|
* repo: allow private repository to have public wiki or issuesUnknwon2017-03-24
| | | | Relates to #649 and #2157
* repo/webhook: able to retrigger delivery history (#2187)Unknwon2017-03-19
|
* repo/setting: filter out deleted branch in protect list (#4288)Unknwon2017-03-16
|
* templates/repo/webhook: move to its own directoryUnknwon2017-03-16
|
* repo/settings: improve Git hook editorUnknwon2017-03-13
|
* webhook: add Release event (#2387)Unknwon2017-03-11
|
* webhook: add issue comment eventUnknwon2017-03-09
|
* webhook: support Issues event (#2319)Unknwon2017-03-09
| | | | Also addresses #3485.
* Protected branches: allow whitelist bypass require pull request check (#4207)Unknwon2017-03-08
|
* webhook: add fork eventUnknwon2017-02-27
|
* webhook: able to detect delete branch or tag (#2315)Unknwon2017-02-27
|
* markdown: fix links for image nested inside a link (#2636)Unknwon2017-02-27
|
* protect_branch: only list teams have write accessUnknwon2017-02-24
| | | | | List teams without write access to the repository cause confusion to make users think members of team could push to the branch.
* webhook: send secret with SHA256 HMAC hex digest (#3692)Unknwon2017-02-24
|
* webhook: highlight delivery response on clickUnknwon2017-02-24
| | | | This decreases page load time for webhook edit page.
* repo: add protect branch whitelist (#4177)Unknwon2017-02-23
| | | | | Add options to add users and teams to whitelist of a protected branch. This is only available for organizational repositories.
* webhook: also only enable certain types (#3356)Unknwon2017-02-21
| | | | Add new config option '[webhook] TYPES’.
* webhook: only trigger specific webhook for test delivery (#3030)Unknwon2017-02-21
|
* webhook: support color for DiscordUnknwon2017-02-21
|
* repo/settings: add description and link to personal SSH keys (#3936)Unknwon2017-02-18
|
* webhook: add native Discord supportUnknwon2017-02-18
|
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* Allow use to set an external tracker url and to redirect user when clicking ↵Rémy Boulanouar2017-01-31
| | | | in Issues same behavior as Wiki. (#3646)