1
0
Commit Graph

28 Commits

Author SHA1 Message Date
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
Mar0xy 8d2f655e51 fix: a few lint problems 2023-09-22 23:03:39 +02:00
Mar0xy 1795195097 fix: update? what update 2023-09-22 22:54:35 +02:00
Mar0xy feec3c302b upd: add backend for post editing 2023-09-22 21:05:42 +02:00