Commit Graph

4327 Commits

Author SHA1 Message Date
9ff1a42396 Bundled output for commit 3130e3de5ead9ee8cf72552c4b45b1d7a9f25af0
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-07-13 12:44:21 +00:00
3130e3de5e Allow extra attrs provided to <Select> to be passed through to the DOM element (#2959)
* Allow extra attrs provided to `<Select>` to be passed through to the DOM element

* Allow direct passing attrs to the Select wrapper

* Format
2021-07-13 13:42:46 +01:00
da20d75e3c Hide post footer when empty (#2926)
* Add `Post-footer--empty` class if the post footer contains no items

* Hide post footer when it has class `Post-footer--empty`

* Swap to `:empty` pseudoselector

* Prefer ternary operator

* Fix typo
2021-07-13 13:42:19 +01:00
7a0df21c5a prevent a couple of cycles by not resolving the excluded middleware on each middleware items 2021-07-13 00:44:27 +02:00
7d4d3d977b fixes internal clients use of session
With remember from cookie, in certain edge cases, the middleware would
try to load a session which hasn't been instantiated as this middleware
is excluded for the client. Excluding the remember from cookie
middleware will resolve this as authentication is done using the
RequestUtil and ActorReference regardlessly.
2021-07-13 00:32:13 +02:00
408bb38cc0 Update code block styling to match HLJS 11's new styles (#2909) 2021-07-09 10:04:12 +01:00
b7cb1e8d36 Bundled output for commit 42dabea81f224c3f1f3aca3b6ae6a3fd31ca956c
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-07-05 15:37:15 +00:00
42dabea81f Move Day.js plugin types import to global typings (#2954) 2021-07-05 16:35:37 +01:00
a077ae9ca3 set version constant for 1.0.5-dev 2021-06-28 12:26:15 +02:00
17e9bccc15 changelog for v1.0.4 v1.0.4 2021-06-28 12:22:48 +02:00
4a5b84d2e7 Remove LIKE and raw from viewUserList rename 2021-06-28 11:58:23 +02:00
557fc2cd39 Include updating of scoped tag permissions
Addresses https://github.com/flarum/core/issues/2924

The rename `viewDiscussions` migration introduced for Flarum 1.0 does not take tag scoped permissions into account
e92c267cde/migrations/2021_05_10_000000_rename_permissions.php (L17)

This adds a new migration to additionally rename `tagX.viewDiscussions` to `tagX.viewForum`

Tested locally on an upgrade from core `beta.16` to `1.0.3`
2021-06-28 11:58:23 +02:00
e92c267cde update version constant for the next release 2021-06-22 23:38:47 +02:00
f959a69530 changelog entry for laravel filesystem issue v1.0.3 2021-06-22 23:15:25 +02:00
4e246779f4 changelog so far for 1.0.3 2021-06-22 23:15:25 +02:00
5b0f5aeaa0 updated foundation version 2021-06-22 23:15:25 +02:00
6e92af8b00 Fixes issue with Laravel 8.48 filesystem changes
The FilesystemManager has changed to also allow to override
the config while resolving a filesystem.

This PR adds the argument and applies it if provided.
2021-06-22 23:07:41 +02:00
1cf9491fe6 Bundled output for commit 3fcc7bd3b90b8b14a7000edc3911d9be9901f3dc
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-06-21 22:16:28 +00:00
3fcc7bd3b9 use display name for avatar color gen 2021-06-22 00:14:37 +02:00
4acff91f80 allows replacing maintenance mode handler using ioc 2021-06-22 00:10:41 +02:00
a0152ffb18 Dw/huntr fix path traversal (#2931)
* Fix Huntr vuln with possible directory traversal
* Use `active_url` in Laravel validator
2021-06-21 10:14:15 +02:00
d1e38558c5 Fix image avatar alignment in notifications (#2906) 2021-06-11 12:13:57 +01:00
0cca808275 minor improvements to the security policy 2021-06-10 21:56:30 +02:00
5ee5f82e3d huntr.dev as first point for security vuln (#2918)
* huntr.dev as first point for security vuln

* add badge for huntr.dev
2021-06-10 16:26:40 +02:00
9077fef5b2 clean up of composer.json, added funding and more support links 2021-06-08 01:58:37 +02:00
93cebec0be remove tidelift, we stopped doing that 2021-06-08 01:54:11 +02:00
a4a81c0ec2 Remove [forum] prefix in some mails
fixes #2515
2021-06-08 01:28:04 +02:00
50dcfdb2a6 Mark typings as generated code (#2886) 2021-06-07 13:12:43 +01:00
8149397850 Bundled output for commit 1ced907e52fb19db0f0170488f3d04405037c186
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
v1.0.2
2021-06-06 01:50:56 +00:00
1ced907e52 npm audit fix 2021-06-06 02:47:58 +01:00
17c5a40740 Update changelog 2021-06-06 02:44:32 +01:00
440bed81b8 Fix XSS vulnerability 2021-06-06 02:41:48 +01:00
eeb8fe1443 Update version constant to 1.0.2 2021-06-06 02:09:03 +01:00
11b1ab5932 update version constant for 1.0.2-dev 2021-06-02 09:10:01 +02:00
6f34c43dc1 v1.0.1 changelog and constant v1.0.1 2021-06-02 09:05:36 +02:00
8ced9eef45 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-31 14:08:49 +00:00
8af52153e4 ref #2890, no longer using process and dump 2021-05-31 16:08:15 +02:00
2c5e5f13dd Revert "Revert "Squash core migrations (#2842)""
This reverts commit 16f3ae9d1e8b6f699c6ce9270b246db188d12e8e.
2021-05-31 15:49:20 +02:00
1bbfea4aa3 updated version constraint string 2021-05-29 22:42:28 +02:00
16f3ae9d1e Revert "Squash core migrations (#2842)"
This reverts commit 6ecca9565ab12a52c96687ed438c58c6c6cd9392.
2021-05-29 22:38:25 +02:00
a976a2118a changelog and version constraint fix for flarum/testing v1.0.0 2021-05-25 23:01:54 +02:00
9cecbe407f Version constant for 1.0.0 (#2885) 2021-05-25 15:00:21 +02:00
b3de5157fe Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-18 07:08:50 +00:00
188dc98c4a Fix onOneServer, withoutOverlapping console scheduling options
Flarum doesn't fully use Laravel's cache system, but rather
creates and binds a single cache store.
See \Flarum\Foundation\InstalledSite::registerCache
Since certain config options (e.g. withoutOverlapping, onOneServer)
need the cache, we must override the cache factory we give to the scheduling
mutexes so it returns our single custom cache.
2021-05-18 03:08:32 -04:00
bcc4545ce7 Bundled output for commit 9ee3cd6a187c036490717ce227a4ca0bb162ccbe
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-18 05:39:33 +00:00
9ee3cd6a18 Fix insertText
In dd8323ee3610231f6da990823133c44d032c94b8, insertText was modified from the original to work with reply mentioning. This was done due to a misunderstanding of the API: the selection range isn't the selection to replace, but rather the final selection state after replacing the *current* selection with the text. This commit restores the original, correct implementation of insertText and instead adjusts the `insertBetween`method of BasicEditorDriver to set selection state before executing `insertText`.

Fixes https://github.com/flarum/core/issues/2877
2021-05-18 01:37:19 -04:00
a5182a1454 Fix filesystem wrong method call
The proper method is `exists`, not `has`.
2021-05-17 18:04:08 -04:00
be7581c432 fix missing import of container for resolving the queue connection from ioc 2021-05-17 21:13:30 +02:00
e855c49824 Bundled output for commit e010cbc3197ec4bca23b41a6746b63ecbe520a5c
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-17 00:29:54 +00:00
e010cbc319 Fix Badge className not being correctly set
Fixes group icons on Admin permissions page
2021-05-17 01:27:30 +01:00