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

8263 Commits

Author SHA1 Message Date
Toby Zerner
a46396e944 New heading styles 2018-11-14 13:57:31 +10:30
Toby Zerner
c0c48bcf87 Give emojis symmetrical margin 2018-11-14 13:53:07 +10:30
flarum-bot
c8a3c3c22b Bundled output for commit 1f04c732a0 [skip ci] 2018-11-14 03:07:37 +00:00
Toby Zerner
1f04c732a0 Fix cursor not being placed correctly after mention insertion 2018-11-14 13:36:21 +10:30
Toby Zerner
7075998b87 Use canonical username for user profile link. fixes flarum/core#1265 2018-11-14 12:10:24 +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
flarum-bot
a03b8c72ce Bundled output for commit f75f2214a6 [skip ci] 2018-11-13 20:15:19 +00:00
Toby Zerner
0f05ecbbc6 Fix incorrect regex modifier, causing JS to become malformed is some cases 2018-11-14 06:45:14 +10:30
Toby Zerner
f75f2214a6 Add custom elements polyfill 2018-11-14 06:43:45 +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
c5bafe9f70 Merge pull request #136 from milescellar/patch-1
Add message for UUID validation rule
2018-11-13 07:50:18 +10:30
flarum-bot
072ad25dc0 Bundled output for commit a93ab1bdb0 [skip ci] 2018-11-12 21:20:16 +00:00
Toby Zerner
a93ab1bdb0 Merge pull request #19 from clarkwinkelmann/fix-emoji-insert-index
Fix cursor not being placed correctly after emoji insertion
2018-11-13 07:49:03 +10:30
Clark Winkelmann
7a97d281ba Fix cursor not being placed correctly after emoji insertion 2018-11-12 22:17:34 +01:00
Toby Zerner
3ab7da66c8 Log errors when debug mode is on too 2018-11-13 07:47:01 +10:30
Toby Zerner
2ecd7fc3cc Merge pull request #137 from milescellar/patch-2
Fix translation sorting
2018-11-13 07:07:45 +10:30
Miles Cellar
1bf2b7a9fa Fix translation sorting 2018-11-12 20:44:12 +01:00
Miles Cellar
ade5adbdd5 Add message for UUID validation rule
See: c96995fb61 (diff-9c04f727a922ad4f105b9ad764ec221d)
2018-11-12 20:16:58 +01:00
flarum-bot
a06ffc85c7 Bundled output for commit 87909a8186 [skip ci] 2018-11-12 11:40:21 +00:00
Toby Zerner
87909a8186 Fix Travis' deploy key 2018-11-12 22:08:51 +10:30
Toby Zerner
8417a1fe25 Set up Travis 2018-11-12 22:05:48 +10:30
flarum-bot
e3d01c5e94 Bundled output for commit b1e2322581 [skip ci] 2018-11-12 10:35:23 +00:00
flarum-bot
7929d2e4bf Bundled output for commit dd500ec54b [skip ci] 2018-11-12 10:35:09 +00:00
flarum-bot
a095f17ea3 Bundled output for commit d3329fe11c [skip ci] 2018-11-12 10:35:04 +00:00
Toby Zerner
40438fd0a6 Add markdown toolbar buttons and textarea helper 2018-11-12 21:02:50 +10:30
Toby Zerner
f3c6743865 Add new mention button translation 2018-11-12 17:37:45 +10:30
Toby Zerner
dd500ec54b Add mention button to text editor toolbar 2018-11-12 17:37:25 +10:30
Toby Zerner
d3329fe11c Make sure the emoji popup doesn't go off the top of the screen on mobile 2018-11-12 17:37:07 +10:30
Toby Zerner
b3d0dd3aa9 Add a small "type to search" instruction to the top of the emoji popup 2018-11-12 17:37:07 +10:30
Toby Zerner
3d0097ea12 Improve emoji suggestion sorting
Not sure why emoji suggestions were being sorted by the length of their
name... Reverting this means that exact matches are displayed at the
top again which is good.
2018-11-12 17:37:07 +10:30
Toby Zerner
00b3d7b19a Add emoji button to text editor toolbar 2018-11-12 17:37:07 +10:30
Toby Zerner
b260ad4a19 Add new markdown button translations 2018-11-12 17:35:20 +10:30
Toby Zerner
3a23b561c9 Add new emoji translations 2018-11-12 17:34:06 +10:30
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
Toby Zerner
95944e3630 Log errors that occur in the API stack
This takes place only in the FallbackExceptionHandler. Having a custom
exception handler implies that a friendly message is displayed in the
API response, in which case we can bet that the exception won't need to
be "debugged" per se.
2018-11-11 18:00:57 +10:30