Compare commits

..

36 Commits

Author SHA1 Message Date
Daniël Klabbers
4bbaae25f6
Merge pull request #92 from gomzyakov/patch-1
Fix Flarum logo in README.md
2024-06-29 21:28:45 +02:00
Alexander Gomzyakov
ecb5b6b9ab
Update README.md 2024-06-29 17:25:43 +05:00
Alexander Gomzyakov
5d98f8965b
Fix Flarum logo in README.md 2024-06-29 14:09:53 +05:00
Sami Mazouz
30bc7b40ce
chore: mark resource protection rule blocks 2024-01-02 16:03:33 +01:00
Sami Mazouz
fb04e78b1f
chore: Release v1.8.0 2023-05-20 19:23:43 +01:00
Sami Mazouz
177e6e16d0
chore: Release v1.7.0 2023-03-10 14:55:40 +01:00
Sami Mazouz
b0316baf72
chore: v1.6 changes 2022-11-15 13:23:40 +01:00
Daniël Klabbers
0be676095d v1.5 changes 2022-09-13 11:46:32 +02:00
Soobin Rho
887f9e288c
docs: update copyright year (#85)
Update copyright year from 2021 to 2022.
2022-07-25 09:05:22 +01:00
Soobin Rho
9ad5d2cb18
docs: link logo at the top with the official website (#84)
When I was reading README.md,
I clicked the logo and I expected to go to
the official website https://flarum.org/
but it didn't. So, the image is being linked
to the official website in this commit.

Signed-off-by: Soobin Rho <soobinrho@gmail.com>
2022-07-23 10:14:48 +01:00
Daniël Klabbers
151257ee7a chore: update changelog and dependencies 2022-07-13 18:44:29 +02:00
Edward Betts
bceb9cae11
chore: Correct spelling mistakes (#81) 2022-06-09 11:55:06 +01:00
Daniël Klabbers
64ca250e44 v1.3 release 2022-05-16 10:59:34 +02:00
Daniel Klabbers
4ce0568122 Release v1.2 2022-01-20 12:59:45 +01:00
David Wheatley
1b23531e8c
docs: remove TravisCI badge 2021-12-17 20:19:25 +01:00
victorelec14
20a2be9946
fix: update docs url in composer.json (#78) 2021-12-15 15:16:49 +00:00
Kalecgos1
a18c94aedc
Add text/javascript to gzip_types in .nginx.conf (#77)
Add text/javascript to gzip_types in .nginx.conf files to allow gzipping of *.js files.
2021-10-23 20:42:04 -04:00
Xiangbo Mao
bfc0693fc0
fix broken doc links in README.md (#76)
Co-authored-by: Xiang-Bo Mao <xmao@tableau.com>
2021-10-03 03:21:29 -04:00
Daniël Klabbers
dd31375264
Merge pull request #75 from flarum/jordanjay29-patch-1
Remove redundant installation info lines
2021-06-28 10:33:26 +02:00
jordanjay29
ffed65ca63
Remove redundant installation info lines
Why do we even have this ~~lever~~ line? 

Looks like a bit of oversight when we consolidated docs and updated for stable. Probably made sense at the time, now we have installation docs that we keep up to date. Remove this line to prevent confusion because it's out of date.
2021-06-27 23:59:25 -05:00
Daniël Klabbers
9c2f747f92
change security to the policy page 2021-06-10 23:10:24 +02:00
Daniel Klabbers
d5b2515f54 changelog for v1.0.0 2021-05-27 10:54:35 +02:00
Daniël Klabbers
ea8723b4f2
update constraints for stable (#74)
* update constraints for stable

* Update composer.json
2021-05-25 14:50:52 +02:00
David Wheatley
ceb7c7fcf3
Update copyright year 2021-05-15 00:43:06 +01:00
Alexander Skvortsov
46c648991c
Fix PHP reqs, mention mariadb 2021-03-16 02:37:49 -04:00
Daniel Klabbers
cd4b673d98 Release v0.1.0-beta.16 2021-03-15 16:19:04 +01:00
OrangeTurtle197
cc0046bcc1
Update README.md (#72)
fix screenshot in readme
2021-03-05 10:51:26 -05:00
Daniël Klabbers
5950779a1a
Update composer.json (#71)
update authors
2021-02-23 10:32:12 +01:00
Alexander Skvortsov
07379ba4a5
Add nicknames to new installs (#70) 2020-12-20 22:53:11 +01:00
Daniël Klabbers
5abd213039 added @askvortsov1 to composer.json 2020-10-20 16:46:50 +02:00
Daniël Klabbers
e39a512e0c changelog for v0.1.0-beta.14 2020-10-20 16:45:55 +02:00
Lucas Henrique
68110bf52e
Fix README.md logo path (#68)
Bring back Flarum logo by adding missing "/assets" segment.
2020-10-15 19:41:56 -04:00
Daniël Klabbers
e786d788ea
Update composer.json (#67)
Drop the oauth extensions, see https://github.com/flarum/core/issues/2006
2020-09-07 19:54:14 -04:00
Matt Kilgore
4ffaf91ec4
Add IIS config for easier windows setup (#66)
* Add IIS config for easier windows setup

* Use regex from .nginx.conf and comment out rule

Uses the more common regex which reduces the number of rules and also commented out for consistency with nginx and apache

* Used enabled flag for no-public restrictions

Also fixes any indentations
2020-09-04 18:33:33 -04:00
Clark Winkelmann
0ef4318913
nginx rule to prevent access to sensitive files (#65)
* nginx rule to prevent access to sensitive files
* Add a suggested rule that does the same as the suggested rule in .htaccess
* Add .git and auth.json to nginx sensitive resources
2020-06-03 08:59:10 +02:00
Alexander Skvortsov
3aeffd15aa
Latest beta now requires PHP 7.2+ 2020-05-08 11:49:45 -04:00
7 changed files with 139 additions and 57 deletions

View File

@ -3,6 +3,15 @@ location / {
try_files $uri $uri/ /index.php?$query_string;
}
# 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
@ -55,6 +64,7 @@ gzip_types
image/x-icon
text/cache-manifest
text/css
text/javascript
text/plain
text/vcard
text/vnd.rim.location.xloc

View File

@ -1,5 +1,73 @@
# 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)
### Added
- Nginx rules to prevent access to sensitive files (#65)
- IIS configuration added (#66)
### Changed
- Minimum PHP requirement is now 7.2+
### Fixed
- Logo path in readme didn't resolve correctly (#68)
### Removed
- Social auth drivers removed (#67)
## [0.1.0-beta.13](https://github.com/flarum/flarum/compare/v0.1.0-beta.12...v0.1.0-beta.13)
### Changed

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2019-2020 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

View File

@ -1,7 +1,8 @@
<p align="center"><img src="https://flarum.org/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>
@ -17,27 +18,21 @@
* **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/img/screenshot.png)
![screenshot](https://flarum.org/assets/img/home-screenshot.png)
## Installation
You must have SSH access to a server with **PHP 7.1+** 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/).
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

View File

@ -10,59 +10,37 @@
"license": "MIT",
"authors": [
{
"name": "Franz Liedke",
"email": "franz@develophp.org"
},
{
"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": "Flarum",
"email": "info@flarum.org",
"homepage": "https://flarum.org/team"
}
],
"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": "^0.1.0",
"flarum/approval": "^0.1.0",
"flarum/auth-facebook": "^0.1.0",
"flarum/auth-github": "^0.1.0",
"flarum/auth-twitter": "^0.1.0",
"flarum/bbcode": "^0.1.0",
"flarum/emoji": "^0.1.0",
"flarum/lang-english": "^0.1.0",
"flarum/flags": "^0.1.0",
"flarum/likes": "^0.1.0",
"flarum/lock": "^0.1.0",
"flarum/markdown": "^0.1.0",
"flarum/mentions": "^0.1.0",
"flarum/pusher": "^0.1.0",
"flarum/statistics": "^0.1.0",
"flarum/sticky": "^0.1.0",
"flarum/subscriptions": "^0.1.0",
"flarum/suspend": "^0.1.0",
"flarum/tags": "^0.1.0"
"flarum/core": "^1.8",
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/emoji": "*",
"flarum/lang-english": "*",
"flarum/flags": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/nicknames": "*",
"flarum/pusher": "*",
"flarum/statistics": "*",
"flarum/sticky": "*",
"flarum/subscriptions": "*",
"flarum/suspend": "*",
"flarum/tags": "*"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "beta",
"prefer-stable": true
}
}

View File

@ -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

29
public/web.config Normal file
View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Index.php" />
</files>
</defaultDocument>
<rewrite>
<rules>
<!-- Changed `enabled=` to true in the rule below if you are not using the `public` directory to
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" />
</rule>
<rule name="Handle index.php re-write" stopProcessing="true">
<match url="^" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>