Commit graph

1928 commits

Author SHA1 Message Date
Nolan Lawson 190190bb22 1.4.0 2019-03-16 09:06:25 -07:00
Nolan Lawson 14cac8501b
chore: clean up babel config (#1099) 2019-03-15 23:54:09 -07:00
Nolan Lawson ffd570f8b0
perf: remove stats.json from webpack (#1098)
I was not ever really looking at this, and it seems to add compilation time
2019-03-15 23:26:22 -07:00
greenkeeper[bot] ff98c59237 chore: Update p-any to the latest version 🚀 (#1096)
* fix(package): update p-any to version 2.0.0

* chore(package): update lockfile yarn.lock
2019-03-14 21:14:54 -07:00
Nolan Lawson 34d5f05859
chore: update to emoji-mart 2.10.0 (#1097) 2019-03-14 21:14:41 -07:00
Nolan Lawson 117b5bee25
chore: update emoji-mart again for more testing (#1095)
* chore: update emoji-mart again for more testing

* update

* update again
2019-03-13 09:20:12 -07:00
Nolan Lawson 13792aef66
perf: switch from inferno to preact, use emoji-mart prerelease (#1094)
* perf: switch from inferno to preact, use emoji-mart prerelease

* use preact@10
2019-03-10 14:13:05 -07:00
greenkeeper[bot] 8ccef1b2b5 chore: Update quick-lru to the latest version 🚀 (#1093)
* fix(package): update quick-lru to version 3.0.0

* chore(package): update lockfile yarn.lock
2019-03-10 13:33:42 -07:00
Nolan Lawson 922cc762a2
chore: update now.json (#1092)
it changed due to 5012a21bcd
2019-03-09 15:06:09 -08:00
jeroenpraat 5012a21bcd feat: Plus theme with Mastodon standard web-app colors (called mastodon) (#1090)
* +mastodon theme

* +mastodon theme
2019-03-09 12:29:57 -08:00
Nolan Lawson ec02a2665d
chore: update to latest emoji-mart (#1091)
using a branch that allows for modern ES6 builds as well
2019-03-09 12:23:46 -08:00
Nolan Lawson a6d14e2d54
chore(package): update rollup to version 1.5.0 (#1088)
* chore(package): update rollup to version 1.5.0

* chore(package): update lockfile yarn.lock
2019-03-07 17:12:51 -08:00
Nolan Lawson 9012b6ce5c
fix: when idb is blocked, use console.error (#1081)
this allows the error to actually be logged in production for better debugging
2019-03-05 20:25:38 -08:00
Nolan Lawson 4257951f93
test: better idb migration test (#1080) 2019-03-05 20:25:33 -08:00
greenkeeper[bot] 15198f19d6 chore: Update emoji-regex to the latest version 🚀 (#1079)
* fix(package): update emoji-regex to version 8.0.0

* chore(package): update lockfile yarn.lock
2019-03-05 20:25:24 -08:00
Nolan Lawson c0918ccdc3
fix: fix pleroma snowflake IDs for real (#1084)
fixes #1082
2019-03-05 20:25:10 -08:00
Will Pearson 8665a18ac0 fix: Fix reversed base62 encoding (#1083) 2019-03-05 20:03:55 -08:00
Nolan Lawson f179a63255
fix: add a privacy policy (#1078)
fixes #1077
2019-03-04 23:18:21 -08:00
Nolan Lawson 5cde48c2c5
test: add IndexedDB tests (#1075)
* test: add IndexedDB tests

Adds unit tests using fake-indexeddb.

* remove wtfnode dep
2019-03-03 18:34:10 -08:00
Nolan Lawson 93a3e85994
fix: use correct sorting for snowflake IDs (#1074)
* fix: use correct sorting for snowflake IDs

fixes #1071

* refactor
2019-03-03 17:21:22 -08:00
stanclai fe919de86d Clean yarn cache during docker image build phase (#1073) 2019-03-03 13:25:42 -08:00
Nolan Lawson 7e5f58b969
refactor: use timeline item summaries instead of ids (#1072)
As described in https://github.com/nolanlawson/pinafore/issues/369#issuecomment-467211908 this is the first step toward fixing #369
2019-03-03 13:24:55 -08:00
Nolan Lawson b14f818e81
perf: build url regex in advance (#1069)
* perf: build url regex in advance

* update comment

* better regex stringification
2019-03-02 22:02:59 -08:00
Nolan Lawson 1f5606c65e
perf: reduce size of ShortcutHelpInfo.html (#1068) 2019-03-02 20:06:56 -08:00
Nolan Lawson 880bc7a38a
perf: use a separate icons.svg file (#1067)
* perf: use a separate icons.svg file

This splits icons into inline and non-inline. The inline ones are high
priority; the rest go in an icons.svg file.

* create SvgIcon.html

* determine inlined svgs at build time
2019-03-02 19:02:06 -08:00
Nolan Lawson 2fc6897ee3
perf: reduce install size using yarn --production (#1066) 2019-03-02 14:44:19 -08:00
Nolan Lawson 380dbbf341
chore: don't let now ignore robots.txt (#1065) 2019-03-02 14:44:10 -08:00
stanclai c1df934c55 perf: Reduce docker image (#1064)
* Add .dockerignore file to clean image building area

* Optimize docker image build
2019-03-02 13:33:16 -08:00
Nolan Lawson fe0018262f 1.3.1 2019-03-02 13:25:20 -08:00
Nolan Lawson 948316381d
chore: update all deps (#1062) 2019-02-28 21:35:22 -08:00
Nolan Lawson 53126c421e
chore(package): update testcafe to version 1.1.0 (#1061)
* chore(package): update testcafe to version 1.1.0

* chore(package): update lockfile yarn.lock
2019-02-28 21:05:39 -08:00
Nolan Lawson c98619adac
fix: fix closing of account options dialog (#1060)
* fix: fix closing of account options dialog

fixes #1049

* fix lint
2019-02-28 20:49:09 -08:00
Nolan Lawson 6715bbdfd5
chore(package): update rollup to version 1.3.2
* chore(package): update rollup to version 1.3.2

* chore(package): update lockfile yarn.lock
2019-02-28 20:02:53 -08:00
Nolan Lawson 5aac6a213a
test: improve emoji test (#1056)
trying to make this test less flakey
2019-02-28 08:56:38 -08:00
Nolan Lawson 63003c3763
fix: fix aria-posinset should be 1-based (#1055)
* fix: fix aria-posinset should be 1-based

fixes #1053

* second attempt to fix tests

* try to fix test

*  fixup

* lint fix

* fix more tests

* simplify test math
2019-02-28 08:56:25 -08:00
Nolan Lawson b0aa86ef44
fix: fix undefined error in media dialog scroll (#1048) 2019-02-26 22:18:24 -08:00
Nolan Lawson b7299f53fb
chore(package): update rollup to version 1.3.0
* chore(package): update rollup to version 1.3.0

* chore(package): update lockfile yarn.lock
2019-02-26 21:57:30 -08:00
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