Commit Graph

3713 Commits

Author SHA1 Message Date
Alexander Skvortsov
fe8df6df4e Add Authenticated Test Case utility 2020-03-20 17:18:35 +01:00
Alexander Skvortsov
01bbaadf2f Users should not be able to restore discussions if deleted by admins (#2037) 2020-03-20 15:57:03 +01:00
Franz Liedke
4d4a1e5e24 Update less.php to version 3.0
Now that we require PHP 7.2, this ensures we get the latest updates and
fixes as well.

Refs #1988.
2020-03-17 23:12:23 +01:00
Matt Kilgore
77062dd833 Change Extenders properties to private (#1958) 2020-03-17 22:37:17 +01:00
dependabot[bot]
3e8aae3cff Bump acorn from 6.4.0 to 6.4.1 in /js (#2065)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 22:29:36 +01:00
Franz Liedke
21188eba39 CI: Fix broken build on GitHub Actions
The MySQL service is no longer started by default on these agents.

See https://github.blog/changelog/2020-02-21-github-actions-breaking-change-ubuntu-virtual-environments-will-no-longer-start-the-mysql-service-automatically/.
2020-03-17 22:23:11 +01:00
flarum-bot
b99f1bc384 Bundled output for commit 1c7dab6e07 [skip ci] 2020-03-09 12:41:19 +00:00
Daniël Klabbers
1c7dab6e07 showing start user in class list now 2020-03-09 13:39:26 +01:00
Franz Liedke
7096da722e Add a baseline test for the middleware extender
Refs #2017.
2020-03-06 15:05:16 +01:00
Franz Liedke
774dd10bf5 Fix typo 2020-03-06 15:05:15 +01:00
Franz Liedke
a1a2b35221 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-03-06 13:55:39 +00:00
Matt Kilgore
390b529da7 Test Middleware extender (#2017) 2020-03-06 14:55:21 +01:00
Daniël Klabbers
18ebf34635 start using a dev stability version constant during the cycle 2020-03-05 10:50:30 +01:00
Franz Liedke
00e4b44abc Remove deprecated ConfigureMiddleware Event (#2032) 2020-03-04 23:02:05 +01:00
Franz Liedke
f6b4985347 Remove deprecated Flarum\Util\Str class 2020-03-04 22:59:14 +01:00
Franz Liedke
6b20c92be2 Remove mail settings backwards compatibility layer 2020-03-04 22:58:15 +01:00
Franz Liedke
1b66612e11 Merge branch 'refs/heads/v0.1.0-beta.12'
# Conflicts:
#	composer.json
2020-03-04 22:56:37 +01:00
Daniël Klabbers
90c6f3f567 updated core developers in authors 2020-03-03 15:47:00 +01:00
Daniël Klabbers
f8355e661a Update Application.php
updated version constant for b12
2020-03-03 15:38:15 +01:00
Alexander Skvortsov
6577842b7a Drop support for PHP 7.1 (#2014)
* Updated PHP requirement to 7.2

* Set wikimedia less version to 1.8

* Indentation fix on composer json

* Revert "Set wikimedia less version to 1.8"

This reverts commit 22d862fd98.
2020-02-27 00:52:03 +01:00
Franz Liedke
1a3f90daef Re-add mail settings backwards compatibility layer 2020-02-26 23:11:22 +01:00
Franz Liedke
50ea61b524 Require new mail driver methods, remove BC layer 2020-02-26 22:56:09 +01:00
Alexander Skvortsov
ccf11480bf Removed support for SES Mail Driver (#2011) 2020-02-26 22:36:27 +01:00
Alexander Skvortsov
9ef640fa44 Remove Zend compatability bridge (#2010) 2020-02-26 22:29:44 +01:00
Franz Liedke
3e154f9c25 Re-add util class and mark it as deprecated
This would be the only breaking change in beta.12. Let's stick to our
backwards compatibility promise / intentions as much as possible, even
if we assume the class has not been used anywhere.

This BC layer will be removed again for beta.13.

Refs #1975.
2020-02-26 22:14:23 +01:00
Franz Liedke
a41fef8d25 Prepare changelog for beta.12 release 2020-02-26 21:10:52 +01:00
Matt Kilgore
b83d848752 Force fixed version of text formatter 2020-02-25 11:27:59 +01:00
Franz Liedke
d30f2a0ca9 Merge pull request #2002 from flarum/fl/extender-tests
Start testing extenders
2020-02-14 18:47:58 +01:00
flarum-bot
4788c144cf Bundled output for commit ec59171ef1 [skip ci] 2020-02-14 14:57:19 +00:00
Clark Winkelmann
ec59171ef1 Add disabled prop to the Select component (#1978) 2020-02-14 15:56:04 +01:00
Clark Winkelmann
4350baa1f1 Rename dead is_activated references with the new is_email_confirmed (#1974) 2020-02-14 15:34:32 +01:00
Matt Kilgore
e28ef06435 Updates s9e/text-formatter to 2.x (#1982)
No additional changes required, tested with fof/formatting extension.
2020-02-14 12:34:40 +01:00
flarum-bot
4817cece9d Bundled output for commit 9ac54429d0 [skip ci] 2020-02-10 22:55:40 +00:00
D Mata
9ac54429d0 Update AvatarEditor.js onchange to oninput (#1570)
onchange does not work in IE11 and other IE browsers. This change works with all modern browsers as well.
2020-02-10 23:54:41 +01:00
Franz Liedke
1129e1333a CI: Test on PHP 7.4 as well
If we're lucky, this should fail right now, due to #1980.
2020-02-09 06:46:33 +01:00
Franz Liedke
16d65605d7 Switch to Wikimedia's less.php fork
The original library is no longer maintained. The fork supports PHP 7.4.
2020-02-09 06:46:33 +01:00
Franz Liedke
0ff686780e Try to fix installer in PHP 7.4 2020-02-09 06:46:33 +01:00
Franz Liedke
12ff8dbcc3 Start testing Route extender 2020-02-08 00:04:32 +01:00
Franz Liedke
b2c3392a83 Integration tests: Allow registering extenders 2020-02-07 23:29:14 +01:00
Franz Liedke
d0aa0b7920 Integration tests: Add lazy server helper
This allows sending requests directly in an integration test, without
having *explicitly* booted the app.
2020-02-07 23:28:37 +01:00
Franz Liedke
010f1939e0 Integration tests: Create app lazily when needed
This will allow registering extenders in test scenarios. Previously,
this would not have had any effect as the app would have booted already.
2020-02-07 23:22:22 +01:00
flarum-bot
930f6b06af Bundled output for commit 969bd18001 [skip ci] 2020-02-07 14:35:37 +00:00
Franz Liedke
969bd18001 Merge pull request #1938 from flarum/ds/1255-throttling-bypass-permission
Add permission to bypass throttling
2020-02-07 15:34:25 +01:00
David Sevilla Martín
935ea8cbbf Add permission to bypass throttling 2020-02-07 15:30:09 +01:00
flarum-bot
080e4c082c Bundled output for commit 5179221a08 [skip ci] 2020-02-07 11:18:30 +00:00
Franz Liedke
5179221a08 Fix race condition in post preview
The post composer could have been closed in between scheduling and
executing the callback.

Fixes flarum/org#58.
Refs #1881.
2020-02-07 12:17:11 +01:00
flarum-bot
1941d86c15 Bundled output for commit e13009ed07 [skip ci] 2020-02-07 11:06:58 +00:00
Franz Liedke
e13009ed07 Merge pull request #1921 from flarum/ds/1763-handle-incomplete-email-configuration
Improve handling of incomplete mail configuration
2020-02-07 12:05:41 +01:00
Franz Liedke
18ef23cb5f New extender for error handling (#1970)
This extender implements several methods for extending the new error
handling stack implemented in #1843.

Most use-cases should be covered, but I expect some challenges for more
complex setups. We can tackle those once they come up, though. Basic
use-cases should be covered.

Fixes #1781.
2020-01-31 14:01:12 +01:00
flarum-bot
0d60a811d3 Bundled output for commit c26c06faf6 [skip ci] 2020-01-31 12:34:20 +00:00