Commit graph

25487 commits

Author SHA1 Message Date
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
dependabot[bot]
7ef50b4c8e
chore(deps): bump actions/first-interaction from 1.2.0 to 1.3.0 (#186)
Bumps [actions/first-interaction](https://github.com/actions/first-interaction) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/actions/first-interaction/releases)
- [Commits](https://github.com/actions/first-interaction/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: actions/first-interaction
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 13:46:56 +01:00
Gianni Ceccarelli
f905f8c50c
locale: some more Italian translations & fix english translations (#185) 2023-11-30 13:45:25 +01: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
6fb8a633e0
chore: remove rmquote locale
Removed as it is no longer in use.
2023-11-29 22:31:52 +01:00
Mar0xy
363bb43658
upd: remove quote button restriction and coloring 2023-11-29 22:26:56 +01:00
Gianni Ceccarelli
264062258b
add missing bits to docker example config (#184) 2023-11-29 20:23:47 +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
Marie
51ec675e00
chore: fix japanese locale 2023-11-26 18:38:35 +01:00
Marie
f262533723
chore: fix english locale 2023-11-26 18:37:17 +01:00
Mar0xy
f02573cc3e
chore: up dev version 2023-11-26 17:27:25 +01:00
Marie
30846fb397
Merge pull request #168 from transfem-org/revert-167-release/2023.11.1
Revert "release: 2023.11.1"
2023-11-26 17:25:32 +01:00
Marie
ca72939c49
Revert "release: 2023.11.1" 2023-11-26 17:24:20 +01:00
Marie
b1f81a9803
release: 2023.11.1 2023-11-26 17:24:13 +01:00
Marie
44004e828e
merge: fix hide preview of quote/renote 2023-11-26 17:17:08 +01:00
Marie
0ebea65050
merge: fix hide preview of quote/renote 2023-11-26 17:11:48 +01:00
Marie
5474bd83c9
chore: version to stable number 2023-11-26 17:07:26 +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
f9c37e5bb2
chore: add missing locale 2023-11-26 16:55:07 +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