1
0
Fork 0
Commit Graph

50 Commits

Author SHA1 Message Date
Ryan Fox da97f690b1
Add initial support for alt text
The input doesn't actually work right now, but it's a step in the right
direction.
2022-11-30 21:03:20 -08:00
Ryan Fox 21d2927e50
Stop using old API for mention searches
This caused some errors on GoToSocial.
2022-04-10 16:57:59 -07:00
Ryan Fox ba14afda40
GoToSocial: Fix streaming
It did not like the trailing slash, lol.
2022-04-10 16:27:55 -07:00
Ryan Fox 51b1fa2b17
Prepare for emoji support 2022-03-26 23:07:04 -07:00
Ryan Fox b30c66356a
Add follow requested indicator 2022-03-26 19:48:25 -07:00
Ryan Fox 5566d320f5
Pleroma: Support quote posts 2022-03-24 18:27:46 -07:00
Ryan Fox 1053544ddc
Make more fields optional
This fixes GoToSocial compatibility.
2022-03-23 17:02:31 -07:00
Ryan Fox 222d4277a7
Display quote toots
This only works with QOTO, but making it work with Pleroma should be
pretty easy.
2022-01-23 18:27:22 -08:00
Ryan Fox 6fc967c05a
Add support for displaying polls
Doesn't look the prettiest, but it's there!
2021-03-06 23:20:53 +00:00
Ryan Fox e708f7197a
Add moved account indicator 2021-01-16 04:53:12 +00:00
Ryan Fox e0777847a8
Make hashtag history optional in searches
Fixes search on Pleroma.
2021-01-15 23:24:18 +00:00
Ryan Fox dae4d98f54
Follow request notifications
I'm not sure why the other clients don't have these. I want them!
2021-01-12 21:06:13 +00:00
Ryan Fox 2f227355b8
Show pinned statuses 2021-01-12 06:08:43 +00:00
Ryan Fox 0f7a4c6bcf
Update search functionality
APIv1 search is deprecated and doesn't work anymore.
2021-01-12 00:12:13 +00:00
Ryan Fox b59ac87c81
Make some more Account values optional
Fixes the multi-account functionality.
2021-01-11 19:09:12 +00:00
Ryan Fox 20199d02ad
Set last_status_at field as optional 2021-01-11 09:06:36 +00:00
Ryan Fox 628ac848d3
Load even more data from accounts 2021-01-11 08:47:19 +00:00
Ryan Fox be05f24b52
Make the preview_url optional
It won't always be present, especially for media like audio. (I'll fix
audio eventually.)
2021-01-10 21:44:48 +00:00
Ryan Fox ea39adf374
Get "source" information from Mastodon
We will need this to get the correct draft defaults later.
2021-01-10 21:26:57 +00:00
Vincent Jousse c2682f147b
Application field is now optional (#205)
Mastodon v2.8.2
2019-05-15 22:13:06 +02:00
Nicolas Perriault 2e89ad0b0f
Fix #196: Fix incompatibilities with the Mastodon API v2.0.0. (#197) 2017-11-29 14:06:08 +01:00
Vincent Jousse 2fbafdbe53 Add follow date in notification aggregate (#190)
Add follow date in notification aggregate
Closes #176
2017-06-01 12:01:13 +02:00
Nicolas Perriault a7c17ab6f1 Fix #160: Add search feature. (#188)
Also fixes #187.
2017-05-31 00:27:30 +02:00
Nicolas Perriault 6218f7222c Fix #138: Add a simple hashtag view. (#184) 2017-05-27 09:32:15 +02:00
Nicolas Perriault dfc0362242 Fix #175: Implement muting and blocking of users. (#182) 2017-05-25 23:07:17 +02:00
Nicolas Perriault b6c858da2d
Render app link in target thread toot. 2017-05-23 00:25:28 +02:00
Nicolas Perriault a7826c5c2b
Fixed status url may be missing in a toot. 2017-05-14 15:12:04 +02:00
Nicolas Perriault 2d0d5cd7b9
Fixed #166: Limit number of accounts in notifications. 2017-05-14 10:30:59 +02:00
Nicolas Perriault 4d8757ad7c
Fix #168: List user favorites.
- Favorite timeline model and commands.
- 4th column navigation bar.
- Use of SetView for account selector.
- Move timeline views to their own view module.
- Handle favorite timeline updates.
- Integrate contextual menu in account selector view.
2017-05-13 22:16:57 +02:00
Nicolas Perriault b7001eb8da Fix #78: Handle media upload. (#156) 2017-05-11 10:55:15 +02:00
Nicolas Perriault 7a053b9fa0 Fix #152: Multiple accounts. (#153)
* Update model to store multiple clients.

* Delete tmp registration data after client creation.

* Add minimal account selector view

* Update clients so they can have an account attached.

* List clients in the account selector.

* List accounts in the account selector view.

* It works™.

* Minor CSS fix.

* Reset server value when switching account.

* Fix empty black screen on reauth with new client format.

* Fix typo.

[skip-ci]
2017-05-09 18:43:12 +02:00
Nicolas Perriault 8832b3156f Closes #132: Split model update functions to their own modules. (#147) 2017-05-07 14:31:51 +02:00
Nicolas Perriault 6746b21725 Fix #141: Hide error notifications after a delay. (#146) 2017-05-07 10:01:11 +02:00
Nicolas Perriault 2b74533960 Fix #64: Handle paginations. (#131)
* Extract link header values.
* Expose response link header to a new type.
* Add tests for Mastodon.http.extractLinks.
* WiP
* Wrap decoded content and links into a new Response type.
* Update MastodonMsg handlers so they handle responses.
* Remove debug statements.
* Add edge case to tests.
* Add missing TODO comment.
* Simplifies Mastodon.Http signatures
* Paginate the user timeline.
* I lost my mind. May revert.
* Updated Http API to be more explicit.
* Fuck namespaces.
* Cosmetics.
* I'm burnt out, lost 10 pounds, but it works.
* Fix qs param for local tl was appended to link url.
* Fix my own mediocrity.
* Fix oauth endpoints.
* Fix Link header case handling with Firefox.
* Add test case for link header name case handling.
2017-05-05 17:26:49 +02:00
Nicolas Perriault 474c400f09
Fix double slash added to many endpoints. 2017-05-03 09:11:52 +02:00
Nicolas Perriault 89089b0ccf Fix #121: Refactor Mastodon.Http (#122)
* Drop use of Server args in ApiUrl.
* Generalize use of fetch to other Http functions.
* Leverage HttpBuilder.withQueryParams where applicable.
* Distinguish between request and authRequest.
2017-05-03 08:52:39 +02:00
Nicolas Perriault dc5ad2e670
leverage HttpBuilder.withQueryParams where applicable. 2017-05-02 22:31:15 +02:00
Nicolas Perriault ce27e30297
Generalize use of fetch to other Http functions. 2017-05-02 22:26:13 +02:00
Nicolas Perriault 44843e0ccd
Drop use of Server args in ApiUrl. 2017-05-02 22:05:46 +02:00
Vincent Jousse 69f0cfdc54 Closes #44: Autocomplete usernames. (#107)
* Get @mention in model

* Add autocomplete logic

* Get accounts to autocomplete from the server

* Add autocomplete css

* Check if we should show menu on account search

* Add keyboard events

* Update status with completed username

* Trigger autocomplete when getting accounts back

* Highlight choices on hover

* Put focus on textarea after updating it

* Fix clear draft

* Hit the server only on non empty query

* Lazzzzzzzzzzzzzzzzyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

* Add missing lazy

* Add keyboard subscriptions

* Add images and display name

* Better menu visibility handling

* Add lazy to notifications

* Js formatting.

* Improve styles.

* Add unique keys to costly lists.

* Fix tests.

* Coding style nits.

* Use the encodeUrl helper in ApiUrl.

* Nanonit.

* Improve autocomplete box styling.

* CamelCase draft record

* Move all autocomplete stuff to Draft

* Send status to ports with the reply prefix.

* Clear draft after posting a status.

* Move ports setStatus call to a dedicated Command helper.

* Naming.

* Fix navigation with arrow keys in textarea

* Always autoselect the first item of the menu
2017-05-01 22:10:34 +02:00
Nicolas Perriault 059b2726e6 Fix #49: Denote account relationships, follow & unfollow actions. (#105)
* Check relationships.
* Follow & unfollow actions.
* Don't display follow button to ourselves.
* Profile view follow button.
* Added follow/unfollow button to viewed account profile.
2017-04-29 22:48:55 +02:00
Nicolas Perriault 57f7f0cc7c Fix #81: Account followers and followings (#104) 2017-04-29 18:05:06 +02:00
Nicolas Perriault 017f07d45d Improve reply prefix computation. (#103) 2017-04-29 11:57:26 +02:00
Nicolas Perriault 44f8caa1ea Fix #97: Allow deleting a toot. (#102) 2017-04-29 09:20:26 +02:00
Nicolas Perriault 3ea6aaade2 Dedupe multiple account references in notifs. (#101) 2017-04-28 19:08:46 +02:00
Nicolas Perriault fc08b5c6a9 Exclude current user from draft reply mentions. (#86)
* Exclude current user from draft reply mentions.
* @nicosomb review.
2017-04-28 11:21:54 +02:00
Nicolas Perriault 75aa841ceb Fix #26: Load account timeline. (#77) 2017-04-27 22:01:51 +02:00
Nicolas Perriault 0ad2b59c32 Fix #65: Add a thread view. (#73)
* Add Mastodon.Http.context.
* Added thread events.
* Fix a few server endpoint urls.
* Added thread views.
2017-04-27 18:39:14 +02:00
Nicolas Perriault f5b41aa155 Modularize the Mastodon package. (#70) 2017-04-27 16:34:27 +02:00
Nicolas Lœuillet d40f110b59 Refactored API URL (#67) 2017-04-26 17:07:43 +02:00