| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Sets BaseRepo value for each resulting fork in GetForks().
Finds correct permissions for parent repository in APIFormat().
The output JSON is a little redundant, perhaps we should offer a
different view of the api.Repository without the Parent attribute?
Signed-off-by: Dennis Chen <barracks510@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#4913)
* Add ROW_FORMAT=DYNAMIC when creating table for supports mysql 5.6 (fix #4894)
* Update models.go
Rename NewEngine2 to NewEngineWithParams
* Rename NewEngine2 to NewEngineWithParams
Please update vendor when https://github.com/go-xorm/xorm/pull/798 closed.
* Update dialect_mysql.go
* Update dialect_mysql.go
* Update models.go
|
| |
|
| |
|
|
|
| |
Signed-off-by: Wendell Sun <iwendellsun@gmail.com>
|
|
|
|
| |
(#4890)
|
|
|
|
|
|
|
|
| |
* Add utf8mb4 to connStr for mysql. fix #4131
* Update models.go. charset=utf8mb4 for mysql.
charset=utf8mb4 for mysql.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|