Toby Zerner
bcc16a3329
Add target="_blank" and rel="nofollow" to all formatted links
...
closes #247
2015-08-31 13:36:54 +09:30
Toby Zerner
283abb88c2
Fix reply composer preview button
...
closes #238
2015-08-31 13:27:04 +09:30
Toby Zerner
af2307868a
Fix JavaScript style
2015-08-31 13:19:51 +09:30
Toby Zerner
f9d724738c
Add syntax highlighting for code blocks
...
We might consider extracting this into an extension, but TextFormatter
does syntax highlighting for code blocks by default in live previews
anyway.
closes #248
2015-08-31 13:17:16 +09:30
Toby Zerner
42e722d824
Fix incorrect translation output
...
app.trans returns a VirtualElement, so there's no need to wrap it in
m.trust.
closes #237
2015-08-31 12:41:36 +09:30
Toby Zerner
f5517fbd88
Validate password length
...
We can't do this using the ValidatesBeforeSave trait because the
password has been hashed by then. Instead, we must validate the
original password as it comes in.
2015-08-31 12:38:15 +09:30
Toby Zerner
6a0e3fcf2d
Validate post length to prevent truncation
...
closes #235
2015-08-31 12:36:19 +09:30
Toby Zerner
0ae2d18f28
Extract base Page class
2015-08-31 12:05:33 +09:30
Toby Zerner
0474f410a4
Refactor start/endComputation into lazyRedraw method
2015-08-31 12:04:51 +09:30
Toby Zerner
9f28b4e8dc
Require extensions directory to be writable
2015-08-31 11:22:57 +09:30
Toby Zerner
f44e9f5140
Remove <script> tags from plain post content
...
closes #362
2015-08-31 10:49:24 +09:30
Franz Liedke
3e14ef0714
Fix last commit
2015-08-30 15:02:48 +02:00
Franz Liedke
c999226449
Travis: Use Composer scripts
2015-08-30 15:00:01 +02:00
Franz Liedke
ba097dc147
Add Composer scripts
2015-08-30 14:59:10 +02:00
Franz Liedke
1d1cc9e443
Fix asset URL generation
...
This is important when Flarum is deployed in a subfolder.
Closes #291 .
2015-08-29 22:38:31 +02:00
Franz Liedke
f5d2d2ff79
Installer: Check for openssl extension
...
Closes #296 .
2015-08-29 22:07:50 +02:00
Franz Liedke
a04acca92e
Allow Ctrl key for submitting posts, too
...
Closes #276 .
2015-08-29 17:09:14 +02:00
Toby Zerner
4033319ed0
Merge pull request #338 from lbausch/discussion_validation
...
Add validation to limit discussion title length
2015-08-29 18:58:42 +09:30
Lorenz Bausch
a4fe6f3ce3
limit max title length to 80 characters
2015-08-29 11:26:18 +02:00
Lorenz Bausch
ae06b45bc1
remove executable flag from file
2015-08-29 11:23:05 +02:00
Toby Zerner
be33761950
Include the extension stub's .gitignore file
2015-08-29 18:29:33 +09:30
Toby Zerner
015aaaa899
Add CONTRIBUTING
...
(copied from flarum/flarum)
2015-08-29 18:29:19 +09:30
Toby Zerner
67f6b8599d
Allow string primitives to be added to ItemLists
2015-08-29 15:25:36 +09:30
Toby Zerner
12d5e48b95
Add helpful hint on how to upgrade PHP
2015-08-29 14:44:55 +09:30
Toby Zerner
a41e3e66ce
Merge pull request #299 from huytd/fix-wordwrap
...
Fix text overlap in search result with long content
2015-08-29 08:31:37 +09:30
Huy Tran
874c023f8a
Fix text overlap in search result with long content
2015-08-28 15:18:17 -07:00
Toby Zerner
bb3c57f9a4
Fix default database name
2015-08-28 14:53:01 +09:30
Toby Zerner
98a79e957d
Merge pull request #278 from huytd/https-web-font
...
Make Google Web Font work on both HTTP and HTTPS
2015-08-28 12:50:12 +09:30
Huy Tran
cf68c95fb8
Make Google Web Font work on both HTTP and HTTPS
2015-08-27 20:17:42 -07:00
Toby Zerner
d5074c5286
Use gd as the image driver
...
Presumably gd is more common than imagick, and we already check for it
during installation.
2015-08-28 05:41:25 +09:30
Toby Zerner
41019597d0
Require the PHP DOM extension
2015-08-28 05:30:27 +09:30
Toby Zerner
b689c9de3b
Allow non-admins to reset their password
...
The EditUser command requires the actor to have the "edit" permission,
which is only granted to admins. We don't want to allow users to change
their own password via the API, though. So instead of dispatching the
command, we'll just update the user's password directly in the action.
2015-08-28 03:38:55 +09:30
Toby Zerner
baed659668
Fix reset password error
2015-08-28 02:16:28 +09:30
Toby Zerner
268b041da2
Fix incorrect chmod instruction
2015-08-27 21:51:36 +09:30
Toby Zerner
7d9527e5a0
Check to make sure directories are writable
2015-08-27 21:45:02 +09:30
Toby Zerner
a289884f7c
Fix typo causing bundled extensions to not be enabled
2015-08-27 21:28:15 +09:30
Toby Zerner
822b31468a
Check some more extension requirements
2015-08-27 20:37:20 +09:30
Toby Zerner
d050a7775f
Don't enable the Pusher extension by default
2015-08-27 20:11:14 +09:30
Toby Zerner
5c5be89928
Check some requirements before installation
2015-08-27 20:11:06 +09:30
Toby Zerner
376031fdf5
Update links and remove license file extension
2015-08-27 19:56:37 +09:30
Franz Liedke
75a77e437c
Fix installer link to Flarum website
2015-08-27 11:37:49 +02:00
Toby Zerner
d352c49e29
Reorganise dashboard help text
2015-08-27 10:59:50 +09:30
Toby Zerner
2820ae8ac7
User lighter default theme color
2015-08-27 10:51:14 +09:30
Toby Zerner
498aac5b76
Import admin "log out" translation
2015-08-27 10:50:57 +09:30
Toby Zerner
b0db7bf751
Polish admin dashboard
2015-08-27 10:50:15 +09:30
Franz Liedke
559110a83f
Coding standards
2015-08-27 01:40:18 +02:00
Franz Liedke
c0030dc98a
Revert PATH_INFO magic
2015-08-27 01:31:28 +02:00
Toby Zerner
690df87ad0
Make sure search input has a background when focused
2015-08-27 08:47:06 +09:30
Toby Zerner
3e4a8fe769
Collapse search input on tablets. closes flarum/core#162
...
While this solution isn't perfect (perhaps a search icon which opens a
dropdown would be better, like Discourse does) - it'll do for now :)
2015-08-27 08:34:19 +09:30
Franz Liedke
3b2a0697e2
Fix config retrieval
2015-08-27 00:58:56 +02:00