Skip to content

Commit 256af93

Browse files
committed
Fixing git problems
1 parent c4e1894 commit 256af93

File tree

5 files changed

+189
-93
lines changed

5 files changed

+189
-93
lines changed

iwsy/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
rest get Script from `/resources/ecs/iwsy.txt?v=` cat now
2020
run Script
2121
</pre>
22+
2223
</body>
2324
</html>

iwsy/resources/ecs/fileman.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
variable Content
3333
variable Home
3434
variable UserRecord
35+
variable Email
36+
variable Password
3537
variable CurrentPath
3638
variable FilePath
3739
variable Path
@@ -120,7 +122,7 @@ Show:
120122

121123
! Build the list
122124
Browser:
123-
rest get Content from `list/` cat CurrentPath
125+
rest get Content from `ulist/` cat Email can `/` cat Password cat `/` cat CurrentPath cat `?v=` cat now
124126
or begin
125127
alert `Failed to list files.`
126128
stop
@@ -222,7 +224,7 @@ SelectFile:
222224
set style `display` of Scroller to `none`
223225
set style `display` of Image to `block`
224226
put CurrentPath cat `/` cat property `name` of File into FilePath
225-
set attribute `src` of Image to `/resources/` cat FilePath
227+
set attribute `src` of Image to `/resources/` cat FilePath cat `?v=` cat now
226228
on click CloseButton go to CloseMedia
227229
set the text of URL to `/resources/` cat FilePath
228230
! highlight URL

iwsy/resources/ecs/scripted.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
put the content of ContentEditor into Content
130130
if Content is not Current
131131
begin
132-
rest post Content to `save/ecs/` cat Name
132+
rest post Content to `save/` cat Password cat `/ecs/` cat Name
133133
put Content into Current
134134
set the content of Status to `Script '` cat Name cat `' saved`
135135
fork to ResetStatus
@@ -155,7 +155,7 @@
155155
if confirm `Are you sure you want to delete '` cat Name cat `'?`
156156
begin
157157
codemirror close ContentEditor
158-
rest post to `delete/ecs/` cat Name
158+
rest post to `delete/` cat Password cat `/ecs/` cat Name
159159
set the content of Status to `Script '` cat Name cat `' deleted`
160160
set the content of NameEditor to empty
161161
put empty into Content
@@ -173,7 +173,7 @@ DoOpen:
173173
begin
174174
if confirm `Content has changed. Do you want to save it?`
175175
begin
176-
rest post Content to `save/ecs/' cat CurrentName
176+
rest post Content to `save/` cat Password cat `/ecs/' cat CurrentName
177177
codemirror attach to ContentEditor
178178
codemirror set content of ContentEditor to Content
179179
end
@@ -201,7 +201,7 @@ DoOpen:
201201
set style `display` of FileListing to `inline-block`
202202

203203
! Fill the browser with content from the server
204-
rest get Files from `list/ecs?v=` cat now
204+
rest get Files from `list/` cat Password cat `/ecs?v=` cat now
205205
put the json count of Files into FileCount
206206
put empty into Content
207207
put 0 into N

iwsy/resources/ecs/user.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ ProcessLogin:
171171
if Record is empty go to NoRecord
172172
if property `email` of Record is not EmailInput go to NoRecord
173173
put property `password` of Record into Password
174-
replace `/` with `~` in Password
175174
rest get Validated from `validate/` cat Password cat `/` cat PasswordInput
176175
if Validated is `yes`
177176
begin

0 commit comments

Comments
 (0)