1
0
Fork 0
Commit Graph

16 Commits

Author SHA1 Message Date
Nicolas Perriault dfc0362242 Fix #175: Implement muting and blocking of users. (#182) 2017-05-25 23:07:17 +02:00
Nicolas Perriault cba6ea07e0
Fix #177: Remove all toots from an unfollowed account. 2017-05-25 10:25:43 +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 75de9b8c08 Fix #145: Paginate account followers and following lists. (#149) 2017-05-08 12:22:20 +02:00
Nicolas Perriault 8344d63f47
Add consistency to timeline names. 2017-05-06 11:15:52 +02:00
Nicolas Perriault c6e1fa9fd4
Fix #112: Load more statuses and notifications initially. 2017-05-05 23:55:30 +02:00
Nicolas Perriault 50ee7646fd
Fix #127: Avoid requesting relationships without providing ids. 2017-05-05 23:47:25 +02:00
Nicolas Perriault 56ade98158 Fix #134: Paginate notifications. (#136) 2017-05-05 23:35:54 +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
Vincent Jousse 9b8293554f Add scrollIntoView port (#129)
* Add scrollIntoView port

* Fix js formatting

* @n1k0's review
2017-05-04 08:31:58 +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 8bb9adb307
Add more scroll events when navigating timelines. 2017-04-30 11:08:30 +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