| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
| |
If a branch was deleted from server, sometimes it is not reflected
on local copy. Therefore, we need to remove the branch with same
name if it is out of sync and then checkout to correct version.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
| |
|
|
|
|
|
| |
Turns out mail service was not initialized at all, also mail must
be sent in sync in hook mode before program exits.
|
| |
|
|
|
|
|
| |
Because in the final repository list we use Distinct to remove
duplicates, but didn't do so when count total number of repositories.
|
|
|
|
| |
Should not load attributes if repository not found in HasForkedRepo.
|
| |
|
| |
|
|
|
|
| |
Also handle error related to time parsing.
|
| |
|
| |
|
|
|
|
| |
XORM supports automatic roll back in session Close() already.
|
|
|
|
|
|
| |
Following conditions were not protected:
1. Use and increase next pid
2. Append and remove process from the list
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Modified repository keyword search to include description for #4287
* Replacing Where with And for #4548
|
|
|
|
|
|
| |
* Add undocumented endpoint for /repositories/:id
* GitHub API Compliance
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#4412)
Ensure that the IN clause contains one value at least. The idea is avoid a
syntax error in the SQL sentence and rollbacks in the transactions.
For example:
ERROR: syntax error at or near ")"
LINE 1: ...RE ... and team.id IN ();
We will always add the -1 value in the IN list.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Add check for user for create/update
* Update login_source.go
* Update login_source.go
|
|
|
|
|
|
|
|
|
|
|
|
| |
* don't load key when key size should not be checked
This makes it possible for users with incompatible ssh-keygen versions
to just disable the check completely without running into errors.
* add proper ed25519 constant
The x/crypto/ssh library has support for ed25519 now, so it is possible
to support it.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
After sync mirror, get latest commit date and compare to current
repository updated time, only update it if the commit date is newer.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If we save credentials already escaped, 'url.QueryEscape' still
escapes it and makes the credentials become incorrect.
|
|
|
|
|
|
|
| |
Special characters such as '@', ';', '#' and ':' could occur in
password portion of credentials, which breaks the interpretation
and saves 'config' file in with extra characters that are not
recognized by Git (due to INI library).
|
|
|
|
|
|
|
|
| |
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
To further support more markup languages (e.g. Org-mode, AsciiDoc,
reStructuredText), the name 'markdown' is inappropriate.
This is the first step towards more markup language support.
|