Skip to content

Commit

Permalink
Finish 5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlaefer committed Jan 3, 2020
2 parents e849bf1 + da19361 commit 44b1526
Show file tree
Hide file tree
Showing 128 changed files with 3,260 additions and 4,233 deletions.
56 changes: 55 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,64 @@
# Change-Log

-New
-Added
- ✓ Fixed
- Δ Changed
- − Removed

## [Next]

- [Full commit-log](https://github.com/Schlaefer/Saito/compare/5.6.0...<next>)
- [Download release-zip](https://github.com/Schlaefer/Saito/releases/download/<next>/saito-release-master-<next>.zip)

### Changes

### Update Notes

## [5.6.0]

- [Full commit-log](https://github.com/Schlaefer/Saito/compare/5.5.0...5.6.0)
- [Download release-zip](https://github.com/Schlaefer/Saito/releases/download/<next>/saito-release-master-5.6.0.zip)

### Changes

- + Adds permission `saito.core.posting.solves.set` for marking a posting as solution/helpful (defaults to thread creator).
- + Improves compatibility with PHP 7.3
- + Improves browser detection for changes in the Bota theme CSS
- + Improves logging of unauthorized access
- ✓ Deleting a bookmark creates an empty area above the bookmarks
- ✓ User roles with ID greater than 3 can't be assigned to category access control
- ✓ Fixes link to default favicon if installed in subdirectory
- Δ Adds "Saito" prefix to CSRF-cookie name
- Δ Moves layout for viewing a posting and answering from center to the left
- Δ Updates Saito default favicon
- − Removes visiblity description for category in category-title hover
- Search:
- ✓ Internal error on simple search when results are sorted by rank
- ✓ Internal error if search term contains multiple whitespaces
- Improves dark theme:
- ✓ Drop down menus aren't styled
- ✓ Code inserts aren't styled
- Δ Exchanges dark and light distinction between background and form areas
- Δ Darkens border and dividiers
- Uploader:
- + Adds filter options
- + Performance improvements for users with many (100+) uploads
- + Adds permission `saito.plugin.uploader.view` for viewing uploads (defaults to upload owner and group `admin`).
- + Adds permission `saito.plugin.uploader.add` for uploading new files (defaults to profile owner).
- + Adds permission `saito.plugin.uploader.delete` for deleting uploads (defaults to upload owner and group `admin`).
- + Adds "audio/ogg" and "audio/opus" to default allowed mime-types
- ✓ Wrong error message is shown if no file was received on the server
- Δ Layout improvements
- Internal code changes:
- + Minor changes for improved theming support
- Δ Refactors creation, update and validation of postings
- Δ Updates PHP and Javascript libraries
- Δ Entries::Table throws RecordNotFoundException instead of returning null
- Δ Update Apcu version in docker container to 5.1.18
- Δ Drafts for new threads are stored with a `pid` of `0` instead of `NULL`
- − Removes SaitoValidationProvider::validateAssoc with CakePHP build-in facility
- − Removes abandonded Selenium test files

## [5.5.0] - 2019-11-16

- [Full commit-log](https://github.com/Schlaefer/Saito/compare/5.4.1...5.5.0)
Expand Down
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<include name="CHANGELOG.md"/>
<include name="README.md"/>
<exclude name="**/css/src/**"/>
<exclude name="plugins/*/dev/**"/>
<exclude name="plugins/*/tests/**"/>
</fileset>

Expand Down
19 changes: 11 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"forum": "http://saito.siezi.com/forum/"
}
},
"config": {
"discard-changes": true
},
"require": {
"php": ">=7.2",
"cakephp/cakephp": "3.8.*",
Expand All @@ -25,7 +28,7 @@
"markstory/geshi": "^3",
"siezi/cakephp-simple-captcha": "*",
"yzalis/identicon": "*",
"league/commonmark": "^0.17.5",
"league/commonmark": "^1.0",
"suin/php-rss-writer": "^1.6",
"friendsofcake/bootstrap-ui": "dev-develop",
"friendsofcake/search": "^4.4",
Expand Down Expand Up @@ -97,10 +100,10 @@
"post-create-project-cmd": "App\\Console\\Installer::postInstall",
"post-autoload-dump": "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump",

"cs-check": "phpcs --runtime-set ignore_warnings_on_exit true",
"cs-fix": "phpcbf > /dev/null || true",
"php-check": ["@phpstan", "@cs-fix", "@cs-check"],
"phpstan": "vendor/bin/phpstan analyse --ansi",
"cs-check": "unset XDEBUG_CONFIG; phpcs --runtime-set ignore_warnings_on_exit true",
"cs-fix": "unset XDEBUG_CONFIG; phpcbf > /dev/null || true",
"check": ["@cs-fix", "@cs-check"],
"phpstan": "unset XDEBUG_CONFIG; vendor/bin/phpstan analyse --ansi",
"coverage": [
"Composer\\Config::disableProcessTimeout",
"unset XDEBUG_CONFIG; composer phpunit -- --coverage-html docs/local/"
Expand All @@ -111,12 +114,12 @@
],
"phpunit": [
"Composer\\Config::disableProcessTimeout",
"phpunit --colors=always"
"unset XDEBUG_CONFIG; phpunit --colors=always"
],
"test": [
"unset XDEBUG_CONFIG",
"@phpunit",
"@php-check"
"@phpstan",
"@check"
],

"js-all": "yarn run test",
Expand Down
Loading

0 comments on commit 44b1526

Please sign in to comment.