Commit Graph

8565 Commits

Author SHA1 Message Date
Charlie
d8a39508dd Change Category (#39) 2021-03-08 14:33:13 -05:00
Charlie
2a74e2ceca Change Category (#27) 2021-03-08 14:32:52 -05:00
Charlie
cea10c8e9b Change Category (#27) 2021-03-08 14:24:57 -05:00
Charlie
32708281b2 Change Category (#26) 2021-03-08 14:24:49 -05:00
Charlie
e17b088c20 Change Category (#24) 2021-03-08 14:22:03 -05:00
Charlie
6cbd641ad5 Change category (#25) 2021-03-08 14:21:37 -05:00
Charlie
23c03e058a change category (#62) 2021-03-08 14:21:21 -05:00
Charlie
b92854c8fb Change category (#35) 2021-03-08 14:21:08 -05:00
Charlie
5b312bc280 Change Category (#33) 2021-03-08 14:20:55 -05:00
Charlie
7c1a96119c Change category (#118) 2021-03-08 14:20:41 -05:00
flarum-bot
94f08f55fa Bundled output for commit e0ba8e8a70 [skip ci] 2021-03-07 22:37:00 +00:00
Alexander Skvortsov
e0ba8e8a70 Split JSDoc directives to separate lines. 2021-03-07 17:35:58 -05:00
flarum-bot
c24d0f2e40 Bundled output for commit 9cd94c5d78 [skip ci] 2021-03-07 21:33:50 +00:00
Alexander Skvortsov
9cd94c5d78 Use flarum/testing for test infrastructure (#2545) 2021-03-07 16:32:41 -05:00
Sami Mazouz
eb6744f5fd Eagerload some needed relations in ListDiscussionsController (#2639) 2021-03-07 16:32:23 -05:00
Sami Mazouz
970db778cd Use absolute positioning for the Composer on Safari (#2660) 2021-03-07 16:31:46 -05:00
Alexander Skvortsov
eec39ec426 Fix search box out of screen (#2650)
Programatically set search results max height
2021-03-07 16:31:23 -05:00
Alexander Skvortsov
ce0e5c99a6 Use mockery 1.4 2021-03-06 18:58:07 -05:00
Alexander Skvortsov
19763f8641 Update PHPUnit to v9 2021-03-06 18:38:34 -05:00
Alexander Skvortsov
dd6897cb6f Update BuildsHttpRequests for new token system 2021-03-06 18:38:12 -05:00
Sami Mazouz
b78b097724 Eagerload lastPostedDiscussion needed relationships (#120) 2021-03-06 10:37:26 -05:00
Ian Morland
6cb68bcd01 Provide a target for can ability (#35)
This ensures that the default user policy applies, and `user.hasPermission` is called.
2021-03-05 10:28:53 -05:00
Daniël Klabbers
acd9fa8e3e added optional powered-by header (#2618) 2021-03-05 10:05:13 -05:00
Daniël Klabbers
162167fe23 made compatible with illuminate 8 and beta 16 (#121) 2021-03-05 09:44:20 -05:00
Daniël Klabbers
242593daf6 Laravel components v8 (#2576)
- update actions ci
- include json for 4 spaces tab
- provide output int for process code exit
- adhere to parent type hint of builder
- mailer instance now needs a name, multiple can be instantiated
- getOriginal now uses mutators in the model
- Temporarily loosen MailableInterface requirements. This avoids an immediate BC break for classes in extensions that implement this interface.
- Temporarily provide (and autoload) old symfony translator interface
- make queue exception handler compatible with the contract of L8
- Update phpunit schema for newer version
- Update phpunit assert calls for newer version
2021-03-05 09:43:35 -05:00
Sami Mazouz
e24d223ec0 Move TextEditor styles to common (#2661)
Now that TextEditor js component is shared, it only makes sense to also 
have its styles shared
2021-03-05 08:14:19 -05:00
flarum-bot
6dc433470f Bundled output for commit 181229ae93 [skip ci] 2021-03-05 03:16:09 +00:00
Sami Mazouz
181229ae93 Check for selectable tags before opening tag selection modal (#112) 2021-03-04 22:15:27 -05:00
Alexander Skvortsov
e5c3339a44 Rename app to container (#2609)
* Rename `app` helper to `resolve`, deprecate old version
* Rename $this->app to $this->container in service providers

We no longer couple Flarum\Foundation\Application to the Laravel container; instead, we use the container separately. Changing our naming to reflect that will make things clearer.
2021-03-04 22:14:48 -05:00
flarum-bot
c0f3a0ba4b Bundled output for commit c20c011759 [skip ci] 2021-03-04 21:52:50 +00:00
Alexander Skvortsov
c20c011759 Move TextEditor to common (#2649) 2021-03-04 16:51:34 -05:00
Clark Winkelmann
965b713a27 Refactor Access Tokens (#2651)
- Make session token-based instead of user-based
- Clear current session access tokens on logout
- Introduce increment ID so we can show tokens to moderators in the future without exposing secrets
- Switch to type classes to manage the different token types. New implementation fixes #2075
- Drop ability to customize lifetime per-token
- Add developer access keys that don't expire. These must be created from the database for now
- Add title in preparation for the developer token UI
- Add IP and user agent logging
- Delete all non-remember tokens in migration
2021-03-04 16:50:38 -05:00
Blake Payne
9c47ccd1fd Updated GroupFilterGambit to prevent hidden groups being visible wher… (#2657)
Updated GroupFilterGambit to prevent hidden groups being visible where they shouldn't be and to ensure that only the selected groups are returned on a search. Fixes #2559
2021-03-04 10:08:12 -05:00
flarum-bot
55df33dc99 Bundled output for commit 719b3ad28e [skip ci] 2021-03-03 23:52:04 +00:00
daniellesniak
719b3ad28e Convert common helpers to Typescript (#2541) 2021-03-03 18:50:54 -05:00
Alexander Skvortsov
786060fcd3 Fix CI (#2654) 2021-03-03 08:48:03 -05:00
Alexander Skvortsov
2a65834664 Deprecate event helper (#2608) 2021-03-02 16:21:30 -05:00
Clark Winkelmann
8eb57ec990 Restrict who can use the lastSeenAt user sort (#2634) 2021-03-02 09:59:14 -05:00
Alexander Skvortsov
5813f2522c Query Namespace (#2645)
Move shared classes in search and filter namespaces to a new query namespace
2021-03-02 09:57:40 -05:00
Clark Winkelmann
185abf05b7 Hide boot error (#2633)
Completely redact boot error unless debug mode or display_errors is enabled. Attempt to use Flarum log file when possible. Fixes #2290
2021-03-02 09:57:06 -05:00
flarum-bot
f79506ea9f Bundled output for commit 40a0f2e0c9 [skip ci] 2021-03-02 04:36:18 +00:00
Alexander Skvortsov
40a0f2e0c9 Fix dropdown going off top of screen
The previous solution didn't properly account for document scroll, so when replying to posts, the parent offset would be extremely large, and it'd fall back to the top coordinate, which is out of bounds on small screens.
2021-03-01 23:34:47 -05:00
flarum-bot
37f0a100bd Bundled output for commit 0ad97bb4ed [skip ci] 2021-03-02 04:33:37 +00:00
Alexander Skvortsov
0ad97bb4ed Fix dropdown going off top of screen
The previous solution didn't properly account for document scroll, so when replying to posts, the parent offset would be extremely large, and it'd fall back to the top coordinate, which is out of bounds on small screens.
2021-03-01 23:32:30 -05:00
Alexander Skvortsov
302687b11a Use one instance of formatter extender 2021-03-01 23:26:35 -05:00
flarum-bot
a4ba1f890c Bundled output for commit 405b31f780 [skip ci] 2021-03-01 22:27:09 +00:00
Charlie
405b31f780 Simplify Extension Categories (#2604) 2021-03-01 17:25:55 -05:00
Emamul Khan
972748550f clear cache files from storage/views (#2648)
Co-authored-by: Emamul Khan <emamul.khan@oxid-esales.com>
2021-03-01 13:45:19 -08:00
flarum-bot
0981d95831 Bundled output for commit b5adb6e843 [skip ci] 2021-03-01 20:53:52 +00:00
Matt Kilgore
b5adb6e843 User edit permission tightening (#2620)
- Split user edit permision into edit attributes, edit credentials, and edit groups
- Only Admins can edit Admin Credentials
- Only Admins can Promote/Demote to/from Admin
2021-03-01 15:52:29 -05:00