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
hace 10 años
Georg Ehrke
c5742520e1
don't urldecode get var, php does this automatically
hace 10 años
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
hace 10 años
Georg Ehrke
c90e3e4f5b
fix preview for reshared file
hace 10 años
Bjoern Schiessle
aee7781f22
fix public preview creation if a user ios logged in
hace 10 años
Georg Ehrke
d9e8ebabdc
outsource sharing and deleted files previews to apps
hace 11 años
Thomas Mueller
162a2c0fba
moving sharing email code to core
hace 11 años
Thomas Mueller
45074d5023
restoring feature to send sharing link via email
hace 11 años
Sam Tuke
8b01286a5d
Merged branch 'master'
hace 11 años
Michael Gapczynski
c53310e49b
Remove unnecessary ajax file from files_sharing
hace 12 años
Michael Gapczynski
25d474579a
Removing most of files_sharing, the Share API implemented the majority of it
hace 12 años
Michael Gapczynski
b9bd54bd98
Add additional error handling for emailing private links
hace 12 años
Michael Gapczynski
7d17c59a51
Fix group detection for sharing in case username contains '@', fix for oc-1270
hace 12 años
Michael Gapczynski
5262cde6a6
Add additional error handling for emailing private links
hace 12 años
Michael Gapczynski
df9f5b902a
Fix group detection for sharing in case username contains '@', fix for oc-1270
hace 12 años
Lukas Reschke
38271ded75
Added CSRF checks
hace 12 años
Arthur Schiwon
0bd7d14b7a
Sharing: offer an option to allow sharing with everyone, i.e. do not check group memberships
hace 12 años
Michael Gapczynski
7b2ec41477
Revert santizing toaddress, because PHPMailer now throws exceptions
Conflicts:
apps/files_sharing/ajax/email.php
hace 12 años
Michael Gapczynski
ebcf5bce3c
Sanitize toaddress for emailing private links
Conflicts:
apps/files_sharing/ajax/email.php
hace 12 años
Michael Gapczynski
91a15bae76
Revert santizing toaddress, because PHPMailer now throws exceptions
hace 12 años
Michael Gapczynski
7077678f7f
Sanitize toaddress for emailing private links
hace 12 años
Jörn Friedrich Dreyer
e59a1806cf
remove superfluous ?> at the end of .php files (left out apps/*/templates)
hace 12 años
Lukas Reschke
04a0755fd3
CSRF checks
hace 12 años
Frank Karlitschek
d4ea853fcf
use our own serverHost call so that ownCloud works with reverse proxy servers
hace 12 años
Frank Karlitschek
5d425a9f79
use our own serverHost call so that ownCloud works with reverse proxy servers
hace 12 años
Frank Karlitschek
c79a529edd
remove not needed includes
hace 12 años
Michael Gapczynski
7b92c27777
Check if a file is encrypted before sharing (encrypted files cannot be shared)
hace 12 años
Michael Gapczynski
a3b06e9658
Check if a private link points to a folder or file and change text accordingly
hace 12 años
Michael Gapczynski
cda9dcc7aa
Fix private link emailing and clean up file name displayed in email
hace 12 años
Thomas Mueller
583dce5276
removing executable bit - again
hace 12 años
Michael Gapczynski
daff3aa667
Prevent overwriting of private link status
hace 12 años
Arthur Schiwon
eb7e2d7d35
Sharing: even if a user has more groups in common, he should appear only once in the dropdown list
hace 12 años
Michael Gapczynski
e0a5f976e7
Fix bug oc-542, encode urls for private links
hace 12 años
Michael Gapczynski
41179a1456
Fix feedback for sharing errors
hace 12 años
Frank Karlitschek
43caa3b3b9
ported oc_json
hace 12 años
Frank Karlitschek
82a61e2e1a
port oc_preferences
hace 12 años
Frank Karlitschek
ff66600bc0
port appconfig
hace 12 años
Thomas Müller
8ed8d9cd91
fixing namespace
hace 12 años
Michael Gapczynski
20f3875f1b
Change default from address to sharing-noreply@server for emailing private links
hace 12 años
Frank Karlitschek
70cea18cce
ported getUser
hace 12 años
Frank Karlitschek
d0554bef06
finish porting of the LOG calls or the apps to the public api
hace 12 años
Georg Ehrke
7eb7492360
some fixes for sharing
hace 12 años
Michael Gapczynski
754844f5c9
Add ability to send private links from sharing via email
hace 12 años
Michael Gapczynski
7d9587bab3
Forgot to remove error log messages...
hace 12 años
Michael Gapczynski
b369adbd94
Allow admin to disable resharing of files
hace 12 años
Michael Gapczynski
ef9511c713
Refactor sharing UI; bug fixes, code clean-up, and more efficient with less ajax calls
hace 12 años
Georg Ehrke
69ee0efc0b
remove the require_once lib base from all (or nearly all) files
hace 12 años
Michael Gapczynski
5fef9dfc22
Make users only able to share with users in groups they belong to
hace 12 años
Michael Gapczynski
87627c7a50
Fix overwriting of internal sharing for shared folders - bug oc-260
hace 12 años
Michael Gapczynski
9e50cecf27
Fix shared status for files inside a shared folder
hace 12 años