Skip to content
Snippets Groups Projects
  1. Sep 25, 2014
  2. Sep 24, 2014
  3. Sep 23, 2014
    • Tigran Mkrtchyan's avatar
      user/backed: use pow of two for backed action constants · 276f50a1
      Tigran Mkrtchyan authored
      the current implementation limits number of possible backed actions
      to 8 as it uses pow of 16 for constants. This change introduces pow
      of two and allows up-to 32 actions to be defined.
      
      The old values are preserved for backward compatibility.
      276f50a1
    • Lukas Reschke's avatar
      Show login again instead of JSON if CSRF check fails · 4893d2c0
      Lukas Reschke authored
      Previously a JSON error page was shown to the user in-case the CSRF token was not valid. This was confusing and prevented people from login.
      
      With this at least the login page is shown again and not a JSON error message. I consider this as sufficient since adding a new error page just for this sake would uneededly make lib/base.php even more cluttered and this is a edge-case which optimally should anyways not happen that often.
      
      This can be tested by opening the login page, then clearing the cookies, and trying to login.
      4893d2c0
    • Vincent Petry's avatar
      Moved WebDAV and internet checks to client side JS · e65ceb08
      Vincent Petry authored
      - Added setup checks in JavaScript
      - Moved isWebDAVWorking to JS using SetupChecks
      - Moved internet connection checks to an ajax call that goes through the
        server
      e65ceb08
    • Jenkins for ownCloud's avatar
      [tx-robot] updated from transifex · 479e4410
      Jenkins for ownCloud authored
      479e4410
  4. Sep 22, 2014
  5. Sep 21, 2014
  6. Sep 20, 2014
  7. Sep 19, 2014
    • Lukas Reschke's avatar
      Throw error in showPreview instead the constructor · 6869d2e8
      Lukas Reschke authored
      This function is also used in a way such as:
      
      ```
      	$preview = new \OC\Preview(\OC_User::getUser(), 'files');
      	$info = \OC\Files\Filesystem::getFileInfo($file);
      	if (!$always and !$preview->isAvailable($info)) {
      		\OC_Response::setStatus(404);
      	} else {
      		$preview->setFile($file);
      		$preview->setMaxX($maxX);
      		$preview->setMaxY($maxY);
      		$preview->setScalingUp($scalingUp);
      		$preview->setKeepAspect($keepAspect);
      	}
      ```
      
      Which won't work anymore since `setFile` is used instead of passing the file in the constructor. Fixes a regression in master.
      6869d2e8
    • Jenkins for ownCloud's avatar
      [tx-robot] updated from transifex · 786312d0
      Jenkins for ownCloud authored
      786312d0
  8. Sep 18, 2014
  9. Sep 17, 2014
Loading