Commit Graph

4169 Commits

Author SHA1 Message Date
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 8736560e5f
fix: reply edits not staying attached 2023-10-29 21:51:12 +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 b0a7fd6ddb
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-10-22 22:48:58 +02:00
Mar0xy 13c5da63d7
fix: MFM overflowing out of note
Closes transfem-org/Sharkey#104
2023-10-22 22:48:49 +02:00
Marie 38412eef18
merge: partially un-hash CSS class names (#109) 2023-10-22 19:51:38 +02:00
ShittyKopper 4a4fd70180 upd: partially un-hash CSS class names
intended to allow easier creation of custom CSS modifications. the last
4 chars of class names should be static as long as files don't move, but
just in case modifications might prefer to use prefix selectors such as
[class^=MkWhatever] instead of .MkWhatever-1234
2023-10-22 20:39:38 +03: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
Mar0xy 16f671c0f4
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-10-22 14:43:31 +02:00
dakkar 1dc5623713 use block comment 2023-10-22 13:43:19 +01:00
Mar0xy 7c922dc39b
fix: wakelock error causing site to not load 2023-10-22 14:43:15 +02: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
Amelia Yukii aaf55cf937
revert: atempt pull to reload 2023-10-22 14:14:02 +02: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 6b3b805a3e
chore: remove debug from versions menu 2023-10-22 03:01:51 +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