summaryrefslogtreecommitdiffstats
path: root/models/action.go
Commit message (Collapse)AuthorAgeFilesLines
* Don't close issues via commits on non-default branch. (#5622)Harshit Bansal2019-01-041-39/+35
| | | | | | | | Adds a small check to close the issues only if the referencing commits are on the default branch. Fixes: #2314.
* Improve performance of dashboard (#4977)Lunny Xiao2018-12-131-13/+53
|
* Fix bug when repo remained bare if multiple branches pushed (#4923)SagePtr2018-09-131-2/+4
|
* Add push webhook support for mirrored repositories (#4127)Lauris BH2018-09-061-0/+68
|
* Added dependencies for issues (#2196) (#2531)kolaente2018-07-171-0/+4
|
* Implemented hover text showing user FullName (#4261)Guido Diepen2018-07-051-0/+6
| | | | | | | For each action that is displayed in either the public activity overview of a user, or in the dashboard overview, the link to the username is now extended with a title attribute to show the FullName as hover text Signed-off-by: Guido Diepen <site-github@guidodiepen.nl>
* Add more webhooks support and refactor webhook templates directory (#3929)Lunny Xiao2018-05-161-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * update vendor Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * load attributes when created release * update comparsion doc
* Set default branchname on first push (#3715)Bwko2018-03-251-1/+5
|
* refactor: reduce sql query in retrieveFeeds (#3547)Bo-Yi Wu2018-02-211-1/+10
|
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-10/+5
| | | | | | | | | | | | | | * 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
* Fix ref parsing in commit messages (#3067)Ethan Koenig2017-12-031-70/+57
|
* 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
|