Commit graph

200 commits

Author SHA1 Message Date
Sorin Davidoi
e45af16bf9 Push notifications ()
* 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
fd43dc6e5d
fix idb getall in edge ()
* fix idb getall in edge

fixes 

* try to fix

* this should work

* fixup
2018-09-05 19:52:51 -07:00
e92bed8e58
fix image loading () 2018-08-31 16:35:26 -07:00
greenkeeper[bot]
8dbc1b0503 Update standard to the latest version 🚀 ()
* chore(package): update standard to version 12.0.0

* package lock update

* fix eslint
2018-08-29 21:42:57 -07:00
d599f2f308
run idb operations in a web worker () 2018-08-29 19:03:12 -07:00
543536409b
add application (client) name to statuses ()
* add application (client) name to statuses

fixes another thing in 

* add domain blocking ()

* add domain blocking

fixes another thing from 

* show "domain blocking" on profile page

* fix stuff
2018-08-26 15:38:45 -07:00
1423a6b14b
slight refactor of timeline fetching () 2018-08-24 11:50:40 -07:00
c4c128030e
allow custom emoji in user profiles ()
fixes 
2018-08-23 14:47:33 -07:00
8949b36873
Use img.decode() ()
* remove will-change:transform from container

* WIP: use img.decode()

* more work on img.decode
2018-08-22 21:00:53 -07:00
aea952daf0
use better emoji removal algorithm ()
another follow-up to  to fix 
2018-08-19 20:25:28 -07:00
af1d4b63d3
better support for de-emojified user display names ()
improvements to  to fix , especially for aria labels
2018-08-19 19:31:54 -07:00
37e12e8d73
add option to remove emoji from user display names ()
* add option to remove emoji from user display names

fixes 

* slight memory perf improvement
2018-08-19 18:03:26 -07:00
350667e5df
allow user display names to contain custom emoji ()
* allow user display names to contain custom emoji

fixes 

* fix tests

* fix focus issue
2018-08-19 15:23:40 -07:00
23ccec45d0
fix notifications in a background tab ()
Part of the way to improving .

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
5f4e869eeb
add more fine-grained request timeouts ()
* add more fine-grained request timeouts

fixes 

* tweak timeout
2018-06-13 07:38:36 -07:00
11dcaf0cf3
Remove PseudoVirtualList ()
* start on removing pseudo virtual list

* rename, refactor

* remove unused file

* fix the tests

* actually fix tests

* okay actually fix tests
2018-06-09 22:55:58 -07:00
c309e5842d
slightly improve Svelte 2.0 compatibility ()
* slightly improve Svelte 2.0 compatibility

* fixup

* fix lint
2018-04-29 22:13:41 -07:00
75b4d09b64 remove AsyncLayout in favor of rAf + gBCR 2018-04-27 18:16:57 -07:00
12131bd807
refactor dialogs to be individually async () 2018-04-21 09:56:53 -07:00
78f44c7b51
make timeline components async () 2018-04-21 08:45:41 -07:00
ec138f94ce
fix requestIdleCallback in edge/safari ()
Fixes 
2018-04-21 00:33:36 -07:00
77ba91c712
fix animations and cleanup store/component get() usage ()
fixes 
2018-04-19 21:38:11 -07:00
79b848df2c
fix requestIdleCallback not defined in Edge () 2018-04-19 10:35:34 -07:00
8d5690d63d
remove get() with string from Svelte calls ()
* 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
e431c29efa
update and pin all deps () 2018-04-18 20:43:13 -07:00
2d5714a2ea
simplify ajax.js implementation ()
* simplify ajax.js implementation

* fix typo
2018-04-17 22:08:15 -07:00
7c548018c1
Simplify click delegate implementation () 2018-04-17 21:47:30 -07:00
e23aa97cf2
make PseudoVirtualList sync rather than async ()
Attempt to address 
2018-04-15 14:43:41 -07:00
6230c2703e
content warnings can have emoji ()
fixes 
2018-04-14 15:50:06 -07:00
a208e5dedb
fix warning about max EventEmitter listeners () 2018-04-13 09:46:38 -07:00
7853285eea
Fix scrollTop jiggle in Firefox ()
Fixes 
2018-04-12 19:58:18 -07:00
95c3349db7 fix bug where favicon changes incorrectly 2018-04-11 20:30:38 -07:00
codl
6fcecce311 allow scroll-to-top to be canceled by a user scroll () 2018-04-11 19:43:22 -07:00
55782a5331 detect "selected" when doing smooth scroll to top 2018-04-10 23:15:22 -07:00
494f906701
increase fetch timeout to 60 seconds for now ()
Fixes 
2018-04-09 18:33:23 -07:00
7ae3212c55
Fix alts for image uploads ()
* Fix alts for image uploads

Fixes 

* fix alts mixed with no-alts
2018-04-09 18:30:15 -07:00
bcc7fb47ef start using an event bus 2018-04-08 15:08:32 -07:00
2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
760cafdeff don't allow clicking through to status if click is on toolbar 2018-04-04 18:53:52 -07:00
ef5b922e77 add basic handling for window resize 2018-03-31 17:42:52 -07:00
3b8f551477 implement better timeline navigations with fades 2018-03-29 23:16:53 -07:00
6fc21e40bf add username autocomplete feature 2018-03-24 18:04:54 -07:00
d682982a54 fix caching logic 2018-03-23 08:16:46 -07:00
3b03bd0e8d tweak when to use requestIdleCallback 2018-03-22 22:53:50 -07:00
cd968245e1 go back to having Timeline.html manage focus 2018-03-22 21:59:02 -07:00
ef51842e6a calculate listOffset to avoid profile offset issue 2018-03-22 17:33:42 -07:00
72e7e18e0b add favorite/reblog animations 2018-03-21 09:38:20 -07:00
0c9992c0e1 change scheduling to focus on requestIdleCallback 2018-03-20 20:28:53 -07:00
98b704f465 optimistic updates for fav/reblog 2018-03-20 17:41:39 -07:00
e4572a8066 increase timeout 2018-03-15 21:01:37 -07:00