Commit graph

2040 commits

Author SHA1 Message Date
Nolan Lawson cf2a6022dd
fix: fix regenerator error in legacy mode (#1605) 2019-10-27 11:11:57 -07:00
Cătălin Mariș f17386c8cb perf: Further optimize used SVGs (#1603) 2019-10-27 10:08:03 -07:00
Nolan Lawson 1b40631049 1.15.3 2019-10-24 21:58:40 -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 0194a07823
perf: use raw html for some external links (#1600) 2019-10-24 19:03:03 -07:00
Vincent 852a8582fb fix: Add the non-truncated text in the title attribute (#1598)
The `.card-title` element carries `text-overflow: ellipsis`, (and
`white-space: nowrap`), resulting in the last part of long article
titles not being visible. By adding it to the `title` attribute,
one can see the full title on hovering without having to visit the
article first.

The main concern I had was that the text is now technically
duplicated in the source code, and for short titles, also in the
UI. The primary concern there, however, was screen reader users
getting duplicate announcements. However, I believe the title
attribute is not announced by screen readers, which this (old)
article seems to confirm:
https://developer.paciellogroup.com/blog/2010/11/using-the-html-title-attribute/

That leaves the following two disadvantages:
- This doesn't solve anything for mobile users, who will still
  have to follow the link to see the full title.
- Desktop users can however a (non-truncated) title to see the same
  title again.
2019-10-23 21:54:57 -07:00
Nolan Lawson 2b63afd4bb 1.15.2 2019-10-23 20:58:14 -07:00
Nolan Lawson c174c19ddd
fix: fix tesseract.js progress bar (#1599)
* fix: fix tesseract.js progress bar

* fixup
2019-10-23 18:07:24 -07:00
Nolan Lawson 2a248cb482
fix: update tesseract to the latest version (#1596)
* chore: update tesseract to the latest version

* fix stuff

* fix delay

* fix caching, fixes #1457
2019-10-22 20:45:30 -07:00
Nolan Lawson 1d257ed92e 1.15.1 2019-10-18 19:17:55 -07:00
Nolan Lawson 3bc6e3d777
fix: only do range request override in Safari (#1594)
should fix #1590
2019-10-18 19:03:04 -07:00
Nolan Lawson 01b0c43f0d
fix: remove type="*" from videos (#1593) 2019-10-17 18:27:30 -07:00
Nolan Lawson c13b2df6c5
fix: fix duplicate accounts in replies in Pleroma (#1592)
fixes #1591
2019-10-16 18:09:19 -07:00
Nolan Lawson 107ad3727b
chore: update chokidar (#1588) 2019-10-16 07:07:53 -07:00
Nolan Lawson 1e7c3b4e96
chore: update custom elements (#1587) 2019-10-15 20:34:30 -07:00
Nolan Lawson 3e6e39b81e
chore: update webpack-bundle-analyzer (#1586) 2019-10-15 20:11:20 -07:00
Nolan Lawson d663dd7fe8
fix: fix wasted space in options dialog (#1585)
fixes #1487
2019-10-15 19:35:00 -07:00
Nolan Lawson 2aa0fb505e
chore: update dev deps (#1581) 2019-10-15 18:38:12 -07:00
Nolan Lawson af711d242a
chore: update babel (#1580) 2019-10-15 18:38:07 -07:00
Nolan Lawson 08d1b6b6b5
chore: update webpack (#1584) 2019-10-15 17:27:46 -07:00
Nolan Lawson 90b8f82283
chore: update some deps (#1583) 2019-10-15 17:27:41 -07:00
Nolan Lawson 46b44feb35
chore: update svelte-loader (#1582) 2019-10-15 17:27:36 -07:00
Nolan Lawson 430385457b
chore: update chokidar (#1579) 2019-10-15 17:27:31 -07:00
Nolan Lawson 88e2c2fdc3
chore: update terser plugins (#1578) 2019-10-15 17:27:21 -07:00
Nolan Lawson 87cb8a7b81
chore: update rollup (#1577) 2019-10-15 17:27:13 -07:00
Nolan Lawson 67b71231d3
fix: use short usernames in options dialog (#1576) 2019-10-15 07:56:39 -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 afb06d988e
perf: use webpack contenthash for better caching (#1573) 2019-10-14 20:00:57 -07:00
Nolan Lawson 2001e93399 1.15.0 2019-10-13 14:26:54 -07:00
Nolan Lawson 2bafaa455e
fix: tweak autosuggest error logging and resetting (#1572) 2019-10-13 13:53:48 -07:00
Nolan Lawson d580a9b7e8
fix: do not prefer lowercase for hashtags in search (#1571) 2019-10-13 10:49:39 -07:00
Nolan Lawson 4601ddb92c
chore: update preact (#1569) 2019-10-13 08:08:12 -07:00
Nolan Lawson 3209d934e8
fix: tweak autocomplete behavior (#1570)
tweak the hashtag sort algorithm
fix issue where wrong results shown when offline or on slow network
refactor RequestThrottler
2019-10-13 08:08:06 -07:00
Nolan Lawson 89265f709e
fix: combine request throttling logic (#1568) 2019-10-12 21:08:08 -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
Nolan Lawson 138fe83082
fix: deduplicate settings styles (#1564) 2019-10-10 07:06:04 -07:00
Nolan Lawson 7dde0a833b
fix: disable minification on server build (#1563) 2019-10-10 06:02:18 -07:00
Nolan Lawson a0251b20c5 1.14.0 2019-10-08 17:48:51 -07:00
Nolan Lawson a6f0dcd59c
chore: delete posix-spawn-benchmark in travis (#1561) 2019-10-08 17:47:40 -07:00
Nolan Lawson 6f8a7f1d0d
chore: disable esm/terser cache in travis (#1560) 2019-10-08 07:57:37 -07:00
Nolan Lawson 10b43b209c
test: make follow request test less flaky (#1558) 2019-10-08 05:59:55 -07:00
Nolan Lawson 0b5adfa2c9
fix: fix fade in animation on compose button (#1557) 2019-10-08 05:59:50 -07:00
Nolan Lawson 8c5d6fe667
fix: remove iOS sticky workaround (#1556)
I'm not sure what changed, but #667 no longer seems to be an issue, so
it looks like we can safely remove this workaround. I even tested in a
simulator in iOS 11.4 and we don't seem to be affected anymore.
2019-10-08 05:59:45 -07:00
sgenoud 3de7a5ba9a fix: Return a synthetic response for range requests (#1555)
Fixes #1547
2019-10-07 08:36:05 -07:00
Nolan Lawson 8f044e19c8
fix: remove basic login mode for now (#1554)
* fix: remove basic login mode for now

As described in #1552 I do not have a lot of faith in this feature, so maybe it should just be removed for now until a later release.

* fixup

* fixup

* fixup
2019-10-07 07:15:19 -07:00
Nolan Lawson 07d8045617
test: make test less flaky (#1553)
* test: make test less flaky

* fixup

* fix lint
2019-10-07 07:15:12 -07:00
Nolan Lawson d53430fee5
fix: fix uploading photos on iOS 13 (#1550)
fixes #1546
2019-10-07 07:15:05 -07:00
Nolan Lawson 5167e04417
fix: small kaios tweak for infinite scroll (#1549) 2019-10-07 07:14:58 -07:00
Nolan Lawson 56ba259ccf
fix: fix basic login - clear store on log out (#1545)
fixes #1544
2019-09-26 09:07:49 -07:00