dakkar
044d3d76e7
actually fix #118
...
`note.fileIds` is an array, it's always going to be truthy; we need to
check the length, like a similar `if` does just a few lines above
2023-10-31 16:16:39 +00:00
dakkar
111863b396
try to fix #118
...
when fetching notes from Redis, we need to re-check the criteria from
the API request, because `userTimelineWithFiles`,
`userTimelineWithReplies`, `userTimelineWithChannel` all get merged
together, so `noteIds` may well contain notes without attachments…
2023-10-31 15:18:37 +00:00
Mar0xy
b57b644ec6
chore: remove console log on verify_credentials
2023-10-31 12:13:37 +01:00
Mar0xy
6673c7fc13
fix: limit query being returned as string instead of int
2023-10-31 12:06:47 +01:00
Mar0xy
c18efe0042
upd: add empty return on trends/links
2023-10-31 11:49:34 +01:00
Mar0xy
98389114a8
fix: suggestions
2023-10-31 11:46:08 +01:00
Mar0xy
171ba6f4f5
chore: change style of getStatusTrends
2023-10-31 11:38:23 +01:00
Mar0xy
0a9ca195e2
fix: create trends/tags endpoint
2023-10-31 11:34:25 +01:00
Mar0xy
d15c588080
upd: change handling of suggestions and status trends
2023-10-31 11:31:31 +01:00
Mar0xy
20a8bb0467
fix: search being broken on dev through mastodon
2023-10-30 13:09:20 +01:00
Mar0xy
4fa15f27c7
fix: deleting a list returning an error as success
2023-10-30 13:00:58 +01:00
Mar0xy
46bb5f2dac
fix: lists not being received properly
2023-10-30 12:53:28 +01:00
Mar0xy
e24a57402b
chore: lint
2023-10-30 01:47:24 +01:00
Mar0xy
81def9457b
upd: allow updating of fields
2023-10-30 01:32:48 +01:00
Mar0xy
c88fbe843a
upd: remove debug lines, fix header not being detected
2023-10-30 01:04:55 +01:00
Mar0xy
d942d4d0d0
upd: change resolving of _request.files
2023-10-30 00:57:12 +01:00
Mar0xy
be7d3859c3
test: update debug lines
2023-10-30 00:45:38 +01:00
Mar0xy
e8e4bafa64
upd: remove host lookup on file updating
2023-10-30 00:34:19 +01:00
Mar0xy
2aa7c1ae34
upd: remove Bearer from auth when looking up token
2023-10-30 00:29:58 +01:00
Mar0xy
b57ec5e2eb
test: avatar and header uploading
2023-10-30 00:27:04 +01:00
Mar0xy
cd1083cc30
fix: relationships not working on some clients
2023-10-29 14:31:26 +01:00
Mar0xy
b596a4978f
upd: add quoteUri resolving and correct reblog/quote handling
2023-10-29 12:49:41 +01:00
Mar0xy
c53323d237
upd: add history endpoint, make sure all areas use new convertAccount
2023-10-29 12:18:18 +01:00
Mar0xy
8fd669ff7d
fix: statuses using wrong emojis
2023-10-29 03:30:35 +01:00
Mar0xy
d8b0078ffa
fix: emojis not loading on local statuses
2023-10-29 03:23:09 +01:00
Mar0xy
549bcf70db
upd: convertAccount now fetches info from the DB
2023-10-29 02:59:36 +01:00
Mar0xy
95bcfd8ef3
fix: followers and following not being able to load
2023-10-29 02:23:43 +02:00
Mar0xy
90b666e626
fix: await all results on favourites and reblogged
2023-10-29 02:20:05 +02:00
Mar0xy
43f27a639f
upd: simplify importing of mastoconverter, fix bug
...
Lets you import stuff into mastoconverter without needing to also import them everywhere else
Fixes not being able to get statuses on accounts
2023-10-29 02:06:19 +02:00
Mar0xy
82c10de265
upd: change deps, fix a few bugs, update converter
...
Fixes User and Notes count bug (transfem-org/Sharkey#113 )
Fixes build issues due to types (transfem-org/Sharkey#111 )
Return accounts and notes like Iceshrimp
Use MFM class from Iceshrimp to fix HTML output for mastodon
2023-10-29 00:50:00 +02:00
Mar0xy
6d290225ef
fix: not checking for renotes during packing of note
...
Closes transfem-org/Sharkey#108
2023-10-22 19:20:06 +02:00
Mar0xy
d49099baeb
upd: add additional checks
2023-10-22 19:19:44 +02:00
Marie
b43402519f
merge: nicer file type search ( #107 )
2023-10-22 14:46:39 +02:00
dakkar
1dc5623713
use block comment
2023-10-22 13:43:19 +01:00
dakkar
b74fd71d67
nicer file type search
...
* the previous one could allow a SQL injection, since the
`opts.filetype` value came straight from the browser
* this more precise regex match will not produce spurious
matches (which were very unlikely, true, but still, let's be
precise) (`video/movingimages` would have matched `%image%`!)
2023-10-22 13:35:11 +01:00
Mar0xy
83be996a3d
upd: store old date and use it in previous versions
2023-10-22 14:07:04 +02:00
Mar0xy
2706b6b618
fix: date formatting in previous note view
2023-10-22 13:36:34 +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
ce83c483c6
add: view previous versions of notes
...
Closes transfem-org/Sharkey#103
2023-10-22 03:00:35 +02:00
Mar0xy
a74c7f60b5
upd: search filters
2023-10-22 00:13:08 +02:00
Mar0xy
d392edbc6b
test: more search options
2023-10-21 22:03:19 +02:00
Mar0xy
b930b89b3c
upd: send email on new pending approval
2023-10-21 18:39:13 +02:00
Mar0xy
9eb094aeb9
fix: decrement happening on normal renotes
2023-10-21 12:48:39 +02:00
Mar0xy
01a142f777
fix: increment and decrement of note count
2023-10-21 12:40:08 +02:00
Mar0xy
33eab0d178
upd: change handling of renewkeyFailed
2023-10-20 12:54:25 +02:00
Mar0xy
c76f0f1679
fix: set boolean to true if uri doesn't match activity actor
2023-10-20 12:53:14 +02:00
Mar0xy
71b7c31958
upd: refetch user keys on signature failure
...
Reference: https://github.com/misskey-dev/misskey/pull/12051
2023-10-20 12:50:56 +02:00
Mar0xy
c3f768181a
fix: invite code not being marked as used
...
Fixes an issue where if approval and invite were enabled the code would stay as unused
2023-10-19 10:42:18 +02:00
Mar0xy
059401aeab
fix: system users not being set to approved on creation
2023-10-19 10:38:46 +02:00
Mar0xy
e1f13f641e
fix: all users being marked as not approved on cards
2023-10-18 23:50:43 +02:00