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 години