summaryrefslogtreecommitdiffstats
path: root/core/ajax
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Add require_once to update.php due to routingLukas Reschke2014-08-221-0/+1
| | | | | | | | Fixes https://github.com/owncloud/core/issues/10585 Partially reverts 52d5429768acdb87b2dc2efedc89eb4ad0d29139
* | Merge pull request #10522 from owncloud/removeLoadAppScriptblizzz2014-08-211-1/+0
|\ \ | | | | | | Remove loadAppScriptFile
| * | Add update route to coreLukas Reschke2014-08-191-1/+0
| | |
* | | Merge pull request #9866 from owncloud/app-upgradeRobin Appelman2014-08-191-0/+6
|\ \ \ | |/ / |/| | Don't do app upgrades in the background
| * | Send feedback from upgrading apps to the upgrade uiRobin Appelman2014-08-041-0/+6
| | |
* | | we need the recipient as a additional parameter to know for which share the ↵Bjoern Schiessle2014-08-131-2/+2
| | | | | | | | | | | | notification was send
* | | in case $_POST['itemSourceName'] does not exist we simply default it to nullThomas Müller2014-08-011-1/+2
|/ /
* | Merge pull request #10051 from owncloud/preview-empty-textThomas Müller2014-07-311-1/+2
|\ \ | | | | | | Use svg mimeicons for empty text files
| * | Use svg mimeicons for empty text filesRobin Appelman2014-07-301-1/+2
| | |
* | | Also keep maxY into account when scaling a preview while preserving aspect ratioRobin Appelman2014-07-301-4/+0
|/ /
* / add OCS api call to set expire date for link sharesBjoern Schiessle2014-07-251-11/+5
|/
* set minDate and maxDate in datepickerBjoern Schiessle2014-06-061-0/+2
|
* unify share settingsBjoern Schiessle2014-06-051-3/+3
|
* Simulate apps database schema update on upgradeVincent Petry2014-06-041-0/+3
| | | | | When upgrade, also simulate the database schema update for apps before doing the actual upgrade.
* Now showing disabled apps as upgrade status lineVincent Petry2014-05-271-0/+8
| | | | | - Added app id in update overview. - Added status message for disabled app for CLI upgrade and web upgrade
* Automatically copy the share expiration date when new shares are createdJoas Schilling2014-05-191-1/+2
| | | | Fix #4823
* Images on public sharing get downscaled to increase use experience - this ↵Thomas Müller2014-05-021-1/+7
| | | | | | | | | | | will speed up loading time - adding keep aspect to core/ajax/preview.php - remove duplicate method Preview::show() - no more hard coded mimetype of preview - remove .png from the preview urls - keep old route preview.png for backwards compatibility - aspect preserving previews are now cached
* Merge pull request #5857 from owncloud/type-ahead-share-by-mail-masterThomas Müller2014-04-111-0/+28
|\ | | | | introduce auto completion on share email - integrated with the contactsm...
| * Fix copy/paste error :PThomas Tanghus2014-03-251-1/+1
| |
| * 'ID' => 'id' and check existence of EMAILThomas Tanghus2014-03-251-1/+5
| |
| * introduce auto completion on share email - integrated with the ↵Thomas Müller2013-11-141-0/+24
| | | | | | | | contactsmanager api
* | killing some more calls to OC_App::loadApps(); - because we load all apps in ↵Thomas Müller2014-03-251-1/+0
| | | | | | | | handleRequest()
* | Merge branch 'master' into load-apps-proper-masterThomas Müller2014-03-214-127/+71
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: apps/files/ajax/rawlist.php cron.php ocs/v1.php