Commit graph

53 commits

Author SHA1 Message Date
dakkar
d3710f0872 maybe fix #510 - try to not edit visibility
the frontend part is pretty straightforward, the backend part is ugly
but it shouldn't make things worse than they already are
2024-09-21 18:24:57 +01:00
dakkar
b678580453 copy changes from NoteCreateService to NoteEditService 2024-08-02 12:32:28 +01:00
dakkar
5dc8c2827c Merge branch 'develop' into future-2024-05-31 2024-06-08 16:45:53 +01:00
Marie
b2088e60b7 merge: use the current resolver for quotes - #524 (!536)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/536

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-06-03 16:54:51 +00:00
dakkar
bf710428eb various fixes after the merge 2024-05-31 12:55:53 +01:00
dakkar
326b2c254a copy upstream NoteCreateService changes to NoteEditService 2024-05-31 12:32:31 +01:00
dakkar
4ddee7b01e Merge branch 'develop' into future 2024-05-31 11:24:00 +01:00
dakkar
42d9da161b first basic protection - #524 2024-05-14 16:58:06 +01:00
dakkar
30bd7768d6 Merge branch 'develop' into future-2024-04-25-post 2024-05-11 13:11:07 +01:00
Sugar
194d8a5527 feat: send edit events to servers that interacted
a server replied to, renoted or reacted to a note knows about a note,
and as such it should get notified about it being edited.

this matches similar logic in mastodon.
2024-05-11 09:44:03 +02:00
dakkar
eab690a5e3 really edit notes in more cases - fixes #424 2024-05-07 20:16:38 +00:00
dakkar
7606bce362 sync NoteEditService from NoteCreateService 2024-04-25 11:44:24 +01:00
dakkar
af548d05ca merge upstream for 2024.2.1 2024-03-02 16:36:49 +00:00
Marie
d1b787192a
fix: align note edit errors with note create errors 2024-02-23 17:01:35 +01:00
dakkar
4afbf3b91e some fixes for note edits 2024-02-22 18:23:46 +00:00
Marie
4a13508da0 Note Edited notification type 2024-02-20 15:10:41 +00:00
dakkar
9c1437bdf9 check prohibited words when editing note 2024-02-19 14:27:10 +00:00
Marie
2e7df3297c
fix: diff between NoteCreateService and NoteEditService 2024-02-09 19:51:41 +01:00
Marie
85355813ad
merge: latest changes 2024-02-09 19:22:06 +01:00
Marie
f93a8e2d38 merge: Fix sfm-js linkage (!399)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/399

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-03 18:28:47 +00:00
Marie
f091b84c6e
chore: change sfm registry and name 2024-02-03 15:01:09 +01:00
dakkar
e93e73673a probably more correct muting logic
we want to notify if neither the thread nor the user are muted;
otherwise, for example, notes in a muted thread from a non-muted user
would get notified
2024-01-26 18:09:25 +00:00
dakkar
83e9057b27 apply to NoteEditService all recent changes from NoteCreateService 2024-01-26 18:07:34 +00:00
Marie
5db583a3eb merge: upstream 2023-12-23 02:09:23 +01:00
Marie
c92c2d065f upd: replace mfm with sfm 2023-12-18 03:03:05 +01:00
Mar0xy
65a2ea6a74
upd: improve post editing on polls
Fixes not being able to edit post if poll expiry was set and now checks properly if poll was edited or not
2023-11-30 02:11:47 +01:00
Mar0xy
55ef4c4d93
upd: completely change handling of indexable 2023-11-17 15:05:58 +01:00
Mar0xy
9cd2759769
feat: isIndexable 2023-11-07 19:16:57 +01:00
Mar0xy
7c480424a6
merge: upstream 2023-11-03 15:35:12 +01:00
dakkar
219c7fa6ec always preserve old text when editing a note
before this change:

* create a note, with text
  * `note` has a row with the text
	* `note_edit` doesn't have any matching row
* edit the note, removing all the text
  * the row in `note` has the new, empty, text
	* `note_edit` has a matching row, but its `oldText` is NULL

so the original text is lost

after this change, the row in `note_edit` always keeps the previous
text
2023-11-02 14:28:23 +00:00
Mar0xy
83be996a3d
upd: store old date and use it in previous versions 2023-10-22 14:07:04 +02:00
Mar0xy
d50e81e475
upd: improve note edit table & improve previous version view
Closes transfem-org/Sharkey#105
2023-10-22 13:16:30 +02:00
Mar0xy
4b230d792c
merge: upstream changes 2023-10-18 19:48:03 +02:00
Mar0xy
68886b9ab5
merge: upstream performance changes & instance silencing 2023-10-16 23:38:21 +02:00
Mar0xy
ca428977a5
merge: upstream 2023-10-15 23:36:38 +02:00
Mar0xy
f8f128b347
merge: all upstream changes 2023-10-13 19:01:17 +02:00
Mar0xy
9a96ac02fc
fix: adding poll to note during edit breakage 2023-10-06 21:12:33 +02:00
Mar0xy
5f9f6e4e0e
chore: lint 2023-10-06 19:17:12 +02:00
Mar0xy
bc5bc64d55
test: fedi note edit 2 2023-10-06 19:00:41 +02:00
Mar0xy
e63e121b48
revert: all attempts
Generally broke it, need better testing tools
2023-10-06 18:36:16 +02:00
Mar0xy
220442be39
revert: recent edit on note edit 2023-10-06 18:28:30 +02:00
Mar0xy
d3b9e82192
fix: relation error 2023-10-06 18:22:41 +02:00
Mar0xy
16130fae60
test: attempt fedi fix note edit 2 2023-10-06 18:15:11 +02:00
Mar0xy
b0ad0740b2
test: attempt fix note edit 2023-10-06 17:54:47 +02:00
Mar0xy
89e4c5fd9c
chore: lint 2023-10-04 02:30:05 +02:00
Mar0xy
4ee3e45bf7
upd: fix poll editing 2023-10-04 02:24:20 +02:00
Mar0xy
bf3d493d04
Revert "feat: improve tl performance" 2023-10-03 20:21:26 +02:00
Mar0xy
38e35e1472
merge: upstream 2023-10-03 15:20:49 +02:00
Mar0xy
d05848790c
fix: lint 2023-09-22 23:58:31 +02:00
Mar0xy
5d40ca6568
upd: update notes live on feed 2023-09-22 23:44:07 +02:00