1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-08 08:24:19 +01:00
Commit Graph

81 Commits

Author SHA1 Message Date
Nolan Lawson
4fe0cf3f18
fix: fix null reference error in Safari/Edge (#618)
fixes #617
2018-11-05 08:28:38 -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
96c2858d7a
lower timeline fetch batch size from 20 to 10 (#523) 2018-08-29 22:49:14 -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
2449a27767
fix pinned/unpinned state of recently pinned statuses (#521)
* fix pinned/unpinned state of recently pinned statuses

* fixup

* fix test
2018-08-29 18:10:09 -07:00
Nolan Lawson
47315c7f6d
add support for max_toot_chars > 500 (#495) 2018-08-26 12:14:16 -07:00
Nolan Lawson
d6af3b69a7
Add ability to show/hide boosts from accounts (#491)
Fixes some stuff in #6
2018-08-25 22:03:33 -07:00
Nolan Lawson
8949b36873
Use img.decode() (#473)
* remove will-change:transform from container

* WIP: use img.decode()

* more work on img.decode
2018-08-22 21:00:53 -07:00
Nolan Lawson
37e12e8d73
add option to remove emoji from user display names (#450)
* add option to remove emoji from user display names

fixes #449

* slight memory perf improvement
2018-08-19 18:03:26 -07:00
Nolan Lawson
b8863e684e
use page lifecycle (#424)
* use page lifecycle

* fix eslint
2018-08-16 10:23:26 -07:00
Nolan Lawson
23ccec45d0
fix notifications in a background tab (#402)
Part of the way to improving #390.

Before this fix, if you recieved a notification while Pinafore was in a background tab, nothing would happen, because most browsers (Edge, Firefox, Chrome) don't run rAF in background tabs. Furthermore, Chrome doesn't run rIC. In this PR we detect if we're in a background tab and then avoid rAF/rIC in that case.
2018-06-23 10:11:14 -07:00
Nolan Lawson
efdb0bc534
Remove testcafe roles and run in parallel x4 (#334)
* more attempts to fix test flakiness

* remove testcafe roles entirely

* really remove testcafe roles

* run testcafe in parallel x2

* run testcafe in parallel x4

* fix online/offline forcing in tests

* fix pin test
2018-05-26 13:51:41 -07:00
Nolan Lawson
5a1e10dee0
refactor some stuff (#274) 2018-05-06 17:35:22 -07:00
Nolan Lawson
07fb5e867c
isolate autosuggestion state (#273)
fixes #261
2018-05-06 16:25:17 -07:00
Nolan Lawson
9e9a897ede
fix nav bar for pinned lists (#263) 2018-05-03 21:24:10 -07:00
Nolan Lawson
b7c90a4206
add animation for navigation bar indicator (#257) 2018-05-02 21:32:43 -07:00
Nolan Lawson
814716cc8d
remove deprecated observe() from stores, take 2 (#249) 2018-04-30 17:20:20 -07:00
Nolan Lawson
77ba91c712
fix animations and cleanup store/component get() usage (#185)
fixes #181
2018-04-19 21:38:11 -07:00
Nolan Lawson
8d5690d63d
remove get() with string from Svelte calls (#169)
* remove get() with string pt 1

* remove get() with string pt 2

* fix typo

* fix some null exceptions in get()

* fixup code style
2018-04-19 09:37:05 -07:00
Nolan Lawson
18c3064801
fix favicon logic (#175) 2018-04-19 09:34:56 -07:00
Nolan Lawson
7f5bea8f5b
remove deprecated store.onchange (#168) 2018-04-18 23:48:13 -07:00
Nolan Lawson
e431c29efa
update and pin all deps (#164) 2018-04-18 20:43:13 -07:00
Nolan Lawson
0efafdec90
only show "you are offline" notification once (#137)
Fixes #34
2018-04-15 16:00:16 -07:00
Nolan Lawson
2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson
584d94eea4 fix streaming gap issue for instance switching 2018-04-02 21:14:12 -07:00
Nolan Lawson
5a0c4897b0 make replies inline 2018-03-30 01:06:17 -07:00
Nolan Lawson
3b8f551477 implement better timeline navigations with fades 2018-03-29 23:16:53 -07:00
Nolan Lawson
7ce9a39119 add emoji autosuggest 2018-03-25 12:24:38 -07:00
Nolan Lawson
cd968245e1 go back to having Timeline.html manage focus 2018-03-22 21:59:02 -07:00
Nolan Lawson
2785eb28c3 add option to reduce motion 2018-03-22 20:23:00 -07:00
Nolan Lawson
7053230ac0 fix focus() being called too often 2018-03-21 00:53:52 -07:00
Nolan Lawson
98b704f465 optimistic updates for fav/reblog 2018-03-20 17:41:39 -07:00
Nolan Lawson
00fd911579 truly fix streaming gap issue, remove sleeps from tests 2018-03-19 18:00:49 -07:00
Nolan Lawson
eaa19f79e4 fix streaming gap issue 2018-03-19 10:09:05 -07:00
Nolan Lawson
9c0fbdabd2 better offline support 2018-03-11 12:11:06 -07:00
Nolan Lawson
23a247a8c2 basic support for delete streaming 2018-03-10 16:21:10 -08:00
Nolan Lawson
7813cf99ed immediately add replies to threads 2018-03-09 22:31:26 -08:00
Nolan Lawson
f0d05b7560 lint fix 2018-03-08 18:09:35 -08:00
Nolan Lawson
53081ffe54 add failing test for offline threads 2018-03-08 18:08:14 -08:00
Nolan Lawson
4220e61042 add ability to post statuses 2018-03-04 16:27:15 -08:00
Nolan Lawson
562a58f030 fix node removal with no parent caused by focus changes 2018-03-04 12:55:51 -08:00
Nolan Lawson
3dc46791e9 refactor 2018-03-03 14:51:48 -08:00
Nolan Lawson
66801fbc96 refactor 2018-03-03 14:15:50 -08:00
Nolan Lawson
35282666cc implement post privacy 2018-03-03 13:23:26 -08:00
Nolan Lawson
d4e770c28d add media URLs when media is inserted 2018-03-03 11:26:10 -08:00
Nolan Lawson
e79003d8d7 separate uploaded media by instance/realm 2018-03-03 10:11:32 -08:00
Nolan Lawson
b26fdc7f55 correctly measure status length 2018-02-27 23:38:33 -08:00
Nolan Lawson
18dab36e52 add custom emoji modal 2018-02-27 23:18:07 -08:00
Nolan Lawson
4ef576b7f1 refactor 2018-02-27 21:01:01 -08:00