Commit graph

1491 commits

Author SHA1 Message Date
Nolan Lawson 97b0585fa0 1.3.0 2019-02-24 11:09:05 -08:00
Nolan Lawson e83bd492f5
fix: when building, use a port unlikely to be in use (#1047)
Right now if you run `yarn build` while port 4002 is in use, it will
fail. Let's just pick a random port that's unlikely to be used by any
self-hosters. I chose a random 5-digit number.
2019-02-24 10:48:49 -08:00
Nolan Lawson 6708b06a59
chore(package): update dependencies (#1046) 2019-02-23 23:34:48 -08:00
Nolan Lawson d711b37165
test: add tests for image/video modals (#1045)
should ensure #1042 does not happen again
2019-02-23 21:10:15 -08:00
Nolan Lawson df8c49cb57
fix: fix /undefined request for gifv (#1044)
* fix: fix /undefined request for gifv

fixes #1042 for real this time

* use poster instead
2019-02-23 19:26:06 -08:00
Nolan Lawson e3888586bb
fix: fix /undefined request for video poster (#1043)
fixes #1042
2019-02-23 18:42:19 -08:00
Nolan Lawson fabf9399f2
fix: use static server for node server.js (#1041)
* fix: use static server for `node server.js`

Aligns the Node server with the Zeit server. Fixes #1019

* fix test
2019-02-23 16:09:48 -08:00
Nolan Lawson 2b491ddb10
fix: fix pinned toots not in IDB (#1040)
fixes #660
2019-02-23 15:18:48 -08:00
Nolan Lawson 8c37a7cc02
refactor: refactor parent focus styles (#1036) 2019-02-23 12:50:56 -08:00
Nolan Lawson 56162c7a69
fix: fix timeline jumping on focus (#1039)
This should fix #840. I can't see any reason why we would want it to scroll when we're focusing these things.
2019-02-23 12:32:18 -08:00
Nolan Lawson 31a6ec6857
chore: make test less flaky (#1038) 2019-02-23 12:32:10 -08:00
Nolan Lawson 547ee14f88
refactor: use ids instead of attrs for delegate/shortcut/focus (#1035)
* refactor: use ids instead of attrs for delegate/shortcut/focus

fixes #1034

* console log on error

* fix test
2019-02-23 12:32:00 -08:00
Nolan Lawson c9ca605cfe
fix: fix keyboard shortcuts for pinned toots (#1033)
* fix: fix keyboard shortcuts for pinned toots

fixes #908

* fix test
2019-02-23 09:47:36 -08:00
Nolan Lawson eeba66567c
feat: add "accout has moved" banner (#1032)
fixes #472
2019-02-22 20:35:19 -08:00
Nolan Lawson 11e918dd50
fix: fix keyboard shortcuts on thread (#1031)
* fix: fix keyboard shortcuts on thread

fixes #1029

* fix test
2019-02-22 20:35:13 -08:00
Nolan Lawson e16c312788
fix: use focus ring rather than background for status/notifications (#1030)
I don't like clicking on a status, clicking back, and suddenly it has a
different background. The focus ring is less distracting. Unfortunately
it doesn't look right on the article element itself, so we have to apply
the style to its parent, but that's not too hard.
2019-02-22 20:35:04 -08:00
Nolan Lawson 42e466f3c2
fix: j/k shortcuts correctly set active element (#1028)
fixes #1018
2019-02-21 23:50:27 -08:00
Nolan Lawson 5d703e9612
chore(package): Greenkeeper/svelte loader 2.13.3 (#1027)
* chore(package): update svelte-loader to version 2.13.3

* chore(package): update lockfile yarn.lock
2019-02-21 22:03:44 -08:00
Nolan Lawson 58844052c9
fix: update url regex to match latest mastodon (#1026)
also make all the regexes use the thunk pattern consistently
2019-02-19 23:34:06 -08:00
greenkeeper[bot] 8049977563 chore: Update file-drop-element to the latest version 🚀 (#1017)
* fix(package): update file-drop-element to version 0.2.0

* chore(package): update lockfile yarn.lock

* fix: update for file drop 0.2.0
2019-02-19 22:24:03 -08:00
Nolan Lawson 44e3ea575e
fix: remove __fakeFileInput, clean up on destroy (#1025) 2019-02-19 21:50:41 -08:00
Nolan Lawson a63e85bf30
feat: report an account or toots (#1016)
fixes #736
2019-02-18 19:55:44 -08:00
Nolan Lawson d665134d66
refactor: refactor dialogs (#1015) 2019-02-18 16:27:59 -08:00
Nolan Lawson bfdb977f22
fix: refactor NavItem, fix icon badge bug (#1014) 2019-02-18 16:27:52 -08:00
Nolan Lawson 7a152fbdac
feat: allow muting notifications when muting (#1013)
fixes #738
2019-02-18 15:43:41 -08:00
greenkeeper[bot] ebbe6ba9f8 chore: Update mocha to the latest version 🚀 (#1012)
* chore(package): update mocha to version 6.0.0

* chore(package): update lockfile yarn.lock
2019-02-18 15:43:32 -08:00
Nolan Lawson cd5b6f8e81
perf: use lite web animations polyfill (#1011) 2019-02-18 11:47:02 -08:00
Nolan Lawson ef5fb4ce0c 1.2.0 2019-02-16 15:39:00 -08:00
Nolan Lawson c6ebe6ab44
chore: use a script to generate the now.json (#1007) 2019-02-16 14:30:34 -08:00
Nolan Lawson 4387c17cbd
fix: add federated/favorites to crawled pages (#1006)
another thing I missed in #1000 and #1002
2019-02-16 12:33:22 -08:00
Nolan Lawson 68d3960931
chore: import hsts headers in zeit (#1003) 2019-02-16 12:33:12 -08:00
Nolan Lawson 7f1ba74c37
fix: fix missing export pages in node v8 (#1002)
For reasons that are mysterious to me, #1000 works in Node v10 but not v8. And Zeit runs v8. Moving the hidden links to a different page fixes it. ¯\_(ツ)_/¯
2019-02-16 11:33:05 -08:00
Nolan Lawson 2debddaaf6
fix: add some pages that "sapper export" missed (#1000)
Unfortunately it looks like `sapper export` works by crawling the
non-logged-in site, which means that any pages that are inaccessible
when you're not logged in don't get generated, including "pinned,"
"muted," "blocked," "requests," and "share."

Normally this isn't a problem, but it is in browsers that don't
have Service Worker; you get a 404 when you try to refresh those pages.

My fix is to just add a hidden div that links to these pages. It's not
pretty, but it works.
2019-02-16 00:48:45 -08:00
Nolan Lawson 839e8e35c4
fix: use fork of sapper for now (#1001) 2019-02-16 00:48:37 -08:00
Nolan Lawson 7887d2c848
fix: remove deferred polyfill caching (#999)
As of #998 we can no longer rely on JS files containing , let alone . This was a nice idea, but it's just not maintainable anymore nor does it provide a huge benefit.
2019-02-15 20:31:22 -08:00
Nolan Lawson 0d9dc7809c
chore: upgrade to zeit 2 (#998) 2019-02-15 19:46:27 -08:00
Nolan Lawson 59544d2cf4
fix: improve a11y, move preview box inside label (#997) 2019-02-15 19:03:24 -08:00
Nolan Lawson 25aea9f30a
fix: improve active state of navbar (#996) 2019-02-15 19:03:18 -08:00
greenkeeper[bot] beaac988b3 Update now to the latest version 🚀 (#995)
* chore(package): update now to version 14.0.0

* chore(package): update lockfile yarn.lock
2019-02-15 19:03:05 -08:00
Nolan Lawson 2c98bbda58
chore: pin to zeit v1 for the time being (#994)
more junk I am doing to try to address #985
2019-02-14 23:56:48 -08:00
Nolan Lawson 425d4c74aa
fix: use "public" for cache-control (#993)
another attempt to address #985
2019-02-14 22:54:18 -08:00
Nolan Lawson 75db2c0dac
fix: fix broken CSP in dev mode (#992)
It seems #988 occasionally breaks dev mode due to missing SW script. This fixes that.
2019-02-14 21:26:41 -08:00
Nolan Lawson 1b9d3b1cd0
feat: implement Web Share API (#991)
fixes #990
2019-02-14 21:26:28 -08:00
Nolan Lawson a97600d4a2
fix: set max-age to 3600 for html (#989)
another attempt to address #985
2019-02-14 21:26:20 -08:00
Nolan Lawson d947f819ab
fix: increase cache, use csp checksums over nonce (#988)
attempt to address #985
2019-02-14 19:39:24 -08:00
Nolan Lawson 752715becb
fix: tweak primary button border color (#987) 2019-02-14 19:38:54 -08:00
Nolan Lawson 9bc960ecdd
chore: update all deps (#984) 2019-02-14 19:38:42 -08:00
Nolan Lawson 623c2c79cb
fix: fix style of compose box in reply (#983)
Fixes #982
2019-02-14 08:46:43 -08:00
Nolan Lawson d0ba4fa5f7 1.1.0 2019-02-13 21:11:58 -08:00
Nolan Lawson df09b0a995
perf: prefetch all internal links (#981) 2019-02-13 18:40:02 -08:00