Franz Liedke
521a592d43
Always invalidate all user email tokens
...
Reported by B. Dhiyaneshwaran of Geek Freak.
2018-11-29 00:33:42 +01:00
Toby Zerner
0ff0f45150
Merge pull request #1656 from flarum/tz/fix-index-names
...
Fix index names in migrations
2018-11-27 22:32:17 +10:30
Toby Zerner
41688c73f8
Fix index names in migrations
...
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 12:19:13 +10:30
David Sevilla Martín
84b4f4832d
Throw FileNotFoundException when FileSource path does not exist
...
Closes #1649 .
2018-11-22 23:40:38 +01:00
David Sevilla Martín
bd210636e8
Fix frontend extender using old container & wrong class
2018-11-22 21:17:32 +01:00
Franz Liedke
9b7957815f
Remove obsolete property accessor in User model
...
The locale field does not exist, and the accessor code was broken.
Closes #1653 .
2018-11-22 21:12:25 +01:00
Toby Zerner
b68767abdd
Clearer delineation of installation pointer
2018-11-22 18:37:00 +10:30
Toby Zerner
d4cebc5901
Include LESS mixins and variables in all frontend compilers
2018-11-22 12:09:50 +10:30
Toby Zerner
1ea8dbed03
Consolidate ControllerRouteHandler into RouteHandlerFactory
...
Also allow closure to be passed for frontend content when creating routes
2018-11-22 12:09:50 +10:30
Toby Zerner
171f9184d9
Refactor frontend code to allow for extension of assets
...
- Simpler class naming:
Frontend\CompilerFactory → Frontend\Assets
Frontend\HtmlDocumentFactory → Frontend\Frontend
Frontend\HtmlDocument → Frontend\Document
- Remove AssetInterface and simply collect callbacks in Frontend\Assets
instead
- Remove ContentInterface because it serves no purpose (never type-
hinted or type-checked)
- Commit and add asset URLs to the Document via a content callback
instead of in the Document factory class itself
- Add translations and locale assets to Assets separate to the assets
factory, as non-forum/admin asset bundles probably won't want them
- Update Frontend Extender to allow the creation of new asset bundles
- Make custom LESS validation listener a standalone class instead of
extending RecompileFrontendAssets
2018-11-22 12:09:50 +10:30
flarum-bot
59330d8fe6
Bundled output for commit dc71192d77
[skip ci]
2018-11-21 21:38:27 +00:00
Toby Zerner
fedc1f6fe4
Apply fixes from StyleCI ( #1651 )
...
[ci skip] [skip ci]
2018-11-22 08:04:41 +10:30
Toby Zerner
dc71192d77
Fix build errors by updating webpack-cli
2018-11-22 08:04:08 +10:30
Toby Zerner
e98a1d33e9
Add "clear cache" button to admin
2018-11-22 08:03:43 +10:30
Toby Zerner
1b788a09f7
Fix old session method name
2018-11-22 07:24:44 +10:30
Toby Zerner
3394abde2b
Fix positioning of hamburger menu unread indicator
2018-11-22 07:24:01 +10:30
Toby Zerner
eea80766a2
Revert "Configure external links before dispatching event"
...
This reverts commit fd97e787dd
.
Fixes #1650
2018-11-22 07:21:16 +10:30
Toby Zerner
28af13a081
Change watch
command to dev
2018-11-21 18:31:54 +10:30
Toby Zerner
f915f38e95
Make npm package private, update deps
2018-11-21 18:31:24 +10:30
Toby Zerner
ae69b6847f
Remove sudo: false
...
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:27:12 +10:30
Toby Zerner
37d2d29c8f
Update README, CONTRIBUTING
2018-11-21 18:26:32 +10:30
Toby Zerner
bcad0426d7
Remove copyright year from LICENSE
...
So we don't have to worry about keeping it updated
2018-11-21 18:24:59 +10:30
Toby Zerner
7250e28700
Typehint Frontend extender arguments
2018-11-16 15:19:51 +10:30
Toby Zerner
d4bf453a5b
Fix empty JS files not actually being empty
2018-11-16 15:17:57 +10:30
Daniël Klabbers
c9d36d6824
up the font-awesome dependency ( #1642 )
...
new version of components/font-awesome was tagged, let's up the minimum to allow for more icons:
https://packagist.org/packages/components/font-awesome
2018-11-14 17:12:27 +01:00
Toby Zerner
67f7b8d395
Only say that we're migrating an extension if it has migrations
2018-11-14 16:41:36 +10:30
Toby Zerner
ff22b8abdc
Publish core assets when migrating
2018-11-14 16:41:07 +10:30
Toby Zerner
c9c9af195c
Fix extension names not being displayed when running migrations
2018-11-14 16:28:00 +10:30
Toby Zerner
a46396e944
New heading styles
2018-11-14 13:57:31 +10:30
flarum-bot
6b7852e759
Bundled output for commit 192b77de69
[skip ci]
2018-11-14 01:11:59 +00:00
Toby Zerner
192b77de69
Clear the search loading indicator after pressing Enter
2018-11-14 11:38:28 +10:30
Toby Zerner
309bb21ffe
Drastically improve search performance
...
The previous approach of joining the posts table into the main search
query was not scaling well. Searches on discuss.flarum.org were taking
~1.5 seconds which – a significant improvement over the pre-beta 8
search, but still not acceptable.
This new approach uses a much more efficient subquery join. Searches
on discuss.flarum.org now take mere milliseconds. The search result
ranking strategy has been further refined as well so that discussions
are ranked by the collective relevance of their posts.
2018-11-14 11:19:39 +10:30
Toby Zerner
c0286bb4a3
Allow users to hide their own posts just as they can edit them
...
This fixes a regression introduced by #1466 .
2018-11-14 09:33:28 +10:30
flarum-bot
83d7a73ccb
Bundled output for commit 90bb012ab8
[skip ci]
2018-11-13 21:41:20 +00:00
David Sevilla Martín
90bb012ab8
Move EditUserModal fields into an ItemList to make more extendable ( #1593 )
2018-11-14 08:00:43 +10:30
Toby Zerner
0f05ecbbc6
Fix incorrect regex modifier, causing JS to become malformed is some cases
2018-11-14 06:45:14 +10:30
Franz Liedke
2762da9384
Merge pull request #1633 from flarum/tz/improve-logging
...
Improve logging
2018-11-13 11:03:24 +01:00
Toby Zerner
2a5f524980
Remove fileinfo dependency
...
As per https://github.com/flarum/docs/issues/14#issuecomment-365972062
2018-11-13 17:16:47 +10:30
Toby Zerner
3ab7da66c8
Log errors when debug mode is on too
2018-11-13 07:47:01 +10:30
flarum-bot
e3d01c5e94
Bundled output for commit b1e2322581
[skip ci]
2018-11-12 10:35:23 +00:00
Toby Zerner
b1e2322581
Trigger input event when text is programmatically inserted
2018-11-12 17:21:37 +10:30
Toby Zerner
b49774d0e2
Add a toolbar area to the TextEditor component
...
This is to be used for formatting buttons and the like. Although it is
displayed in the controls area at the moment, it is conceptually
different and may be relocated to the top of the text editor in the
future.
2018-11-12 17:21:15 +10:30
Toby Zerner
a6a4cf3fbc
Improve appearance of text editor buttons
...
- Change preview icon to Font Awesome Regular instead of Solid
- Give the preview button a tooltip
- Change submit button icon to paper plane (shown on mobile)
- Tweak mobile header button touch target
- Scroll overflowing text editor controls horizontally
2018-11-12 17:19:37 +10:30
flarum-bot
4718bf4d81
Bundled output for commit b6f37526a3
[skip ci]
2018-11-12 01:14:08 +00:00
Toby Zerner
b6f37526a3
Merge pull request #1634 from clarkwinkelmann/fix-scrubber-index
...
Fix scrubber index exceeding post count
2018-11-12 11:40:29 +10:30
Clark Winkelmann
8250584ba7
Fix notification isRead value not being updated in API update response ( #1635 )
2018-11-12 00:14:13 +01:00
Toby Zerner
ac63665f8b
Boot new application instance before enabling extensions. fixes #1587 ( #1631 )
2018-11-12 00:01:17 +01:00
Franz Liedke
f346a51748
Remove unused default constructor
2018-11-11 23:52:47 +01:00
Clark Winkelmann
3d1578b89a
Clean PostStreamScrubber code
2018-11-11 19:03:22 +01:00
Clark Winkelmann
87f94e64e4
Fix scrubber index not limited to max items count when bypassing view()
2018-11-11 19:00:51 +01:00