Commit Graph

3292 Commits

Author SHA1 Message Date
fcbbedd884 Bundled output for commit 4c89e2eb772779b7a1d499caa789a59515a23701 [skip ci] 2020-01-10 17:18:42 +00:00
4c89e2eb77 Add Mailgun region setting
Fixes #1834.
2020-01-10 18:17:04 +01:00
809f353c52 Ensure page parameters are always integers 2020-01-09 00:45:50 +01:00
d7a5a6ad14 Change Zend namespace to Laminas (#1963)
Also ensure backwards compatibility for extensions that use the Zend framework but don't explicitly require it.
2020-01-06 22:29:34 +01:00
ca0c52d60a Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-05 21:28:46 +00:00
2325e33e38 Update LICENSE 2020-01-05 22:28:27 +01:00
aba291c542 Middleware extender (#1952) 2019-12-12 09:22:04 +01:00
9b00244454 Bundled output for commit c1878fe29b6d78a79da210d98569dca979c1dcc8 [skip ci] 2019-12-10 14:40:37 +00:00
c1878fe29b Update Webpack 2019-12-10 15:38:56 +01:00
43c551929b Catch more exceptions during boot process
This extends our boot exception handling block to also catch and format
all exceptions that could be thrown while building our request handler,
i.e. the middleware stack handling requests.

The only exceptions that would now not be handled in this way could be
raised by Zend's `RequestHandlerRunner` and its delegates, which we
should be able to rely on.

Exceptions on request execution will be handled by the error handler in
the middleware stack.

Fixes #1607.
2019-12-07 01:16:48 +01:00
w-4
840e740309 Fix update page with custom base path (#1947)
Calling UpdateHandler causes RouteNotFoundException when basepath is not /.
2019-12-04 23:37:33 +01:00
babb36d375 Link to security policy from README 2019-12-04 21:51:53 +01:00
25b9d88469 FUNDING.yml does not inherit 2019-12-04 21:42:40 +01:00
b5c2285167 Add a custom FUNDING.yml file for this repository
Let's hope GitHub inherits the lines from our default community health
files at https://github.com/flarum/.github.
2019-12-04 21:41:41 +01:00
beaaa21f58 Update CHANGELOG.md 2019-12-02 10:36:41 +01:00
8a1bcf30d2 releasing beta 11.1 v0.1.0-beta.11.1 2019-12-02 09:28:48 +01:00
ff384569f8 Fix implementations of settings repo interface 2019-12-01 22:10:58 +01:00
f64a253450 Revert "7.4 release, forcing tests to work with them"
This reverts commit da5628d1254a27e92b60773aa9e78dbf43ed6b0b.
2019-11-29 13:01:51 +01:00
da5628d125 7.4 release, forcing tests to work with them 2019-11-29 13:00:34 +01:00
a9c18c4753 Update Application version string to beta 11 v0.1.0-beta.11 2019-11-28 11:40:42 +01:00
d492579638 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-28 00:16:50 +00:00
19188e3eda Update copyright claims in LICENSE 2019-11-28 01:14:16 +01:00
8cc44a695f preparing the changelog for beta 11, part 2 2019-11-26 13:23:09 +01:00
7bb8b66596 preparing the changelog for beta 11 2019-11-26 12:59:29 +01:00
40f709e7c6 Fix tests to include expectation count and run user saving events 2019-11-26 10:13:18 +01:00
264ff9f7bb Add unit test for AvatarUploader 2019-11-26 10:13:18 +01:00
308f2c9efd Fix avatar files not being deleted. Fixes #1918 2019-11-26 10:13:18 +01:00
2a8ed53934 Bundled output for commit 17c86b82bf42605b13a92d17b30a493d3694ddd5 [skip ci] 2019-11-24 19:01:17 +00:00
w-4
17c86b82bf history back function fix
it shouldn't check for canGoBack again after the array pop()
2019-11-24 13:59:51 -05:00
63b039a800 incorrect ability used, drop prefix discussion. 2019-11-22 08:17:02 +01:00
213045aa03 test only on the hidePosts policy ability 2019-11-22 08:17:02 +01:00
6d10dbe9af resume chain in query builder 2019-11-22 08:17:02 +01:00
4adf342ce3 [review] using orWhere to allow any where to follow in extensions 2019-11-22 08:17:02 +01:00
b150636906 fixes #1827
- set default statement to block access
- added tests to confirm all scenarios work as intended
2019-11-22 08:17:02 +01:00
4f1adba387 Automatically set up Mockery for unit tests
- Use provided PhpUnit listener to enforce verification of expectations.
- Include Mockery's trait to auto-close Mockery after each test.
2019-11-21 00:51:11 +01:00
879b801600 Actually return null
Nullable return types require an explicit null return value; not
returning or returning without value is the "void" type.
2019-11-21 00:46:01 +01:00
c712d23e9c Add test for discussion posts being deleted on discussion delete from DB 2019-11-18 09:23:53 +01:00
d69c4035d9 Fix failing tests 2019-11-18 09:23:53 +01:00
b83adbccfd Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-18 09:23:53 +01:00
7b6c666e7b Remove 'or' from 'orWhereNotExists' 2019-11-18 09:23:53 +01:00
8b9f03e998 Add discussion_id foreign key to posts table 2019-11-18 09:23:53 +01:00
e69f8965c7 Bundled output for commit 6d2b50722afa37098460ce07d2e477ec1d19ab27 [skip ci] 2019-11-15 14:10:15 +00:00
6d2b50722a Pass event to KeyboardNavigatable whenCallback (#1922)
This way the callback can know which key is pressed.
2019-11-15 15:08:36 +01:00
99a05900b1 Fix the queue:restart command (#1932)
Adding a proxy callStatic on our simple implementation of the Manager class allows passing through calls like `forever()` to the underlying cache driver instance.
2019-11-15 15:01:31 +01:00
cc5e586d38 Add a docblock 2019-11-13 21:19:21 +01:00
17074b8aab only show queue commands if using another driver than sync 2019-11-13 13:17:09 +01:00
406c8ff834 Bundled output for commit 1ba4a0b87e02c85a94ce59c8a56a34d4086e6d92 [skip ci] 2019-11-12 19:27:29 +00:00
1ba4a0b87e Fix existing Post component classes being dropped 2019-11-12 20:26:07 +01:00
36017f89fe Bundled output for commit 1f2566c32c5a3466ad55eec4026804ced83c6eff [skip ci] 2019-11-11 12:00:45 +00:00
1f2566c32c Improved naming of class for post by actor.
Made class list for post extensible by using a separate method.
2019-11-11 12:59:26 +01:00