Skip to content

Commit

Permalink
Update composer configuration to allow use with Craft v5
Browse files Browse the repository at this point in the history
  • Loading branch information
tikiatua committed Apr 21, 2024
1 parent 7094b74 commit 6c4f65e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 4.1.2 - 2024-04-21
## Changed
- Updated composer.json to allow use with Craft v5 (tested on 5.0.4)

## 4.1.1 - 2023-03-27
## Changed
- Use Content-Dispositon inline for pdfs, images and videos to open the respective
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Ramon Saccilotto
Copyright (c) 2024 Ramon Saccilotto

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "saccilottoconsulting/craft-internal-assets",
"description": "A simple plugin to restrict access to assets for permitted users only. Access to a given asset is only granted if the user has view-permissions for the given source (this can be set in the user- or group-settings). The asset source folder should be moved out of the web root folder so the files are never accessible without this plugin.",
"type": "craft-plugin",
"version": "4.1.1",
"version": "4.1.2",
"keywords": [
"craft",
"cms",
"craftcms",
"craft-plugin",
"assets",
"access restriction"
"access restriction"
],
"support": {
"docs": "https://github.com/tikiatua/internal-assets/blob/master/README.md",
Expand All @@ -24,12 +24,12 @@
}
],
"require": {
"craftcms/cms": "^4.0",
"craftcms/cms": "^4.0|^5.0",
"php": "^8.0"
},
"autoload": {
"psr-4": {
"saccilottoconsulting\\internalassets\\": "src/"
"saccilottoconsulting\\internalassets\\": "src/"
}
},
"extra": {
Expand All @@ -39,4 +39,4 @@
"hasCpSection": false,
"changelogUrl": "https://raw.githubusercontent.com/tikiatua/internal-assets/master/CHANGELOG.md"
}
}
}

0 comments on commit 6c4f65e

Please sign in to comment.