Commit Graph

347 Commits

Author SHA1 Message Date
Nolan Lawson 098a20db49
feat: add full emoji picker using emoji-mart (#836)
* feat: add full emoji picker using emoji-mart

Fixes #4

* use a sailboat as the default emoji in the emoji picker

* fix tests

* fix lint
2018-12-18 00:43:51 -08:00
Nolan Lawson 943a1ed5e6
chore: fix build process in dev mode (#835) 2018-12-17 22:42:39 -08:00
Nolan Lawson 93c2358a71
chore: upgrade travis/now to node v10 (#834) 2018-12-17 17:30:12 -08:00
Nolan Lawson bb7fe6e30a
chore: make build process faster/simpler (#833)
This gets rid of the awkward checking-in of `template.html` to git (when
it's a built file) and also makes the rebuilds faster and more
consistent by running everything through the same pipeline. So inline
CSS, SVG, and JS are all partially built on-the-fly.

I've basically reinvented gulp, but it's pretty lightweight and
zero-dep, so I'm happy with it.
2018-12-17 17:21:29 -08:00
Nolan Lawson 049bbba639 0.15.0 2018-12-17 11:54:51 -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
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 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 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 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 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 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 8eb30d02e9
chore: cleanup travis scripts (#766)
* chore: cleanup travis scripts

* remove unused script
2018-12-08 17:15:01 -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 7954a63588
chore(package): update sapper's deps (#755) 2018-12-07 23:24:28 -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 0f0db010eb 0.13.0 2018-12-04 07:26:12 -08:00
Nolan Lawson 09f3281e36
chore(package): use events-lights instead of events (#721) 2018-12-04 06:44:13 -08:00
Nolan Lawson ee3dfd8e28 0.12.0 2018-12-02 16:14:10 -08:00
Nolan Lawson 945c1e7a23
fix(iOS): fix horizontal scroll, use fake sticky button on iOS (#711)
fixes #667
2018-12-02 11:22:18 -08:00
Nolan Lawson 12892d0032
chore(package): update to webpack 4.26.1 (#703) 2018-12-01 00:00:11 -08:00
Nolan Lawson ea4e21281f
chore(package): update now to 12.1.8 (#704) 2018-12-01 00:00:05 -08:00
Nolan Lawson 41d7e40662
fix(deps): remove timeago.js (#692) 2018-11-25 10:33:59 -08:00
Nolan Lawson cc81a7bec6
fix(a11y): improved aria-label for status and notifications (#690)
* fix(a11y): improved aria-label for status and notifications

fixes #689

* only calculate formatted date once

* fixup tests

*  fixup tests more

* fixup

* fixup tests again
2018-11-25 01:20:58 -08:00
Nolan Lawson 2db06ea472
chore(package): update npm-run-all to version 4.1.5 (#688)
* chore(package): update npm-run-all to version 4.1.5

* chore(package): update lockfile package-lock.json
2018-11-24 21:21:42 -08:00
Nolan Lawson 48a1bd47b3
refactor(themes): use CSS specificity order for themes (#684)
The point of this PR is to make it easier to implement scrollbars (#683).

With this PR, the themes move from a body tag-based system (e.g. `body.theme-scarlet`) to a system where they simply declare global CSS and we use CSS specificity order to give us the right theme.
2018-11-24 00:41:36 -08:00
Nolan Lawson 999d560703 0.11.1 2018-11-21 22:09:36 -08:00
Nolan Lawson 673e7b951c
chore(package): update deps (#677) 2018-11-21 20:53:43 -08:00
Nolan Lawson 689dae5d39
fix(dialog): when dialog is hidden, don't scroll to top (#672)
* fix(dialog): when dialog is hidden, don't scroll to top

* update package-lock.json
2018-11-21 00:33:46 -08:00
Nolan Lawson 4124da2439
fix(emojos): fix emojos on Ubuntu and Chrome on Windows (#661)
* fix(emojos): fix emojos on Ubuntu and Chrome on Windows

* fixup

* start working on unit tests

* fixup

* add more tests and fix emoji
2018-11-20 00:01:23 -08:00
Nolan Lawson c99cc7ed67 0.11.0 2018-11-12 18:38:00 -08:00
Nolan Lawson eee2eb288b
update to svelte 2.15.3 (#644) 2018-11-12 17:34:12 -08:00
greenkeeper[bot] bf0812df6a Update eslint-plugin-html to the latest version 🚀 (#634)
* chore(package): update eslint-plugin-html to version 5.0.0

* chore(package): update lockfile package-lock.json
2018-11-11 16:37:10 -08:00
Nolan Lawson dd824822cb
chore(travis): use travis to deploy to production (#631) 2018-11-11 13:01:32 -08:00
Nolan Lawson ae6ae34b7d
fix(server): use compression instead of shrink-ray-current (#629) 2018-11-11 11:31:32 -08:00
greenkeeper[bot] cedf33b2cb Update quick-lru to the latest version 🚀 (#623)
* fix(package): update quick-lru to version 2.0.0

* chore(package): update lockfile package-lock.json
2018-11-11 09:47:00 -08:00
greenkeeper[bot] db4ab87adc Update now to the latest version 🚀 (#621)
* chore(package): update now to version 12.0.0

* chore(package): update lockfile package-lock.json
2018-11-10 13:41:49 -08:00
Nolan Lawson 819c1e6b8d 0.10.1 2018-11-05 08:28:54 -08:00
Nolan Lawson 4519a3fe2d 0.10.0 2018-11-04 23:07:10 -08:00
Nolan Lawson 6f4c7e6f4e
chore: update svelte to 2.15.2 (#616) 2018-11-04 23:03:21 -08:00
Nolan Lawson 754e4da638
chore(package): update shrink-ray-current to version 3.0.1 (#615)
* chore(package): update shrink-ray-current to version 3.0.1

* chore(package): update lockfile package-lock.json
2018-11-04 23:03:14 -08:00
Nolan Lawson b3a31aa21a
update express to 4.16.4 (#614) 2018-11-04 21:30:07 -08:00
Nolan Lawson f591b90629
update mini-css-extract-plugin to 0.4.4 (#613) 2018-11-04 21:29:58 -08:00
Nolan Lawson 2cf35e58eb
update now to 11.5.2 (#612) 2018-11-04 21:29:52 -08:00
Nolan Lawson 16d21947a4
update to webpack-bundle-analyzer 3.0.3 (#611) 2018-11-04 16:39:10 -08:00
Nolan Lawson 398fb2fcd7
update style-loader to 0.23.1 (#610) 2018-11-04 16:37:33 -08:00
Nolan Lawson cf7ec984e1
chore(package): update node-sass to version 4.10.0 (#609)
* chore(package): update node-sass to version 4.10.0

* chore(package): update lockfile package-lock.json
2018-11-04 16:35:17 -08:00
Nolan Lawson 951c2b6527
chore(package): update css-loader to version 1.0.1 (#608)
* chore(package): update css-loader to version 1.0.1

* chore(package): update lockfile package-lock.json
2018-11-04 16:35:08 -08:00
Nolan Lawson 7fdf8ca721
chore: update to webpack 4.24.0 (#606) 2018-11-04 15:57:39 -08:00
Nolan Lawson 599f56ab02
chore(package): update svelte to version 2.15.0 (#594)
* chore(package): update svelte to version 2.15.0

* chore(package): update lockfile package-lock.json
2018-11-04 15:57:33 -08:00
greenkeeper[bot] 5936e978dd Update testcafe to the latest version 🚀 (#590)
* chore(package): update testcafe to version 0.23.0

* update package-lock
2018-11-04 15:57:21 -08:00
Nolan Lawson df91057334
chore(package): update browserslist to version 4.3.4 (#592)
* chore(package): update browserslist to version 4.3.4

* chore(package): update lockfile package-lock.json
2018-11-04 15:57:14 -08:00
Nolan Lawson 68c2dc47b9
update form-data, helmet, pify, intersection-observer (#596) 2018-11-04 14:52:51 -08:00
greenkeeper[bot] d4a208bf20 Update shrink-ray-current to the latest version 🚀 (#599)
* fix(package): update shrink-ray-current to version 3.0.0

* chore(package): update lockfile package-lock.json
2018-11-04 14:30:38 -08:00
Nolan Lawson bc3a74bbcb don't wait if idb is blocked, remove workerize-loader (#602)
There are two issues here:

- if IDB is blocked, then the promise never resolves when you log out (and call indexedDB.deleteDatabase) and the app remains in a permanently hung state
- why is IDB blocked? well, something seems to have changed in Chrome 70 such that doing these operations in a web worker causes the blocked error. The benefits of workerizing IDB is so small that I'd rather just remove it at this point.
2018-11-04 13:59:14 -08:00
Sorin Davidoi e45af16bf9 Push notifications (#579)
* feat: Push notifications

* feat: Feature-detect push notifications support

* feat: Prompt user to reauthenticate when missing push scope

* fix(service-worker): Add tags to notifications

* feat: Push notification actions for mentions
2018-10-06 13:06:10 -07:00
Nolan Lawson 50f2cadf50
chore(package): update webpack to version 4.20.2 (#580)
* chore(package): update webpack to version 4.20.2

* chore(package): update lockfile package-lock.json
2018-09-30 12:14:07 -07:00
Nolan Lawson 568352bcd5 0.9.0 2018-09-23 14:40:41 -07:00
Nolan Lawson 9b2b90b46e
simplify theme definitions (#574)
* simplify theme definitions

* remove rollup dep which is overkill

* fix syntax error

* fix lint

* fix test
2018-09-23 12:26:01 -07:00
Nolan Lawson 289c7eb7a7
update now and optimize-css-assets-webpack-plugin deps (#571) 2018-09-23 10:11:18 -07:00
Nolan Lawson fbd57d67a7
remove yargs as dependency (#570) 2018-09-23 07:57:07 -07:00
Nolan Lawson 1cc22fee7a
update some more deps (#569) 2018-09-23 07:55:06 -07:00
Nolan Lawson d1a666aa4f
chore(package): update mini-css-extract-plugin to version 0.4.3 (#553)
* chore(package): update mini-css-extract-plugin to version 0.4.3

* chore(package): update lockfile package-lock.json
2018-09-23 07:54:49 -07:00
Nolan Lawson 56190efce1
switch from uglify to terser (#567) 2018-09-22 23:08:23 -07:00
Nolan Lawson 0402d825bc
chore(package): update lodash-es to version 4.17.11 (#557)
* chore(package): update lodash-es to version 4.17.11

* chore(package): update lockfile package-lock.json
2018-09-22 23:08:17 -07:00
Nolan Lawson e2ab92107e
update svelte-loader to 2.11.0 (#561) 2018-09-22 22:18:45 -07:00
Nolan Lawson f92f6f7261
update webpack-bundle-analyzer to 3.0.2 (#558) 2018-09-22 22:18:37 -07:00
Nolan Lawson ce2c23463a
chore(package): update svgo to version 1.1.1 (#556)
* chore(package): update svgo to version 1.1.1

* chore(package): update lockfile package-lock.json
2018-09-22 22:05:50 -07:00
Nolan Lawson c449d3a209
chore(package): update now to version 11.4.5 (#552) 2018-09-22 22:04:44 -07:00
Nolan Lawson 7588ff2cb8
update svelte to version 2.13.5 (#551)
* chore(package): update svelte to version 2.13.5

* chore(package): update lockfile package-lock.json
2018-09-22 22:02:07 -07:00
Nolan Lawson cb4c7b18c0
update eslint-plugin-html to version 4.0.6 (#550)
* chore(package): update eslint-plugin-html to version 4.0.6

* chore(package): update lockfile package-lock.json
2018-09-22 22:01:11 -07:00
Nolan Lawson 1fecbb4c8e
chore(package): update esm to version 3.0.84 (#555)
* chore(package): update esm to version 3.0.84

* chore(package): update lockfile package-lock.json
2018-09-22 21:59:37 -07:00
Nolan Lawson 2fc9053322
update sapper's deps (#549) 2018-09-22 21:59:20 -07:00
Nolan Lawson 07c48f23a5
Revert to older webpack-uglifyjs-plugin to unbreak build (#565)
* Revert "Update uglifyjs-webpack-plugin to the latest version 🚀 (#545)"

This reverts commit 15d8137f6c.

* update package-lock.json
2018-09-22 19:32:21 -07:00
greenkeeper[bot] 15d8137f6c Update uglifyjs-webpack-plugin to the latest version 🚀 (#545)
* fix(package): update uglifyjs-webpack-plugin to version 2.0.0

* chore(package): update lockfile package-lock.json
2018-09-22 16:48:05 -07:00
greenkeeper[bot] 7a705c83ba Update webpack-bundle-analyzer to the latest version 🚀 (#544)
* fix(package): update webpack-bundle-analyzer to version 3.0.0

* chore(package): update lockfile
2018-09-22 16:47:55 -07:00
Nolan Lawson a30bd23155 0.8.3 2018-09-06 17:56:07 -07:00
greenkeeper[bot] 334a6e1e74 Update testcafe to the latest version 🚀 (#533)
* chore(package): update testcafe to version 0.22.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-09-05 19:22:40 -07:00
Nolan Lawson 65c026a32a 0.8.2 2018-09-02 09:22:30 -07:00
greenkeeper[bot] 8dbc1b0503 Update standard to the latest version 🚀 (#519)
* chore(package): update standard to version 12.0.0

* package lock update

* fix eslint
2018-08-29 21:42:57 -07:00
Nolan Lawson d599f2f308
run idb operations in a web worker (#517) 2018-08-29 19:03:12 -07:00
Nolan Lawson 1c20c6b762 0.8.1 2018-08-28 08:52:57 -07:00
Nolan Lawson 464ed5ab71
update now to v11.4.0 (#502) 2018-08-27 18:30:17 -07:00
greenkeeper[bot] 29dca5d8f4 Update style-loader to the latest version 🚀 (#504)
* fix(package): update style-loader to version 0.23.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-27 18:30:08 -07:00
Nolan Lawson 02bce843aa 0.8.0 2018-08-26 20:13:42 -07:00
Nolan Lawson 9bdb723edb 0.7.0 2018-08-25 12:54:04 -07:00
Nolan Lawson 5fdde8c63f
update deps again (#476) 2018-08-23 14:47:26 -07:00
Nolan Lawson 39cd96da70
update now to v11.3.12 (#468) 2018-08-22 07:53:02 -07:00
Nolan Lawson e9c704c7fc 0.6.2 2018-08-21 23:39:47 -07:00
Nolan Lawson 2956e20d18 0.6.1 2018-08-21 08:04:58 -07:00