mirror of https://github.com/flarum/flarum
Compare commits
21 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
4bbaae25f6 | |
![]() |
ecb5b6b9ab | |
![]() |
5d98f8965b | |
![]() |
30bc7b40ce | |
![]() |
fb04e78b1f | |
![]() |
177e6e16d0 | |
![]() |
b0316baf72 | |
![]() |
0be676095d | |
![]() |
887f9e288c | |
![]() |
9ad5d2cb18 | |
![]() |
151257ee7a | |
![]() |
bceb9cae11 | |
![]() |
64ca250e44 | |
![]() |
4ce0568122 | |
![]() |
1b23531e8c | |
![]() |
20a2be9946 | |
![]() |
a18c94aedc | |
![]() |
bfc0693fc0 | |
![]() |
dd31375264 | |
![]() |
ffed65ca63 | |
![]() |
9c2f747f92 |
|
@ -5,10 +5,12 @@ location / {
|
|||
|
||||
# Uncomment the following lines if you are not using a `public` directory
|
||||
# to prevent sensitive resources from being exposed.
|
||||
# <!-- BEGIN EXPOSED RESOURCES PROTECTION -->
|
||||
# location ~* ^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor) {
|
||||
# deny all;
|
||||
# return 404;
|
||||
# }
|
||||
# <!-- END EXPOSED RESOURCES PROTECTION -->
|
||||
|
||||
# The following directives are based on best practices from H5BP Nginx Server Configs
|
||||
# https://github.com/h5bp/server-configs-nginx
|
||||
|
@ -62,6 +64,7 @@ gzip_types
|
|||
image/x-icon
|
||||
text/cache-manifest
|
||||
text/css
|
||||
text/javascript
|
||||
text/plain
|
||||
text/vcard
|
||||
text/vnd.rim.location.xloc
|
||||
|
|
35
CHANGELOG.md
35
CHANGELOG.md
|
@ -1,5 +1,40 @@
|
|||
# Changelog
|
||||
|
||||
## [1.8.0](https://github.com/flarum/flarum/compare/v1.7.0...v1.8.0)
|
||||
|
||||
No changes.
|
||||
|
||||
## [1.7.0](https://github.com/flarum/flarum/compare/v1.6.0...v1.7.0)
|
||||
|
||||
No changes.
|
||||
|
||||
## [1.6.0](https://github.com/flarum/flarum/compare/v1.5.0...v1.6.0)
|
||||
|
||||
No changes.
|
||||
|
||||
## [1.5.0](https://github.com/flarum/flarum/compare/v1.4.0...v1.5.0)
|
||||
|
||||
### Changed
|
||||
|
||||
- Update copyright [#85]
|
||||
- Link logo to official website [#84]
|
||||
|
||||
## [1.4.0](https://github.com/flarum/flarum/compare/v1.3.0...v1.4.0)
|
||||
|
||||
No changes.
|
||||
|
||||
## [1.3.0](https://github.com/flarum/flarum/compare/v1.2.0...v1.3.0)
|
||||
|
||||
No changes.
|
||||
|
||||
## [1.2.0](https://github.com/flarum/flarum/compare/v1.1.0...v1.2.0)
|
||||
|
||||
No changes.
|
||||
|
||||
## [1.1.0](https://github.com/flarum/flarum/compare/v1.0.0...v1.1.0)
|
||||
|
||||
No changes.
|
||||
|
||||
## [1.0.0](https://github.com/flarum/flarum/compare/v0.1.0-beta.16...v1.0.0)
|
||||
|
||||
### Changed
|
||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019-2021 Stichting Flarum (Flarum Foundation)
|
||||
Copyright (c) 2019-2022 Stichting Flarum (Flarum Foundation)
|
||||
Copyright (c) 2014-2019 Toby Zerner (toby.zerner@gmail.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
|
17
README.md
17
README.md
|
@ -1,7 +1,8 @@
|
|||
<p align="center"><img src="https://flarum.org/assets/img/logo.png"></p>
|
||||
<p align="center">
|
||||
<a href="https://flarum.org/"><img src="https://flarum.org/images/flarum.svg"></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/flarum/core"><img src="https://travis-ci.org/flarum/core.svg" alt="Build Status"></a>
|
||||
<a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/d/total.svg" alt="Total Downloads"></a>
|
||||
<a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/v/stable.svg" alt="Latest Stable Version"></a>
|
||||
<a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/license.svg" alt="License"></a>
|
||||
|
@ -21,23 +22,17 @@
|
|||
|
||||
## Installation
|
||||
|
||||
You must have SSH access to a server with **PHP 7.3+** and **MySQL 5.6+** or **MariaDB 10.0.5+**, and install [Composer](https://getcomposer.org/).
|
||||
|
||||
```
|
||||
composer create-project flarum/flarum . --stability=beta
|
||||
```
|
||||
|
||||
Read the **[Installation guide](https://flarum.org/docs/install.html)** for more information. For support, refer to the [documentation](https://flarum.org/docs/), and ask questions on the [community forum](https://discuss.flarum.org/) or [Discord chat](https://flarum.org/discord/).
|
||||
Read the **[Installation guide](https://docs.flarum.org/install)** to get started. For support, refer to the [documentation](https://docs.flarum.org/), and ask questions on the [community forum](https://discuss.flarum.org/) or [Discord chat](https://flarum.org/discord/).
|
||||
|
||||
## Contributing
|
||||
|
||||
Thank you for considering contributing to Flarum! Please read the **[Contributing guide](https://flarum.org/docs/contributing.html)** to learn how you can help.
|
||||
Thank you for considering contributing to Flarum! Please read the **[Contributing guide](https://docs.flarum.org/contributing)** to learn how you can help.
|
||||
|
||||
This repository only holds the Flarum skeleton application. Most development happens in [flarum/core](https://github.com/flarum/core).
|
||||
|
||||
## Security Vulnerabilities
|
||||
|
||||
If you discover a security vulnerability within Flarum, please send an e-mail to [security@flarum.org](mailto:security@flarum.org). All security vulnerabilities will be promptly addressed.
|
||||
If you discover a security vulnerability within Flarum, please follow our [security policy](https://github.com/flarum/core/security/policy) so we can address it promptly.
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
"support": {
|
||||
"issues": "https://github.com/flarum/core/issues",
|
||||
"source": "https://github.com/flarum/flarum",
|
||||
"docs": "https://flarum.org/docs/"
|
||||
"docs": "https://docs.flarum.org/"
|
||||
},
|
||||
"require": {
|
||||
"flarum/core": "^1.0",
|
||||
"flarum/core": "^1.8",
|
||||
"flarum/approval": "*",
|
||||
"flarum/bbcode": "*",
|
||||
"flarum/emoji": "*",
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
# Uncomment the following lines if you are not using a `public` directory
|
||||
# to prevent sensitive resources from being exposed.
|
||||
# <!-- BEGIN EXPOSED RESOURCES PROTECTION -->
|
||||
# RewriteRule /\.git / [F,L]
|
||||
# RewriteRule ^auth\.json$ / [F,L]
|
||||
# RewriteRule ^composer\.(lock|json)$ / [F,L]
|
||||
|
@ -13,6 +14,7 @@
|
|||
# RewriteRule ^flarum$ / [F,L]
|
||||
# RewriteRule ^storage/(.*)?$ / [F,L]
|
||||
# RewriteRule ^vendor/(.*)?$ / [F,L]
|
||||
# <!-- END EXPOSED RESOURCES PROTECTION -->
|
||||
|
||||
# Pass requests that don't refer directly to files in the filesystem to index.php
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<rewrite>
|
||||
<rules>
|
||||
<!-- Changed `enabled=` to true in the rule below if you are not using the `public` directory to
|
||||
prevent sensitve resources from being exposed -->
|
||||
prevent sensitive resources from being exposed -->
|
||||
<rule name="Disallow sensitive directories" enabled="false" stopProcessing="true">
|
||||
<match url="^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor)" ignoreCase="false" />
|
||||
<action type="CustomResponse" url="/" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
|
||||
|
|
Loading…
Reference in New Issue