framework/extensions/mentions
Alexander Skvortsov a2832af01f Only search users via rest API if user has permission (#73)
Closes https://github.com/flarum/core/issues/3070

If the user doesn't have permission to search users, there will currently be browser errors, as the current implementation will still attempt to search and autocomplete. In this PR, we check for permission before searching. The dropdown will still support autocomplete of users currently participating in the discussion.
2021-10-13 14:57:45 -04:00
..
.github/workflows Add integration tests (#66) 2021-04-13 22:27:42 +01:00
js Only search users via rest API if user has permission (#73) 2021-10-13 14:57:45 -04:00
less New mentions format, decouple usernames from mentions (#65) 2021-04-21 10:58:54 +01:00
locale New mentions format, decouple usernames from mentions (#65) 2021-04-21 10:58:54 +01:00
migrations New mentions format, decouple usernames from mentions (#65) 2021-04-21 10:58:54 +01:00
src Fix unrecognised user/post mentions (#71) 2021-08-30 18:23:59 +01:00
tests Tweak test name and add posts mention equivalent test 2021-05-25 00:15:10 +01:00
views/emails Fix incorrect display_name showing in email notifications (#59) 2020-12-21 12:43:27 -05:00
.editorconfig Add integration tests (#66) 2021-04-13 22:27:42 +01:00
.gitattributes Webpack (#33) 2018-06-20 13:35:33 +09:30
.gitignore Add integration tests (#66) 2021-04-13 22:27:42 +01:00
.styleci.yml Update StyleCI rules 2016-11-16 15:46:20 +10:30
CHANGELOG.md Release v1.1.0 2021-10-11 21:12:56 -04:00
composer.json chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:43 +01:00
extend.php Eager load more necessary related mentions (#72) 2021-08-23 20:33:42 +01:00
LICENSE Update copyright year 2021-05-15 00:56:10 +01:00