Compare commits

..

No commits in common. "master" and "v1.3.0" have entirely different histories.

7 changed files with 4 additions and 33 deletions

View File

@ -5,12 +5,10 @@ location / {
# Uncomment the following lines if you are not using a `public` directory # Uncomment the following lines if you are not using a `public` directory
# to prevent sensitive resources from being exposed. # to prevent sensitive resources from being exposed.
# <!-- BEGIN EXPOSED RESOURCES PROTECTION -->
# location ~* ^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor) { # location ~* ^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor) {
# deny all; # deny all;
# return 404; # return 404;
# } # }
# <!-- END EXPOSED RESOURCES PROTECTION -->
# The following directives are based on best practices from H5BP Nginx Server Configs # The following directives are based on best practices from H5BP Nginx Server Configs
# https://github.com/h5bp/server-configs-nginx # https://github.com/h5bp/server-configs-nginx

View File

@ -1,28 +1,5 @@
# Changelog # 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) ## [1.3.0](https://github.com/flarum/flarum/compare/v1.2.0...v1.3.0)
No changes. No changes.

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2019-2022 Stichting Flarum (Flarum Foundation) Copyright (c) 2019-2021 Stichting Flarum (Flarum Foundation)
Copyright (c) 2014-2019 Toby Zerner (toby.zerner@gmail.com) Copyright (c) 2014-2019 Toby Zerner (toby.zerner@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@ -1,6 +1,4 @@
<p align="center"> <p align="center"><img src="https://flarum.org/assets/img/logo.png"></p>
<a href="https://flarum.org/"><img src="https://flarum.org/images/flarum.svg"></a>
</p>
<p align="center"> <p align="center">
<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/d/total.svg" alt="Total Downloads"></a>

View File

@ -21,7 +21,7 @@
"docs": "https://docs.flarum.org/" "docs": "https://docs.flarum.org/"
}, },
"require": { "require": {
"flarum/core": "^1.8", "flarum/core": "^1.3",
"flarum/approval": "*", "flarum/approval": "*",
"flarum/bbcode": "*", "flarum/bbcode": "*",
"flarum/emoji": "*", "flarum/emoji": "*",

View File

@ -6,7 +6,6 @@
# Uncomment the following lines if you are not using a `public` directory # Uncomment the following lines if you are not using a `public` directory
# to prevent sensitive resources from being exposed. # to prevent sensitive resources from being exposed.
# <!-- BEGIN EXPOSED RESOURCES PROTECTION -->
# RewriteRule /\.git / [F,L] # RewriteRule /\.git / [F,L]
# RewriteRule ^auth\.json$ / [F,L] # RewriteRule ^auth\.json$ / [F,L]
# RewriteRule ^composer\.(lock|json)$ / [F,L] # RewriteRule ^composer\.(lock|json)$ / [F,L]
@ -14,7 +13,6 @@
# RewriteRule ^flarum$ / [F,L] # RewriteRule ^flarum$ / [F,L]
# RewriteRule ^storage/(.*)?$ / [F,L] # RewriteRule ^storage/(.*)?$ / [F,L]
# RewriteRule ^vendor/(.*)?$ / [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 # Pass requests that don't refer directly to files in the filesystem to index.php
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f

View File

@ -10,7 +10,7 @@
<rewrite> <rewrite>
<rules> <rules>
<!-- Changed `enabled=` to true in the rule below if you are not using the `public` directory to <!-- Changed `enabled=` to true in the rule below if you are not using the `public` directory to
prevent sensitive resources from being exposed --> prevent sensitve resources from being exposed -->
<rule name="Disallow sensitive directories" enabled="false" stopProcessing="true"> <rule name="Disallow sensitive directories" enabled="false" stopProcessing="true">
<match url="^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor)" ignoreCase="false" /> <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" /> <action type="CustomResponse" url="/" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />