Commit Graph

8565 Commits

Author SHA1 Message Date
Alexander Skvortsov
10e356e1b2 Refactor Route Resolving and Dispatch (#2425)
- Split DispatchRoute. This allows us to run middleware after we figure out which route we're on, but before we actually execute the controller for that route.
- By making the route name explicitly available to middlewares, applications like CSRF and floodgate can set patterns based on route names instead of the path, which is an implementation detail.
- Support using route name match for CSRF extender, deprecate path match
2020-11-10 12:52:12 -05:00
Nina Pypchenko
29157ac2a9 Make checkbox switch component background stand out in modals (#2443) 2020-11-09 20:54:21 -05:00
flarum-bot
870c3e7c0a Bundled output for commit 8c5bbe1f74 [skip ci] 2020-11-09 18:16:24 +00:00
Sami Mazouz
8c5bbe1f74 Remove unused declaration of tags property (#100) 2020-11-09 13:14:25 -05:00
Alexander Skvortsov
e2366aa5f8 Add missing import 2020-11-08 21:49:11 -05:00
Alexander Skvortsov
74946a3d04 Fix Callables for Extenders (#2423)
- Standardize signatures and variable names for extenders that take callbacks
- Adjust model extender docblock to clarify that default calue can't be an invokable class.
- Make invokable classes provided to Model->relationship
- Add integration tests to ensure Model->relationship and User->groupProcessor extenders accept callbacks
- Extract code for wrapping callbacks into central util
2020-11-08 21:36:38 -05:00
Nina Pypchenko
de5d9644cf Improved Permissions Error Messages for Initial Install (#2435)
- Made the wording of the error more generic
- Added link to the relevant section in the installation guide

Resolves #2327.
2020-11-07 14:48:11 -05:00
Sami Mazouz
0ae19a3da6 Add Service Provider Extender (#2437) 2020-11-06 13:30:10 -05:00
Sami Mazouz
bf6dd3083d Use a notification driver with the new channel extender (#28) 2020-11-05 12:09:13 -05:00
Sami Mazouz
185a737273 Add Notification Channel Extender (#2432) 2020-11-05 12:09:06 -05:00
Alexander Skvortsov
5dddc2e663 Refactor and improve formatter extender (#2098)
- Deprecated all events involved with Formatter
- Refactor ->configure() method on extender not to use events
- Add extender methods for ->render() and ->parse()
- Add integration tests
2020-11-03 13:05:33 -05:00
Alexander Skvortsov
9149489405 Added post extender with type method, deprecated ConfigurePostTypes (#2101) 2020-11-03 10:43:49 -05:00
Daniël Klabbers
7aee556a36 update version constant for beta 14.1 2020-11-02 13:53:20 +01:00
Daniël Klabbers
ac12a33fc0 bundled output for js changes beta 14.1 2020-11-02 11:53:27 +01:00
Daniël Klabbers
84a35fc642 changelog for v0.1.0-beta.14.1 2020-11-02 11:51:24 +01:00
Daniël Klabbers
1c63326ad5 changelog for beta 14.1 2020-11-02 10:07:51 +01:00
flarum-bot
5b9acbb8c3 Bundled output for commit 8dc99db73e [skip ci] 2020-11-01 21:46:10 +00:00
Sami Mazouz
8dc99db73e Fix refresh button (#27) 2020-11-01 16:45:09 -05:00
Alexander Skvortsov
459d4b63b0 Validator extender (#2102)
Added validator extender, integration tests, and deprecated related Validating event
2020-11-01 11:31:16 -05:00
Sami Mazouz
2e9d9ab816 Use the new Notification type extender (#57) 2020-10-31 18:43:02 -04:00
Sami Mazouz
47284b85bc Use the new Notification type extender (#25) 2020-10-31 18:42:46 -04:00
Sami Mazouz
249626c68d Use the new Notification type extender (#35) 2020-10-31 18:42:30 -04:00
Sami Mazouz
fba1aea032 Use the new Notification type extender (#24) 2020-10-31 18:42:13 -04:00
Sami Mazouz
3dcd356edc Use the new Notification type extender (#29) 2020-10-31 18:42:01 -04:00
Sami Mazouz
10db7aad62 Add Notification Type Extender and Tests (#2424) 2020-10-31 17:17:14 -04:00
Alexander Skvortsov
339601a8a3 Fix exiting composer while in fullscreen mode. 2020-10-30 20:44:52 -04:00
flarum-bot
a7d7150b68 Bundled output for commit 67cb6aaffe [skip ci] 2020-10-31 00:28:56 +00:00
Lucas Henrique
67cb6aaffe Convert common time helpers to Typescript (#2391) 2020-10-30 20:27:40 -04:00
Alexander Skvortsov
bea0f3c05b Fix broken page title logic on subpath installs
The base path needs to be accounted for when calculating whether we're on the default route.
2020-10-30 14:18:09 -04:00
Alexander Skvortsov
f3e66f23b1 Updater should show on any subpath, like installer (#2426) 2020-10-30 13:28:20 -04:00
flarum-bot
6f7b86b0a9 Bundled output for commit 367a1b2329 [skip ci] 2020-10-29 22:34:16 +00:00
Sami Mazouz
367a1b2329 Check if event is cancelable before preventDefault (#54)
This recovers the initial wanted behavior of opening the post mention preview dropdown instead of directly going to the post on touchscreens.
2020-10-29 18:33:26 -04:00
flarum-bot
0cd57d8cba Bundled output for commit 90584bd6ef [skip ci] 2020-10-29 16:54:36 +00:00
Alexander Skvortsov
90584bd6ef Ensure scripts provided by textformatter are run (#2415) 2020-10-29 12:53:23 -04:00
flarum-bot
742e62d0f0 Bundled output for commit bacac3ca9b [skip ci] 2020-10-29 15:32:27 +00:00
Alexander Skvortsov
bacac3ca9b Fix hidden bidi 2020-10-29 11:31:08 -04:00
Daniël Klabbers
89f7827f6b Update Symfony components to v4 (#2407)
This matches the Symfony dependencies of our laravel dependencies.
2020-10-27 17:12:36 -04:00
Daniël Klabbers
aab335e4f3 changelog for beta 14.1 2020-10-27 13:31:48 +01:00
Daniël Klabbers
31906ca558 changelog for beta 14.1 2020-10-27 13:26:30 +01:00
Daniël Klabbers
4f0a41ba98 changelog for beta 14.1 2020-10-27 13:23:31 +01:00
flarum-bot
19edd65173 Bundled output for commit 49d9354025 [skip ci] 2020-10-26 18:36:30 +00:00
Alexander Skvortsov
49d9354025 Don't provide children as attr 2020-10-26 14:35:33 -04:00
flarum-bot
16a0881db4 Bundled output for commit 79ac8b01eb [skip ci] 2020-10-25 17:36:51 +00:00
Alexander Skvortsov
79ac8b01eb Export SuperTextarea util in compat 2020-10-25 13:35:15 -04:00
flarum-bot
f2976f35fb Bundled output for commit 2c79c4c620 [skip ci] 2020-10-25 05:32:08 +00:00
Alexander Skvortsov
2c79c4c620 Don't initialize cache until we receive flags (#31) 2020-10-25 01:31:07 -04:00
Daniël Klabbers
e7a58e05c0 Replace leftover app()->url() with UrlGenerator 2020-10-24 21:35:31 +02:00
Robert Korulczyk
71cc7ae96d Move locale files from language pack to extension. 2020-10-24 18:20:26 +02:00
Qiaeru
3b1466c450 Fix order (#174) 2020-10-22 19:29:57 -04:00
Hasan Özbey
3937a95392 Inform the user that their edit has been made (#163) 2020-10-22 19:05:14 -04:00