Mar0xy
4cfc110e00
rm: mastodon api
2023-12-01 12:04:41 +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
Mar0xy
2fae63fe15
upd: add multipart support to oauth/token
2023-11-16 20:04:19 +01:00
Mar0xy
6ca27b48cf
upd: add multipart/form support to a few mastodon endpoints
2023-11-16 19:45:54 +01:00
おさむのひと
1eb769dbe8
LTLに特定条件下でチャンネル投稿が混ざり込む現象の修正 ( #12347 )
...
* LTLにチャンネル投稿を含まないように修正
* fix CHANGELOG.md
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-16 16:02:46 +09:00
syuilo
9d78a1a8b3
enhance(backend): make ftt db fallback configurable
2023-11-16 10:20:57 +09:00
Mar0xy
8779c0defd
chore: replace misskey_app
with sharkey_app
2023-11-15 23:52:09 +01:00
Mar0xy
572fe7d8e7
upd: replace default error images
2023-11-15 23:47:29 +01:00
syuilo
ca81f0ddbb
fix(backend): 追加情報のカスタム絵文字がユーザー情報のtagに含まれない問題を修正
...
Fix #12316
2023-11-15 16:17:21 +09:00
syuilo
be6778ac61
chore(backend): improve performance
2023-11-15 16:10:05 +09:00
Jaehong Kang
04075ee0be
enhance(backend): Implementation of HTTP header and body validation to fix SIF-2023-002 ( #12334 )
...
Using Buffer instead of string
Co-authored-by: perillamint <perillamint@silicon.moe>
2023-11-15 11:13:34 +09:00
zyoshoka
aa6d0d4359
fix(backend): 非公開の投稿に対して返信できないように ( #12333 )
...
* fix(backend): 非公開の投稿に対して返信できないように
* Update CHANGELOG.md
* fix: test
2023-11-15 11:10:45 +09:00
syuilo
65c5626b65
Merge pull request from GHSA-3f39-6537-3cgc
...
This commit implements HTTP header and body validation to fix
[SIF-2023-002](https://advisory.silicon.moe/advisory/sif-2023-002/ )
Signed-off-by: perillamint <perillamint@silicon.moe>
Co-authored-by: perillamint <perillamint@silicon.moe>
Co-authored-by: yunochi <yuno@yunochi.com>
2023-11-14 17:09:45 +09:00
syuilo
30bb24d18c
update deps
2023-11-14 10:35:48 +09:00
syuilo
2d2eefe3d4
feat: メールアドレスを使用してユーザー名を割り出す機能
...
Resolve #10158
2023-11-14 07:58:18 +09:00
Mar0xy
e4bd74183f
chore: remove type in DbNoteImportToDbJobData
2023-11-13 13:09:21 +01:00
Mar0xy
6f76a3a1f8
upd: import replies to own posts on *key
2023-11-13 13:07:49 +01:00
Mar0xy
9b3993a652
fix: prevent *key renotes/boosts from being imported
...
Stop renotes/boosts from *key from being imported due to missing functionality of getting the related posts
2023-11-13 10:25:39 +01:00