aboutsummaryrefslogtreecommitdiffstats
path: root/routers/user/home_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Only serve attachments when linked to issue/release and if accessible by ↵Antoine GIRARD2020-01-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user (#9340) * test: add current attachement responses * refactor: check if attachement is linked and accessible by user * chore: clean TODO * fix: typo attachement -> attachment * revert un-needed go.sum change * refactor: move models logic to models * fix TestCreateIssueAttachment which was wrongly successful * fix unit tests with unittype added * fix unit tests with changes * use a valid uuid format for pgsql int. test * test: add unit test TestLinkedRepository * refactor: allow uploader to access unlinked attachement * add missing blank line * refactor: move to a separate function repo.GetAttachment * typo * test: remove err test return * refactor: use repo perm for access checking generally + 404 for all reject
* Add /milestones endpoint (#8733)Brad Albright2019-12-151-0/+39
| | | | | Create a /milestones endpoint which basically serves as a dashboard view for milestones, very similar to the /issues or /pulls page. Closes #8232
* Use gitea forked macaron (#7933)Tamal Saha2019-08-231-1/+1
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* hide issues from org private repos w/o team assignment (#4034)David Schneiderbauer2018-06-211-2/+2
|
* Unit tests for wiki routers (#3022)Ethan Koenig2017-11-301-2/+2
|
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-031-0/+33
* Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues