Commit Graph

1627 Commits

Author SHA1 Message Date
Toby Zerner
1af199654e Update dependencies 2015-09-14 18:45:49 +09:30
Toby Zerner
107dd268f5 Improve installer validation
Very rough, but works for now. The basic premise being that we need to
collect all user data before we proceed with installation.
2015-09-14 18:13:24 +09:30
Toby Zerner
c2f876b00b Prevent XML from being interpreted as PHP short tags 2015-09-14 18:12:36 +09:30
Toby Zerner
440144a23e Bump version number 2015-09-14 16:32:31 +09:30
Toby Zerner
27d020f86b Improve API error handling
- Change 'path' key to 'source.pointer', as per spec
- Add 500 error detail if debug mode is on
2015-09-14 15:40:07 +09:30
Toby Zerner
644bf4eb24 Add doctrine/dbal dependency so that migrations can rename columns 2015-09-14 15:31:05 +09:30
Toby Zerner
f2d4b0cc6c Increase text contrast
closes #390
2015-09-14 15:16:19 +09:30
Toby Zerner
cb1cdc1c08 Style disabled fields properly 2015-09-14 14:49:28 +09:30
Toby Zerner
41898f10d2 Only set XHR authorization header if token isn't empty 2015-09-14 14:49:11 +09:30
Toby Zerner
be7adf8534 Remove unused component 2015-09-14 14:48:05 +09:30
Toby Zerner
552e50074e Set cookies to be HTTP only 2015-09-14 14:40:05 +09:30
Toby Zerner
17965f2f61 Password is not necessarily required
e.g. on my LAMP setup, I sometimes use a MySQL account without a
password
2015-09-14 14:39:18 +09:30
Franz Liedke
7ab3bc1f2d Add changelog 2015-09-12 19:11:03 +02:00
Franz Liedke
a5fdba25e5 Cleanup 2015-09-11 09:16:53 +02:00
Franz Liedke
12ba8d1351 Implement more validation in installer 2015-09-11 09:16:43 +02:00
Malay Ladu
555a408f6c Add green color for online indicator on user cards
Closes #452.
2015-09-11 08:49:07 +02:00
Franz Liedke
78dbaf107e Remove pointless JSON-API action base class
Cleanup related to #118.
2015-09-09 09:04:49 +02:00
Franz Liedke
37cdc25338 Move remaining extension handling to middleware 2015-09-09 08:56:11 +02:00
Franz Liedke
afe0eeefc5 Move exception handling for Flarum exception classes to middleware
Related to #118.
2015-09-08 22:36:32 +02:00
Franz Liedke
774505299c Implement interface to serialize exceptions to JSON-API format
Related to #118
2015-09-08 22:35:39 +02:00
Toby Zerner
334d598d56 Give iframes in posts a max width 2015-09-08 11:51:36 +09:30
Toby Zerner
7c2fbb37b5 Reduce event post font size 2015-09-08 11:13:35 +09:30
Toby Zerner
86af56f472 Add more breathing room between posts and sidebar 2015-09-08 11:13:28 +09:30
Toby Zerner
26d1cb7e9f Restyle posts to be more compact, relocate controls 2015-09-08 10:29:00 +09:30
Toby Zerner
ca53a63fd8 Make unread discussion titles less overwhelming 2015-09-08 10:27:50 +09:30
Toby Zerner
76d0e7770c Add init hook as a way to effectively monkey patch constructors
Related to #246
2015-09-08 10:27:02 +09:30
Toby Zerner
54554578a3 Increase text contrast slightly 2015-09-08 10:24:20 +09:30
Toby Zerner
4a906e28ba Allow first post to be hidden/restored
Anti-spam extensions may automatically hide the first post in a
discussion, and thus we had to implement smarter permissions so
discussions with zero posts wouldn't be visible to users other than the
author/mods. This change allows those hidden posts to be restored again.
2015-09-07 16:03:45 +09:30
Toby Zerner
1ca8a27e62 Merge pull request #438 from mtotheikle/default_extension_build_script
Add a default build script for extensions
2015-09-07 11:01:33 +09:30
Toby Zerner
8d6d35268e Preliminary implementation of master API keys
Part of #205
2015-09-07 08:37:33 +09:30
Michael Williams
b2510d2481 Add a default build script for extensions 2015-09-06 09:21:04 -07:00
Toby Zerner
6cce84e8c1 Remove unused translations 2015-09-05 16:05:02 +09:30
Toby Zerner
35dfe10513 Prevent invalid LESS from crashing application
Failure is silent for now... The default LESS will compile without the
invalid customisations. Not sure if we should log an error somewhere
and display it on the admin page?

closes #400
2015-09-04 22:33:26 +09:30
Toby Zerner
aa9e867f77 Fallback to English if system-wide default_locale doesn't exist 2015-09-04 22:19:28 +09:30
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