summaryrefslogtreecommitdiffstats
path: root/models/update.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-4/+3
| | | | | | | | | | | | | | * 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
* Code/repo search (#2582)Ethan Koenig2017-10-271-0/+4
| | | Indexed search of repository contents (for default branch only)
* Add checks for commits with missing author and time (#2771)Lauris BH2017-10-261-6/+22
| | | | | | * Add checks for commits with missing author and time * Fix validate commits with emails if it has no Author
* Add commit count caching (#2774)Lauris BH2017-10-261-3/+10
| | | | | | | | | | * Add commit count caching * Small refactoring * Add different key prefix for refs and commits * Add configuratuion option to allow to change caching time or disable it
* Replace deprecated Id method with ID (#2655)Ethan Koenig2017-10-051-3/+3
|
* Complete push webhooks (#2530)David Schneiderbauer2017-09-211-44/+33
| | | | | | | | | | | | | | | | | * implemented missing 'delete' push webhooks moreover created ActionDeleteBranch and ActionDeleteTag * add CommitRepoAction tests for tag/branch creation/deletion * fixed error where push webhook not called if is new branch or tag removed unnecessary code * moved prepare unit test environment into separate method to be used across unit tests * add missing if clause in pushUpdate Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Sync releases table with tags on push and for mirrors (#2459)Lauris BH2017-09-201-5/+100
| | | | | | | | | | | | | | | * Sync releases table with tags on push and for mirrors * Code style fixes * Fix api to return only releases * Optimize release creation and update Minimize posibility of race conditions * Fix release lower tag name updating * handle tag reference update by addionally comparing commit id
* Trigger sync webhooks on UI commit (#2302)Ethan Koenig2017-08-171-1/+18
| | | | | | * Trigger sync webhooks on UI commit * Also fix UI upload/delete
* Remove env user salt since no need to use (#1515)Lunny Xiao2017-05-061-1/+0
| | | | | | * remove env user salt since no need to use * remove unused variable from update.go
* Drop db operations from hook commands (#1514)Lunny Xiao2017-05-041-21/+21
| | | | | | | | | | * move all database operations from hook command to web command and instead of internal routes * bug fixed * adjust the import path sequences * remove unused return value on hookSetup
* Repo size in admin panel (#1482)Jonas2017-04-111-0/+4
| | | | | | | | | | | | | | | * Implementation of the feature to view repository size in admin panel * Move GetRepoSize to git module * Repository.RepoSize -> Repository.Size * RepoSize -> Size in template * Redo a few bits and pieces * Update size when syncing mirror or forking * Remove GetRepoSize * Changed fatal errors to error message * Copy migration code from Gogs * make fmt
* Move push update to post-receive and protected branch check to pre-receive ↵Lunny Xiao2017-02-251-34/+9
| | | | | | | | | | | | (#1030) * move all push update to git hook post-receive and protected branch check to git hook pre-receive * add SSH_ORIGINAL_COMMAND check back * remove all unused codes * fix the import
* Cleanup log messagingGabriel Jackson2017-02-021-1/+1
| | | | | | | | | This change corrects a few logging issues: * Standardized formatting errors with '%v'. * Standardized failure warning word usage. * Corrected an instance of using the standard log library when the gitea log library should be used instead.
* update code.gitea.io/git (#450)Lunny Xiao2016-12-221-4/+4
|
* Fix string format verbs (#3637)Alexander Lunegov2016-12-221-1/+1
|
* Fixed linting errors for variable definitionsThomas Boerger2016-11-291-1/+1
|
* Lint models/update.go & webhook_slack.goBwko2016-11-251-0/+5
|
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-2/+2
| | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* Replace gogits/git-module dependency with go-gitea/git (#94)Sandro Santilli2016-11-061-1/+1
| | | | | | | | * Replace gogits/git-module dependency with go-gitea/git Fixes #92 * Remove git alias for git module import (not needed)
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-1/+1
|
* General code quality improvementUnknwon2016-08-161-34/+29
|
* Code clean up for new config optionsUnknwon2016-08-141-10/+14
|
* Add committer information to API and Webhooks. Also fixes #3271 (#3414)lstahlman2016-08-091-5/+7
|
* #2907 Add commit timestamp to webhookUnknwon2016-08-091-4/+6
|
* Refactor User.Id to User.IDUnknwon2016-07-241-3/+3
|
* #2650 fix possbility that use email as pusher user nameUnknwon2016-02-171-40/+50
| | | | | | | | | | Remove the possibility of using email as user name when user actually push through combination of email and password with HTTP. Also refactor update action function to replcae tons of arguments with single PushUpdateOptions struct. And define the user who pushes code as pusher, therefore variable names shouldn't be confusing any more.
* rename import pathUnknwon2015-12-151-1/+1
|
* fix bool check for repo max limit and fix hang when push repo with tons of ↵Unknwon2015-12-101-2/+2
| | | | commits
* move out git module and #1573 send push hookUnknwon2015-12-091-19/+22
|
* Show custom avatars in commitsUnknwon2015-11-131-5/+4
|
* #1900 last updatede time not update after pushUnknwon2015-11-051-15/+15
|
* #1896 fatal when no needed update taskUnknwon2015-11-041-1/+2
|
* rename fieldsUnknwon2015-11-031-1/+1
|
* New push to head repo of head branch: regenerate patch and retest applyUnknwon2015-10-241-11/+12
|
* work on #1830Unknwon2015-10-231-2/+2
|
* fix error detect when push commitsUnknwon2015-09-251-1/+0
|
* #1602 Wrong commit order on issue page when pushing multiple commitsUnknwon2015-09-251-8/+2
|
* WIP: create PR - choose branchUnknwon2015-08-081-2/+2
|
* Page: Compare 2 commitsUnknwon2014-10-101-5/+4
|
* increase max commits in payload to 5Christopher Brickley2014-09-221-2/+5
|
* add commit compare functionalityChristopher Brickley2014-09-011-2/+2
|
* New UI merge in progressUnknwon2014-07-261-9/+6
|
* bug fixed for message tagLunny Xiao2014-06-281-23/+53
|
* bug fixed #261Lunny Xiao2014-06-281-1/+1
|
* Merge branch 'master' of github.com:gogits/gogsLunny Xiao2014-06-281-13/+14
|\ | | | | | | | | | | Conflicts: models/update.go routers/repo/http.go
| * Mirror fix on #248Unknown2014-06-231-13/+13
| |
* | bug fixed #261Lunny Xiao2014-06-281-0/+31
|/
* Remove qiniu/logUnknown2014-06-201-12/+11
|
* Fix #98, support web hookUnknown2014-05-061-1/+1
|
* Merge branch 'dev' of github.com:gogits/gogsUnknown2014-05-031-5/+10
|\