Toby Zerner
4705600d47
Fix typehint
2015-09-04 12:23:27 +09:30
Toby Zerner
8423de754c
Fix bad query in isVisibleTo
2015-09-04 12:23:17 +09:30
Toby Zerner
b597e6f8f6
Don't load a custom relation if the relation is already loaded
2015-09-04 12:22:49 +09:30
Toby Zerner
276334ec52
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
9277fca0ec
Slightly darken light grey text
2015-09-04 12:19:20 +09:30
Toby Zerner
9ca67635fb
Remove unused translations
2015-09-04 12:19:09 +09:30
Toby Zerner
7a6c48c30b
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
f0186d7674
API: Add typehints
2015-09-04 12:18:09 +09:30
Toby Zerner
9bf6862c6d
Clean up Post CSS
2015-09-04 12:17:30 +09:30
Toby Zerner
44f460cb11
Prevent ItemList crash when item is a number
2015-09-04 12:17:01 +09:30
Toby Zerner
7cce5b02ba
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
722058f2fb
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
70815b024a
Make Dropdown and NotificationsDropdown components more extensible
2015-09-04 12:15:11 +09:30
Toby Zerner
7269385786
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
2f8a449b74
Simplify notification markup
2015-09-04 12:12:48 +09:30
Toby Zerner
b3aa0298d5
Fix use of "new" keyword making eslint angry
2015-09-04 12:12:21 +09:30
Toby Zerner
e192402a42
Add item priorities
2015-09-04 12:11:45 +09:30
Toby Zerner
c81ceafb54
Clean up editorconfig, eslint, npm dependencies
2015-09-04 12:11:34 +09:30
Toby Zerner
93b6f11484
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
0413daab74
call to $this-> assertValidPassword from static context
2015-09-04 00:00:24 +02:00
Franz Liedke
f0c240f863
Add a first empty state to the discussion list
2015-09-03 09:59:33 +02:00
Franz Liedke
21dd516eaa
Fix code style issues
2015-09-03 08:48:26 +02:00
Franz Liedke
3c9d851889
Check prerequisites in console installer, too
2015-09-03 08:42:16 +02:00
Franz Liedke
942db77416
Extract installation prerequisites into composable classes and use those in the web-based installer
2015-09-03 08:23:34 +02:00
Anton
04db806995
Update RouteCollection.php
2015-09-02 19:22:40 +03:00
Anton
f3bc7d1c23
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
bd47653377
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
07ed4d10c0
Allow support for passing extra signup data to API
2015-09-01 07:58:14 -07:00
Franz Liedke
25141c0f2f
Merge pull request #402 from johannsa/master
...
Fixes enable extension in EntensionManager
2015-09-01 14:58:58 +02:00
Johann Rodríguez
e35bb9e400
Fix enable extension in EntensionManager
2015-09-01 12:09:11 +01:00
Franz Liedke
753a846e7a
Check MySQL version when installing on console
...
Related to #364 .
2015-09-01 08:02:07 +02:00
Franz Liedke
d3e57d77b4
Fix typehint
2015-09-01 07:49:06 +02:00
Toby Zerner
6e0bffe395
API: Add more locale registration APIs
2015-09-01 10:08:37 +09:30
Toby Zerner
eec4e97d65
Tidy up default extension metadata
2015-09-01 10:08:37 +09:30
Toby Zerner
bf83b36882
Remove redundant call
2015-09-01 10:08:37 +09:30
Toby Zerner
6aafe54ee7
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
c91f8de1f5
Be more consistent in case AJAX does not work
2015-08-31 22:37:04 +02:00
Franz Liedke
5783dbe77b
Try to fix Safari bug during installation
2015-08-31 22:35:12 +02:00
Franz Liedke
ab496eb8f8
Merge pull request #387 from rodymol123/master
...
Align select input properly
2015-08-31 22:04:46 +02:00
Rody Molenaar
6f13a246db
Align select
2015-08-31 21:57:43 +02:00
Franz Liedke
4c34d0867d
Add field for table prefix in web installer
...
Related to #269 .
2015-08-31 09:10:27 +02:00
Toby Zerner
f2a3a0cb10
Require the PHP fileinfo extension
...
It's required for the intervention/image package
2015-08-31 15:29:20 +09:30
Toby Zerner
5b7527144c
Permit trailing slashes in discussion/user URLs
...
closes #334
2015-08-31 14:43:42 +09:30
Toby Zerner
6c169499b5
Only migrate enabled extensions when upgrading
...
Also remove the Extension::install() and Extension::uninstall()
methods, because they add nothing that can't be done with migrations.
2015-08-31 14:35:52 +09:30
Toby Zerner
5e22458014
Installer: Prevent crash when views directory is not writable
...
Use plain PHP templates instead of Blade templates so there is nothing
that needs to be written.
closes #376
2015-08-31 14:25:16 +09:30
Toby Zerner
c72bdc8238
Fix Laravel 5.1 compat
...
closes #307
2015-08-31 14:07:11 +09:30
Toby Zerner
2438bbfd41
Reload post if user relationship isn't loaded
...
May fix #295 , but haven't been able to reproduce/test.
2015-08-31 14:03:08 +09:30
Toby Zerner
5af5f1fc77
Properly style modal title bar on mobile
...
closes #286
2015-08-31 13:46:59 +09:30
Toby Zerner
e7f4e5060c
Use GroupBadge component to display user badges
...
closes #277
2015-08-31 13:44:05 +09:30
Toby Zerner
bcc16a3329
Add target="_blank" and rel="nofollow" to all formatted links
...
closes #247
2015-08-31 13:36:54 +09:30