Commit graph

1945 commits

Author SHA1 Message Date
Marie 043f26c895 upd: improve performance for checking if instance is marked as NSFW on images 2023-12-21 23:15:49 +01:00
Marie 4ca3c05487 upd: make new posts be marked as NSFW if instance is marked as NSFW
Closes #226
2023-12-21 23:15:03 +01:00
Marie 9c6a7aed98 fix: websocket for timelines not checking following for muted instance users
Closes #233
2023-12-21 22:42:06 +01:00
Marie 90f8d8e575 upd: fix tag view not respecting blocks and suspensions
Closes #234
2023-12-21 22:24:23 +01:00
Marie cf3299312a merge: allow themes to specify a font (#230)
Closes #225
Closes #25
2023-12-19 11:35:24 +01:00
Marie c92c2d065f upd: replace mfm with sfm 2023-12-18 03:03:05 +01:00
Gianni Ceccarelli 7f2a66f262 allow a theme to specify a font - #225 2023-12-14 14:24:10 +00:00
Insert5StarName 702fc6b6f7
chore: update repo links 2023-12-09 03:02:14 +01:00
Mar0xy cc8d3edbc8
upd: add misskey icon to font 2023-12-07 01:48:57 +01:00
Mar0xy 93869a5f34
add: mark instance as NSFW
Closes transfem-org/Sharkey#197
2023-12-05 22:20:52 +01:00
Mar0xy 62d1cb490b
add: custom icon font 2023-12-05 22:20:51 +01:00
Marie 0de8053bc0
merge: prettier query for bubble timeline (#204) 2023-12-04 15:46:20 +01:00
Mar0xy d5b598d696
fix: edit when it comes to quotes 2023-12-04 15:45:26 +01:00
dakkar 216d177997 fix the spacing
thanks, linter
2023-12-04 14:26:37 +00:00
dakkar c05de08a3b prettier query for bubble timeline
I *think* this works; in my test instance (with no federated notes…)
the generated query looks correct, and PostgreSQL doesn't complain.
2023-12-04 14:13:52 +00:00
Mar0xy 2f99c7e9dc
add: Bubble timeline
Closes  transfem-org/Sharkey#154
2023-12-04 02:10:51 +01:00
Mar0xy ec5facd09a
upd: increase cw limit
Closes transfem-org/Sharkey#193
2023-12-03 17:56:54 +01:00
Mar0xy a707b410d0
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-11-30 23:45:25 +01:00
Mar0xy 7251f12908
upd: lower max uses per hour on import notes 2023-11-30 22:05:13 +01:00
dakkar c958d935e4 thread Pleroma imports as well
I have _not_ tested this, but it should work fine, those exports are
the same shape as Mastodon's
2023-11-30 13:26:55 +00:00
dakkar c59e74dfd5 fix chaining for Mastodon notes
the id / replyId are not at the top level, so now `recreateChain`
takes a list of keys to walk, not just a single key
2023-11-30 13:26:55 +00:00
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
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 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 5f7fc54ee9
upd: delete emoji file from drive on emoji deletion 2023-11-29 18:45:42 +01:00
Mar0xy 62bcd42891
upd: create Folders for imported media 2023-11-28 22:46:10 +01:00
Mar0xy 7e2cf4238f
upd: apply 300x300 PWA icon
Closes transfem-org/Sharkey#165
2023-11-28 03:48:22 +01: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 19fc5a74f0
merge: improve recreateChain
Resolves #159
2023-11-18 12:38:13 +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 4b3f9bd9a6 enhance(backend): MFMのunixtimeをISO形式で連合するように 2023-11-17 15:44:36 +09:00
syuilo 4f9922d46c update deps 2023-11-17 15:10:04 +09:00
Mar0xy a3fd51d6e0
upd: change the way likes get handled 2023-11-16 23:47:44 +01:00
Mar0xy 5af274ef0a
upd: register contentParser 2023-11-16 20:21:33 +01:00
Mar0xy 67dceab22e
fix: errors 2023-11-16 20:08:16 +01:00