summaryrefslogtreecommitdiffstats
path: root/models/fixtures/action.yml
Commit message (Collapse)AuthorAgeFilesLines
* Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... ↵65432023-04-071-0/+9
| | | | | | | (#23874) - close #22301 workaround for https://github.com/go-chi/chi/issues/781
* GetFeeds must always discard actions with dangling repo_id (#19598)singuliere2022-05-051-0/+8
| | | | | | | | | | | | | | * GetFeeds must always discard actions with dangling repo_id See https://discourse.gitea.io/t/blank-page-after-login/5051/12 for a panic in 1.16.6. * add comment to explain the dangling ID in the fixture * loadRepoOwner must not attempt to use a nil action.Repo * make fmt Co-authored-by: Loïc Dachary <loic@dachary.org>
* RSS/Atom support for Repos (#19055)65432022-03-131-7/+7
| | | | | | | * support for repos * refactor * advertise the feeds via meta tags * allow feed suffix and feed header * optimize performance
* Fix heatmap activity (#15252)siddweiker2021-06-251-0/+24
| | | | | | | | | | | | | | | | | | | | | | | * Group heatmap actions by 15 minute intervals Signed-off-by: Sidd Weiker <siddweiker@gmail.com> * Add multi-contribution test for user heatmap Signed-off-by: Sidd Weiker <siddweiker@gmail.com> * Add timezone aware summation for activity heatmap Signed-off-by: Sidd Weiker <siddweiker@gmail.com> * Fix api user heatmap test Signed-off-by: Sidd Weiker <siddweiker@gmail.com> * Update variable declaration style Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* rework heatmap permissions (#14080)Norwin2020-12-221-0/+9
| | | | | | | | | | | | | | | | * now uses the same permission model as for the activity feed: only include activities in repos, that the doer has access to. this might be somewhat slower. * also improves handling of user.KeepActivityPrivate (still shows the heatmap to self & admins) * extend tests * adjust integration test to new behaviour * add access to actions for admins * extend heatmap unit tests
* Update heatmap fixtures to restore tests (#13224)65432020-10-201-1/+1
| | | | | * hotfix * update ...
* Update heatmap fixtures to restore tests (#8615)zeripath2019-10-211-1/+1
| | | | | * Update heatmap fixtures to restore tests * Add hint to check the fixture age on fail
* User action heatmap (#5131)kolaente2018-10-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added basic heatmap data * Added extra case for sqlite * Built basic heatmap into user profile * Get contribution data from api & styling * Fixed lint & added extra group by statements for all database types * generated swagger spec * generated swagger spec * generated swagger spec * fixed swagger spec * fmt * Added tests * Added setting to enable/disable user heatmap * Added locale for loading text * Removed UseTiDB * Updated librejs & moment.js * Fixed import order * Fixed heatmap in postgresql * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: kolaente <konrad@kola-entertainments.de> * Added copyright header * Fixed a bug to show the heatmap for the actual user instead of the currently logged in * Added integration test for heatmaps * Added a heatmap on the dashboard * Fixed timestamp parsing * Hide heatmap on mobile * optimized postgresql group by query * Improved sqlite group by statement
* Fix user profile activity feed (#1848)Ethan Koenig2017-06-021-1/+1
| | | | | | * Fix user profile activity feed * gofmt, and avoid overlapping database connections
* Fix activity feed (#1779)Ethan Koenig2017-05-261-9/+0
| | | | | | | | | | | | * Fix activity feed Preserve actions after user/repo name change * Add missing comment * Fix migration, and remove fields completely * Tests
* Consistency checks for action unit tests (#1079)Ethan Koenig2017-02-281-2/+2
|
* Fix public activity showing private repos (#892)Morgan Bazalgette2017-02-111-0/+11
| | | | | | | | | | * Fix public activity showing private repos (#811) Signed-off-by: Morgan Bazalgette <the@howl.moe> * error check after setting is_private to true * Add test for UpdateRepository w/ visibility change
* Unit tests for models/action (#619)Ethan Koenig2017-01-091-0/+22