Commit graph

1855 commits

Author SHA1 Message Date
Nolan Lawson 25793e2fec
fix(style): use dark placeholder on dark theme (#802)
fixes #797
2018-12-13 21:32:37 -08:00
Nolan Lawson 15e8840eb6
chore(git): remove ignored files from git (#801) 2018-12-13 21:32:32 -08:00
Nolan Lawson 319a158deb
fix: remove non-functional globalize/deglobalize scripts (#800)
fixes #787
2018-12-13 21:32:25 -08:00
Nolan Lawson 0fa0658b59
Revert "fix: re-enable mini-css-extract-plugin (#791)" (#799)
This reverts commit dc93685c18.

This fixes #798
2018-12-13 21:32:12 -08:00
Nolan Lawson a442b5ef43 0.14.0 2018-12-13 08:04:22 -08:00
Nolan Lawson 3462113c2f
fix: drop CSP support from the exported version (#795)
[skip ci]
2018-12-13 07:58:45 -08:00
Nolan Lawson 5e089ba27d
fix: fix sensitive content warning on mobile (#794) 2018-12-13 00:39:38 -08:00
Nolan Lawson 381d1dd120
chore(package): update dependencies (#792) 2018-12-12 23:46:51 -08:00
Nolan Lawson dc93685c18
fix: re-enable mini-css-extract-plugin (#791)
fixes #776
2018-12-12 23:46:02 -08:00
Nolan Lawson 1940260631
fix: fix delete and redraft on replies (#789)
fixes #786
2018-12-12 23:45:52 -08:00
Nolan Lawson 631603b0b7
fix: fix flaky test by clicking relative date (#790)
* fix: fix flaky test by clicking relative date

* fix test and add new one
2018-12-12 23:45:42 -08:00
sgenoud 30705da19d fix: Change the size of sensitive media box (#784)
It is now slightly bigger than what images in a box would look
like.

fixes #771
2018-12-12 23:44:29 -08:00
Nolan Lawson 76a8072e04
fix: show warning when local storage is unavailable (#782)
fixes #780
2018-12-11 22:07:01 -08:00
Nolan Lawson e3f7b3e65c
perf: slightly improve framerate of navbar indicator (#781)
this seems to help mobile firefox on android especially
2018-12-11 22:06:56 -08:00
Nolan Lawson 42978c3c84
fix: fix duplicate statuses in threads (#783)
fixes #511
2018-12-11 22:06:50 -08:00
Nolan Lawson 5d3ceb9eb5
perf(svgs): remove unused svg <title>s (#778)
* perf(svgs): remove unused svg <title>s

* remove double svg wrapper
2018-12-11 08:12:57 -08:00
Nolan Lawson 4bd181d3cc
fix: update Sapper to latest (#775)
* fix: update to latest sapper

fixes #416

* fix error and debug pages

* requestIdleCallback makes column switching feel way nicer than double rAF

* add export feature

* add better csp info

* workaround for sapper sub-page issue

* clarify in readme about exporting

* fix now config

* switch from rIC to triple raf

* style-loader is no longer used

* update theming guide
2018-12-11 07:31:48 -08:00
Nolan Lawson 4d3a2ded2a
chore(tests): skip flaky "thread preserves focus" test (#777) 2018-12-11 07:29:31 -08:00
Nolan Lawson 852d86b9e3
fix: fix media in grouped mode in focused threads (#774) 2018-12-10 22:26:48 -08:00
sgenoud 94d0590070 Fix the Pitch Black buttons color (#773)
Fix #757
2018-12-10 20:52:24 -08:00
Nolan Lawson b2f5f36207
fix(svg): re-inline svg into html (#772)
* Revert "fix(icons): fix icons.svg url (#769)"

This reverts commit 1d34d45da7.

* Revert "perf: use prefetch instead of preload for svgs (#765)"

This reverts commit b73dd548ae.

* Revert "perf: build separate icons.svg file (#762)"

This reverts commit ee45c07314.

* move svg to end of 2xx.html
2018-12-10 00:13:54 -08:00
Nolan Lawson 6a69b193d5
chore: fix wrong order in now alias command (#770) 2018-12-09 10:39:20 -08:00
Nolan Lawson 1d34d45da7
fix(icons): fix icons.svg url (#769)
in #762 I forgot to set the absolute path for these; it fails on
subpages
2018-12-08 20:04:32 -08:00
Nolan Lawson 481a567807
chore: fix travis deploy script (#768) 2018-12-08 18:07:50 -08:00
Nolan Lawson 8eb30d02e9
chore: cleanup travis scripts (#766)
* chore: cleanup travis scripts

* remove unused script
2018-12-08 17:15:01 -08:00
Nolan Lawson b73dd548ae
perf: use prefetch instead of preload for svgs (#765) 2018-12-08 16:04:11 -08:00
Nolan Lawson ee45c07314
perf: build separate icons.svg file (#762) 2018-12-08 12:46:16 -08:00
Nolan Lawson dd349e2ae3
chore(tests): update mastodon to v2.6.5 (#764)
* chore(tests): update mastodon to v2.6.5

* fix for travis cache of mastodon git repo
2018-12-08 12:46:00 -08:00
Nolan Lawson 7876f82871
fix: build inline script using Rollup (#761)
* fix: build inline script using Rollup

This reduces code duplication and allows the theme engine to work the
same without modifying the code in two places. It does extra extra deps,
but I tried to keep them to a minimum.

* change code comment

* remove unnecessary constant
2018-12-08 11:21:54 -08:00
Nolan Lawson 34cfaf27b3
fix: make inline media changes suggested in #747 (#760) 2018-12-08 09:44:12 -08:00
sgenoud 530ad6b35c feat: Allow Media to be shown in a grid (as an option) (#747)
* Allow Media to be shown in a grid

* Bring back the sidebar for ungrouped images
2018-12-08 09:42:38 -08:00
Nolan Lawson ab548a0a5d
fix(scroll): slightly tweak flicker fix (#758) 2018-12-08 07:53:14 -08:00
Nolan Lawson 7954a63588
chore(package): update sapper's deps (#755) 2018-12-07 23:24:28 -08:00
Nolan Lawson 99c44f348a
fix(scroll): improve flicker on back navigation (#756)
* fix(scroll): improve flicker on back navigation

It's still not perfect in Firefox for Android, but it's improved.

Partial fix for #753

* the double raf makes no difference here
2018-12-07 23:23:48 -08:00
Nolan Lawson 4b028b1a62
fix: use native smooth scroll when possible (#751) 2018-12-07 08:20:16 -08:00
greenkeeper[bot] 2280ff2832 Update css-loader to the latest version 🚀 (#749)
* fix(package): update css-loader to version 2.0.0

* chore(package): update lockfile package-lock.json
2018-12-07 07:55:23 -08:00
greenkeeper[bot] 495d9b7438 Update mini-css-extract-plugin to the latest version 🚀 (#748)
* fix(package): update mini-css-extract-plugin to version 0.5.0

* chore(package): update lockfile package-lock.json
2018-12-07 07:55:14 -08:00
Nolan Lawson 0e524f3e9a
fix: detect private browsing and safari blocked cookies (#733)
* WIP: detect private browsing and safari blocked cookies

* just check for indexeddb

* just check for indexeddb

* change warning text

* change text

* change text again

* change text again

fixes #444
2018-12-05 21:34:30 -08:00
Nolan Lawson c0f857336a
fix: error msg when logging in to same instance (#735) 2018-12-05 21:34:02 -08:00
Nolan Lawson f7164dd4c0
fix(observers): refactor instance observers, minor optimizations (#730)
try to defer more work, split everything up into more functional code for easier reading
2018-12-05 00:21:54 -08:00
Nolan Lawson ef32bfb278
fix(a11y): fix a11y issues caught by lighthouse (#729) 2018-12-04 22:31:46 -08:00
sgenoud 03d883423c feat(themes): Add the Pitch Black theme (#727)
This theme is made with mobile OLED screens (iPhone XS for instance)
2018-12-04 20:40:47 -08:00
Nolan Lawson 0f0db010eb 0.13.0 2018-12-04 07:26:12 -08:00
Nolan Lawson aae73f0cc6
fix(design): "add instance" input has dark bg on dark theme (#726)
fixes #723
2018-12-04 07:25:22 -08:00
Nolan Lawson d83d7322dc
Revert "chore(store): clean up usage of svelte store (#713)" (#725)
This reverts commit 36d90d34e5.

Fixes #724
2018-12-04 07:24:55 -08:00
Nolan Lawson 618ea31a57
chore: refactor instance observer code, remove double call (#722) 2018-12-04 06:44:19 -08:00
Nolan Lawson 09f3281e36
chore(package): use events-lights instead of events (#721) 2018-12-04 06:44:13 -08:00
Nolan Lawson 60751b3339
feat(statuses): implement "Delete and redraft" (#719)
Fixes #469
2018-12-03 23:23:29 -08:00
Nolan Lawson 92edb3d835
fix(firefox): fix firefox with blocked images (#718)
* fix(firefox): fix firefox with blocked images

* remove excessive perf marks

* fixup

* fix lint
2018-12-03 23:08:38 -08:00
Nolan Lawson da7a29d503
chore: refactor PR #716 (#717) 2018-12-02 23:19:15 -08:00