Commit Graph

8565 Commits

Author SHA1 Message Date
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
flarum-bot
39a6408940 Bundled output for commit b0075223f4 [skip ci] 2020-10-11 21:27:54 +00:00
Sami Mazouz
b0075223f4 Fix MarkRead Mobile Gesture (#2383) 2020-10-11 17:26:32 -04:00
flarum-bot
3d27305f2f Bundled output for commit c7d496446b [skip ci] 2020-10-09 23:28:51 +00:00
Alexander Skvortsov
c7d496446b Fix handling of non-409 errors in ExtensionsPage
If the error isn't a 409, we'll want to re-throw the error so it'll be handled by the default system (showing an alert).

For simplicity, we can also move 409-handling logic out of setTimeout.

Finally, we adjust the timeout to 300 milliseconds to match the modal transition animation length.
2020-10-09 19:27:07 -04:00
flarum-bot
95682d1e92 Bundled output for commit 374d958dfb [skip ci] 2020-10-09 23:07:06 +00:00
Alexander Skvortsov
374d958dfb Header UI fixes (#2371)
* Revert "Fix header contents moving when opening modal (#2131)"
* Fix header contents moving when modal opened/closed.

Conditionally apply the navbar-fixed-top class only when needed, so that we can take advantage of it without always having the navbar in position:fixed, as was done in the previous solution. That resulted in a clash with custom headers.

* Show header on refresh of scrolled page

Due to some magic in Mithril 0.1's context:retain flag, some DOM elements were cached across page reloads. Since that has been eliminated, if we refresh the page and we are scrolled down, the "affix" class which makes the header fixed (and as a result, visible) isn't applied until the first scroll. We fix this by running ScrollListener.update() immediately to set initial navbar state.
2020-10-09 19:05:53 -04:00
Wadim Kalmykov
c843f4273c Reduce modal hide timeout (#2367) 2020-10-09 19:04:53 -04:00
Daniël Klabbers
84ce740489 Fixes the queue for beta 14 (#2363)
- rewrite the queue handling for illuminate 6+
- implement missing maintenance mode callable for queue Worker
- Ensure we resolve append the queue commands once the queue bindings are loaded
- Override WorkCommand because it needs the maintenance flag. It tries to use
the isDownForMaintenance method from the Container assuming it is a Laravel
Application. Circumvented this issue by resolving our Config from IOC instead.
2020-10-09 16:06:28 -04:00
Sami Mazouz
32dc54becc Use @control-bg for Slidable content (#2381) 2020-10-09 14:37:47 -04:00
flarum-bot
08e638f9f5 Bundled output for commit b64e5d0998 [skip ci] 2020-10-07 21:53:40 +00:00
Alexander Skvortsov
b64e5d0998 Fix duplicate tags in TagDiscussionModal
Add an inclusion check for the tag itself as well as its parent before adding it to the list of selected tags.
2020-10-07 17:52:38 -04:00
flarum-bot
ce7aa224f0 Bundled output for commit 87c8f60cd4 [skip ci] 2020-10-07 20:25:22 +00:00
Alexander Skvortsov
87c8f60cd4 DiscussionPage: call onNewRoute properly
When on a discussion page, the URL changing doesn't always mean we've moved to a different page. In our custom rerender logic, we only want to call `this.onNewRoute()` if the page has actually changed.
2020-10-07 16:22:41 -04:00
Alexander Skvortsov
16cc1e48ef Restore stricter email validation
In v5.8, Laravel expanded email validation logic to closer match the RFC. This, however, allows emails that aren't conventional (for example, emails lacking a TLD). This commit changes Flarum's UserValidator to use the `email:filter` validator, which uses PHP's filter_var, and is the pre-5.8 behavior.

See https://laravel.com/docs/5.8/validation#rule-email
2020-10-07 15:33:57 -04:00
flarum-bot
e6da195854 Bundled output for commit edf350d80b [skip ci] 2020-10-07 18:11:32 +00:00
Alexander Skvortsov
edf350d80b Slight PostStream scrubber improvement
After we scroll to a post, we redraw to render post content.  We then update the scrubber again so its height is accurate. This commit moves that update to AFTER our adjustment of scroll position, so that scrubber height is based on actual post heights. This fixes some subtle scrubber glitches.
2020-10-07 14:09:53 -04:00
Daniël Klabbers
a3c419fba9 Add test for model object argument in callable for attribute defaults 2020-10-07 11:38:52 +02:00
Daniël Klabbers
f17c6da53e Allows callables for default model attribute to gain access
to the current model in order to calculate the value needed.
2020-10-07 11:26:58 +02:00
Daniël Klabbers
3a736d660b improve deprecated message for b15 2020-10-07 10:23:46 +02:00
flarum-bot
1e7bdf1636 Bundled output for commit 70785df37e [skip ci] 2020-10-06 15:53:21 +00:00
Wadim Kalmykov
70785df37e SubtreeRetainer: fix onbeforeupdate needsRebuild (#2365) 2020-10-06 11:52:05 -04:00
flarum-bot
2cc60d3d7f Bundled output for commit 767b8376d2 [skip ci] 2020-10-06 00:52:30 +00:00
Alexander Skvortsov
767b8376d2 Update mithril request docs link 2020-10-05 20:50:15 -04:00
flarum-bot
3dc0578ebf Bundled output for commit 15bd4f661b [skip ci] 2020-10-05 22:07:23 +00:00
Lucas Henrique
15bd4f661b Convert icon helper to Typescript (#2360) 2020-10-05 18:06:08 -04:00
flarum-bot
2ec8b3670d Bundled output for commit 6c8173a953 [skip ci] 2020-10-05 20:26:46 +00:00
Alexander Skvortsov
6c8173a953 Move drawer hide and modal close into onNewRoute
Let's stay consistent with previous behavior, and run these on "internal route change" (same component handles different route) as well as on initial render of a page component.
2020-10-05 16:25:23 -04:00