Commit Graph

1593 Commits

Author SHA1 Message Date
Toby Zerner
d549e26a4b Don't require database password confirmation 2015-09-04 21:45:52 +09:30
Franz Liedke
b30004a9d4 Web installer: Fix name of table prefix field 2015-09-04 12:14:48 +02:00
Franz Liedke
98fe2120e9 Installer: Fix password confirmation 2015-09-04 12:11:13 +02:00
Franz Liedke
312d964f91 Clean up code 2015-09-04 12:05:12 +02:00
Franz Liedke
eaa74ce9d9 Merge pull request #413 from WinterSilence/patch-2
Update RouteCollection::getPath
2015-09-04 12:03:51 +02:00
Franz Liedke
8d7e8ad7ca Reorder installer fields 2015-09-04 12:00:39 +02:00
Franz Liedke
4df26d7d5c Ask for password confirmation in web installer, too
Closes #405.
2015-09-04 12:00:03 +02:00
Franz Liedke
56efeb3a1e Require password confirmation in console installer
Refs #405.
2015-09-04 11:57:11 +02:00
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
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
01fd2a61b8 Merge pull request #418 from Luceos/registration_fix
call to $this-> assertValidPassword from static context
2015-09-04 10:46:35 +09:30
Daniel Klabbers
8b426602b0 call to $this-> assertValidPassword from static context 2015-09-04 00:00:24 +02:00
Franz Liedke
588dc96685 Add a first empty state to the discussion list 2015-09-03 09:59:33 +02:00
Franz Liedke
e6dd1ffc4e Fix code style issues 2015-09-03 08:48:26 +02:00
Franz Liedke
1fc1bf0599 Check prerequisites in console installer, too 2015-09-03 08:42:16 +02:00
Franz Liedke
f8701f1123 Extract installation prerequisites into composable classes and use those in the web-based installer 2015-09-03 08:23:34 +02:00
Anton
0a43250426 Update RouteCollection.php 2015-09-02 19:22:40 +03:00
Anton
a6cc51f726 Update RouteCollection::getPath
This version work faster - old code create closure at every calling getPath
2015-09-02 10:58:44 +03:00
Franz Liedke
e6c96394b7 Merge pull request #403 from mtotheikle/allow-extra-signup-data
Allow support for passing extra signup data to API
2015-09-01 18:28:53 +02:00
Michael Williams
a03edf673c Allow support for passing extra signup data to API 2015-09-01 07:58:14 -07:00
Franz Liedke
bbe9fe4307 Merge pull request #402 from johannsa/master
Fixes enable extension in EntensionManager
2015-09-01 14:58:58 +02:00
Johann Rodríguez
2e5e9f3fdc Fix enable extension in EntensionManager 2015-09-01 12:09:11 +01:00
Franz Liedke
06483dbfb1 Check MySQL version when installing on console
Related to #364.
2015-09-01 08:02:07 +02:00
Franz Liedke
3cb55fbdce Fix typehint 2015-09-01 07:49:06 +02:00
Toby Zerner
4891f2217c API: Add more locale registration APIs 2015-09-01 10:08:37 +09:30
Toby Zerner
150eef8a32 Tidy up default extension metadata 2015-09-01 10:08:37 +09:30
Toby Zerner
4ed5ff5608 Remove redundant call 2015-09-01 10:08:37 +09:30
Toby Zerner
04e711a611 Fix potential error when discussion doesn't exist
Not sure how this could be the case, but can't hurt to add the checks.
addresses #343
2015-09-01 10:08:36 +09:30
Franz Liedke
e4828f49a4 Be more consistent in case AJAX does not work 2015-08-31 22:37:04 +02:00