]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
11 years agoMoar tests.
Thomas Tanghus [Mon, 23 Sep 2013 13:52:50 +0000 (15:52 +0200)]
Moar tests.

11 years agoUse fetchOne() instead of numRows() when doing a COUNT(*).
Thomas Tanghus [Mon, 23 Sep 2013 13:52:06 +0000 (15:52 +0200)]
Use fetchOne() instead of numRows() when doing a COUNT(*).

11 years agoForgot to return false if add() didn't add anything.
Thomas Tanghus [Mon, 23 Sep 2013 11:29:21 +0000 (13:29 +0200)]
Forgot to return false if add() didn't add anything.

11 years agoAdded more error checking in add()
Thomas Tanghus [Mon, 23 Sep 2013 11:27:43 +0000 (13:27 +0200)]
Added more error checking in add()

11 years agoAdd another test.
Thomas Tanghus [Thu, 19 Sep 2013 11:55:45 +0000 (13:55 +0200)]
Add another test.

11 years agoUpdated method names and added a few more tests.
Thomas Tanghus [Thu, 19 Sep 2013 09:27:13 +0000 (11:27 +0200)]
Updated method names and added a few more tests.

11 years agofixing namespaces and rename hasCategory to hasTag
Thomas Müller [Wed, 18 Sep 2013 20:49:09 +0000 (22:49 +0200)]
fixing namespaces and rename hasCategory to hasTag

11 years agoMerge branch 'appframework-master' into vcategories_public
Thomas Müller [Wed, 18 Sep 2013 20:36:25 +0000 (22:36 +0200)]
Merge branch 'appframework-master' into vcategories_public

Conflicts:
lib/server.php

11 years agoMerge pull request #4886 from owncloud/public_cache
Thomas Müller [Wed, 18 Sep 2013 20:29:35 +0000 (13:29 -0700)]
Merge pull request #4886 from owncloud/public_cache

Public cache etc.

11 years agoupdating php docs
Thomas Müller [Wed, 18 Sep 2013 20:22:51 +0000 (22:22 +0200)]
updating php docs

11 years agoNote to self 2: Do as you preach. Test!
Thomas Tanghus [Wed, 18 Sep 2013 13:02:25 +0000 (15:02 +0200)]
Note to self 2: Do as you preach. Test!

11 years agoNote to self: Test before pushing!!!
Thomas Tanghus [Wed, 18 Sep 2013 12:50:21 +0000 (14:50 +0200)]
Note to self: Test before pushing!!!

11 years agoMerge branch 'appframework-master' into public_cache
Thomas Tanghus [Wed, 18 Sep 2013 11:20:07 +0000 (13:20 +0200)]
Merge branch 'appframework-master' into public_cache

Conflicts:
lib/public/iservercontainer.php
lib/server.php

11 years agoUse new emitter system
Thomas Tanghus [Wed, 18 Sep 2013 11:15:38 +0000 (13:15 +0200)]
Use new emitter system

11 years agoMerge pull request #4888 from owncloud/public_session
Thomas Müller [Wed, 18 Sep 2013 10:10:42 +0000 (03:10 -0700)]
Merge pull request #4888 from owncloud/public_session

Public session

11 years agoAdd some docs to the sessions interface.
Thomas Tanghus [Wed, 18 Sep 2013 10:01:01 +0000 (12:01 +0200)]
Add some docs to the sessions interface.

11 years agoOC_VCategories=>OC\Tags. Public interface + getter in server container
Thomas Tanghus [Tue, 17 Sep 2013 22:37:00 +0000 (00:37 +0200)]
OC_VCategories=>OC\Tags. Public interface + getter in server container

11 years agoMerge branch 'appframework-master' into vcategories_public
Thomas Tanghus [Tue, 17 Sep 2013 18:04:51 +0000 (20:04 +0200)]
Merge branch 'appframework-master' into vcategories_public

11 years agoStill some session leftovers.
Thomas Tanghus [Tue, 17 Sep 2013 17:46:08 +0000 (19:46 +0200)]
Still some session leftovers.

11 years agoPurge session from Request - and fix some styles
Thomas Tanghus [Tue, 17 Sep 2013 16:38:18 +0000 (18:38 +0200)]
Purge session from Request - and fix some styles

11 years agoAdd interface for Session and add getter in server container.
Thomas Tanghus [Tue, 17 Sep 2013 16:31:14 +0000 (18:31 +0200)]
Add interface for Session and add getter in server container.

11 years agoAdd legacy wrapper
Thomas Tanghus [Tue, 17 Sep 2013 16:02:37 +0000 (18:02 +0200)]
Add legacy wrapper

11 years agoOC_Cache namespace changes and add UserCache to server container.
Thomas Tanghus [Tue, 17 Sep 2013 15:46:33 +0000 (17:46 +0200)]
OC_Cache namespace changes and add UserCache to server container.

Refs #4863

11 years agouse \OC::$server->getPreviewManager() instead of \OCP\Preview
Thomas Müller [Tue, 17 Sep 2013 11:33:47 +0000 (13:33 +0200)]
use \OC::$server->getPreviewManager() instead of \OCP\Preview

11 years agofix naming
Thomas Müller [Tue, 17 Sep 2013 07:42:14 +0000 (09:42 +0200)]
fix naming

11 years agoMerge branch 'master' into appframework-master
Thomas Müller [Tue, 17 Sep 2013 07:39:45 +0000 (09:39 +0200)]
Merge branch 'master' into appframework-master

11 years agoclass files have to be lowercase
Thomas Müller [Mon, 16 Sep 2013 22:27:22 +0000 (00:27 +0200)]
class files have to be lowercase

11 years agoadding interface for middleware
Thomas Müller [Mon, 16 Sep 2013 22:26:55 +0000 (00:26 +0200)]
adding interface for middleware

11 years agoMerge pull request #4825 from owncloud/fix-sharing-expiration-oracle
Bart Visscher [Mon, 16 Sep 2013 19:16:44 +0000 (12:16 -0700)]
Merge pull request #4825 from owncloud/fix-sharing-expiration-oracle

Fix Sharing "Expiration Date" on Oracle

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 16 Sep 2013 15:38:45 +0000 (11:38 -0400)]
[tx-robot] updated from transifex

11 years agoMerge pull request #4838 from owncloud/refactor_upload_js
Thomas Müller [Mon, 16 Sep 2013 08:06:24 +0000 (01:06 -0700)]
Merge pull request #4838 from owncloud/refactor_upload_js

refactor upload js & html to always use only js to fill form data

11 years agoMerge pull request #4862 from owncloud/db_to_public
Thomas Müller [Mon, 16 Sep 2013 07:51:12 +0000 (00:51 -0700)]
Merge pull request #4862 from owncloud/db_to_public

Add OCP\DB::getErrorMessage() to public namespace.

11 years agoAdd OCP\DB::getErrorMessage() to public namespace.
Thomas Tanghus [Mon, 16 Sep 2013 00:17:39 +0000 (02:17 +0200)]
Add OCP\DB::getErrorMessage() to public namespace.

11 years ago/OC/Server has created too early causing issues with config operations as OC:$SERVERP...
Thomas Müller [Sun, 15 Sep 2013 21:07:18 +0000 (23:07 +0200)]
/OC/Server has created too early causing issues with config operations as OC:$SERVERPATH was not yet initialized

This fixes unit test execution

11 years agoMerge pull request #4860 from owncloud/fixing-potential-null-storage-on-scanner-master
icewind1991 [Sun, 15 Sep 2013 20:47:16 +0000 (13:47 -0700)]
Merge pull request #4860 from owncloud/fixing-potential-null-storage-on-scanner-master

adding null check on a mount's storage

11 years agoadding getRootFolder() to server container and hooking up the new files api
Thomas Müller [Sun, 15 Sep 2013 20:24:57 +0000 (22:24 +0200)]
adding getRootFolder() to server container and hooking up the new files api

11 years agofirst log the exception
Thomas Müller [Sun, 15 Sep 2013 19:20:22 +0000 (21:20 +0200)]
first log the exception

11 years agoMerge branch 'master' into appframework-master
Thomas Müller [Sun, 15 Sep 2013 19:18:59 +0000 (21:18 +0200)]
Merge branch 'master' into appframework-master

11 years agoadding null check on a mount's storage
Thomas Müller [Sun, 15 Sep 2013 18:38:57 +0000 (20:38 +0200)]
adding null check on a mount's storage

11 years agoMerge pull request #4835 from owncloud/fix-apps-height
Morris Jobke [Sun, 15 Sep 2013 14:08:50 +0000 (07:08 -0700)]
Merge pull request #4835 from owncloud/fix-apps-height

use lineheight instead of padding and height

11 years agoMerge pull request #4803 from owncloud/fix-4465-add-share-user-on-enter
Morris Jobke [Sun, 15 Sep 2013 10:07:11 +0000 (03:07 -0700)]
Merge pull request #4803 from owncloud/fix-4465-add-share-user-on-enter

Fixes #4465 - Added autoFocus to #shareWith autocomplete options

11 years agoMerge pull request #4853 from owncloud/external-shared_mimetype-icons
Thomas Müller [Sun, 15 Sep 2013 09:42:14 +0000 (02:42 -0700)]
Merge pull request #4853 from owncloud/external-shared_mimetype-icons

Use external and shared icons in OC.Dialogs.filepicker()

11 years agoMerge pull request #4506 from owncloud/oc_avatars
Bernhard Posselt [Sat, 14 Sep 2013 23:00:36 +0000 (16:00 -0700)]
Merge pull request #4506 from owncloud/oc_avatars

OC Avatars

11 years agoMerge pull request #4501 from owncloud/ajaxfilelist
Thomas Müller [Sat, 14 Sep 2013 19:51:16 +0000 (12:51 -0700)]
Merge pull request #4501 from owncloud/ajaxfilelist

Ajax calls for "files" and "files_trashbin" apps

11 years agoMerge pull request #4806 from owncloud/oc-dialogs-pageleave
Thomas Tanghus [Sat, 14 Sep 2013 17:35:39 +0000 (10:35 -0700)]
Merge pull request #4806 from owncloud/oc-dialogs-pageleave

Don't popup meaningless alerts when dialog called on page leave

11 years agoUse external and shared icons in OC.Dialogs.filepicker()
kondou [Sat, 14 Sep 2013 12:35:23 +0000 (14:35 +0200)]
Use external and shared icons in OC.Dialogs.filepicker()

11 years agoRemove superfluous $
kondou [Sat, 14 Sep 2013 12:15:52 +0000 (14:15 +0200)]
Remove superfluous $

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 14 Sep 2013 01:49:24 +0000 (21:49 -0400)]
[tx-robot] updated from transifex

11 years agoMerge branch 'master' into appframework-master
Thomas Müller [Fri, 13 Sep 2013 21:31:59 +0000 (23:31 +0200)]
Merge branch 'master' into appframework-master

11 years agoMerge pull request #4712 from owncloud/fileapi-foreward
Thomas Müller [Fri, 13 Sep 2013 21:31:11 +0000 (14:31 -0700)]
Merge pull request #4712 from owncloud/fileapi-foreward

Provide an implementation of the fileapi for oc6 build on top of the old api

11 years ago- giving the user a new id for each test run in order to prevent reuse of e.g. permis...
Thomas Müller [Fri, 13 Sep 2013 19:44:31 +0000 (21:44 +0200)]
- giving the user a new id for each test run in order to prevent reuse of e.g. permissions data in the database
- setting the current user id because \OC\FilesView relies on \OC_User::getUser()

11 years agoFixed files_trashbin to also use hash URL part for IE8
Vincent Petry [Fri, 13 Sep 2013 19:00:15 +0000 (21:00 +0200)]
Fixed files_trashbin to also use hash URL part for IE8

11 years agoMerge branch 'appframework-master' of github.com:owncloud/core into appframework...
Thomas Müller [Fri, 13 Sep 2013 18:57:18 +0000 (20:57 +0200)]
Merge branch 'appframework-master' of github.com:owncloud/core into appframework-master

11 years agoMerge branch 'master' into appframework-master
Thomas Müller [Fri, 13 Sep 2013 18:56:49 +0000 (20:56 +0200)]
Merge branch 'master' into appframework-master

11 years agoUse hash part of URL for IE8 in files app
Vincent Petry [Thu, 29 Aug 2013 19:56:14 +0000 (21:56 +0200)]
Use hash part of URL for IE8 in files app

Before this fix, the URL wasn't updated in IE8 when navigating into
folders.

This fix makes use of the hash part of URLs to make this work in IE8,
since IE8 doesn't support the history API nor changing the URL without
redirecting.

From now, both the regular query URL "?dir=somedir" and "#?dir=somedir"
will work in both IE8 and non-IE8 browsers.

In IE8, query based URLs are automatically converted to hash URLs upon
page load. The conversion is done on the server side by redirecting the
user to the updated URL.

When loading a page directly using a hash URL in the form
"#?dir=somedir" in IE8, the server doesn't get the hash, so it will not
return any results in that case and rely on ajax to load the first page.

11 years agoFixed loading mask/spinner to stay fixed on scroll
Vincent Petry [Wed, 4 Sep 2013 18:50:59 +0000 (20:50 +0200)]
Fixed loading mask/spinner to stay fixed on scroll

11 years agoFixed JS error in trashbin app
Vincent Petry [Sun, 1 Sep 2013 12:36:33 +0000 (14:36 +0200)]
Fixed JS error in trashbin app

11 years agoChanged breadcrumb event handling to not use delegate
Vincent Petry [Sun, 1 Sep 2013 12:24:01 +0000 (14:24 +0200)]
Changed breadcrumb event handling to not use delegate

Using delegate might break apps that embed themselves in the files
container. When an app embeds itself and the user clicks a breadcrumb,
it will simply reload the whole browser page.

11 years agoFixed ajax support to also update the current dir permissions
Vincent Petry [Thu, 29 Aug 2013 21:45:02 +0000 (23:45 +0200)]
Fixed ajax support to also update the current dir permissions

11 years agoAdded missing "files" JS to files_trashbin module
Vincent Petry [Thu, 29 Aug 2013 18:59:45 +0000 (20:59 +0200)]
Added missing "files" JS to files_trashbin module

The recent refactoring for the breadcrumb resizing relies on the "Files"
object which is in the "files" Javascript file.

This fix includes it here as well.

11 years agoupdate file summary on ajax file list load
Thomas Müller [Wed, 28 Aug 2013 23:17:04 +0000 (01:17 +0200)]
update file summary on ajax file list load

11 years agofixing breadcrumbs on ajax loading of files
Thomas Müller [Tue, 27 Aug 2013 11:13:00 +0000 (13:13 +0200)]
fixing breadcrumbs on ajax loading of files

11 years agocalling replaceSVG() to display breadcrumb images correctly on IE8
Thomas Müller [Tue, 27 Aug 2013 09:18:59 +0000 (11:18 +0200)]
calling replaceSVG() to display breadcrumb images correctly on IE8

11 years agofixing no-repeat for IE8
Thomas Müller [Tue, 27 Aug 2013 08:29:28 +0000 (10:29 +0200)]
fixing no-repeat for IE8

11 years agoAjax calls for "files" and "files_trashbin" apps
Vincent Petry [Sat, 17 Aug 2013 11:07:18 +0000 (13:07 +0200)]
Ajax calls for "files" and "files_trashbin" apps

Frontend:
- The files app list now uses ajax calls to refresh the list.
- Added support the browser back button (history API).
- Added mask + spinner while loading file list

Backend:
- Added utility function in core JS for parsing query strings.
- Moved file list + breadcrumb template data code to helper
  functions
- Fixed some file paths in trashbin app to be similar to the files app

11 years agoMerge pull request #4840 from owncloud/adding-tb-master
Thomas Müller [Fri, 13 Sep 2013 17:29:35 +0000 (10:29 -0700)]
Merge pull request #4840 from owncloud/adding-tb-master

adding TB and GB to OC_Helper::humanFileSize

11 years agoremove unused OC_L10N
Thomas Müller [Fri, 13 Sep 2013 15:41:09 +0000 (17:41 +0200)]
remove unused OC_L10N

11 years agoadding TB and GB to OC_Helper::humanFileSize
Thomas Müller [Fri, 13 Sep 2013 15:22:45 +0000 (17:22 +0200)]
adding TB and GB to OC_Helper::humanFileSize

11 years agorefactor upload js & html to always use only js to fill form data
Jörn Friedrich Dreyer [Fri, 13 Sep 2013 15:00:07 +0000 (17:00 +0200)]
refactor upload js & html to always use only js to fill form data

11 years agouse lineheight instead of padding and height
Bernhard Posselt [Fri, 13 Sep 2013 13:53:03 +0000 (15:53 +0200)]
use lineheight instead of padding and height

11 years agoAllow numeric group names
ringmaster [Thu, 12 Sep 2013 14:50:26 +0000 (10:50 -0400)]
Allow numeric group names

11 years agoMerge pull request #4719 from owncloud/port_4701_master
Thomas Müller [Thu, 12 Sep 2013 22:44:20 +0000 (15:44 -0700)]
Merge pull request #4719 from owncloud/port_4701_master

Always check variable type before using readdir to avoid surprises

11 years agoCalculate dateInPast and dateInFuture.
Andreas Fischer [Thu, 12 Sep 2013 21:37:43 +0000 (23:37 +0200)]
Calculate dateInPast and dateInFuture.

11 years agoCompare objects directly. Also use $expected and $actual.
Andreas Fischer [Thu, 12 Sep 2013 20:52:14 +0000 (22:52 +0200)]
Compare objects directly. Also use $expected and $actual.

11 years agoAdd database tests for INSERT/SELECT date format.
Andreas Fischer [Thu, 12 Sep 2013 20:36:28 +0000 (22:36 +0200)]
Add database tests for INSERT/SELECT date format.

11 years agoRegister EventSubscriber that resets Oracle's NLS_DATE_FORMAT etc.
Andreas Fischer [Tue, 10 Sep 2013 17:15:06 +0000 (19:15 +0200)]
Register EventSubscriber that resets Oracle's NLS_DATE_FORMAT etc.

11 years agoCreate instance of Doctrine\Common\EventManager() in OC_DB.
Andreas Fischer [Tue, 10 Sep 2013 17:14:30 +0000 (19:14 +0200)]
Create instance of Doctrine\Common\EventManager() in OC_DB.

11 years agoAdd comment explaining how $dateInFuture was picked.
Andreas Fischer [Mon, 9 Sep 2013 23:30:48 +0000 (01:30 +0200)]
Add comment explaining how $dateInFuture was picked.

11 years agoCoding style: { for methods start are supposed to be on the same line.
Andreas Fischer [Thu, 5 Sep 2013 00:45:52 +0000 (02:45 +0200)]
Coding style: { for methods start are supposed to be on the same line.

11 years agoExpiration tests for sharing with groups.
Andreas Fischer [Thu, 5 Sep 2013 00:41:24 +0000 (02:41 +0200)]
Expiration tests for sharing with groups.

11 years agoDo not repeat shareUserOneTestFileWithUserTwo() code.
Andreas Fischer [Thu, 5 Sep 2013 00:31:54 +0000 (02:31 +0200)]
Do not repeat shareUserOneTestFileWithUserTwo() code.

11 years agoMake dates test class properties.
Andreas Fischer [Thu, 5 Sep 2013 00:27:29 +0000 (02:27 +0200)]
Make dates test class properties.

11 years agoTry to make Oracle happy by also specifying seconds.
Andreas Fischer [Wed, 4 Sep 2013 22:15:58 +0000 (00:15 +0200)]
Try to make Oracle happy by also specifying seconds.

11 years agoTest whether a still-valid user share is still accessible.
Andreas Fischer [Wed, 4 Sep 2013 15:26:30 +0000 (17:26 +0200)]
Test whether a still-valid user share is still accessible.

11 years agoTest whether an expired user share is still accessible.
Andreas Fischer [Wed, 4 Sep 2013 15:15:08 +0000 (17:15 +0200)]
Test whether an expired user share is still accessible.

11 years agocleanup public storage interface a bit
Robin Appelman [Thu, 12 Sep 2013 19:58:32 +0000 (21:58 +0200)]
cleanup public storage interface a bit

11 years agoMerge branch 'master' into fileapi-foreward
Robin Appelman [Thu, 12 Sep 2013 19:43:35 +0000 (21:43 +0200)]
Merge branch 'master' into fileapi-foreward

11 years agoMerge pull request #4816 from owncloud/fixing-723-master
Jan-Christoph Borchardt [Thu, 12 Sep 2013 14:48:00 +0000 (07:48 -0700)]
Merge pull request #4816 from owncloud/fixing-723-master

Fixing 723 master

11 years agoMerge branch 'master' into oc_avatars
kondou [Thu, 12 Sep 2013 05:41:44 +0000 (07:41 +0200)]
Merge branch 'master' into oc_avatars

11 years agoMerge pull request #4735 from owncloud/multiple_mimetypes_rawlist
Thomas Tanghus [Thu, 12 Sep 2013 00:18:04 +0000 (17:18 -0700)]
Merge pull request #4735 from owncloud/multiple_mimetypes_rawlist

Make it possible to pass rawlist.php an JSON array, to filter by more than one mimetype

11 years agoadding calls to \OCA\files\lib\Helper::determineIcon($i) in files, trashbin and sharing
Thomas Müller [Wed, 11 Sep 2013 22:40:35 +0000 (00:40 +0200)]
adding calls to \OCA\files\lib\Helper::determineIcon($i) in files, trashbin and sharing

11 years agoadded determineIcon to \OCA\files\lib\Helper
Thomas Müller [Wed, 11 Sep 2013 22:39:52 +0000 (00:39 +0200)]
added determineIcon to \OCA\files\lib\Helper

11 years agoremove unused $relativePath
Thomas Müller [Wed, 11 Sep 2013 22:39:03 +0000 (00:39 +0200)]
remove unused $relativePath

11 years agoClean up rawlist.php and fix non-array request
kondou [Wed, 11 Sep 2013 22:21:01 +0000 (00:21 +0200)]
Clean up rawlist.php and fix non-array request

11 years agomove icon generation logic out of the template
Thomas Müller [Wed, 11 Sep 2013 22:13:19 +0000 (00:13 +0200)]
move icon generation logic out of the template

11 years agoadding icons for shared folders and external folders
Thomas Müller [Wed, 11 Sep 2013 22:12:20 +0000 (00:12 +0200)]
adding icons for shared folders and external folders

11 years agoMerge pull request #4784 from owncloud/ocdialog_option_setter
Thomas Tanghus [Wed, 11 Sep 2013 19:20:17 +0000 (12:20 -0700)]
Merge pull request #4784 from owncloud/ocdialog_option_setter

Fix setting ocdialog options after initialization.

11 years agoSave two lines
Thomas Tanghus [Wed, 11 Sep 2013 19:15:32 +0000 (21:15 +0200)]
Save two lines

11 years agoRemove test error :P
Thomas Tanghus [Wed, 11 Sep 2013 19:11:35 +0000 (21:11 +0200)]
Remove test error :P

11 years agoFix double destroy on escape.
Thomas Tanghus [Wed, 11 Sep 2013 15:13:39 +0000 (17:13 +0200)]
Fix double destroy on escape.