-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1166 from SeasideSt/Fix-1117
Fix 1117
- Loading branch information
Showing
11 changed files
with
50 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
3 changes: 2 additions & 1 deletion
3
repository/Seaside-FileSystem.package/GRPackage.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{ | ||
"name" : "GRPackage" } | ||
"name" : "GRPackage" | ||
} |
3 changes: 2 additions & 1 deletion
3
repository/Seaside-FileSystem.package/GRPlatform.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{ | ||
"name" : "GRPlatform" } | ||
"name" : "GRPlatform" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
I can be used to serve files directly from disk rather than having to load them into methods using a WAFileLibrary. | ||
|
||
It has two options: | ||
- list file directories or not (defaults to false). | ||
- the directory to serve (defaults to the image directory). | ||
|
||
Usage: | ||
|app| | ||
app := WAAdmin register: WAExternalFileLibrary at: 'myfilesondisk'. | ||
app | ||
preferenceAt: #listing put: true; | ||
preferenceAt: #directory put: '/' |
2 changes: 1 addition & 1 deletion
2
repository/Seaside-FileSystem.package/WAExternalFileLibrary.class/class/description.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
description | ||
^ 'File Directory' | ||
^ 'External File Directory' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...de-FileSystem.package/WAExternalFileLibrary.class/instance/respondForbiddenListingFor..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
handling | ||
respondForbiddenListingFor: aRequestContext | ||
aRequestContext respond: [ :response | | ||
response | ||
forbidden; | ||
nextPutAll: 'Listing not allowed' ] |
19 changes: 8 additions & 11 deletions
19
repository/Seaside-FileSystem.package/WAExternalFileLibrary.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"commentStamp" : "JohanBrichau 8/27/2019 17:02", | ||
"super" : "WARequestHandler", | ||
"category" : "Seaside-FileSystem", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "WAExternalFileLibrary", | ||
"pools" : [ | ||
], | ||
"super" : "WARequestHandler", | ||
"type" : "normal" } | ||
"type" : "normal" | ||
} |
19 changes: 8 additions & 11 deletions
19
...itory/Seaside-FileSystem.package/WAExternalFileLibraryConfiguration.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "Seaside-FileSystem", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "WAExternalFileLibraryConfiguration", | ||
"pools" : [ | ||
], | ||
"super" : "WASystemConfiguration", | ||
"type" : "normal" } | ||
"category" : "Seaside-FileSystem", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "WAExternalFileLibraryConfiguration", | ||
"type" : "normal" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
{ | ||
} | ||
{ } |