Vincent Petry
0be9de5df5
Files, trashbin, public apps use ajax/JSON for the file list
Files app:
- removed file list template, now rendering list from JSON response
- FileList.addFile/addDir is now FileList.add() and takes a JS map with all required
arguments instead of having a long number of function arguments
- added unit tests for many FileList operations
- fixed newfile.php, newfolder.php and rename.php to return the file's
full JSON on success
- removed obsolete/unused undo code
- removed download_url / loading options, now using
Files.getDownloadUrl() for that
- server side now uses Helper::getFileInfo() to prepare file JSON response
- previews are now client-side only
Breadcrumbs are now JS only:
- Added BreadCrumb class to handle breadcrumb rendering and events
- Added unit test for BreadCrumb class
- Moved all relevant JS functions to the BreadCrumb class
Public page now uses ajax to load the file list:
- Added Helper class in sharing app to make it easier to authenticate
and retrieve the file's real path
- Added ajax/list.php to retrieve the file list
- Fixed FileActions and FileList to work with the ajax list
Core:
- Fixed file picker dialog to use the same list format as files app
10 년 전
Georg Ehrke
c5742520e1
don't urldecode get var, php does this automatically
10 년 전
Thomas Müller
23a4d0d44e
OC_Util::setupFS($user) will create a data dir for the given string - no matter if the user really exists - OCP\JSON::checkUserExists($owner); introduces a ready to use check which will bail out with an JSON error
10 년 전
Georg Ehrke
c90e3e4f5b
fix preview for reshared file
10 년 전
Bjoern Schiessle
aee7781f22
fix public preview creation if a user ios logged in
10 년 전
Georg Ehrke
d9e8ebabdc
outsource sharing and deleted files previews to apps
11 년 전
Thomas Mueller
162a2c0fba
moving sharing email code to core
11 년 전
Thomas Mueller
45074d5023
restoring feature to send sharing link via email
11 년 전
Sam Tuke
8b01286a5d
Merged branch 'master'
11 년 전
Michael Gapczynski
c53310e49b
Remove unnecessary ajax file from files_sharing
12 년 전
Michael Gapczynski
25d474579a
Removing most of files_sharing, the Share API implemented the majority of it
12 년 전
Michael Gapczynski
b9bd54bd98
Add additional error handling for emailing private links
12 년 전
Michael Gapczynski
7d17c59a51
Fix group detection for sharing in case username contains '@', fix for oc-1270
12 년 전
Michael Gapczynski
5262cde6a6
Add additional error handling for emailing private links
12 년 전
Michael Gapczynski
df9f5b902a
Fix group detection for sharing in case username contains '@', fix for oc-1270
12 년 전
Lukas Reschke
38271ded75
Added CSRF checks
12 년 전
Arthur Schiwon
0bd7d14b7a
Sharing: offer an option to allow sharing with everyone, i.e. do not check group memberships
12 년 전
Michael Gapczynski
7b2ec41477
Revert santizing toaddress, because PHPMailer now throws exceptions
Conflicts:
apps/files_sharing/ajax/email.php
12 년 전
Michael Gapczynski
ebcf5bce3c
Sanitize toaddress for emailing private links
Conflicts:
apps/files_sharing/ajax/email.php
12 년 전
Michael Gapczynski
91a15bae76
Revert santizing toaddress, because PHPMailer now throws exceptions
12 년 전
Michael Gapczynski
7077678f7f
Sanitize toaddress for emailing private links
12 년 전
Jörn Friedrich Dreyer
e59a1806cf
remove superfluous ?> at the end of .php files (left out apps/*/templates)
12 년 전
Lukas Reschke
04a0755fd3
CSRF checks
12 년 전
Frank Karlitschek
d4ea853fcf
use our own serverHost call so that ownCloud works with reverse proxy servers
12 년 전
Frank Karlitschek
5d425a9f79
use our own serverHost call so that ownCloud works with reverse proxy servers
12 년 전
Frank Karlitschek
c79a529edd
remove not needed includes
12 년 전
Michael Gapczynski
7b92c27777
Check if a file is encrypted before sharing (encrypted files cannot be shared)
12 년 전
Michael Gapczynski
a3b06e9658
Check if a private link points to a folder or file and change text accordingly
12 년 전
Michael Gapczynski
cda9dcc7aa
Fix private link emailing and clean up file name displayed in email
12 년 전
Thomas Mueller
583dce5276
removing executable bit - again
12 년 전
Michael Gapczynski
daff3aa667
Prevent overwriting of private link status
12 년 전
Arthur Schiwon
eb7e2d7d35
Sharing: even if a user has more groups in common, he should appear only once in the dropdown list
12 년 전
Michael Gapczynski
e0a5f976e7
Fix bug oc-542, encode urls for private links
12 년 전
Michael Gapczynski
41179a1456
Fix feedback for sharing errors
12 년 전
Frank Karlitschek
43caa3b3b9
ported oc_json
12 년 전
Frank Karlitschek
82a61e2e1a
port oc_preferences
12 년 전
Frank Karlitschek
ff66600bc0
port appconfig
12 년 전
Thomas Müller
8ed8d9cd91
fixing namespace
12 년 전
Michael Gapczynski
20f3875f1b
Change default from address to sharing-noreply@server for emailing private links
12 년 전
Frank Karlitschek
70cea18cce
ported getUser
12 년 전
Frank Karlitschek
d0554bef06
finish porting of the LOG calls or the apps to the public api
12 년 전
Georg Ehrke
7eb7492360
some fixes for sharing
12 년 전
Michael Gapczynski
754844f5c9
Add ability to send private links from sharing via email
12 년 전
Michael Gapczynski
7d9587bab3
Forgot to remove error log messages...
12 년 전
Michael Gapczynski
b369adbd94
Allow admin to disable resharing of files
12 년 전
Michael Gapczynski
ef9511c713
Refactor sharing UI; bug fixes, code clean-up, and more efficient with less ajax calls
12 년 전
Georg Ehrke
69ee0efc0b
remove the require_once lib base from all (or nearly all) files
12 년 전
Michael Gapczynski
5fef9dfc22
Make users only able to share with users in groups they belong to
12 년 전
Michael Gapczynski
87627c7a50
Fix overwriting of internal sharing for shared folders - bug oc-260
12 년 전
Michael Gapczynski
9e50cecf27
Fix shared status for files inside a shared folder
12 년 전