summaryrefslogtreecommitdiffstats
path: root/core/ajax
Commit message (Collapse)AuthorAgeFilesLines
* Allow creating previewss that cover the specified dimensionsRobin Appelman2015-09-021-0/+2
|
* Properly show update exceptionVincent Petry2015-08-261-1/+7
|
* Properly show token errors in ajax/update.php event sourceVincent Petry2015-08-261-5/+13
|
* Merge pull request #17565 from owncloud/fix/remote_shareRoeland Douma2015-07-131-1/+1
|\ | | | | allow remote shares for users with email as usernames
| * allow remote shares for users with email as usernamesFelix Böhm2015-07-101-1/+1
| |
* | Remove 3rd party text for disabled apps on updateVincent Petry2015-07-071-1/+1
| |
* | Remove OC_LogThomas Müller2015-07-032-3/+4
| |
* | Merge pull request #17163 from owncloud/update-licensesLukas Reschke2015-06-273-2/+3
|\ \ | | | | | | Update license headers
| * | update license headers and authorsMorris Jobke2015-06-253-2/+3
| | |
* | | Merge pull request #17008 from owncloud/fix-17006Björn Schießle2015-06-261-0/+2
|\ \ \ | | | | | | | | Improve splitting of username and remote adress when username contains an `@`
| * | | Use \OC\HintException and translate the hintJoas Schilling2015-06-221-0/+2
| |/ /
* | | Merge pull request #17165 from ↵Thomas Müller2015-06-261-0/+16
|\ \ \ | | | | | | | | | | | | | | | | owncloud/federated_cloud_sharing_search_address_book Search address book for federated cloud id
| * | | search address book for federated cloud idBjoern Schiessle2015-06-251-0/+16
| |/ /
* / / Fix for #17178Roeland Jago Douma2015-06-251-2/+9
|/ / | | | | | | | | | | If no array of arrays is submitted make sure we still keep $sharedUsers and $sharedGroups as arrays so the rest of the code keeps functioning as it should.
* | Merge pull request #16434 from owncloud/persist-maintenance-stateThomas Müller2015-06-031-2/+5
|\ \ | | | | | | Persist the state of the maintenance after an upgrade
| * | Persist the state of the maintenance after an upgradeMorris Jobke2015-05-191-2/+5
| | | | | | | | | | | | | | | | | | * if maintenance mode was enabled before an upgrade it will be enabled afterwards too * fixes #16429
* | | add support for limit request parameter to getShareWithCraig Morrissey2015-05-151-3/+5
|/ /
* | Use internally \OCP\ILogger instead of \OC\LogMorris Jobke2015-04-301-1/+1
| | | | | | | | | | | | * this is the preparation for some upcoming logger related changes * also fixes an issue in the public interface where we request an internal class as parameter
* | Add "Reply-To" support to sharing mails and refactor codeLukas Reschke2015-04-101-2/+16
| |
* | Merge pull request #15182 from rullzer/fix-8231Thomas Müller2015-04-101-0/+17
|\ \ | | | | | | ajax/share.php should return correct list of suggestions
| * | Make sure we do not return people that we already shared withRoeland Jago Douma2015-03-251-0/+17
| | | | | | | | | | | | | | | We should use the provided list of users and groups that we already shared with to filter suggestions.
* | | Merge pull request #15169 from rullzer/fix_displayNamesInGroupMorris Jobke2015-03-301-1/+1
|\ \ \ | | | | | | | | Groupmanagers displayNamesInGroup should actually search in displaynames
| * | | Call the proper functionRoeland Jago Douma2015-03-241-1/+1
| |/ / | | | | | | | | | * Fix for #6967
* / / Update license headersJenkins for ownCloud2015-03-264-25/+99
|/ /
* / Use the PreviewManager where possibleJoas Schilling2015-03-161-3/+2
|/
* Merge pull request #13513 from owncloud/repair-legacystoragenofatalfailMorris Jobke2015-03-111-0/+6
|\ | | | | Do not abort when meeting unfixable legacy storages
| * Properly forward repair errors and warningsVincent Petry2015-02-271-0/+6
| | | | | | | | | | This makes repair errors and warnings visible for the user when upgrading on the command line or in the web UI.
* | Verify CSRF token already in update.php and not the EventSource codeLukas Reschke2015-03-091-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue report: > Hum, well I upgraded the package then visited the web interface to trigger the update and it failed; the UI would say there was a possible CSRF attack and after that it'd be stuck in maintenance mode. Tried a few times (by editing maintenance to false in owncloud.conf) and same result each time. That smells partially like an issue caused by our EventSource implementation, due to legacy concerns the CSRF verification happens within the EventSource handling and not when the actual endpoint is called, what happens here then is: 1. User has somehow an invalid CSRF token in session (or none at all) 2. User clicks the update button 3. Invalid CSRF token is sent to update.php - no CSRF check there => Instance gets set in maintenance mode 4. Invalid CSRF token is processed by the EventSource code => Code Execution is stopped and ownCloud is stuck in maintenance mode I have a work-around for this problem, basically it verifies the CSRF token already in step 3 and cancels execution then. The same error will be shown to the user however he can work around it by refreshing the page – as stated by the error. I think that’s an acceptable behaviour for now: INSERT LINK To verify this test: 1. Delete your ownCloud cookies 2. Increment the version in version.php 3. Try to upgrade => Before the patch: Instance shows an error, is set to upgrade mode and a refresh does not help => After the patch: Instance shows an error, a refresh helps though. This is not really the best fix as a better solution would be to catch such situations when bootstrapping ownCloud, however, I don’t dare to touch base.php for this sake only, you never know what breaks then… That said: There might be other bugs as well, especially the stacktrace is somewhat confusing but then again it installing ownCloud under /usr/share/owncloud/ and I bet that is part of the whole issue ;-)
* Revert "Updating license headers"Morris Jobke2015-02-264-97/+27
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* 3rd-party apps are disabled on upgrade - refs #14026Thomas Müller2015-02-241-8/+18
|
* Updating license headersJenkins for ownCloud2015-02-234-27/+97
|
* Manually type-case all AJAX filesLukas Reschke2015-02-132-44/+44
| | | | | | This enforces proper types on POST and GET arguments where I considered it sensible. I didn't update some as I don't know what kind of values they would support :see_no_evil: Fixes https://github.com/owncloud/core/issues/14196 for core
* kill ancient codeMorris Jobke2015-01-201-17/+0
|
* Verify whether type is correctLukas Reschke2015-01-081-16/+12
| | | | `$this->info` can very well contain an empty array or possibly other values. This means that when this code path is called a PHP Fatal error might get thrown which is not what we want.
* Merge pull request #13016 from owncloud/sharing_fixesMorris Jobke2015-01-071-2/+2
|\ | | | | don't delete share table entries for the unique name if re-share permission was removed
| * shareType and permissions are integersBjoern Schiessle2015-01-071-2/+2
| |
* | new OC.Search, add search result formatters and handlers, use full content ↵Jörn Friedrich Dreyer2015-01-021-1/+1
|/ | | | width for results
* Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-1/+16
| | | | | | | | | | | | | | Beside some small improvements and bug fixes this will probably the final state for OC8. To test this you need to set up two ownCloud instances. Let's say: URL: myPC/firstOwnCloud user: user1 URL: myPC/secondOwnCloud user: user2 Now user1 can share a file with user2 by entering the username and the URL to the second ownCloud to the share-drop-down, in this case "user2@myPC/secondOwnCloud". The next time user2 login he will get a notification that he received a server-to-server share with the option to accept/decline it. If he accept it the share will be mounted. In both cases a event will be send back to user1 and add a notification to the activity stream that the share was accepted/declined. If user1 decides to unshare the file again from user2 the share will automatically be removed from the second ownCloud server and user2 will see a notification in his activity stream that user1@myPC/firstOwnCloud has unshared the file/folder from him.
* Inject configVictor Dubiniuk2014-12-101-1/+2
|
* Use httphelper and cache response even when it emptyVictor Dubiniuk2014-12-061-1/+4
|
* in case a translation javascript is not found we no longer bail outThomas Müller2014-10-291-30/+0
| | | | remove translation.php
* move some deprecated usage of OC_Config and OC_AppConfig to \OC::serverThomas Müller2014-10-201-7/+8
|
* Close the session for preview generationLukas Reschke2014-09-291-0/+1
| | | | Without closing the session every preview image generation is locking the session which makes the webinterface unresponsive.
* Merge pull request #9512 from libasys/patch-2Lukas Reschke2014-09-091-1/+2
|\ | | | | Fix use Sharing Api with calendar
| * Fix use Sharing Api with calendarlibasys2014-07-081-2/+3
| | | | | | | | | | Without this fix it logs this error: Undefined index: itemSourceName at /opt/local/apache2/htdocs/oc7/core/ajax/share.php#44 I think the itemSourceName is only used with sharing files!
* | Merge pull request #10739 from owncloud/eventsource-publicLukas Reschke2014-09-081-1/+1
|\ \ | | | | | | Add EventSource to the public API
| * | Better phpdoc and method namingRobin Appelman2014-09-041-1/+1
| | |
| * | Use the public api to get event sourcesRobin Appelman2014-09-031-1/+1
| | |
* | | Fix upgrade process when apps enabled for specific groupsVincent Petry2014-09-021-0/+4
|/ / | | | | | | | | | | | | Fix issue where the currently logged user was causing side-effects when upgrading. Now setting incognito mode (no user) on update to make sure the whole apps list is taken into account with getEnabledApps() or isEnabled().
* | Use public api for getting l10nRobin Appelman2014-08-312-4/+4
| |