1
0
mirror of https://github.com/flarum/core.git synced 2025-08-22 08:04:37 +02:00
Commit Graph

8592 Commits

Author SHA1 Message Date
flarum-bot
3889b4d654 Bundled output for commit 97c89bcc42 [skip ci] 2020-10-15 22:51:08 +00:00
David Sevilla Martín
97c89bcc42 Add lazy loading attribute to twemoji rendered images & autocomplete (#31) 2020-10-15 18:50:00 -04:00
flarum-bot
1b08d47f6e Bundled output for commit 0b1fe99ec5 [skip ci] 2020-10-15 22:29:20 +00:00
David Sevilla Martín
0b1fe99ec5 Add CDN constant & use jsDelivr in all places (#30)
* Add CDN file for twemoji version & assets base URL
* Add /assets/ to the URL so it's not repeated as much
   * The previous MaxCDN URL didn't need /assets/ because it was specificly for twemoji
* Remove export of CDN - shouldn't be part of this PR
2020-10-15 18:28:30 -04:00
flarum-bot
f7beee9397 Bundled output for commit b393b57160 [skip ci] 2020-10-15 22:20:11 +00:00
Alexander Skvortsov
b393b57160 Default force attr to true on LinkButton
This retains beta 13 behavior.
2020-10-15 18:18:51 -04:00
Alexander Skvortsov
2e1331b1fe Fix routeName attr not being passed into pages 2020-10-15 18:14:20 -04:00
flarum-bot
ccf8b2448f Bundled output for commit 3f0b3c789f [skip ci] 2020-10-15 22:02:46 +00:00
Alexander Skvortsov
3f0b3c789f Allow extensions to use route resolvers (#2275)
- mapRoutes: don't wrap components in resolvers if they are already resolvers
- Extract defaultResolver into its own class
- Allow either route resolver instances, or components with an optional resolverClass which should accept the component and route name in its constructor.
- Introduce a resolver for DiscussionPage, so that routing from one post to another on the same discussion triggers a scroll instead of rerendering
2020-10-15 18:01:17 -04:00
flarum-bot
b8b91f2760 Bundled output for commit b561c119ea [skip ci] 2020-10-15 21:47:33 +00:00
Alexander Skvortsov
b561c119ea Fix PostStream Reply Scroll (#2366)
- Add an index to reply placeholder so we can scroll to it directly when replying.
- Stop pretending that the currently broken `bottom` scroll functionality works, and explicitly call it `reply` scrolling to be clearer
- Directly get target from state
- Explicitly scroll to placeholder on reply
- Clean up scrollToItem code a bit
- Account for edge case where index is undefined when scrolling to post

Co-authored-by: Wadim Kalmykov <36057469+w-4@users.noreply.github.com>
2020-10-15 17:46:02 -04:00
flarum-bot
6d2bd81dda Bundled output for commit 6cf716dc81 [skip ci] 2020-10-15 21:41:56 +00:00
Wadim Kalmykov
6cf716dc81 Fix lifecyle method workarounds (#2378)
Essentially, whenever a route is loaded, we add a key to that component. If the key changes, the page completely rerenders. Switching between different routes handled by the same key triggers those rerenders.
2020-10-15 17:40:25 -04:00
flarum-bot
38dc21246d Bundled output for commit 0e90ca675f [skip ci] 2020-10-15 21:36:46 +00:00
Wadim Kalmykov
0e90ca675f Make PostStreamScrubber work for Posts that have top margin (#2369)
Also fixes incorrect page count when scrolling to bottom (https://github.com/flarum/core/issues/1897)
2020-10-15 17:35:22 -04:00
Alexander Skvortsov
465ab54ff3 Refactor PostStream animations (#2364)
- If the fadeIn animation is specified on the PostStream class itself, any time we add/remove another animation, it will redo fadeIn. To avoid this, we move fadeIn into it's own css class, which is applied, and then immediately removed after the animation is completed to ensure it only runs once.
- The "fix" for flashItem was actually broken, as it resulted in 'flash' never being removed, so we never went back to .PostStream's fadeIn. We adjust flashItem to ensure that '.flash' is removed. We also remove 'fadeIn' in case it hasn't yet been removed in oncreate.
2020-10-15 17:34:35 -04:00
flarum-bot
5664c138d6 Bundled output for commit 995cd7ea1f [skip ci] 2020-10-15 18:32:09 +00:00
Wadim Kalmykov
995cd7ea1f make scroll listener passive (#2387)
see: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
2020-10-15 14:30:32 -04:00
Wadim Kalmykov
d8141c7caa Make header and navigation components redraw after page components (#2390)
Make header and navigation components redraw after page components. Page components manipulate the header (state), but the header redraws before the page on route change. By changing the mount order, we change also the redraw order.
2020-10-15 14:29:42 -04:00
Daniël Klabbers
4baa8a62d8 changelog and dep for v0.1.0-beta.14 2020-10-15 16:19:30 +02:00
Daniël Klabbers
dd8e0f3fbb changelog and dep for v0.1.0-beta.14 2020-10-15 16:10:15 +02:00
Daniël Klabbers
9164eafd42 changelog and dep for v0.1.0-beta.14 2020-10-15 16:04:46 +02:00
Daniël Klabbers
0d43d5836f changelog and dep for v0.1.0-beta.14 2020-10-15 15:57:40 +02:00
Daniël Klabbers
9b59494f99 changelog and dep for v0.1.0-beta.14 2020-10-15 15:52:32 +02:00
Daniël Klabbers
5d013bfea7 changelog and dep for v0.1.0-beta.14 2020-10-15 15:17:59 +02:00
Daniël Klabbers
2b6b7ed26e changelog and dep for v0.1.0-beta.14 2020-10-15 14:43:04 +02:00
Daniël Klabbers
b0e466a43d changelog and dep for v0.1.0-beta.14 2020-10-15 14:31:50 +02:00
Daniël Klabbers
8eabcc20fa changelog and dep for v0.1.0-beta.14 2020-10-15 14:14:46 +02:00
Daniël Klabbers
d510519936 changelog and dep for v0.1.0-beta.14 2020-10-15 14:01:20 +02:00
Daniël Klabbers
7181b38ec1 changelog and dep for v0.1.0-beta.14 2020-10-15 13:55:23 +02:00
Daniël Klabbers
acf0c51cb4 changelog and dep for v0.1.0-beta.14 2020-10-15 11:17:59 +02:00
Daniël Klabbers
7f9b5fdc30 fix duplicate header changes 2020-10-15 11:03:30 +02:00
Daniël Klabbers
28b58240f1 changelog and dep for v0.1.0-beta.14 2020-10-15 10:52:20 +02:00
Daniël Klabbers
86da969449 changelog and dep for v0.1.0-beta.14 2020-10-14 16:50:51 +02:00
Daniël Klabbers
13a2b8d9ad changelog and dep for v0.1.0-beta.14 2020-10-14 13:03:37 +02:00
flarum-bot
98b83d71a6 Bundled output for commit a7901ab7ef [skip ci] 2020-10-14 09:39:52 +00:00
Daniël Klabbers
a7901ab7ef npm audit security vulnerabilities patched 2020-10-14 10:11:34 +02:00
Daniël Klabbers
bfec35cc39 npm audit security vulnerabilities patched 2020-10-14 10:03:16 +02:00
Daniël Klabbers
b34ebb5a8c npm audit security vulnerabilities patched 2020-10-14 10:02:42 +02:00
Daniël Klabbers
db88a12cde npm audit security vulnerabilities patched 2020-10-14 10:02:07 +02:00
Daniël Klabbers
28749eb2b1 npm audit security vulnerabilities patched 2020-10-14 10:01:20 +02:00
Daniël Klabbers
1059555baa npm audit security vulnerabilities patched 2020-10-14 10:00:45 +02:00
Daniël Klabbers
1a19fd63da npm audit security vulnerabilities patched 2020-10-14 09:59:39 +02:00
Daniël Klabbers
5cfb1550eb npm audit security vulnerabilities patched 2020-10-14 09:59:01 +02:00
Daniël Klabbers
f4c2c3577d npm audit security vulnerabilities patched 2020-10-14 09:58:07 +02:00
Daniël Klabbers
e50c375c73 npm audit security vulnerabilities patched 2020-10-14 09:57:21 +02:00
Daniël Klabbers
19efca8807 npm audit security vulnerabilities patched 2020-10-14 09:56:09 +02:00
Daniël Klabbers
4a6a4c6f95 npm audit security vulnerabilities patched 2020-10-14 08:58:24 +02:00
Daniël Klabbers
14e04e09a1 npm audit security vulnerabilities patched 2020-10-13 21:11:12 +02:00
Daniël Klabbers
c9c4e10086 npm audit security vulnerabilities patched 2020-10-13 21:09:25 +02:00