]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
10 years agoadd function to extract filename from sharekey name + tests
Bjoern Schiessle [Mon, 3 Feb 2014 12:39:05 +0000 (13:39 +0100)]
add function to extract filename from sharekey name + tests

10 years agoadded tests for the delete hooks if the trash bin is disabled
Bjoern Schiessle [Fri, 31 Jan 2014 22:37:21 +0000 (23:37 +0100)]
added tests for the delete hooks if the trash bin is disabled

10 years agodon't expect OC_FilesystemView, this is depreciated
Bjoern Schiessle [Fri, 31 Jan 2014 19:39:52 +0000 (20:39 +0100)]
don't expect OC_FilesystemView, this is depreciated

10 years agobetter error detection and don't use glob()
Bjoern Schiessle [Fri, 31 Jan 2014 19:39:11 +0000 (20:39 +0100)]
better error detection and don't use glob()

10 years agomove unlink proxy to a hook which handles pre and post conditions
Bjoern Schiessle [Fri, 31 Jan 2014 19:38:35 +0000 (20:38 +0100)]
move unlink proxy to a hook which handles pre and post conditions

10 years agoMerge pull request #7017 from owncloud/trashpreview
Georg Ehrke [Fri, 31 Jan 2014 15:29:08 +0000 (07:29 -0800)]
Merge pull request #7017 from owncloud/trashpreview

Fixed image preview in trashbin subdirs

10 years agoMerge pull request #5151 from owncloud/file-actions
Morris Jobke [Fri, 31 Jan 2014 09:30:36 +0000 (01:30 -0800)]
Merge pull request #5151 from owncloud/file-actions

Slightly better looking file actions.

10 years agoMakes Rename Icon Width 44px for touch sourfaces.
raghunayyar [Fri, 31 Jan 2014 07:03:00 +0000 (12:33 +0530)]
Makes Rename Icon Width 44px for touch sourfaces.

10 years agoFixed image preview in trashbin subdirs
Vincent Petry [Thu, 30 Jan 2014 15:55:43 +0000 (16:55 +0100)]
Fixed image preview in trashbin subdirs

10 years agoUpdated unit tests for rename action
Vincent Petry [Wed, 29 Jan 2014 12:08:04 +0000 (13:08 +0100)]
Updated unit tests for rename action

- rename action is now checked inside of ".nametext" element
- added test to ensure that display() correctly resets all actions
  including the rename one

10 years agoRename action now appears as pencil icon
raghunayyar [Wed, 2 Oct 2013 19:09:03 +0000 (00:39 +0530)]
Rename action now appears as pencil icon

10 years agoMerge pull request #6278 from nickvergessen/issue/6263
Raghu Nayyar [Wed, 29 Jan 2014 18:42:17 +0000 (10:42 -0800)]
Merge pull request #6278 from nickvergessen/issue/6263

[issue/6263] layout.user.php code is not valid markup

10 years agoMerge pull request #6777 from owncloud/mobile-style
Jan-Christoph Borchardt [Wed, 29 Jan 2014 17:17:02 +0000 (09:17 -0800)]
Merge pull request #6777 from owncloud/mobile-style

Mobile style for public links: files, folders, picture sets

10 years agomake header scroll up for single shares, more view of content on small screens
Jan-Christoph Borchardt [Wed, 29 Jan 2014 16:20:55 +0000 (17:20 +0100)]
make header scroll up for single shares, more view of content on small screens

10 years ago- adding class to header div: share-folder or share-file
Thomas Müller [Wed, 29 Jan 2014 15:52:30 +0000 (16:52 +0100)]
- adding class to header div: share-folder or share-file
- for supported previews are shown with a size of 500px; icons with a size of 128px

10 years agoMerge pull request #6900 from owncloud/files-errormessagewhentargetfoldermissing
Morris Jobke [Wed, 29 Jan 2014 15:48:50 +0000 (07:48 -0800)]
Merge pull request #6900 from owncloud/files-errormessagewhentargetfoldermissing

Added error message for when target folder was removed

10 years agoMerge pull request #6903 from owncloud/fix-ms-office-icons
Jan-Christoph Borchardt [Wed, 29 Jan 2014 15:31:25 +0000 (07:31 -0800)]
Merge pull request #6903 from owncloud/fix-ms-office-icons

Add/fix Microsoft Office file icons.

10 years agoMerge pull request #6995 from jbtbnl/master
Morris Jobke [Wed, 29 Jan 2014 14:32:34 +0000 (06:32 -0800)]
Merge pull request #6995 from jbtbnl/master

Add white color variant of checkmark icon

10 years agoadjust file type icon placement for when no preview can be generated
Jan-Christoph Borchardt [Wed, 29 Jan 2014 14:28:57 +0000 (15:28 +0100)]
adjust file type icon placement for when no preview can be generated

10 years agoAdd white color variant of checkmark icon
jbtbnl [Wed, 29 Jan 2014 12:47:37 +0000 (13:47 +0100)]
Add white color variant of checkmark icon

10 years agoAdded error message for when target folder was removed
Vincent Petry [Wed, 22 Jan 2014 16:17:58 +0000 (17:17 +0100)]
Added error message for when target folder was removed

Whent trying to upload/rename/create files in a folder that was removed
or rename, the correct error message is now shown.

In the case of upload of multiple files, the upload is cancelled.

This situation can happen if the target folder was renamed or removed
from another browser window or client.

10 years agoMerge pull request #6987 from owncloud/share_api_and_encryption
Björn Schießle [Wed, 29 Jan 2014 10:50:25 +0000 (02:50 -0800)]
Merge pull request #6987 from owncloud/share_api_and_encryption

[ocs share api] public upload is also possible with encryption enabled, since OC6

10 years agopermanently show download action on mobile, only icon
Jan-Christoph Borchardt [Wed, 29 Jan 2014 10:43:34 +0000 (11:43 +0100)]
permanently show download action on mobile, only icon

10 years agoMerge pull request #6990 from owncloud/files-fixrenamewarnings
Vincent Petry [Wed, 29 Jan 2014 10:21:30 +0000 (02:21 -0800)]
Merge pull request #6990 from owncloud/files-fixrenamewarnings

Fix warnings in logs when renaming over the web UI

10 years agofix horizontal scrollbar appearing when footer is too long, footer wraps now
Jan-Christoph Borchardt [Wed, 29 Jan 2014 10:06:19 +0000 (11:06 +0100)]
fix horizontal scrollbar appearing when footer is too long, footer wraps now

10 years agomerge master into mobile-style
Jan-Christoph Borchardt [Wed, 29 Jan 2014 09:55:44 +0000 (10:55 +0100)]
merge master into mobile-style

10 years agoFix warnings in logs when renaming over the web UI
Vincent Petry [Wed, 29 Jan 2014 09:43:13 +0000 (10:43 +0100)]
Fix warnings in logs when renaming over the web UI

The determineIcon() method was expecting attributes to be set which
caused warnings about undefined indices in the error log.

This fix pre-initializes the array with 'directory' and
'isPreviewAvailable' to make them disappear.

10 years agoMerge pull request #6929 from owncloud/sharing-fixfiledownloadlink
Morris Jobke [Wed, 29 Jan 2014 08:39:14 +0000 (00:39 -0800)]
Merge pull request #6929 from owncloud/sharing-fixfiledownloadlink

Sharing fixfiledownloadlink

10 years agopublic upload is also possible with encryption enabled, since OC6
Bjoern Schiessle [Tue, 28 Jan 2014 16:28:20 +0000 (17:28 +0100)]
public upload is also possible with encryption enabled, since OC6

10 years agoMerge pull request #6979 from owncloud/share_api_error_codes
Thomas Müller [Tue, 28 Jan 2014 15:28:07 +0000 (07:28 -0800)]
Merge pull request #6979 from owncloud/share_api_error_codes

[ocs share api] use error code 403 if sharing is not permitted

10 years agouse more accurate error codes
Bjoern Schiessle [Tue, 28 Jan 2014 10:25:12 +0000 (11:25 +0100)]
use more accurate error codes

10 years agoMerge pull request #6965 from owncloud/unused-free-space
VicDeo [Mon, 27 Jan 2014 18:27:51 +0000 (10:27 -0800)]
Merge pull request #6965 from owncloud/unused-free-space

Remove unused $freeSpace

10 years agoRemove unused $freeSpace
Robin Appelman [Mon, 27 Jan 2014 15:51:32 +0000 (16:51 +0100)]
Remove unused $freeSpace

10 years agoMerge pull request #6907 from owncloud/webdav-logexceptions
Thomas Müller [Mon, 27 Jan 2014 15:48:40 +0000 (07:48 -0800)]
Merge pull request #6907 from owncloud/webdav-logexceptions

Added exception logger plugin for sabre connector

10 years agoMerge pull request #6958 from owncloud/localised_date
Morris Jobke [Mon, 27 Jan 2014 12:54:30 +0000 (04:54 -0800)]
Merge pull request #6958 from owncloud/localised_date

use localised date in notification mails

10 years agoMerge pull request #6927 from owncloud/enc_dont_reload_page_on_decrypt
Morris Jobke [Mon, 27 Jan 2014 12:30:06 +0000 (04:30 -0800)]
Merge pull request #6927 from owncloud/enc_dont_reload_page_on_decrypt

remove the form, it isn't needed here

10 years agoMerge pull request #6930 from jcfischer/master
Morris Jobke [Mon, 27 Jan 2014 12:27:35 +0000 (04:27 -0800)]
Merge pull request #6930 from jcfischer/master

Add 'mail_from_address' configuration

10 years agoMerge pull request #6933 from seberm/master
Morris Jobke [Mon, 27 Jan 2014 12:25:31 +0000 (04:25 -0800)]
Merge pull request #6933 from seberm/master

Add check for apc.enabled option

10 years agoMerge pull request #6912 from owncloud/replace-webroot-in-css
Morris Jobke [Mon, 27 Jan 2014 12:11:15 +0000 (04:11 -0800)]
Merge pull request #6912 from owncloud/replace-webroot-in-css

Remove %webroot% from CSS

10 years agouse localised date in notification mails
Bjoern Schiessle [Mon, 27 Jan 2014 11:47:54 +0000 (12:47 +0100)]
use localised date in notification mails

10 years agoAdded exception logger plugin for sabre connector
Vincent Petry [Thu, 23 Jan 2014 11:11:53 +0000 (12:11 +0100)]
Added exception logger plugin for sabre connector

Whenever an exception occurs in the sabre connector code or code called
by it, it will be logged.

This plugin approach is needed because Sabre already catches exceptions
to return them to the client in the XML response, so they don't appear
logged in the web server log.

This will make it much easier to debug syncing issues.

10 years agoMerge pull request #5153 from owncloud/core-em-to-px
Jan-Christoph Borchardt [Mon, 27 Jan 2014 10:29:47 +0000 (02:29 -0800)]
Merge pull request #5153 from owncloud/core-em-to-px

Cleans up Core apps for relative(em) to absolute(px) styles.

10 years agoMerge pull request #5152 from owncloud/files-em-to-px
Jan-Christoph Borchardt [Mon, 27 Jan 2014 10:28:01 +0000 (02:28 -0800)]
Merge pull request #5152 from owncloud/files-em-to-px

Converts em to px values for styles in Files.

10 years agoMerge pull request #6916 from owncloud/encryption_update_filecache
Björn Schießle [Mon, 27 Jan 2014 09:37:52 +0000 (01:37 -0800)]
Merge pull request #6916 from owncloud/encryption_update_filecache

[encryption] update file cache after the file was written

10 years agoFixes settings.css and converts more styles.
raghunayyar [Sat, 25 Jan 2014 21:32:52 +0000 (03:02 +0530)]
Fixes settings.css and converts more styles.

10 years agoFixes width of the dropdown menus as per computed styles.
raghunayyar [Sat, 25 Jan 2014 21:29:28 +0000 (02:59 +0530)]
Fixes width of the dropdown menus as per computed styles.

10 years agoMerge pull request #6939 from owncloud/disable-password-autocomplete
Jan-Christoph Borchardt [Sat, 25 Jan 2014 15:54:55 +0000 (07:54 -0800)]
Merge pull request #6939 from owncloud/disable-password-autocomplete

prevent autofill for password change settings, prevent leak of existing password

10 years agoprevent autofill for password change settings, prevent leak of existing password...
Jan-Christoph Borchardt [Fri, 24 Jan 2014 17:58:56 +0000 (18:58 +0100)]
prevent autofill for password change settings, prevent leak of existing password, fix #6552

10 years agofix multiselect bar being too short on big displays
Jan-Christoph Borchardt [Fri, 24 Jan 2014 17:20:52 +0000 (18:20 +0100)]
fix multiselect bar being too short on big displays

10 years agoMerge pull request #6905 from owncloud/add_expiredate_to_linkshare
Vincent Petry [Fri, 24 Jan 2014 15:44:33 +0000 (07:44 -0800)]
Merge pull request #6905 from owncloud/add_expiredate_to_linkshare

add expire date to link share if possible

10 years agoupdated config.sample.php with mail_from_address parameter
Jens-Christian Fischer [Fri, 24 Jan 2014 15:24:52 +0000 (16:24 +0100)]
updated config.sample.php with mail_from_address parameter

10 years agoMerge pull request #6923 from owncloud/files-maxuploadfieldstylefix
Morris Jobke [Fri, 24 Jan 2014 15:05:50 +0000 (07:05 -0800)]
Merge pull request #6923 from owncloud/files-maxuploadfieldstylefix

Fixed max upload size input field style

10 years agoMerge pull request #6921 from owncloud/trash_mimetype_size
Björn Schießle [Fri, 24 Jan 2014 15:05:18 +0000 (07:05 -0800)]
Merge pull request #6921 from owncloud/trash_mimetype_size

increase size of mimetype column

10 years agoonly update file cache with the unenecrypted size when the file was written
Bjoern Schiessle [Thu, 23 Jan 2014 14:45:34 +0000 (15:45 +0100)]
only update file cache with the unenecrypted size when the file was written

10 years agoMerge pull request #6184 from owncloud/6051-ux-files-Move-File-Spinner
Morris Jobke [Fri, 24 Jan 2014 14:53:53 +0000 (06:53 -0800)]
Merge pull request #6184 from owncloud/6051-ux-files-Move-File-Spinner

#6051 [ux][files] Move File Spinner

10 years agoAdd check for apc.enabled option
Otto Sabart [Fri, 24 Jan 2014 14:52:28 +0000 (15:52 +0100)]
Add check for apc.enabled option

Sometimes it's not possible to disable APC entirely and some of
apc_functions are disabled. Only thing which is possible is
to disable apc.enable option.

10 years agoMerge pull request #5954 from owncloud/extstorage-stream-sftp
Vincent Petry [Fri, 24 Jan 2014 14:20:23 +0000 (06:20 -0800)]
Merge pull request #5954 from owncloud/extstorage-stream-sftp

[Ext storage] Now using SFTP stream wrapper from phpseclib

10 years agoadded function documentation
Jens-Christian Fischer [Fri, 24 Jan 2014 13:22:42 +0000 (14:22 +0100)]
added function documentation

10 years agoAdd 'mail_from_address' configuration
Jens-Christian Fischer [Fri, 24 Jan 2014 13:04:37 +0000 (14:04 +0100)]
Add 'mail_from_address' configuration

In environments where there are rules for the email addresses, the "from
address" that owncloud uses has to be configurable.

This patch adds a new configuration variable 'mail_from_address'.
If it is configured, owncloud will use this as the sender of *all*
emails. (OwnCloud uses 'sharing-noreply' and 'password-noreply' by
default). By using the 'mail_from_address' configuration, only this
email address will be used.

10 years agoFixed download URL in public page
Vincent Petry [Fri, 24 Jan 2014 12:32:31 +0000 (13:32 +0100)]
Fixed download URL in public page

- Refactored download URL building to make it overridable
- Added download URL override in public page
- Added JS unit tests for download URL
- Added OC.redirect() method to facilitate unit testing

10 years agoFixed filelist unit tests hidden params
Vincent Petry [Fri, 24 Jan 2014 12:19:44 +0000 (13:19 +0100)]
Fixed filelist unit tests hidden params

Also added dummy table

10 years agoAdded OC.buidQueryString() utility function
Vincent Petry [Fri, 24 Jan 2014 11:44:31 +0000 (12:44 +0100)]
Added OC.buidQueryString() utility function

Makes it possible to create query strings by passing a JavaScript hash
map and automatically encodes the keys and values.

10 years agodisable button and input field during decryption
Bjoern Schiessle [Fri, 24 Jan 2014 11:05:14 +0000 (12:05 +0100)]
disable button and input field during decryption

10 years agoremove the form, it isn't needed here
Bjoern Schiessle [Fri, 24 Jan 2014 10:35:52 +0000 (11:35 +0100)]
remove the form, it isn't needed here

10 years agoadd expire date to link share if possible
Bjoern Schiessle [Thu, 23 Jan 2014 10:18:23 +0000 (11:18 +0100)]
add expire date to link share if possible

10 years agoMerge pull request #6736 from owncloud/tests-jsunittests
Thomas Müller [Thu, 23 Jan 2014 20:43:05 +0000 (12:43 -0800)]
Merge pull request #6736 from owncloud/tests-jsunittests

Added Javascript unit tests

10 years agoremove css files from rewrite rule - there is no need to rewrite css any more
Thomas Müller [Thu, 23 Jan 2014 20:28:19 +0000 (21:28 +0100)]
remove css files from rewrite rule - there is no need to rewrite css any more

10 years agoFixed max upload size input field style
Vincent Petry [Thu, 23 Jan 2014 19:50:09 +0000 (20:50 +0100)]
Fixed max upload size input field style

Added "type=text" makes it look like nice like all other fields

10 years agoInstead of 'No preview available for ...' we simple display the mieme-type icon
Thomas Müller [Thu, 23 Jan 2014 19:15:10 +0000 (20:15 +0100)]
Instead of 'No preview available for ...' we simple display the mieme-type icon

10 years agoincrease size of mimetype column
Bjoern Schiessle [Thu, 23 Jan 2014 17:28:59 +0000 (18:28 +0100)]
increase size of mimetype column

10 years agoMerge pull request #6234 from owncloud/change-email-by-enter
Jan-Christoph Borchardt [Thu, 23 Jan 2014 16:03:22 +0000 (08:03 -0800)]
Merge pull request #6234 from owncloud/change-email-by-enter

change mail address by pressing enter - fixes #6179

10 years agoremove background and width from multiselect bar, fix Download button not showing...
Jan-Christoph Borchardt [Thu, 23 Jan 2014 14:35:30 +0000 (15:35 +0100)]
remove background and width from multiselect bar, fix Download button not showing on mobile

10 years agoRemoved unused writeBack method
Vincent Petry [Thu, 23 Jan 2014 14:05:05 +0000 (15:05 +0100)]
Removed unused writeBack method

10 years agoremove %webroot from files_sharing app
Jan-Christoph Borchardt [Thu, 23 Jan 2014 13:04:13 +0000 (14:04 +0100)]
remove %webroot from files_sharing app

10 years agofix conflicts and add missing closing tag
Morris Jobke [Thu, 23 Jan 2014 12:51:51 +0000 (13:51 +0100)]
fix conflicts and add missing closing tag

10 years agoremove %webroot% from files app
Jan-Christoph Borchardt [Thu, 23 Jan 2014 12:11:08 +0000 (13:11 +0100)]
remove %webroot% from files app

10 years agoadd icons.css file, first step to get rid of %webroot%
Jan-Christoph Borchardt [Tue, 21 Jan 2014 16:39:38 +0000 (17:39 +0100)]
add icons.css file, first step to get rid of %webroot%

10 years agoNow using SFTP stream wrapper from phpseclib
Vincent Petry [Tue, 19 Nov 2013 22:16:20 +0000 (23:16 +0100)]
Now using SFTP stream wrapper from phpseclib

- Upgraded phpseclib to master version (post 0.3.5)
- Now using fopen() on sftp URL for both read and write
- Fixes #4063

10 years agoMerge pull request #6898 from owncloud/encryption_infinite_loop
Björn Schießle [Thu, 23 Jan 2014 09:09:34 +0000 (01:09 -0800)]
Merge pull request #6898 from owncloud/encryption_infinite_loop

[encryption] infinite loop on sharing

10 years agoAdd icons for mdb and accdb files.
Andreas Fischer [Thu, 23 Jan 2014 02:06:14 +0000 (03:06 +0100)]
Add icons for mdb and accdb files.

10 years agoFix icons for xml,ppt,dot,dotx files.
Andreas Fischer [Thu, 23 Jan 2014 01:46:05 +0000 (02:46 +0100)]
Fix icons for xml,ppt,dot,dotx files.

10 years agoRemove duplicate mimetypes while keeping previous behaviour.
Andreas Fischer [Thu, 23 Jan 2014 01:22:46 +0000 (02:22 +0100)]
Remove duplicate mimetypes while keeping previous behaviour.

10 years agoBring mimetype list into alphabetical order.
Andreas Fischer [Thu, 23 Jan 2014 01:15:42 +0000 (02:15 +0100)]
Bring mimetype list into alphabetical order.

10 years agofocus link text only on click in the input field - closes #6817
Thomas Müller [Thu, 23 Jan 2014 00:08:42 +0000 (01:08 +0100)]
focus link text only on click in the input field - closes #6817

10 years agoMerge branch 'master' into mobile-style
Thomas Müller [Wed, 22 Jan 2014 23:39:11 +0000 (00:39 +0100)]
Merge branch 'master' into mobile-style

Conflicts:
apps/files/js/files.js
apps/files_sharing/css/public.css
apps/files_sharing/js/public.js
apps/files_sharing/templates/public.php

10 years agofix infinite loop if folder and subfolder has the same name
Bjoern Schiessle [Wed, 22 Jan 2014 15:55:04 +0000 (16:55 +0100)]
fix infinite loop if folder and subfolder has the same name

10 years agoadd path relative to the files folder of the currently logged in user to the output...
Bjoern Schiessle [Wed, 22 Jan 2014 15:54:17 +0000 (16:54 +0100)]
add path relative to the files folder of the currently logged in user to the output of getFolderContent()

10 years agoMerge pull request #6890 from owncloud/version_fix_array_order
Björn Schießle [Wed, 22 Jan 2014 10:52:30 +0000 (02:52 -0800)]
Merge pull request #6890 from owncloud/version_fix_array_order

[files_versions] fix array order

10 years agoMerge pull request #6719 from tripflex/fix_pubup_progbar
Morris Jobke [Wed, 22 Jan 2014 10:28:28 +0000 (02:28 -0800)]
Merge pull request #6719 from tripflex/fix_pubup_progbar

Fix public upload progress bar

10 years agofix array order
Bjoern Schiessle [Wed, 22 Jan 2014 10:13:15 +0000 (11:13 +0100)]
fix array order

10 years agocode clean-up
Bjoern Schiessle [Wed, 22 Jan 2014 10:10:32 +0000 (11:10 +0100)]
code clean-up

10 years agofix size calculation of getAllVersions()
Bjoern Schiessle [Wed, 22 Jan 2014 10:10:23 +0000 (11:10 +0100)]
fix size calculation of getAllVersions()

10 years agoMerge pull request #6856 from owncloud/fixing-gallery-password-protected-access-master
Vincent Petry [Tue, 21 Jan 2014 19:08:58 +0000 (11:08 -0800)]
Merge pull request #6856 from owncloud/fixing-gallery-password-protected-access-master

adding password protection check to getShareByToken()

10 years agoMerge branch 'master' into fixing-gallery-password-protected-access-master
Thomas Müller [Tue, 21 Jan 2014 18:36:20 +0000 (19:36 +0100)]
Merge branch 'master' into fixing-gallery-password-protected-access-master

10 years agoMerge pull request #6863 from owncloud/versioning_expire_function_tests
Thomas Müller [Tue, 21 Jan 2014 16:39:50 +0000 (08:39 -0800)]
Merge pull request #6863 from owncloud/versioning_expire_function_tests

Versioning expire function tests

10 years agoMerge pull request #6868 from owncloud/enc-fixrandomfailunittest
Vincent Petry [Tue, 21 Jan 2014 16:35:41 +0000 (08:35 -0800)]
Merge pull request #6868 from owncloud/enc-fixrandomfailunittest

Replaced time() with uniqid() to make sure the file name is unique

10 years agoMerge pull request #6844 from owncloud/fix-css-loading-master
Jörn Friedrich Dreyer [Tue, 21 Jan 2014 16:31:22 +0000 (08:31 -0800)]
Merge pull request #6844 from owncloud/fix-css-loading-master

Revert "use getAppWebPath() in here as well"

10 years agoMerge pull request #6858 from owncloud/fix-setupfs-only-for-existing-users-master
Thomas Müller [Tue, 21 Jan 2014 15:36:30 +0000 (07:36 -0800)]
Merge pull request #6858 from owncloud/fix-setupfs-only-for-existing-users-master

OC_Util::setupFS($user) will create a data dir for the given string - no...

10 years agoReplaced time() with uniqid() to make sure the file name is unique
Vincent Petry [Tue, 21 Jan 2014 15:19:26 +0000 (16:19 +0100)]
Replaced time() with uniqid() to make sure the file name is unique

The cache isn't cleared properly because unlink() doesn't remove the
cache entry which caused side-effects when reusing the same file name
(which randomly happens when time() returns the same value)

This fix first makes sure the unit tests don't fail any more.
The unlink() case with the cache will be investigated separately.

10 years agoadd first unit test for the versioning app
Bjoern Schiessle [Tue, 21 Jan 2014 11:10:24 +0000 (12:10 +0100)]
add first unit test for the versioning app