Commit graph

4540 commits

Author SHA1 Message Date
dakkar
15503b96a0 properly thread Mastodon imports 2023-11-30 13:26:55 +00:00
Gianni Ceccarelli
e392d523a7 prepare to import more notes
`recreateChain` converts a list of notes into a forest of notes, using
notes that are not replies as roots, and replies as child nodes,
recursively.

Previously, notes that are replies to notes not included in the
export, and their children, were never put in the forest, and
therefore wheren't imported.

This can be fine when importing from Twitter, since we can't really
link a note to a tweet.

And, for the moment, it's acceptable when importing from *key, because
the export doesn't contain the instance URL, so we can't resolve ids
to remote notes.

It's less fine when importing from Mastodon / Pleroma / Akkoma,
because in those cases we _can_ link to the remote note that the user
was replying to.

This commit makes `recreateChain` optionally return "orphaned" note
trees, so in the (near) future we can use it to properly thread
imported notes from those services.
2023-11-30 13:26:55 +00:00
Insert5StarName
97bd4e6f82 chore: add locales for defaultLike 2023-11-30 13:25:35 +01:00
Mar0xy
13550bac35
upd: remove reload from DisconnectedBehavior
This feature was mainly broken and there is no real way to fix it and as it is mostly not needed it is easier to just remove it.

Closes transfem-org/Sharkey#43
2023-11-30 06:59:24 +01:00
Mar0xy
9383e3affd
upd: remove accidental additions 2023-11-30 04:05:11 +01:00
Mar0xy
fcbb291ef1
upd: pass a few more AP values
The added values are all taken from Mastodon code in hope to make editing and everything else sync better
2023-11-30 04:01:07 +01:00
Mar0xy
b2d188aab1
chore: bump axios dep version in megalodon 2023-11-30 02:29:50 +01:00
Mar0xy
2fe100c71a
upd: disable ws disconnect warning by default
This mostly is a false flag in the first place and also something that tends to annoy quite a lot of people.
2023-11-30 02:26:56 +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
363bb43658
upd: remove quote button restriction and coloring 2023-11-29 22:26:56 +01:00
Mar0xy
5f7fc54ee9
upd: delete emoji file from drive on emoji deletion 2023-11-29 18:45:42 +01:00
Marie
5f3754f9fc
merge: fix classic ui sidebars not sticking 2023-11-29 02:45:41 +01:00
Mar0xy
62bcd42891
upd: create Folders for imported media 2023-11-28 22:46:10 +01:00
Insert5StarName
c483a75337 use locale 2023-11-28 22:21:40 +01:00
Mar0xy
ae2752ca0f upd: ask to reload on like change 2023-11-28 22:21:40 +01:00
Mar0xy
c9112b2949 upd: use null as default on user like setting 2023-11-28 22:21:40 +01:00
Mar0xy
44fe3e4ebb
fix: quoted notes opening when clicking CW button 2023-11-28 13:03:53 +01:00
Insert5StarName
fe7528a8ee remove background from widgets 2023-11-28 12:42:15 +01:00
Insert5StarName
e14fd33140 fix: classic ui 2023-11-28 12:38:34 +01:00
Mar0xy
7e2cf4238f
upd: apply 300x300 PWA icon
Closes transfem-org/Sharkey#165
2023-11-28 03:48:22 +01:00
Mar0xy
d135cba60b
chore: lint 2023-11-28 03:05:33 +01:00
Mar0xy
7722c0045a
chore: correct class from undone changes 2023-11-28 03:03:13 +01:00
Mar0xy
bd470596cc
upd: collapse mentions if multiple are followed in a row 2023-11-28 03:01:37 +01:00
Mar0xy
13e8269993
upd: unset overscroll-behavior on universal 2023-11-28 02:07:50 +01:00
Mar0xy
7b9c16487b
upd: add fields to user popup
Closes transfem-org/Sharkey#173
2023-11-27 23:35:18 +01:00
Mar0xy
958b97a50c
upd: add ability to open remote profile in user dropdown
Closes transfem-org/Sharkey#176
2023-11-27 22:17:03 +01:00
Mar0xy
3d0b754332
fix: selecting text in a note causing it to open
Closes transfem-org/Sharkey#175
2023-11-27 22:06:25 +01:00
dakkar
d50d335e44 re-fix "hide preview of quote-renote"
I'm not sure how this got lost
2023-11-26 16:03:23 +00:00
Marie
5131a3414d
fix: correct acctUri 2023-11-25 21:02:41 +01:00
Marie
a5fccab128
upd: provide uri on accounts 2023-11-25 20:59:21 +01:00
Mar0xy
7ba8529141
fix: importing remote emojis with used name
Closes transfem-org/Sharkey#164
2023-11-24 18:19:01 +01:00
Mar0xy
04dbf7ebe9
chore: replace icons, change errors 2023-11-23 19:22:34 +01:00
Mar0xy
42bf8e5e76
merge: upstream 2023-11-22 23:40:27 +01:00
Mar0xy
81c36908d9
fix: attachments not working on FB import 2023-11-22 19:02:43 +01:00
Mar0xy
d078a72f38
upd: add Facebook to note importing 2023-11-22 16:00:46 +01:00
Mar0xy
cb9cbc8f15
chore: remove unused type 2023-11-21 22:23:55 +01:00
Mar0xy
3f86903cae
upd: use Meilisearch for file type searching 2023-11-21 22:23:01 +01:00
Mar0xy
733c9a8c00
fix: Show Less button overlapping text
Fixes transfem-org/Sharkey#161
2023-11-20 22:55:37 +01:00
Mar0xy
19fc5a74f0
merge: improve recreateChain
Resolves #159
2023-11-18 12:38:13 +01:00
Insert5StarName
88d9f59957 upd: highlight active tab text 2023-11-18 05:17:00 +01:00
Mar0xy
4929467016
upd: import own replies to own tweets 2023-11-17 20:10:16 +01:00
Mar0xy
13600e0abc
upd: keep choice in indexable migration update 2023-11-17 15:17:47 +01:00
Mar0xy
55ef4c4d93
upd: completely change handling of indexable 2023-11-17 15:05:58 +01:00
Mar0xy
902e5a81f9
fix: pinned being set to null causing errors in masto api 2023-11-17 14:05:36 +01:00
Mar0xy
2267f5a619
upd: change indexable value to noindex
As described in https://docs.joinmastodon.org/entities/Account/#noindex
2023-11-17 13:58:06 +01:00
Mar0xy
1a78ed400c
upd: remove event stream calls on import 2023-11-17 13:49:12 +01:00
syuilo
08b3662bb8 chore(frontend): tweak ui 2023-11-17 18:00:42 +09:00
syuilo
4a7ccf6deb tweak MkTime.vue 2023-11-17 17:54:13 +09:00
syuilo
4b3f9bd9a6 enhance(backend): MFMのunixtimeをISO形式で連合するように 2023-11-17 15:44:36 +09:00
syuilo
5f5712a3ee fix(frontend): MFM unixtimeのプレビューがリアルタイムで反映されない
Fix #12350
2023-11-17 15:33:57 +09:00