Commit graph

735 commits

Author SHA1 Message Date
Nolan Lawson d49af06fbd
use async clipboard API (#499) 2018-08-26 16:40:48 -07:00
Nolan Lawson 270df188cb
Store IDB data for 1 week rather than 2 weeks (#498)
Based on issues I'm seeing on iOS Safari, I'm guessing that my IDB caching is too aggressive and is hitting origin storage limits, which causes IDB transactions in safari to fail silently and never call any transaction callbacks (`onblocked`, `onerror`, `oncomplete`).

This is pretty bad and causes Pinafore to basically just not work unless you clear site data, which we should avoid. 2 weeks was probably unnecessary anyway; in a social network, who cares about content that's 2 weeks old?
2018-08-26 15:38:54 -07:00
Nolan Lawson 543536409b
add application (client) name to statuses (#497)
* add application (client) name to statuses

fixes another thing in #6

* add domain blocking (#496)

* add domain blocking

fixes another thing from #6

* show "domain blocking" on profile page

* fix stuff
2018-08-26 15:38:45 -07:00
Nolan Lawson 95665f6d74
add domain blocking (#496)
* add domain blocking

fixes another thing from #6

* show "domain blocking" on profile page
2018-08-26 14:16:00 -07:00
Nolan Lawson 47315c7f6d
add support for max_toot_chars > 500 (#495) 2018-08-26 12:14:16 -07:00
Nolan Lawson 17b80e5a79
simplify model for updating account relationships (#494) 2018-08-26 12:14:08 -07:00
Nolan Lawson 8959cdaeb1
fix incorrect toast notification for follow requests (#493) 2018-08-26 10:31:13 -07:00
Nolan Lawson 4a0cfb8d6e
tweak CSS in options dialog menu (#492) 2018-08-25 22:03:40 -07:00
Nolan Lawson d6af3b69a7
Add ability to show/hide boosts from accounts (#491)
Fixes some stuff in #6
2018-08-25 22:03:33 -07:00
Nolan Lawson dc091f1360
fix requested view for follow requests (#489) 2018-08-25 22:03:26 -07:00
Nolan Lawson 73c99904cf
fix CSS specificity to fix firefox (#488) 2018-08-25 22:03:18 -07:00
Nolan Lawson 4edec81a0f
fix incorrect autocomplete avatars (#487)
fixes #486
2018-08-24 21:35:02 -07:00
Nolan Lawson 1423a6b14b
slight refactor of timeline fetching (#485) 2018-08-24 11:50:40 -07:00
Nolan Lawson 91a92b0003 profile fields: add #each loop, allow custom emoji, tweak CSS 2018-08-23 22:24:55 -07:00
Spanky 698d8f5730 added account meta fields to profile 2018-08-23 22:24:55 -07:00
Nolan Lawson 32ea30f4bb
fix style of account search results (#481) 2018-08-23 19:40:03 -07:00
Nolan Lawson 1753e20f29
add label for bots (#479)
fixes #463
2018-08-23 18:41:43 -07:00
Nolan Lawson c4c128030e
allow custom emoji in user profiles (#475)
fixes #471
2018-08-23 14:47:33 -07:00
Nolan Lawson 8949b36873
Use img.decode() (#473)
* remove will-change:transform from container

* WIP: use img.decode()

* more work on img.decode
2018-08-22 21:00:53 -07:00
Nolan Lawson 65ac7e22f4
fix null error in VirtualListFooter.html (#456) 2018-08-21 07:06:53 -07:00
Nolan Lawson 6ad20e72a7
don't use rIC while scrolling (#455)
* don't use rIC while scrolling

* remove unnecessary import
2018-08-20 17:57:38 -07:00
Nolan Lawson aea952daf0
use better emoji removal algorithm (#452)
another follow-up to #450 to fix #449
2018-08-19 20:25:28 -07:00
Nolan Lawson af1d4b63d3
better support for de-emojified user display names (#451)
improvements to #450 to fix #449, especially for aria labels
2018-08-19 19:31:54 -07:00
Nolan Lawson 37e12e8d73
add option to remove emoji from user display names (#450)
* add option to remove emoji from user display names

fixes #449

* slight memory perf improvement
2018-08-19 18:03:26 -07:00
Nolan Lawson 350667e5df
allow user display names to contain custom emoji (#448)
* allow user display names to contain custom emoji

fixes #445

* fix tests

* fix focus issue
2018-08-19 15:23:40 -07:00
Nolan Lawson f732bd44ab
fix statuses with empty content text (#446)
fixes #445
2018-08-19 11:31:02 -07:00
Nolan Lawson a6039f6247
make mentions the same size when focused (#442)
fixes #408
2018-08-18 22:56:56 -07:00
Nolan Lawson 973d0f7d11
fix media alt input color on dark theme (#437)
fixes #368
2018-08-17 22:44:53 -07:00
Nolan Lawson 1be5fd3672
fix overflow inside of modals (#432)
fixes #431
2018-08-17 22:26:08 -07:00
Nolan Lawson 37cc2c2df7
add placeholder to "add instance" input (#427) 2018-08-16 22:15:22 -07:00
Nolan Lawson b8863e684e
use page lifecycle (#424)
* use page lifecycle

* fix eslint
2018-08-16 10:23:26 -07:00
Daniel Diekmeier 78d95e0dc4 Change arrow on back button (#420)
* Change arrow on back button

* Update DynamicPageBanner.html
2018-08-16 07:29:12 -07:00
Nolan Lawson 23ccec45d0
fix notifications in a background tab (#402)
Part of the way to improving #390.

Before this fix, if you recieved a notification while Pinafore was in a background tab, nothing would happen, because most browsers (Edge, Firefox, Chrome) don't run rAF in background tabs. Furthermore, Chrome doesn't run rIC. In this PR we detect if we're in a background tab and then avoid rAF/rIC in that case.
2018-06-23 10:11:14 -07:00
Nolan Lawson 0d601f924e
fix svelte warning for empty block (#401) 2018-06-23 09:51:47 -07:00
Nolan Lawson b2568dbbda
short mentions should have full title (#396)
quick fixup to #395
2018-06-15 09:20:55 -07:00
Nolan Lawson f7ebfbf139
status mentions should use short usernames (#395) 2018-06-15 07:58:12 -07:00
Nolan Lawson b7748d849b
add mentions outside of content warnings (#393)
Fixes #389
2018-06-14 12:52:00 -07:00
Nolan Lawson fb6df029f3
add "reply all" icon (#392)
fixes #388
2018-06-14 08:42:55 -07:00
Nolan Lawson 5f4e869eeb
add more fine-grained request timeouts (#387)
* add more fine-grained request timeouts

fixes #381

* tweak timeout
2018-06-13 07:38:36 -07:00
Nolan Lawson a0d3a89180
remove useless aria-hidden (#386) 2018-06-10 19:49:39 -07:00
Nolan Lawson 11dcaf0cf3
Remove PseudoVirtualList (#385)
* start on removing pseudo virtual list

* rename, refactor

* remove unused file

* fix the tests

* actually fix tests

* okay actually fix tests
2018-06-09 22:55:58 -07:00
Nolan Lawson eeff84a587
Fix text overflow on status headers (#383)
* Fix text overflow on status headers

* fix tests

* really fix tests
2018-06-09 15:04:47 -07:00
Nolan Lawson e8d2cd9ffc
tests: quicker login, tweak test setup (#372)
* make tests faster by logging in directly

* downgrade testcafe

* Revert "downgrade testcafe"

This reverts commit 0f78f5ef63f25b6428de2faba476a353a338c695.

* try a delay

* the delay does not do anything

* disable concurrency in testcafe

* make setup script less noisy

* try transparency of 2?

* Revert "the delay does not do anything"

This reverts commit 438b3519a4e0c325e89f0c2a0eff6a7a4ae11ebd.

* try a delay of 400ms

* okay fine delay of 1s

* try concurrency of 4 again
2018-06-08 09:00:20 -07:00
Nolan Lawson df6323fba3
switch from copy icon to link icon (#343)
fixes #325
2018-05-26 17:23:27 -07:00
Nolan Lawson efdb0bc534
Remove testcafe roles and run in parallel x4 (#334)
* more attempts to fix test flakiness

* remove testcafe roles entirely

* really remove testcafe roles

* run testcafe in parallel x2

* run testcafe in parallel x4

* fix online/offline forcing in tests

* fix pin test
2018-05-26 13:51:41 -07:00
Nolan Lawson a51477b501
fix timelineType state read (#310) 2018-05-18 18:33:20 -07:00
Nolan Lawson 8035662f93
fix minor design issue (#297) 2018-05-13 18:53:37 -07:00
Nolan Lawson 2b309b242c
close first dialog when opening copy dialog (#292) 2018-05-13 11:13:35 -07:00
Nolan Lawson ad84adaf63
add ability to mute conversation (#291)
fixes another thing from #6
2018-05-12 22:49:01 -07:00
Nolan Lawson 3d8cdcd649
only allow public/unlisted statuses to be pinned (#290)
fixes #264
2018-05-12 15:45:50 -07:00