Unknwon
dfd494c113
repo: minor improve for PR #5219 and support UTF-8 byte count
7 years ago
Sergey Dryabzhinsky
57897cc8c2
repo: update repository description field to contain more than 256 symbols ( #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.
7 years ago
Unknwon
c08aab90ec
models/mirror: shot push webhook after synced commits ( #4528 )
7 years ago
Unknwon
bef7f6745c
templates/repo/settings: fix mirror setting error
7 years ago
Unknwon
55f148f499
template: delete legacy file
7 years ago
Unknwon
28e0003a9a
templates/repo/branches: escape pound in branch name ( #4874 )
7 years ago
Unknwon
0f14b92bce
MISC: minor fixes in webhook
7 years ago
Unknwon
3b8b8a2ee3
pull_request: able to ignore whitespace when check conflict ( #4834 )
7 years ago
Unknwon
34c2e52bd5
repo/pull: allow rebase before merging ( #4805 )
7 years ago
mharinder
5cd1fdeb9e
pull: add an option to use rebase for merging pull requests
...
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 ).
7 years ago
Athurg Feng
52f3833811
Add Dingtalk webhook support ( #4773 )
...
* 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
7 years ago
Unknwon
ab2197bc75
random: some code simplify
8 years ago
Unknwon
a1d411a018
ldap: minor fix for PR #4398
8 years ago
Unknwon
d0612be402
user/setting: improve UI
8 years ago
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
8 years ago
Unknwon
8196430f47
repo: allow private repository to have public wiki or issues
...
Relates to #649 and #2157
8 years ago
Unknwon
2807274e2d
repo/webhook: able to retrigger delivery history ( #2187 )
8 years ago
Unknwon
7c802f6d83
repo/setting: filter out deleted branch in protect list ( #4288 )
8 years ago
Unknwon
4e64e71e28
templates/repo/webhook: move to its own directory
8 years ago
Unknwon
e1dcd11051
repo/settings: improve Git hook editor
8 years ago
Unknwon
b615d670b3
webhook: add Release event ( #2387 )
8 years ago
Unknwon
89cc6aa430
webhook: add issue comment event
8 years ago
Unknwon
c93731339f
webhook: support Issues event ( #2319 )
...
Also addresses #3485 .
8 years ago
Unknwon
83f6b8e847
Protected branches: allow whitelist bypass require pull request check ( #4207 )
8 years ago
Unknwon
b06f299748
webhook: add fork event
8 years ago
Unknwon
f0086e66ae
webhook: able to detect delete branch or tag ( #2315 )
8 years ago
Unknwon
d7954014a4
markdown: fix links for image nested inside a link ( #2636 )
8 years ago
Unknwon
0696d430c9
protect_branch: only list teams have write access
...
List teams without write access to the repository cause confusion
to make users think members of team could push to the branch.
8 years ago
Unknwon
6ec859f2b0
webhook: send secret with SHA256 HMAC hex digest ( #3692 )
8 years ago
Unknwon
452551fa23
webhook: highlight delivery response on click
...
This decreases page load time for webhook edit page.
8 years ago
Unknwon
6072e9a52c
repo: add protect branch whitelist ( #4177 )
...
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
8 years ago
Unknwon
60aca9ea18
webhook: also only enable certain types ( #3356 )
...
Add new config option '[webhook] TYPES’.
8 years ago
Unknwon
bd970b8b27
webhook: only trigger specific webhook for test delivery ( #3030 )
8 years ago
Unknwon
8216360da8
webhook: support color for Discord
8 years ago
Unknwon
7b8f086f72
repo/settings: add description and link to personal SSH keys ( #3936 )
8 years ago
Unknwon
a07b1f630a
webhook: add native Discord support
8 years ago
Unknwon
7e09d210ba
Initial version of protected branches ( #776 )
...
- Able to restrict force push and deletion
- Able to restrict direct push
8 years ago
Rémy Boulanouar
be3a13a0d6
Allow use to set an external tracker url and to redirect user when clicking in Issues same behavior as Wiki. ( #3646 )
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
8 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
8 years ago
Unknwon
991ce42c48
#2162 improve repository advance options UI display
...
Enable/disable input based on user chosen options for wiki and issue tracker.
8 years ago
Unknwon
2295fafb34
repo/settings/options: take naming style examples out of locale string
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
024fcc836b
Minor HTML fix for delete repository notice
8 years ago
Unknwon
9fcf66f0e0
Minor fix for #3246
8 years ago
Pablo Saavedra
98b152030d
The pruning for the synchronized mirrors is a option now. Default value: 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
8 years ago