Toby Zerner
a8e25ac27b
Temporary fix for permissions bug
...
See flarum/core#425
2015-09-04 14:10:12 +09:30
Toby Zerner
47881bc744
Prevent error when hiding/restoring a post with a deleted user
2015-09-04 13:51:13 +09:30
Toby Zerner
d1ed58bcda
Correctly style hidden post username
2015-09-04 13:50:43 +09:30
Toby Zerner
8b6f6e3305
Fix notifications dropdown appearance on mobile
2015-09-04 13:50:33 +09:30
Toby Zerner
3ec6e94c62
Don't show placeholder when loading discussions
2015-09-04 13:50:17 +09:30
Toby Zerner
cb6347ef6a
Initial commit
2015-09-04 13:26:51 +09:30
Toby Zerner
cca9fea5df
Fixes
2015-09-04 13:26:33 +09:30
Toby Zerner
2762cf5f99
Initial commit
2015-09-04 12:44:02 +09:30
Toby Zerner
c4ef5363c2
Add LICENSE information
2015-09-04 12:33:23 +09:30
Toby Zerner
9a342be495
Add LICENSE information
2015-09-04 12:32:52 +09:30
Toby Zerner
f02d0ec602
Add LICENSE information
2015-09-04 12:32:27 +09:30
Toby Zerner
8480563f1e
Add LICENSE information
2015-09-04 12:32:04 +09:30
Toby Zerner
a3f5c7dde9
Add LICENSE information
2015-09-04 12:31:41 +09:30
Toby Zerner
384330da77
Add LICENSE information
2015-09-04 12:31:19 +09:30
Toby Zerner
c22292696c
Add LICENSE information
2015-09-04 12:30:55 +09:30
Toby Zerner
3ab62fb0ca
Add LICENSE information
2015-09-04 12:30:25 +09:30
Toby Zerner
7d1776c18b
Add LICENSE information
2015-09-04 12:30:01 +09:30
Toby Zerner
4aa0c0e923
Add LICENSE information
2015-09-04 12:29:32 +09:30
Toby Zerner
61053878d5
Don't use phpcs cache
2015-09-04 12:28:19 +09:30
Toby Zerner
fce9fab67c
Rename LICENSE
2015-09-04 12:28:10 +09:30
Toby Zerner
0e8d6867aa
Update npm dependency
2015-09-04 12:24:16 +09:30
Toby Zerner
134427f0e9
Update flarum.json
2015-09-04 12:24:15 +09:30
Toby Zerner
617c3d54ff
Add phpcs, Travis, clean up editorconfig and eslint
2015-09-04 12:24:15 +09:30
Toby Zerner
4a7d39cacf
Update npm dependency
2015-09-04 12:24:10 +09:30
Toby Zerner
3434c6a6f9
Update flarum.json
2015-09-04 12:24:10 +09:30
Toby Zerner
e66ea7c901
Add phpcs, Travis, clean up editorconfig and eslint
2015-09-04 12:24:09 +09:30
Toby Zerner
e14fe8bc03
API: Add User::hasPermissionLike() and User::getPermissions()
2015-09-04 12:23:50 +09:30
Toby Zerner
29b74f1263
Fix typehint
2015-09-04 12:23:27 +09:30
Toby Zerner
cf9e2c23e9
Fix bad query in isVisibleTo
2015-09-04 12:23:17 +09:30
Toby Zerner
b4acc18b67
Don't load a custom relation if the relation is already loaded
2015-09-04 12:22:49 +09:30
Toby Zerner
0661371180
Improve some post/discussion permission logic
...
- Allow users to see their own posts, even if they have been hidden by
someone else
- Don't require hiding a post to be necessarily attributed to a user
- Hide discussions with zero posts, unless the user can edit posts, or
they are the discussion author
2015-09-04 12:22:27 +09:30
Toby Zerner
b3853c7650
Slightly darken light grey text
2015-09-04 12:19:20 +09:30
Toby Zerner
ce7bb507d8
Remove unused translations
2015-09-04 12:19:09 +09:30
Toby Zerner
ff993c99a4
Correct check that a translation is an object
...
typeof translation === 'object' returns true when translation is null
2015-09-04 12:19:02 +09:30
Toby Zerner
5e1978ceb7
API: Add typehints
2015-09-04 12:18:09 +09:30
Toby Zerner
738e272675
Clean up Post CSS
2015-09-04 12:17:30 +09:30
Toby Zerner
39c3b468dc
Prevent ItemList crash when item is a number
2015-09-04 12:17:01 +09:30
Toby Zerner
601f7adb0f
Allow non-array value to be passed into listItems
...
Useful in some scenarios when using JSX
2015-09-04 12:16:23 +09:30
Toby Zerner
c373065ab1
Move generic util into lib
...
Might come in handy for the admin section later on
2015-09-04 12:15:41 +09:30
Toby Zerner
4545673455
Make Dropdown and NotificationsDropdown components more extensible
2015-09-04 12:15:11 +09:30
Toby Zerner
9c8063ecf4
Make a copy of props passed into a component
...
Prevents some rare errors where the props object is read-only, and is
generally safer.
2015-09-04 12:13:55 +09:30
Toby Zerner
423aad22de
Simplify notification markup
2015-09-04 12:12:48 +09:30
Toby Zerner
3aa94e1b10
Fix use of "new" keyword making eslint angry
2015-09-04 12:12:21 +09:30
Toby Zerner
6116458b3d
Add item priorities
2015-09-04 12:11:45 +09:30
Toby Zerner
7a81d941fa
Clean up editorconfig, eslint, npm dependencies
2015-09-04 12:11:34 +09:30
Toby Zerner
f3f315ee9e
Update npm dependency
2015-09-04 12:08:04 +09:30
Toby Zerner
134f15740b
Update flarum.json
2015-09-04 12:07:58 +09:30
Toby Zerner
1f1a8d8f45
Update npm dependency
2015-09-04 12:07:50 +09:30
Toby Zerner
009f52c5e1
Update flarum.json
2015-09-04 12:07:46 +09:30
Toby Zerner
0d56eafcbf
Update npm dependency
2015-09-04 12:07:29 +09:30