summaryrefslogtreecommitdiffstats
path: root/models/action.go
Commit message (Collapse)AuthorAgeFilesLines
* Use RelAvatarLink() in GetActAvatar() (#2800)cstyles2017-10-311-1/+1
|
* Use AfterLoad instead of AfterSet on Structs (#2628)Lunny Xiao2017-10-011-7/+3
| | | | | | | | * use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
* Complete push webhooks (#2530)David Schneiderbauer2017-09-211-16/+41
| | | | | | | | | | | | | | | | | * 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>
* Use named ActionType constants in template helper (#2545)Ethan Koenig2017-09-201-3/+2
|
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-131-7/+1
| | | | | | | | | | | | * use created & updated instead BeforeInsert & BeforeUpdate * fix vendor checksum * only show generated SQL when development mode * remove extra update column updated_unix * remove trace config
* fix duplicated feed (#2370)Lunny Xiao2017-08-281-8/+1
|
* Add more test for login links and fix a bug on action retrieve (#2361)Lunny Xiao2017-08-231-1/+1
| | | | * add more test for login links and fix a bug on action retrieve
* Fix SQL condition bug in GetFeeds(..) (#2360)Ethan Koenig2017-08-231-4/+5
|
* Add collaborative repositories to the dashboard (#2205)Bwko2017-08-231-12/+18
| | | | | | | | | | * Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
* Ignore invalid issue numbers in commit messages. Fixes #2022 (#2150)Lauris BH2017-07-121-3/+3
|
* Fix "Dashboard shows deleted comments" (#1995)Jonas Franz2017-06-251-0/+40
|
* Fix bug in Action.loadRepo() (#1959)Ethan Koenig2017-06-141-1/+1
|
* Merge pull request #1829 from ethantkoenig/no_branchesAndrey Nering2017-06-121-1/+1
|\ | | | | Commitless repos should be bare
| * Commitless repos should be bareEthan Koenig2017-05-281-1/+1
| |
* | Fix user profile activity feed (#1848)Ethan Koenig2017-06-021-22/+28
|/ | | | | | * Fix user profile activity feed * gofmt, and avoid overlapping database connections
* Fix invalid reference in feeds template (#1820)Ethan Koenig2017-05-271-0/+6
| | | | | | | | * Fix invalid reference in feeds template * Comment for GetActAvatar * Add integration test
* Fix activity feed (#1779)Ethan Koenig2017-05-261-61/+83
| | | | | | | | | | | | * Fix activity feed Preserve actions after user/repo name change * Add missing comment * Fix migration, and remove fields completely * Tests
* Fix "Error: No issue number specified" when pushing (#1393)agrn2017-03-311-2/+2
| | | | | | * Fix "Error: No issue number specified" when pushing * update pr
* fix wrong log when push to a new branch (#1220)Lunny Xiao2017-03-171-1/+1
|
* Fix FIXME and remove superfluous queries in models/org (#749)Ethan Koenig2017-01-251-8/+5
|
* Create missing database indexes (#596)Andrey Nering2017-01-061-5/+5
|
* Fix typos in models/ (#576)Ethan Koenig2017-01-051-2/+2
|
* fix tag webhook 404 error (#420)Lunny Xiao2016-12-221-1/+1
|
* update code.gitea.io/git (#450)Lunny Xiao2016-12-221-2/+2
|
* bug fixed branch name for pushupdate (#380)Lunny Xiao2016-12-131-1/+1
|
* Bug fixes for repo permissions in APIEthan Koenig2016-12-071-1/+1
| | | | Also move duplicated code into repo.APIFormat(..)
* CreateBranch-hook has shasum. Use the full ref for fetching shasumKim "BKC" Carlbäcker2016-11-291-1/+19
|
* Tag-webhooks are useless without shasumsKim "BKC" Carlbäcker2016-11-291-0/+2
|
* Golint fixed for modules/setting (#262)Lunny Xiao2016-11-271-3/+3
| | | | | | * golint fixed for modules/setting * typo fixed and renamed UNIXSOCKET to UnixSocket
* Lint action.goSandro Santilli2016-11-241-21/+59
|
* Fix import path of go-sdk (#141)Sandro Santilli2016-11-111-1/+1
| | | | From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea
* Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queriesThibault Meyer2016-11-101-5/+5
|\ | | | | | | | | | | | | | | | | # Conflicts: # models/git_diff.go # models/issue.go # models/org.go # models/pull.go # models/repo.go
| * Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-5/+5
| | | | | | | | | | | | | | - 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
* | Rewrite XORM queriesThibault Meyer2016-11-101-13/+18
|/
* Use MixedCase constant namesSandro Santilli2016-11-071-26/+26
| | | | See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
* Replaced go-gogs-client with go-sdk importsThomas Boerger2016-11-071-1/+1
|
* 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-3/+3
|
* General code quality improvementUnknwon2016-08-161-77/+64
|
* #2246 add HTMLURL to webhook typeUnknwon2016-08-161-1/+1
| | | | - Fill Milestone and Assignee field when available in webhook payload
* models/repo_editor: improve code qualityUnknwon2016-08-151-0/+1
|
* Fix empty repository panic on send test webhookUnknwon2016-08-151-5/+0
|
* Replace convert.To with APIFormat callsUnknwon2016-08-141-28/+16
|
* #2246 fully support of webhooks for pull requestUnknwon2016-08-141-10/+9
|
* Add committer information to API and Webhooks. Also fixes #3271 (#3414)lstahlman2016-08-091-5/+18
|
* #2907 Add commit timestamp to webhookUnknwon2016-08-091-10/+12
|
* #3348 always use relative avatar link in the templateUnknwon2016-08-051-1/+1
|
* #1384 add pagination for repositoriesUnknwon2016-07-241-10/+11
|
* Refactor User.Id to User.IDUnknwon2016-07-241-10/+10
|
* Use struct for UI settingsUnknwon2016-07-241-2/+2
|