Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
1f74e76d
Commit
1f74e76d
authored
Sep 28, 2011
by
Tom Needham
Browse files
Implemented ace-edtior as an app. Basic file editing and saving supported.
parent
c6f78fbe
Changes
3
Hide whitespace changes
Inline
Side-by-side
.htaccess
View file @
1f74e76d
ErrorDocument
404
//owncloud
/core/templates/404.php
ErrorDocument
404 /core/templates/404.php
<
IfModule
mod_php5.c
>
php_value upload_max_filesize 512M
php_value post_max_size 512M
SetEnv
htaccessWorking true
php_value upload_max_filesize 512M
php_value post_max_size 512M
SetEnv
htaccessWorking true
</
IfModule
>
Options
-Indexes
files/js/fileactions.js
View file @
1f74e76d
...
...
@@ -135,6 +135,9 @@ FileActions.register('all','Delete',function(){return OC.imagePath('core','actio
FileActions
.
register
(
'
all
'
,
'
Rename
'
,
function
(){
return
OC
.
imagePath
(
'
core
'
,
'
actions/rename
'
)},
function
(
filename
){
FileList
.
rename
(
filename
);
});
FileActions
.
register
(
'
text
'
,
'
Edit
'
,
function
(){
return
OC
.
imagePath
(
'
core
'
,
'
actions/rename
'
)},
function
(
filename
){
window
.
location
=
'
/apps/editor/index.php?file=
'
+
filename
+
'
&dir=
'
+
$
(
'
#dir
'
).
val
();
});
//FileActions.setDefault('all','Download');
...
...
@@ -142,4 +145,4 @@ FileActions.register('dir','Open','',function(filename){
window
.
location
=
'
index.php?dir=
'
+
$
(
'
#dir
'
).
val
()
+
'
/
'
+
filename
;
});
FileActions
.
setDefault
(
'
dir
'
,
'
Open
'
);
FileActions
.
setDefault
(
'
dir
'
,
'
Open
'
);
lib/filesystem.php
View file @
1f74e76d
...
...
@@ -441,6 +441,10 @@ class OC_Filesystem{
return
$files
;
}
static
public
function
update_session_file_hash
(
$sessionname
,
$sessionvalue
){
$_SESSION
[
$sessionname
]
=
$sessionvalue
;
}
/**
* abstraction for running most basic operations
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment