Tariq Hussein
2ecfe5da7b
Check reply with mention can be read by original poster ( #39 )
2020-05-20 17:01:34 -04:00
Franz Liedke
a552b957ba
Use new Model extender
2020-04-24 15:55:50 +02:00
Robert Turner
9c674f0a8b
Fix mentioning a deleted user's post ( #41 )
...
Fixes #1956 - ErrorException: Trying to get property 'display_name' of
non-object. ConfigureMentions::addPostId method set mention details
based on if there was an existing post. This caused an error if there
was an existing post, but the user who posted had been deleted. The
mention details are now only set if there is a user associated with the
post being mentioned.
2020-03-06 23:04:24 +01:00
Franz Liedke
3390bd5b02
Apply fixes from StyleCI
2019-11-29 23:02:17 +00:00
Shivanshu Patel
7afdbb1ea9
Remove like with and compare with equals ( #37 )
...
`_` is special character in mysql so like query was fetching different result for user who's unsername starts with or contains `_`
2019-08-16 15:57:35 +02:00
bdumaspilhou
b9c4a003f2
Fixes : use display_name in mail and in subject ( #35 )
2019-03-06 23:25:23 +01:00
Franz Liedke
70a66a9529
Get rid of event subscribers that resolve services too early
...
Refs flarum/core#1578 .
2018-12-16 16:24:05 +01:00
Franz Liedke
c2cabd7c2e
I can do this!
2018-12-15 16:24:31 +01:00
Franz Liedke
99adb8e998
Fix copy-paste mistake
2018-12-15 16:01:03 +01:00
Franz Liedke
3656072ff4
Use Formatter extender to avoid resolving the UrlGenerator too early
...
Refs flarum/core#1578 .
Fixes flarum/core#1703 .
2018-12-15 12:06:58 +01:00
Toby Zerner
7075998b87
Use canonical username for user profile link. fixes flarum/core#1265
2018-11-14 12:10:24 +10:30
Toby Zerner
8d67e6dcf5
Fix live preview
2018-09-21 11:41:32 +09:30
Toby Zerner
67c7b45dc8
Database changes ( #34 )
...
* Implement database changes
* Split foreign keys in to their own migrations; rename pivot tables
* Use whereColumn
* Update core attribute names
2018-09-16 20:50:16 +02:00
Clark Winkelmann
5bf642046d
Remove unused parameter
2018-03-07 04:04:19 +01:00
Franz Liedke
30e21bb37d
Remove unused import
2018-01-17 08:27:19 +01:00
Franz Liedke
ee07f29d5a
Adapt new bootstrap format, use Asset extender
2018-01-16 23:27:32 +01:00
Toby Zerner
89ec1d77df
Fix class names
2017-12-27 16:09:20 +10:30
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
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
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
1d79d8edeb
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2016-11-29 05:29:44 +00:00
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
999ef82d55
Use new event name
2016-06-03 11:02:05 +09:30
Franz Liedke
2ddfb11614
Make StyleCI happy
2016-03-23 19:56:24 +09:00
Sajjad Hasehmian
6f39123bad
Check access before send Mention notification
2016-03-04 13:53:15 +03:30
Toby Zerner
47ec802166
Applied fixes from StyleCI
2016-02-25 22:56:19 -05:00
Sajjad Hasehmian
b4d7c18eb9
Add Mentions section to user profile ( fixes flarum/core#319 )
2016-02-04 01:04:08 +03:30
Toby Zerner
37ff7fdf1d
Use URL generator for mention href
2015-12-30 15:28:22 +10:30
Toby Zerner
5ffac115ad
Translations are now automatically included
2015-11-02 18:52:41 +10:30
Toby Zerner
7b3cd8b1c1
Fix user mentioned notification registration
2015-10-31 18:18:44 +10:30
Toby Zerner
76b676d489
Update API relationship listener
2015-10-30 11:07:03 +10:30
Toby Zerner
49ed9c7dde
Fix error when replying to a post by a deleted user
2015-10-19 16:18:26 +10:30
Toby Zerner
ccda85cc29
Update for composer branch
2015-10-11 13:02:57 +10:30
Toby Zerner
384330da77
Add LICENSE information
2015-09-04 12:31:19 +09:30
Toby Zerner
d241a09f83
Include missing discussion relationship
2015-08-26 10:20:03 +09:30
Toby Zerner
183badef86
Use new discussion URL format
2015-08-25 19:52:56 +09:30
Toby Zerner
b9edb29d9f
Use new listen API
2015-08-13 12:49:58 +09:30
Toby Zerner
c014c330d9
Allow inter-discussion replying
2015-08-06 13:17:21 +09:30
Toby Zerner
4e73a520ea
Fix oopsie
2015-07-27 12:02:34 +09:30
Toby Zerner
714ab8fca5
PERF: avoid reinstantiation of event subscribers
2015-07-27 11:54:28 +09:30
Toby Zerner
7ac3e9fa92
Make mention formatter work in live preview 🎉
2015-07-23 20:50:41 +09:30
Toby Zerner
b300323fb7
Fix notification emails
2015-07-23 16:40:19 +09:30
Toby Zerner
0c7bd6e86d
Add missing translations
2015-07-23 16:40:11 +09:30