forgejo/models/activities
KN4CK3R bcb78e70ca
Quote table release in sql queries (#27205)
Fixes #27174

`release` is a reserved keyword in MySql. I can't reproduce the issue on
my setup and we have a test for that code but it seems there can be
setups where it fails.


a101dbaa79/tests/integration/repo_activity_test.go (L45-L46)
2023-09-23 12:57:39 +00:00
..
action.go Refactor dashboard/feed.tmpl (#26956) 2023-09-07 16:23:13 +02:00
action_list.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
action_test.go Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 2023-08-07 12:23:59 +02:00
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
notification.go Fix bug with sqlite load read (#26305) 2023-08-05 10:40:27 +08:00
notification_test.go Fix bug with sqlite load read (#26305) 2023-08-05 10:40:27 +08:00
repo_activity.go Quote table release in sql queries (#27205) 2023-09-23 12:57:39 +00:00
statistic.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
user_heatmap.go Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
user_heatmap_test.go Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00