Commit Graph

211 Commits

Author SHA1 Message Date
Toby Zerner
2d9839ee66 Fix relationship method arguments
As per https://laravel.com/docs/5.5/upgrade (under "Eloquent")
2017-12-26 20:21:47 +10:30
Toby Zerner
c145121516 Merge branch 'master' into next-back
# Conflicts:
#	src/Listener/AddPostMentionedByRelationship.php
#	src/Listener/FormatPostMentions.php
#	src/Listener/FormatUserMentions.php
#	src/Listener/UpdatePostMentionsMetadata.php
#	src/Listener/UpdateUserMentionsMetadata.php
2017-12-26 20:20:31 +10:30
Toby Zerner
14215773b3 Fix positioning of quote button when parents are positioned relatively 2017-11-10 17:45:21 +10:30
Toby Zerner
101af171b1 Don't sanitize values in plain-text emails 2017-11-05 15:29:46 +10:30
Franz Liedke
41980082ea Fix class names 2017-10-03 19:44:29 +02:00
Franz Liedke
d528cd03e2 Fix class names 2017-10-03 19:22:33 +02:00
Franz Liedke
3fc150cd23 Update namespaces for beta 8
Refs flarum/core#1235.
2017-10-01 20:25:23 +02:00
Toby Zerner
17e181bb0d Fix notifications not including post content 2017-09-22 16:45:45 +09:30
Toby Zerner
649a307383 Merge pull request #28 from flarum/analysis-qgx2Q4
Apply fixes from StyleCI
2017-09-20 17:08:05 +09:30
Toby Zerner
fa3194fcef Apply fixes from StyleCI
[ci skip] [skip ci]
2017-09-20 07:37:55 +00:00
Toby Zerner
408d882598 Update to sub in "display names" from database when rendering
This also improves the behaviour of mentions in the JS preview (no more
broken links, mention is only picked up if corresponding user/post is
found).

See flarum/core#1246

Closes flarum/core#315
2017-09-19 20:16:30 +09:30
Toby Zerner
acd3195491 Make autocomplete dropdown slightly less tall so that it fits below the cursor 2017-09-19 19:38:02 +09:30
Toby Zerner
53e63069c1 Properly inactivate the autocomplete dropdown when there are no suggestions 2017-09-19 19:35:44 +09:30
Clark Winkelmann
86496f3e06 Keep images and links when quoting (#25)
* Keep images and links when quoting

* Fix bower dependencies
2017-06-29 08:26:15 +09:30
Clark Winkelmann
2bbf4a2b4b Drop bower usage (#27) 2017-06-29 08:25:24 +09:30
David Sevilla Martín
eac6e2e32f Use mentioned_by_self_text correctly (#26)
* Use mentioned_by_self_text correctly

* Whoops! Use , not david

* Fix dist js error
2017-06-25 10:54:18 +09:30
Franz Liedke
425a612537 Recompile dist JS 2017-03-06 22:01:14 +01:00
Franz Liedke
04b32d9abc Improve order of mention auto-completes
Suggest plain mention of username before explicitly replying to a
specific post.

Closes flarum/core#1118.
2017-03-06 22:00:25 +01:00
Franz Liedke
1186bed6ce Merge pull request #24 from janga1997/patch-1
Hide diff for compiled diff files
2017-02-20 16:18:44 +01:00
VSN Reddy Janga
85f72f34c9 Hide diff for compiled diff files 2017-02-20 19:29:57 +05:30
Franz Liedke
18b82d34d2 Merge pull request #23 from milescellar/patch-1
Update year
2017-01-02 20:04:16 +01:00
Miles Cellar
cc731baab0 Update year 2017-01-01 22:46:42 +01:00
Toby Zerner
b0b1d2f14a Merge pull request #22 from flarum/analysis-qJ072a
Apply fixes from StyleCI
2016-11-29 16:00:53 +10:30
Toby Zerner
1d79d8edeb Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:44 +00:00
Toby Zerner
26caab7923 Recompile JS 2016-11-19 22:09:04 +10:30
Toby Zerner
12d955a5d2 Update StyleCI rules 2016-11-16 15:46:20 +10:30
Toby Zerner
45589c482c v0.1.0-beta.6 2016-10-19 21:13:31 +10:30
Toby Zerner
de7d450093 Don't show quote button until after selection has been made 2016-10-18 22:26:04 +10:30
Toby Zerner
18a4b6d4b1 Fix another fatal error 2016-09-03 22:32:06 +09:30
Toby Zerner
ab6e899c7e Fix fatal error when viewing a discussion with multiple pages of posts 2016-09-03 22:30:22 +09:30
Toby Zerner
f267a63ffe Apply visibility permissions to mentionedBy relationship. fixes flarum/core#853 2016-09-03 21:50:09 +09:30
Toby Zerner
c3cb99549c Merge pull request #21 from nodum/master
Fix: Someuser vs. You (mention) -- In English: the same.
2016-08-29 17:16:58 +09:30
Wietse Wind
9ca106e136 Amend Pull Request #21 2016-08-29 09:37:20 +02:00
Wietse Wind
bb35bd5268 Fix: Someuser vs. You (mention) -- In English: the same. In Dutch: Jij hebt / Someuser HEEFT -> _self text was ignored, comparing POST with USER object. 2016-08-29 09:27:30 +02:00
Toby Zerner
bfa9a1d68e Support quote button on mobile; make reply button behaviour consistent
closes flarum/core#972
2016-06-03 11:24:33 +09:30
Toby Zerner
999ef82d55 Use new event name 2016-06-03 11:02:05 +09:30
Toby Zerner
87430a20a7 Merge pull request #20 from sijad/quote-emoji
Fix quote emoji icons
2016-06-02 23:45:46 +09:30
Sjjad Hashemian
496995d55a Fix quote emoji icons 2016-06-02 15:45:04 +04:30
Toby Zerner
fd59f0ee48 Prevent mentions summary from blocking post controls 2016-05-26 22:26:05 +09:30
Toby Zerner
310fed2329 Tweak quote button positioning/style
Now appears where your cursor ends the selection, but not overlapping text.
2016-05-22 14:05:38 +09:30
Sajjad Hasehmian
a05600b91e Show quote button when post text is selected
closes #19 closes flarum/core#320
2016-05-21 21:37:48 +09:30
Franz Liedke
8c280b0b15 Use newly extracted KeyboardNavigatable util for emoji dropdown
Refs flarum/core#264.
2016-05-15 22:42:15 +09:00
Toby Zerner
ff54deb83d Require core v0.1.0-beta.5 2016-03-29 18:47:56 +10:30
Toby Zerner
865238df81 Add logic to make sure post mention preview isn't hidden by header. closes flarum/core#316 2016-03-28 13:33:46 +10:30
Franz Liedke
2ddfb11614 Make StyleCI happy 2016-03-23 19:56:24 +09:00
Toby Zerner
febf4356c0 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:33:14 +10:30
Toby Zerner
cf6bab926d Merge pull request #18 from sijad/access-check
Check access before send Mention notification
2016-03-11 13:33:18 +10:30
Toby Zerner
ce8165bc2e Clean up linting stuff 2016-03-10 17:22:18 +10:30
Sajjad Hasehmian
6f39123bad Check access before send Mention notification 2016-03-04 13:53:15 +03:30
Franz Liedke
ec3db146fc Use new shortcuts for migrations 2016-03-04 01:12:03 +09:00