Commit Graph

11869 Commits

Author SHA1 Message Date
Alex Gleason baf1c2acae Merge branch 'toast-error-fallthrough' into 'main'
showAlertForError: fallthrough when response.error() fails

See merge request soapbox-pub/soapbox!3306
2024-12-26 17:29:28 +00:00
Alex Gleason 3158e0a16a
showAlertForError: fallthrough when response.error() fails 2024-12-26 11:26:58 -06:00
Alex Gleason c5a745957a Merge branch 'fix-mfa' into 'main'
MastodonResponse: use .passthrough() on errorSchema

Closes #1801

See merge request soapbox-pub/soapbox!3305
2024-12-26 17:22:28 +00:00
Alex Gleason 1926daa3c7
MastodonResponse: use .passthrough() on errorSchema
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1801
2024-12-26 11:19:33 -06:00
P. Reis b344de8425 refactor: remove bookmarks actions 2024-12-20 14:00:08 -03:00
P. Reis ab8a2de1c8 Merge branch 'main' into finish-pure-status-component 2024-12-19 21:03:14 -03:00
P. Reis edc83e1509 Merge branch 'main' into finish-pure-status-component 2024-12-19 20:53:07 -03:00
P. Reis b8da3e4f0c refactor: get status in new entity store as a fallback 2024-12-19 20:23:54 -03:00
P. Reis afd1f49e59 refactor: create useReaction hook, used in PureStatusReactionWrapper componet 2024-12-19 18:51:10 -03:00
Alex Gleason c737d7cb5c Merge branch 'fix-profile-update' into 'main'
Fix updating profile avatar/banner

See merge request soapbox-pub/soapbox!3304
2024-12-19 19:43:48 +00:00
Alex Gleason 2385d0694f
Fix updating profile avatar/banner 2024-12-19 13:41:21 -06:00
P. Reis d2126f60f2 refactor: use statusSchema.parse rather than statusSchema.safeParse
we want to throw any errors so they are catched
2024-12-18 21:16:08 -03:00
P. Reis 2acb8e601d refactor: move useFavourite to 'src/api/hooks' 2024-12-18 10:54:27 -03:00
Alex Gleason 9542c5bbc2 Merge branch 'bunker-44' into 'main'
Switch bunker to nip44 encryption

See merge request soapbox-pub/soapbox!3303
2024-12-18 08:00:04 +00:00
Alex Gleason 614d950083
Switch bunker to nip44 encryption
https://gitlab.com/soapbox-pub/ditto/-/issues/279
2024-12-18 01:58:50 -06:00
P. Reis 68625bd208 Merge branch 'main' into finish-pure-status-component 2024-12-17 21:25:09 -03:00
Alex Gleason e6deb7916c Merge branch 'fix-pagination' into 'main'
Fix pagination

See merge request soapbox-pub/soapbox!3302
2024-12-18 00:19:37 +00:00
Alex Gleason f0043813e6
MastodonClient: merge searchParams 2024-12-17 18:16:34 -06:00
Alex Gleason 790564b74e
Fix BACKEND_URL with baseClient 2024-12-17 18:01:40 -06:00
P. Reis f6cc3382dd refactor: use /PureStatusReactionWrapper component in PureStatusActionBar component 2024-12-17 19:59:04 -03:00
P. Reis ede079a0eb refactor/checkpoint: create PureStatusReactionWrapper component
to make it work 100%, a reaction hook must be created and used, rather than dispatching the simpleEmojiReact() function from actions (src/actions/emoji-reacts.ts)
2024-12-16 21:06:46 -03:00
P. Reis 7e6418fc9b Merge branch 'main' into finish-pure-status-component 2024-12-13 23:46:31 -03:00
P. Reis 4c2ed157a0 feat: create reblogEffect and unreblogEffect functions, and use it in legacy actions in such a way that everything is compatible 2024-12-13 23:41:34 -03:00
Alex Gleason dd3ac81a7b Merge branch 'baseurl' into 'main'
Actually fix baseURL

See merge request soapbox-pub/soapbox!3300
2024-12-14 02:32:08 +00:00
Alex Gleason dc48b256d6
Actually fix baseURL 2024-12-13 20:31:25 -06:00
Alex Gleason 98617d1036 Merge branch 'baseurl' into 'main'
Fix baseURL drama

See merge request soapbox-pub/soapbox!3299
2024-12-14 02:19:05 +00:00
Alex Gleason 4b3e8fcf22
Fix baseURL drama 2024-12-13 20:18:05 -06:00
Alex Gleason dcdd14b2b8 Merge branch 'axios' into 'main'
Remove axios

See merge request soapbox-pub/soapbox!3298
2024-12-14 01:57:14 +00:00
Alex Gleason 878c3ac54d
MastodonClient: fallback to XHR for onUploadProgress 2024-12-13 19:52:31 -06:00
P. Reis beed9fa6c3 fix: import the bookmarked status to the start of the cache array 2024-12-13 22:49:39 -03:00
P. Reis e3aff3bdc6 refactor: StatusActionBar component uses the useBookmark() hook to bookmark and unbookmark a status 2024-12-13 22:49:01 -03:00
P. Reis b2c22df02c refactor: finish PureStatus component by creating the remaining PureStatusActionBar component 2024-12-13 22:29:02 -03:00
P. Reis 2f5781b046 refactor: make BoostModal pure, and openModal 'BOOST' pure 2024-12-13 22:03:14 -03:00
Alex Gleason 2ffff220e4
Remove axios 2024-12-13 18:12:57 -06:00
P. Reis 3aa6582b09 refactor: toggleMuteStatus accepts pure Status rather than Legacy Immutable Status 2024-12-13 19:27:27 -03:00
P. Reis cfce081063 fix: use useDismissEntity when undoing a bookmark 2024-12-13 18:36:27 -03:00
P. Reis a339bb93ea fix(legacy bookmark): add actionLabel in toast.success 2024-12-13 11:23:36 -03:00
P. Reis 9e49099003 refactor: create useBookmark() hook, used for bookmark and undo a bookmark 2024-12-13 11:20:57 -03:00
Alex Gleason 4031de3f52 Merge branch 'fix-wrong-emoji-display' into 'main'
fix: show correct emoji selected

See merge request soapbox-pub/soapbox!3296
2024-12-12 15:53:38 +00:00
P. Reis f81d0fccef fix: show correct emoji selected 2024-12-12 11:16:52 -03:00
Alex Gleason 3b5ad6e3ba Merge branch 'fix-emoji-display' into 'main'
fix: like emoji display

Closes #1796

See merge request soapbox-pub/soapbox!3295
2024-12-12 03:41:26 +00:00
P. Reis a5048c9a6c fix: like emoji display 2024-12-12 00:32:25 -03:00
Alex Gleason 95f134785d Merge branch 'refactor-immutable-to-plain-object' into 'main'
refactor: remove immutable, convert to use plain javascript object

See merge request soapbox-pub/soapbox!3294
2024-12-11 20:50:46 +00:00
P. Reis ca70e6e6fa refactor: get rid of EntityTypes[Entities.STATUSES] 2024-12-11 16:38:08 -03:00
P. Reis 65f03707e4 refactor: type cast, remove question marks 2024-12-11 16:34:56 -03:00
P. Reis 45a81a937c refactor: rename Status to LegacyStatus and EntityTypes[Entities.STATUSES] to StatusEntity 2024-12-11 16:24:23 -03:00
P. Reis 6a44582c9c refactor: add documentation to useBookmarks hook 2024-12-11 15:38:38 -03:00
P. Reis bff17c9fa0 refactor: @deprecated Status immutable 2024-12-11 15:37:50 -03:00
P. Reis c7e695b300 refactor: remove blank line 2024-12-11 14:50:31 -03:00
P. Reis 60489cb123 refactor: dispatch openModal() 'MEDIA' with raw objects 2024-12-10 22:37:38 -03:00