Commit Graph

375 Commits

Author SHA1 Message Date
Nolan Lawson d198250eab
chore: switch to yarn (#927)
* chore: switch to yarn

BREAKING CHANGE: Pinafore is now using yarn rather than npm, so those
who self-host will need to stop running e.g. `npm install` and run `yarn
install` instead.

* install latest yarn
2019-01-27 17:44:30 -08:00
Nolan Lawson 58b0c56ad8 0.18.0 2019-01-27 12:36:54 -08:00
Nolan Lawson 7a8be06412
chore: update dep rollup-plugin-terser (#925) 2019-01-27 12:29:27 -08:00
Nolan Lawson 14932e2479
chore: update dep rollup (#924) 2019-01-27 12:29:20 -08:00
Nolan Lawson 3dfab37f53
chore: update dep inferno-compat (#923) 2019-01-27 12:29:13 -08:00
Nolan Lawson 2f743299ec
chore: update dep esm (#922) 2019-01-27 12:29:06 -08:00
Nolan Lawson 6b3d53a795
chore: remove pify dependency, use util.promisify (#901) 2019-01-19 15:06:25 -08:00
Nolan Lawson ae918a226c
chore: update browserslist/esm/now (#899) 2019-01-19 13:32:29 -08:00
Nolan Lawson a508f494f0 0.17.0 2019-01-13 17:15:45 -08:00
Nolan Lawson 981af04c6d
chore: update now to latest (#885) 2019-01-12 13:13:59 -08:00
Nolan Lawson 610f5be1e9
chore: update testcafe to latest (#884) 2019-01-12 13:13:53 -08:00
Nolan Lawson f2d1054af6
chore: update webpack to latest (#883) 2019-01-12 13:13:47 -08:00
Nolan Lawson 39e77eeb4a
chore: update terser-webpack-plugin to latest (#882) 2019-01-12 13:13:39 -08:00
Nolan Lawson adf04aa1ad
chore: update svelte-loader to latest (#881) 2019-01-12 13:13:32 -08:00
Nolan Lawson 55879362a4
chore: update rollup-plugin-terser to latest (#880) 2019-01-12 13:13:24 -08:00
Nolan Lawson a39c57af8d
chore: update rollup to latest (#879) 2019-01-12 13:13:18 -08:00
Nolan Lawson af827d1338
chore: update inferno-compat to latest (#878) 2019-01-12 13:13:12 -08:00
Nolan Lawson dfd53c056d
chore: update emoji-regex to latest (#877) 2019-01-12 13:13:05 -08:00
Nolan Lawson 14faed41e5
chore: update css-loader to latest (#876) 2019-01-12 13:12:56 -08:00
Nolan Lawson ec01534e00
chore: update browserslist to latest (#875) 2019-01-12 13:11:56 -08:00
Nolan Lawson a5a6c49269
chore: improve steps in export process (#871) 2019-01-12 10:17:37 -08:00
greenkeeper[bot] b90bcbcfef chore: Update now to the latest version 🚀 (#868)
* chore(package): update now to version 13.0.0

* chore(package): update lockfile package-lock.json
2019-01-12 09:50:43 -08:00
greenkeeper[bot] 5bb48e89e2 chore: Update rollup-plugin-terser to the latest version 🚀 (#864)
* fix(package): update rollup-plugin-terser to version 4.0.0

* chore(package): update lockfile package-lock.json
2019-01-12 09:49:44 -08:00
greenkeeper[bot] 26d0b827bc Update rollup to the latest version 🚀 (#860)
* fix(package): update rollup to version 1.0.0

* chore(package): update lockfile package-lock.json

* fix inline script script
2019-01-01 10:42:50 -08:00
Nolan Lawson 59f9be448d 0.16.0 2018-12-19 09:09:33 -08:00
Nolan Lawson cd44e33a7e
perf: reduce size of emoji-mart dep using fork (#841) 2018-12-18 14:40:14 -08:00
Nolan Lawson e6ca246527
fix: use emoji-mart all.json, split out json (#839) 2018-12-18 12:45:49 -08:00
Nolan Lawson 7da2076791
chore: add prop-types to deps to unbreak now (#837) 2018-12-18 10:00:12 -08:00
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