1
0
mirror of https://github.com/flarum/core.git synced 2025-09-02 12:43:28 +02:00
Commit Graph

8723 Commits

Author SHA1 Message Date
AFR
cc50059f57 Adapt to FontAwesome v5.0.6 icon name changes (#2) 2018-02-23 23:44:35 +01:00
AFR
14e0939947 Adapt to FontAwesome v5.0.6 icon name changes (#7) 2018-02-23 23:44:26 +01:00
AFR
a7a497855b Adapt to FontAwesome v5.0.6 icon name changes (#12) 2018-02-23 23:44:19 +01:00
AFR
1e61e2e5a1 Adapt to FontAwesome v5.0.6 icon name changes (#12) 2018-02-23 23:44:03 +01:00
AFR
e868685609 Adapt to FontAwesome v5.0.6 icon name changes (#12) 2018-02-23 23:43:57 +01:00
AFR
c5818ba87d Adapt to FontAwesome v5.0.6 icon name changes (#30) 2018-02-23 23:43:43 +01:00
AFR
a147fb578a FontAwesome v5.0.6 (#1372)
* Update FontAwesome to v5.0.6

* Adapt DiscussionListItem-count icon to match FontAwesome 5 syntax

* Change icon name to match FontAwesome 5.0.6 fas icon

* Add font type prefix parameter to icon helper

* Add Enable Icon Prefix to show icon in Extension Page

* Fix invalid icon behavior

* Change icon name to match FontAwesome 5.0.6 far icon

* Use iconPrefix property on component

* Use full icon class name

* Update icon helper docblock

* Full icon class syntax
2018-02-23 23:42:00 +01:00
Marcel Pokrandt
f5a4d7b2a3 add message to Dispatch exceptions (#1376)
Exceptions thrown while attempting to dispatch routes are now informing the exact value that was incorrect; url for not found routes and the method when the method was invalid.
2018-02-21 11:28:45 +01:00
Franz Liedke
7bfb220979 Apply fixes from StyleCI (#1371)
[ci skip] [skip ci]
2018-02-15 16:57:18 +01:00
Franz Liedke
a32bddd3e2 Refactor MIME type guessing to work without any PHP extension
Closes #1241.
2018-02-15 16:40:41 +01:00
Miles Cellar
71ecb164c8 Use reused translations and remove unnecessary double quotes (#115)
* Use reused translations and remove unnecessary double quotes

* Additional use of reused translations
2018-02-14 08:14:54 +01:00
Toby Zerner
f9963f8268 Merge pull request #1363 from clarkwinkelmann/extension-rollback
Add extension rollback command
2018-02-13 07:18:00 +10:30
David Sevilla Martín
88ab68af10 Merge branch 'master' into 322-notificate-user-when-suspended 2018-02-12 08:35:24 -05:00
David Sevilla Martín
cc285f6fc8 fix merge conflicts 2018-02-12 08:34:36 -05:00
David Sevilla Martín
62d30f140b fix issues, revert js dist 2018-02-12 08:30:27 -05:00
Clark Winkelmann
e47fcc8ad6 Rename to reset and make extension an option 2018-02-11 20:03:54 +01:00
Franz Liedke
4bede59dfc Adapt comment for flarum/core#875 2018-02-11 16:41:23 +01:00
Franz Liedke
93822ba4ed API: Provide forum info under /
Closes #875.
2018-02-11 16:40:05 +01:00
Toby Zerner
b8e5dcd587 fire -> dispatch
As per Illuminate\Contracts\Events\Dispatcher
2018-02-10 12:09:35 +10:30
Clark Winkelmann
15114ebd90 Fix formatting 2018-02-09 18:42:43 +01:00
Clark Winkelmann
51adf57f17 Fix formatting 2018-02-09 18:41:51 +01:00
Clark Winkelmann
d47aed59c6 Add extension rollback command 2018-02-09 18:32:44 +01:00
Toby Zerner
c3d034d2fa Merge pull request #1361 from clarkwinkelmann/extendable-notification-methods
Extendable notification methods
2018-02-09 13:51:39 +10:30
Clark Winkelmann
e0b7182908 Fix jsdoc for notification types 2018-02-09 02:53:05 +01:00
Clark Winkelmann
982cbe4b49 Use an extendable ItemList for notification methods 2018-02-09 02:51:42 +01:00
Franz Liedke
5a2bf0d015 SuspendUserModal: Allow re-selecting "Not suspended"
Without this, clicking on the "Not suspended" radio option would
unmark the currently selected value, but not select the first value.

Refs flarum/core#1345.
2018-02-08 22:39:09 +01:00
Franz Liedke
f22c792fe0 Allow unsuspending from timed suspension
Fixes flarum/core#1345.
2018-02-08 22:33:09 +01:00
Toby Zerner
11292223a7 Fix incorrect query parameter when searching for users 2018-02-09 07:41:25 +10:30
Johann Rodríguez
0fedee8f80 No slug? Then no '-' separator! (#1351)
* Stop using slug separator when there is no slug

* Changing as per upstream requirements
2018-02-09 07:22:50 +10:30
Franz Liedke
ab9877cc3b Use Routes extender 2018-02-08 18:34:40 +01:00
Franz Liedke
4daec37f78 Use Routes extender 2018-02-08 18:30:00 +01:00
Franz Liedke
5087ba4148 Remove unused imports 2018-02-08 18:26:43 +01:00
Franz Liedke
9480a26a84 Use Routes extender 2018-02-08 18:25:58 +01:00
Franz Liedke
c797732e60 Use Routes extender 2018-02-08 18:21:29 +01:00
Franz Liedke
d10578cab9 Inline event listeners
These will be replaced - one by one - by appropriate extenders.
2018-02-08 18:17:14 +01:00
Franz Liedke
c3ff9ad1d9 Use new Routes extender 2018-02-08 18:10:17 +01:00
Franz Liedke
7667b80bf7 Flatten logic
With an early return, the method becomes more readable, and the
actual (very small) change from #46 becomes more apparent.
2018-02-08 17:14:28 +01:00
Toby Zerner
6922c3081e Remove excerpt margin on mobile 2018-02-08 07:18:29 +10:30
Toby Zerner
327989d40c Fix CSS rule 2018-02-08 07:08:54 +10:30
Toby Zerner
4ccdd32bb4 Fix regression: set actor before eager loading user state 2018-02-08 07:08:39 +10:30
Toby Zerner
6a53fe35b3 Improve search performance (#1339)
* Improve fulltext gambit

* Only search in visible posts

This change relies on the `visibility-scoping` branch to be merged.

* Change posts table to use InnoDB engine

Doing a JOIN between an InnoDB table (discussions) and a MyISAM table
(posts) is very very (very) bad for performance. FULLTEXT indexes are
fully supported in InnoDB now, and it is a superior engine in every
other way, so there is no longer any reason to be using MyISAM.

* Use ::class

* Only search for comment posts

* Add fulltext index to discussions.title

* Fix migration not working if there is a table prefix

* Update frontend appearance

* Apply fixes from StyleCI

[ci skip] [skip ci]

* Show search result excerpts on mobile
2018-02-08 06:38:08 +10:30
Daniel Klabbers
a816068397 Improved the console configuring event to support any type of console command to be added 2018-02-07 13:58:31 +01:00
Clark Winkelmann
63a9258fe4 Add console configuration event (#1349)
* Add console configuration event

* Fix comment formatting
2018-02-07 21:49:08 +10:30
Toby Zerner
26483cc0c5 Realign tags in discussion list 2018-02-06 17:24:09 +10:30
Toby Zerner
8b5f1839b6 Recompile JS 2018-02-04 12:54:41 +10:30
Toby Zerner
6138794712 Excerpt added to core 2018-02-04 12:53:52 +10:30
Daniel Klabbers
bcc239d468 validation requires nullable now in order to allow null values to pass the validation 2018-02-02 11:38:06 +01:00
Daniël Klabbers
71850db995 Merge pull request #46 from michaeldalyuk/master
Fix issue #1249 and do not show or count private discussions in Tags …
2018-02-02 07:03:07 +01:00
Michael Daly
f7b5b7d21d Fix issue #1249 and do not show or count private discussions in Tags summary. 2018-02-01 23:06:41 +00:00
Toby Zerner
0f49b62bcf Merge pull request #1358 from clarkwinkelmann/avatar-permission
Assert permission when updating avatar
2018-02-01 06:54:47 +10:30