Commit graph

1322 commits

Author SHA1 Message Date
Nolan Lawson bf9ba22c35
fix: fix logging in and out with a refresh (#824)
* fix: fix logging in and out with a refresh

fixes #805

* simplify code

* make test less flaky

* fix dumb mistake
2018-12-16 12:39:16 -08:00
Nolan Lawson 14a618f374
perf: lazy-load logged-in observers, fix circular dependencies (#823)
* perf: lazy-load logged-in observers, fix circular dependencies

* I guess async deps don't count as circular deps
2018-12-16 10:22:34 -08:00
Nolan Lawson beb4d6e119
perf: avoid caching robots.txt in service worker (#820) 2018-12-16 09:35:02 -08:00
greenkeeper[bot] 77b84d44f4 Update rollup to the latest version 🚀 (#822)
* fix(package): update rollup to version 0.68.0

* chore(package): update lockfile package-lock.json
2018-12-16 09:34:53 -08:00
Nolan Lawson 146ac8d4aa
chore(package): update svelte to version 2.16.0 (#821)
* chore(package): update svelte to version 2.16.0

* chore(package): update lockfile package-lock.json
2018-12-16 09:34:41 -08:00
Nolan Lawson 4220df9418
fix: fix "now" files for thirdparty (#819) 2018-12-15 19:58:39 -08:00
Nolan Lawson 3ae532aee5
fix: fix NODE_ENV and webpack config (#818) 2018-12-15 19:21:20 -08:00
Nolan Lawson f2f5508144
perf: only run getSelection() check if we have to (#817) 2018-12-15 19:21:14 -08:00
Nolan Lawson 3a335a9f4a
perf: use terser for service worker too (#816) 2018-12-15 17:36:36 -08:00
Nolan Lawson 260f6acf0e
perf: download and cache polyfills on-the-fly (#814)
* perf: download and cache polyfills on-the-fly

* fixup the localhost switch for service worker, does nothing
2018-12-15 17:13:46 -08:00
Nolan Lawson dbd6c35a88
perf: move indexeddb operations to async module (#813) 2018-12-15 17:13:40 -08:00
Nolan Lawson 89566cacaa
perf: do prefetch to other instance to load it faster (#811) 2018-12-15 17:13:34 -08:00
Nolan Lawson b4164653db
fix: remove font-awesome-svg-png (#810)
* fix: remove font-awesome-svg-png

* update readme
2018-12-15 17:13:27 -08:00
Nolan Lawson 7ddfe3830a
feat: add drag and drop for media uploads (#809)
* feat: add drag and drop for media uploads

fixes #65

* tweak colors
2018-12-15 02:06:12 -08:00
Nolan Lawson fd1310c2c1 0.14.1 2018-12-14 00:26:03 -08:00
Nolan Lawson c90ad17686
fix: logging out results in visible homescreen (#807)
* fix: logging out results in visible homescreen

fixes #805

* fixup
2018-12-14 00:25:12 -08:00
Nolan Lawson d5c0268ef2
fix: move page-lifecycle and idb-getall-shim to dynamic modules (#804)
This would help with Rollup compat if we ever decided to switch to
Rollup
2018-12-13 22:55:04 -08:00
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