Commit Graph

257 Commits

Author SHA1 Message Date
Nicolas Lœuillet
f983e00387 Fixed ellipsis and loong URL (finally) (#71) 2017-04-27 12:31:22 +02:00
Nicolas Perriault
2de53bd103 Handle WebSocket "delete" events. (#69)
* Handle WS delete events.
* Factor ws msg handlers to their own updater.
2017-04-27 08:11:24 +02:00
Nicolas Lœuillet
d40f110b59 Refactored API URL (#67) 2017-04-26 17:07:43 +02:00
Nicolas Lœuillet
0aab73896a
Changed the doc about testsuite 2017-04-26 09:06:57 +02:00
Nicolas Lœuillet
d4eb1510d9
Added doc about testsuite 2017-04-26 09:03:54 +02:00
Vincent Jousse
00ffcecf1d Add websocket for local and global timeline (#66)
* Connect to the websocket API

* Enable user timeline update through websockets

* Update elm-html-parser to latest

* Listem to local and global timelines

* Subscribe to global timeline only if it's displayed

* Some review changes

* Add elm-test and test notification aggregates

* Add new follow notification

* Fex addNotificationToAggregates

* Add test

* Clarify logic

* Update local and global timelines using WS

I've renamed the "public" timeline to "global", and removed the HTTP
reload of the user timeline when posting a Toot. We only rely on
websockets now.
2017-04-25 23:33:37 +02:00
Nicolas Perriault
c72a9281df
Fix erroneous WS subscription name for public TL. 2017-04-25 22:32:27 +02:00
Nicolas Perriault
1af985130f Move mastodon server messages to their own type. (#63) 2017-04-25 20:37:44 +02:00
Nicolas Perriault
299a0236dc Fix #57: Reply preserving initial status properties. (#62)
Preserve visibility, sensitivity and spoiler text in replies.
2017-04-25 18:45:11 +02:00
Nicolas Perriault
a2e4014b56
Add error logging to WS errors. 2017-04-25 17:27:21 +02:00
Nicolas Perriault
b0c6bc0240 Fix #30: Unique CW and NSFW content togglers. (#54) 2017-04-25 17:07:48 +02:00
Nicolas Lœuillet
e0d22ba0b6 Fixed hashtags displayed as a block (#56) 2017-04-25 16:48:45 +02:00
Vincent Jousse
583ee2def2 Connect to the websocket API (#35) 2017-04-25 16:27:15 +02:00
Nicolas Lœuillet
ff81482572 Added link to original toot on date (#52) 2017-04-25 15:29:33 +02:00
Nicolas Perriault
4385aed0a2
Minor code cleanups. 2017-04-25 12:18:24 +02:00
Nicolas Lœuillet
09b52a2c7f Added date for each toot (#50) 2017-04-25 12:15:45 +02:00
Nicolas Perriault
8087317b82
Merge branch 'fix-hashtag-ellipsis' 2017-04-25 11:54:12 +02:00
Nicolas Lœuillet
e77af2f6df
Added ellipsis for looong hashtags 2017-04-25 11:30:34 +02:00
Nicolas Perriault
5f457f009a Fix #43: Sanitize server url. (#47)
* Sanitize server url.
* Prettify auth page.
2017-04-25 10:13:00 +02:00
Nicolas Perriault
b5fa55f49d Fix #45: Add a media viewer. (#46) 2017-04-24 21:21:43 +02:00
Jérémy Benoist
7e2896dcf0 Use project url instead of instance url (#41) 2017-04-24 12:02:23 +02:00
Nicolas Perriault
41a48f55c7
Fix dev install instructions in README. 2017-04-24 11:49:12 +02:00
Nicolas Perriault
711009a5b7
Update dev install instructions in README. 2017-04-24 11:47:40 +02:00
Nicolas Perriault
bbc3efeec8 Better follow notifications. (#38)
- improve the follow notification layout and displayed information of followers
- fixes an issue with them not being actually aggregated
- fixes a bug where reblog action button was highlighted when it was actually a fave
2017-04-24 11:46:14 +02:00
Nicolas Perriault
7f921591d2
Improve CW reveal styles. 2017-04-23 22:17:44 +02:00
Nicolas Perriault
6b75c90ef6 Aggregate notifications. (#37) 2017-04-23 21:49:04 +02:00
Nicolas Perriault
3a697f07bb
Fix error when boosting a status. 2017-04-23 20:08:22 +02:00
Nicolas Perriault
e6ba007f18
Gain real estate with large notifications. 2017-04-23 14:39:11 +02:00
Nicolas Perriault
7a2d3dda10
Updated README. 2017-04-23 10:30:31 +02:00
Nicolas Perriault
d7bf601574
Updated README. 2017-04-23 10:30:11 +02:00
Nicolas Perriault
4057048f16
Updated screenshot in the README. 2017-04-23 10:27:29 +02:00
Nicolas Perriault
225a95a637 WiP: Add status action buttons. (#32)
* Add status action buttons.
* Handle favorite actions.
* Handle reblog actions.
* Optimistic updates for reblogs.
2017-04-23 10:18:47 +02:00
Nicolas Perriault
82ada5ede8
Add a button to close the account view. 2017-04-22 17:03:35 +02:00
Nicolas Perriault
d8f5270128
Remove main page heading. 2017-04-22 16:43:45 +02:00
Nicolas Perriault
440806fa80 Fix #23: Render user mentions in the second column. (#31)
* Render user mentions in the second column.
* Add a timeline type toggler.
2017-04-22 16:39:19 +02:00
Nicolas Perriault
b10761a413
Fix code formatting. 2017-04-22 14:49:05 +02:00
Nicolas Lœuillet
c834260557 Added link to profile on avatar (#28) 2017-04-22 14:48:03 +02:00
Nicolas Perriault
3a487d6e02 Render image attachments in statuses. (#24)
* Render image attachments in statuses.
* Add a doorhanger to NSFW images. Sorry Japan.
2017-04-22 13:50:02 +02:00
Vincent Jousse
201c6f48ce WIP: Display user account (#13)
* Display user account information in console

* Review's modifications

* Load user on mention click

* Display account information

* Reviews

* Undo messy refactoring

* Remove unused function
2017-04-22 10:16:14 +02:00
Nicolas Perriault
fdb0948c19 Travis integration (#22) 2017-04-21 14:49:00 +02:00
Nicolas Perriault
0a9abd449c Close #20: Render spoilers appropriately. (#21) 2017-04-21 14:07:55 +02:00
Nicolas Perriault
9b1520ffbc Handle post visibility. (#14) 2017-04-21 14:03:39 +02:00
Nicolas Perriault
126f3318ee
Fix #18: Fix broken column layout. 2017-04-21 13:04:28 +02:00
Nicolas Perriault
fd8eaf5cea
Update screenshot in the README. 2017-04-21 10:45:16 +02:00
Nicolas Perriault
5e6bc42642 Improve timeline styles. (#17)
* Improve timeline styles.
* Add icons to column headings.
* Address a few typography issues.
* Handle long links.
* Linewrap attachment links.
2017-04-21 10:41:46 +02:00
Nicolas Perriault
dc3c860d70
Add a shorter type alias for requests. 2017-04-20 22:55:08 +02:00
Vincent Jousse
8627bffbe0 Generalize fetch function by using a type var (#12)
I will need it to fetch an user account so it has to able to decode
something else than a `List Status`.
Using a type variable allows the calling function to provide the
decoder, and thus we can reuse `fetch` for something else.
2017-04-20 21:33:17 +02:00
Nicolas Perriault
347806877b
Fix deploy system. 2017-04-20 21:01:47 +02:00
Nicolas Perriault
aa91182ff6 Allow posting messages (#7) 2017-04-20 20:30:19 +02:00
Jérémy Benoist
1c8559e4ad Add application link to client name (#9)
When you publish a toot the client name is associated to the toot.
By defining the `website` parameter in Mastodon model, it is automatically associated.
2017-04-20 19:12:23 +02:00