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
Toby Zerner
4302687876
Stop logging errors that use a custom view
...
Having a custom view implies that a friendly message is displayed to
the user, in which case we can bet that the exception won't need to be
"debugged" per se.
2018-11-11 17:57:55 +10:30
Toby Zerner
2df5be7bcb
Catch Throwables so that we handle internal PHP errors too
2018-11-11 17:54:19 +10:30
flarum-bot
91e8d6820a
Bundled output for commit d9037fe472
[skip ci]
2018-11-11 06:35:34 +00:00
Toby Zerner
278bbd992b
Apply fixes from StyleCI ( #1632 )
...
[ci skip] [skip ci]
2018-11-11 17:01:34 +10:30
Toby Zerner
d9037fe472
Delete associated notifications when deleting discussions, posts, and users. fixes #1380
2018-11-11 16:59:24 +10:30
Toby Zerner
0e5c3aff1a
Perform visibility checks on notification subjects at the query level
...
This will prevent a notification from being seen by a user if its
subject is deleted or undergoes some kind of permission change (eg.
a discussion is moved into a private tag)
ref #1380
2018-11-11 16:58:08 +10:30
Toby Zerner
9b013a4136
Consolidate Post visibility logic into the PostPolicy
...
A post can only be seen if the discussion in which it resides can be
seen. The logic for this belongs in the policy, not the model.
2018-11-11 16:54:15 +10:30
Toby Zerner
e02b18d08e
Fix notification list not displaying "empty" message
2018-11-11 16:46:54 +10:30
Toby Zerner
b68f183e86
Always allow users to see their own account. fixes #1626
2018-11-11 14:25:21 +10:30
flarum-bot
ffd7ac82b9
Bundled output for commit 82534ea43f
[skip ci]
2018-11-10 00:51:10 +00:00
Toby Zerner
82534ea43f
Re-add some missing options, simplify CSS
2018-11-10 11:16:09 +10:30
Franz Liedke
ebcc173496
Fix leak of private information when updating users
...
Fixes #1628 .
2018-11-09 12:02:26 +01:00
Franz Liedke
fad8ed335d
Add regression test for email crawling vulnerability
...
Refs #1628 .
2018-11-09 12:02:26 +01:00
Franz Liedke
99f9ec45f1
Move trait to base test class
...
This way, its properties can be overwritten in subclasses of
`ApiControllerTestCase`. This isn't allowed when those subclasses
use the trait directly.
2018-11-09 12:02:21 +01:00
Daniël Klabbers
f41ae92f1a
add security address in issue template as well ( #1630 )
...
as per suggestion by @CDK2020, let's also add an important statement in the issue template
2018-11-09 10:02:20 +01:00
Daniël Klabbers
ee386b8899
add security email address in flarum/core readme ( #1629 )
...
Let's make the security email address even more visible.
2018-11-08 23:41:51 +01:00
Daniël Klabbers
33b39137b9
[b8] master token fix ( #1622 )
...
* fixed not being able to use master token because id column no longer holds key
* added flexibility of user_id column
* added tests to confirm the api keys actually work as intended
2018-11-07 22:34:09 +01:00
flarum-bot
4eafba9189
Bundled output for commit 8e5099711f
[skip ci]
2018-11-07 21:20:16 +00:00
Franz Liedke
537e61ba00
Restore horizontal overflow for permission grid
...
Refs #1627 .
2018-11-07 22:17:16 +01:00
flarum-bot
1650d530e9
Bundled output for commit 4aabd35605
[skip ci]
2018-11-07 21:16:41 +00:00
Clark Winkelmann
4aabd35605
Use ItemList for EditTagModal fields ( #59 )
2018-11-07 22:15:31 +01:00