Compare commits

..

No commits in common. "master" and "v0.1.0-beta.14" have entirely different histories.

7 changed files with 59 additions and 89 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
@ -64,7 +62,6 @@ gzip_types
image/x-icon image/x-icon
text/cache-manifest text/cache-manifest
text/css text/css
text/javascript
text/plain text/plain
text/vcard text/vcard
text/vnd.rim.location.xloc text/vnd.rim.location.xloc

View File

@ -1,58 +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)
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
- Updated constraints of core and bundled extensions for v1.0.0 stable release (https://github.com/flarum/flarum/pull/74)
## [0.1.0-beta.16](https://github.com/flarum/flarum/compare/v0.1.0-beta.15...v0.1.0-beta.16)
### Changed
- Remove list of developers and refer to https://flarum.org/team (https://github.com/flarum/flarum/pull/71)
### Fixed
- Missing image on README.md (https://github.com/flarum/flarum/pull/72)
## [0.1.0-beta.15](https://github.com/flarum/flarum/compare/v0.1.0-beta.14...v0.1.0-beta.15)
### Added
- Nicknames added to our bundled list (https://github.com/flarum/flarum/pull/70)
## [0.1.0-beta.14](https://github.com/flarum/flarum/compare/v0.1.0-beta.13...v0.1.0-beta.14) ## [0.1.0-beta.14](https://github.com/flarum/flarum/compare/v0.1.0-beta.13...v0.1.0-beta.14)
### Added ### Added

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-2020 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,8 +1,7 @@
<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://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/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/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> <a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/license.svg" alt="License"></a>
@ -18,21 +17,27 @@
* **Powerful and extensible.** Customize, extend, and integrate Flarum to suit your community. Flarums architecture is amazingly flexible, with a powerful Extension API. * **Powerful and extensible.** Customize, extend, and integrate Flarum to suit your community. Flarums architecture is amazingly flexible, with a powerful Extension API.
![screenshot](https://flarum.org/assets/img/home-screenshot.png) ![screenshot](https://flarum.org/img/screenshot.png)
## Installation ## Installation
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/). You must have SSH access to a server with **PHP 7.2+** and **MySQL 5.6+**, 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/).
## Contributing ## Contributing
Thank you for considering contributing to Flarum! Please read the **[Contributing guide](https://docs.flarum.org/contributing)** to learn how you can help. Thank you for considering contributing to Flarum! Please read the **[Contributing guide](https://flarum.org/docs/contributing.html)** 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). This repository only holds the Flarum skeleton application. Most development happens in [flarum/core](https://github.com/flarum/core).
## Security Vulnerabilities ## Security Vulnerabilities
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. 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.
## License ## License

View File

@ -10,37 +10,60 @@
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
"name": "Flarum", "name": "Franz Liedke",
"email": "info@flarum.org", "email": "franz@develophp.org"
"homepage": "https://flarum.org/team" },
{
"name": "Daniel Klabbers",
"email": "daniel@klabbers.email",
"homepage": "https://luceos.com"
},
{
"name": "David Sevilla Martin",
"email": "me+flarum@datitisev.me",
"homepage": "https://datitisev.me"
},
{
"name": "Clark Winkelmann",
"email": "clark.winkelmann@gmail.com",
"homepage": "https://clarkwinkelmann.com"
},
{
"name": "Matthew Kilgore",
"email": "matthew@kilgore.dev"
},
{
"name": "Alexander (Sasha) Skvortsov",
"email": "askvortsov@flarum.org"
} }
], ],
"support": { "support": {
"issues": "https://github.com/flarum/core/issues", "issues": "https://github.com/flarum/core/issues",
"source": "https://github.com/flarum/flarum", "source": "https://github.com/flarum/flarum",
"docs": "https://docs.flarum.org/" "docs": "https://flarum.org/docs/"
}, },
"require": { "require": {
"flarum/core": "^1.8", "flarum/core": "^0.1.0",
"flarum/approval": "*", "flarum/approval": "^0.1.0",
"flarum/bbcode": "*", "flarum/bbcode": "^0.1.0",
"flarum/emoji": "*", "flarum/emoji": "^0.1.0",
"flarum/lang-english": "*", "flarum/lang-english": "^0.1.0",
"flarum/flags": "*", "flarum/flags": "^0.1.0",
"flarum/likes": "*", "flarum/likes": "^0.1.0",
"flarum/lock": "*", "flarum/lock": "^0.1.0",
"flarum/markdown": "*", "flarum/markdown": "^0.1.0",
"flarum/mentions": "*", "flarum/mentions": "^0.1.0",
"flarum/nicknames": "*", "flarum/pusher": "^0.1.0",
"flarum/pusher": "*", "flarum/statistics": "^0.1.0",
"flarum/statistics": "*", "flarum/sticky": "^0.1.0",
"flarum/sticky": "*", "flarum/subscriptions": "^0.1.0",
"flarum/subscriptions": "*", "flarum/suspend": "^0.1.0",
"flarum/suspend": "*", "flarum/tags": "^0.1.0"
"flarum/tags": "*"
}, },
"config": { "config": {
"preferred-install": "dist", "preferred-install": "dist",
"sort-packages": true "sort-packages": true
} },
"minimum-stability": "beta",
"prefer-stable": true
} }

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" />