mirror of
1
Fork 0
forgejo/models/migrations
metiftikci ca0921a95a
Prevent simultaneous editing of comments and issues (#31053)
fixes #22907

Tested:
- [x] issue content edit
- [x] issue content change tasklist
- [x] pull request content edit
- [x] pull request change tasklist

![issue-content-edit](https://github.com/go-gitea/gitea/assets/29250154/a0828889-fb96-4bc4-8600-da92e3205812)

(cherry picked from commit aa92b13164e84c26be91153b6022220ce0a27720)

Conflicts:
	models/issues/comment.go
	 c7a389f2b2 [FEAT] allow setting the update date on issues and comments

	options/locale/locale_en-US.ini
	 trivial context conflicts

	routers/api/v1/repo/issue_comment.go
	routers/api/v1/repo/issue_comment_attachment.go
	services/issue/comments.go
	services/issue/content.go
         user blocking is implemented differently in Forgejo

	routers/web/repo/issue.go
	 trivial difference from 6a0750177f Allow to save empty comment
         user blocking is implemented differently in Forgejo

	templates/repo/issue/view_content/conversation.tmpl
	 templates changed a lot in Forgejo but the change is
	 trivially ported

	tests/integration/issue_test.go
	 other tests were added in the same region

	web_src/js/features/repo-issue-edit.js
	 the code is still web_src/js/features/repo-legacy.js
	 trivially ported
2024-06-02 16:26:54 +02:00
..
base Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00
fixtures Remove If Exist check on migration for mssql because that syntax required SQL server 2016 (#30894) 2024-05-12 20:03:10 +02:00
v1_6 Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00
v1_7 Rename `Sync2` -> `Sync` (#26479) 2023-08-13 21:17:21 +02:00
v1_8 [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
v1_9 Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00
v1_10 Rename `Sync2` -> `Sync` (#26479) 2023-08-13 21:17:21 +02:00
v1_11 Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00
v1_12 [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
v1_13 [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
v1_14 [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
v1_15 [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
v1_16 Fix some bug on migrations (#30647) 2024-04-28 15:39:01 +02:00
v1_17 Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
v1_18 Fix wrong table name (#30557) 2024-04-28 15:39:00 +02:00
v1_19 Rename `Sync2` -> `Sync` (#26479) 2023-08-13 21:17:21 +02:00
v1_20 Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00
v1_21 [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2024-02-05 16:09:41 +01:00
v1_22 Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
v1_23 Prevent simultaneous editing of comments and issues (#31053) 2024-06-02 16:26:54 +02:00
migrations.go Prevent simultaneous editing of comments and issues (#31053) 2024-06-02 16:26:54 +02:00