Commit graph

208 commits

Author SHA1 Message Date
Nolan Lawson 54a11778da
chore: make local mastodon server work in docker (#2136) 2022-04-30 18:34:58 -07:00
Nolan Lawson 6794514916
chore: update to mastodon v3.5.1 (#2133)
* chore: update to mastodon v3.5.1

* chore: empty commit
2022-04-30 14:38:37 -07:00
Nolan Lawson f2d752bfc2
fix: add country flag emoji on windows (#2117)
* fix: add country flag emoji on windows

* fix: missing file

* fix: cache font file on-demand

* fix: attempt to fix

* fix: working

* fix: ordering

* fix: ordering

* fix: ordering

* fix: fixup

* fix: fixup

* fix: add comment

* fix: fix vercel

* fix: fix vercel.json

* fix: vercel

* refactor: refactor
2022-03-27 20:59:02 -07:00
Nolan Lawson 16e66346d7
fix!: remove esm package, use native Node ES modules (#2064)
BREAKING CHANGE: Node v12.20+, v14.14+, or v16.0+ is required

* fix!: remove esm package, use native Node ES modules

* fix: fix some CJS imports
2021-07-04 20:19:04 -07:00
Nolan Lawson b3ab427ac0
fix!: remove performance-now module, use perf_hooks (#2065) 2021-07-04 16:39:48 -07:00
Nolan Lawson 7255221c5c
test: test mastodon v3.4.x (#2051) 2021-06-06 13:16:25 -07:00
Nolan Lawson 284d812367
chore: update svgo (#2048) 2021-05-15 13:28:42 -07:00
Nolan Lawson 0861b22c85
chore: update @rollup/plugin-replace (#2047) 2021-05-15 13:28:31 -07:00
Nolan Lawson 566cf6cd78
fix: remove Pinafore from FLOC (#2035) 2021-04-17 13:34:46 -07:00
Nolan Lawson 85a5874876
fix: internationalize manifest.json (#2034)
* fix: internationalize manifest.json

fixes #2020

* test: fix test
2021-04-11 19:40:24 -07:00
Nolan Lawson 3c307a47fc
chore: update tested mastodon to fix mimemagic (#2027) 2021-04-02 10:13:25 -07:00
Nolan Lawson 5e7440aaee
feat: accept files in web share target (#1992)
fixes #1009
2021-03-14 10:20:23 -07:00
Nolan Lawson 3271344c76
fix: add cross-origin-opener-policy (#1989) 2021-03-09 08:08:19 -08:00
Nolan Lawson a6c9d41f46
fix: fix permissions policy format (#1987) 2021-03-07 08:55:03 -08:00
Nolan Lawson 987e5827b0
fix: fix CSP checksums (#1985) 2021-03-07 08:21:20 -08:00
Nolan Lawson 88ccfdad6e
fix: add permissions policy (#1984)
does not really do anything right now, but fun to experiment with
2021-03-06 15:21:26 -08:00
Nolan Lawson 1f2ce30fd4
fix: fix DEBUG mode for inline script (#1981) 2021-03-06 09:06:53 -08:00
Nolan Lawson 7d96876aca
chore: break up circle CI tasks (#1983) 2021-03-06 09:06:42 -08:00
Nolan Lawson 09b5474e22
test: always migrate mastodon server when launching (#1941)
This fixes some bugs in dev mode where the Mastodon DB might say it needs a Rails migration stil.
2021-02-15 12:54:08 -08:00
Nolan Lawson c909b0d9d9
chore: disable vercel comment bot (#1936) 2021-02-14 14:02:02 -08:00
Nolan Lawson c833680ecc
chore: update vercel config and docs (#1933) 2021-02-14 14:01:52 -08:00
Nolan Lawson a3e970fe7a
test: use mastodon 3.3.0 for testing (#1917)
* test: use mastodon 3.3.0 for testing

* test: fix test

* test: fix test

* test: fix test

* test: fix test

* test: revert test change

* test: use ruby 2.6.6
2021-01-24 18:26:40 -08:00
Nolan Lawson a028a7e880
feat: intl support for emoji picker (#1910)
* feat: intl support for emoji picker

Fixes #1908

* fix: update emoji-picker-element

* fix: fix typo
2020-12-18 20:02:36 -08:00
Nolan Lawson 0022286b46
fix: first stab at i18n, extract English strings, add French (#1904)
* first attempt

* progress

* working

* working

* test timeago

* rm

* get timeago working

* reduce size

* fix whitespace

* more intl stuff

* more effort

* more work

* more progress

* more work

* more intl

* set lang=LOCALE

* flatten

* more work

* add ltr/rtl

* more work

* add comments

* yet more work

* still more work

* more work

* fix tests

* more test and string fixes

* fix test

* fix test

* fix test

* fix some more strings, add test

* fix snackbar

* fix }

* fix typo

* fix english

* measure perf

* start on french

* more work on french

* more french

* more french

* finish french

* fix some missing translations

* update readme

* fix test
2020-11-29 14:13:27 -08:00
Nolan Lawson d3ce112f60
chore: fix bundler caching in circleci (#1899) 2020-11-23 18:07:38 -08:00
Nolan Lawson a124ba9dc8
chore: cache bundler correctly in CircleCI (#1898) 2020-11-23 16:29:03 -08:00
Nolan Lawson ac08a53014
chore: switch from travis to circleci (#1895)
* chore: update to circleci

* chore: fixup

* chore: fixup

* chore: remove travis.yml

* chore: wait for redis

* chore: fix postgres

* chore: try to fix db

* chore: debug

* chore: debug

* chore: try another node

* chore: try 2.5

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: cleanup

* chore: cleanup

* chore: remove travis stuff

* chore: fix emoji

* chore: fix cache

* chore: update readme
2020-11-23 12:45:01 -08:00
Nolan Lawson 01ba161520
chore: update vercel token (#1892) 2020-11-14 15:04:28 -08:00
Nolan Lawson 57b75ade1b
chore: update emoji-picker-element to v1.3.0 (#1888) 2020-11-14 14:13:22 -08:00
Nolan Lawson 04b56f5dc5
fix: remove license files from service worker (#1875) 2020-09-20 14:31:15 -07:00
Nolan Lawson 7803bdf797
fix: remove LEGACY mode (#1867) 2020-09-13 13:37:54 -07:00
Nolan Lawson 5a9e5ae8bc fix: tidy up bookmarks, add tests 2020-08-25 23:47:20 -07:00
charlag 2113ab3d46 feat: Implement bookmarks, close #1726 2020-08-25 23:47:20 -07:00
Nolan Lawson 2812e4521e
chore: update from now to vercel (#1844) 2020-08-25 16:45:53 -07:00
Nolan Lawson 1371175bce
feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804)
* feat: use emoji-picker-element, add emoji autocompletions/tooltips

* fix: fix lint bug

* test: fix emoji in chrome on linux in travis

* test: try bionic in travis

* chore: try to fix travis

* chore: try to fix travis

* fix: filter unsupported emoji

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* Revert "chore: try to fix travis"

This reverts commit 3cd2d94469b2f1a20c847c2a69e088d7c8d1efdd.

* fix: fix emoji autosuggest

* test: fix test
2020-06-28 23:12:14 -07:00
Nolan Lawson 3476b9dc7e
chore: use sass instead of node-sass (#1792)
* chore: use sass instead of node-sass

* perf: renderSync is slightly faster
2020-05-28 21:06:24 -07:00
Nolan Lawson 5348b3ccce
test: do not write to mastodon.log in travis (#1761)
* test: do not write to mastodon.log in travis

* fixup
2020-05-02 19:58:58 -07:00
Nolan Lawson 6447326f5c
fix: beef up CSP headers (#1759)
* fix: beef up CSP headers

* add base-uri self

* fix connect-src for tesseract

* more csp fixes
2020-05-02 18:09:07 -07:00
Nolan Lawson 00b9b1c216
chore: update tested mastodon to v3.1.3 (#1760)
* chore: update tested mastodon to v3.1.3

* fix tests

* fixup

* fix test
2020-05-02 18:02:29 -07:00
Nolan Lawson f6f2da2748
fix: fix automatic zeit deployment (#1734)
This reverts commit 767fbccaff and
fixes #1732.
2020-03-29 11:54:40 -07:00
Nolan Lawson 8400f10014
chore: update mkdirp (#1699) 2020-02-22 16:45:32 -08:00
Nolan Lawson 4a500c16f5
chore: update dependencies (#1697) 2020-01-12 10:32:40 -08:00
Nolan Lawson abaa9b4e05
fix: ignore hidden files in scss/themes (#1696)
When editing a theme file in vim, a .file.swp file is created and would
crash the sass compiler. This ignores any hidden files in the directory,
since they are probably not theme files.

Co-authored-by: Milan <me@petabyteboy.de>
2020-01-12 10:19:29 -08:00
Nolan Lawson 561357b48e
fix: add missing cache-control for gz/webapp files (#1660) 2019-11-28 10:26:01 -08:00
Nolan Lawson da42c8b4c1
fix: fix circle in svg (#1621)
fixes #1616
2019-10-31 23:01:44 -07:00
Cătălin Mariș f17386c8cb perf: Further optimize used SVGs (#1603) 2019-10-27 10:08:03 -07:00
Nolan Lawson 9f12d1ca07
fix: use small modules for userAgent.js instead of terser magic (#1602) 2019-10-24 20:37:23 -07:00
Nolan Lawson 7c04b86405
fix: use smooth scroll polyfill in Chrome for scroll-to-top (#1601)
* fix: use smooth scroll polyfill in Chrome for scroll-to-top

* rename thunk to __thunk__ for safety
2019-10-24 19:03:10 -07:00
Nolan Lawson ac4d512363
fix: do not cache license files in service worker (#1575) 2019-10-15 06:52:27 -07:00
Nolan Lawson 8b3842f15a
feat: add hashtag autocomplete (#1567)
* feat: add hashtag autocomplete

fixes #1209

* add test and tweak aria label and styles

* do not prefer lowercase

* Change text
2019-10-12 18:06:04 -07:00