]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
10 years agoupdated the 7.0.0 release with some last minute fixes
Frank Karlitschek [Tue, 22 Jul 2014 19:54:34 +0000 (15:54 -0400)]
updated the 7.0.0 release with some last minute fixes

10 years agoMerge pull request #9777 from owncloud/fix-chunked-upload-stable7
Thomas Müller [Tue, 22 Jul 2014 15:25:50 +0000 (17:25 +0200)]
Merge pull request #9777 from owncloud/fix-chunked-upload-stable7

adding special handling of checkPrecondition() for chunked upload

10 years agoMerge pull request #9775 from owncloud/backport-9738-stable7
Thomas Müller [Tue, 22 Jul 2014 15:24:33 +0000 (17:24 +0200)]
Merge pull request #9775 from owncloud/backport-9738-stable7

Backport 9738 stable7

10 years agoadding special handling of checkPrecondition() for chunked upload
Thomas Müller [Tue, 22 Jul 2014 11:06:20 +0000 (13:06 +0200)]
adding special handling of checkPrecondition() for chunked upload

10 years agoRemove uneeded `strip_tags`
Lukas Reschke [Sat, 19 Jul 2014 08:17:24 +0000 (10:17 +0200)]
Remove uneeded `strip_tags`

This `strip_tags` seems to be completely unneeded and will cause problems with passwords containing stripped characters. (e.g. `<` or `>`)

Needs https://github.com/owncloud/core/pull/9735 to be merged first.

10 years agoExtract Auth Header logic into new function handleAuthHeaders().
Andreas Fischer [Sat, 19 Jul 2014 00:16:28 +0000 (02:16 +0200)]
Extract Auth Header logic into new function handleAuthHeaders().

10 years agoDeduplicate user/password extraction from alternative HTTP headers.
Andreas Fischer [Sat, 19 Jul 2014 00:06:37 +0000 (02:06 +0200)]
Deduplicate user/password extraction from alternative HTTP headers.

10 years ago7.0.0 v7.0.0
Frank Karlitschek [Mon, 21 Jul 2014 22:55:21 +0000 (18:55 -0400)]
7.0.0

10 years agoCorrectly use groups parameter only when its not empty
Joas Schilling [Mon, 21 Jul 2014 08:43:29 +0000 (10:43 +0200)]
Correctly use groups parameter only when its not empty

Fix #9745

Backport of c84c1f5 from master

10 years agoperm -> permissions
Thomas Müller [Mon, 21 Jul 2014 11:39:01 +0000 (13:39 +0200)]
perm -> permissions

10 years agoDo not force isAdmin as true and so the list is filtered correctly
Joas Schilling [Mon, 21 Jul 2014 09:30:47 +0000 (11:30 +0200)]
Do not force isAdmin as true and so the list is filtered correctly

10 years agoFix username for subadmins and only send subadmin groups
Joas Schilling [Mon, 21 Jul 2014 09:20:55 +0000 (11:20 +0200)]
Fix username for subadmins and only send subadmin groups

Fix #9748

10 years agoMerge pull request #9723 from dupondje/stable7
Vincent Petry [Mon, 21 Jul 2014 08:49:03 +0000 (10:49 +0200)]
Merge pull request #9723 from dupondje/stable7

Small translation fix. Fixes: #9719

10 years agoMerge pull request #9749 from owncloud/backport-9672-stable7
Thomas Müller [Sun, 20 Jul 2014 22:36:23 +0000 (00:36 +0200)]
Merge pull request #9749 from owncloud/backport-9672-stable7

Backport 9672 stable7

10 years agoAdded test of OCS privatedata to trigger key duplication
Vincent Petry [Fri, 2 May 2014 11:21:31 +0000 (13:21 +0200)]
Added test of OCS privatedata to trigger key duplication

10 years agoDocument why we have to check with defined() first.
Andreas Fischer [Wed, 16 Jul 2014 13:06:59 +0000 (15:06 +0200)]
Document why we have to check with defined() first.

10 years agoMake MySQL return "number of found rows" instead of number of "affected rows".
Andreas Fischer [Wed, 16 Jul 2014 12:35:47 +0000 (14:35 +0200)]
Make MySQL return "number of found rows" instead of number of "affected rows".

10 years agoMerge pull request #9742 from owncloud/fix-repair-innodb-9737-stable7
Morris Jobke [Sun, 20 Jul 2014 19:36:52 +0000 (21:36 +0200)]
Merge pull request #9742 from owncloud/fix-repair-innodb-9737-stable7

check if $tables is an array

10 years ago$.unique works only for DOM elements
Arthur Schiwon [Fri, 18 Jul 2014 19:10:19 +0000 (21:10 +0200)]
$.unique works only for DOM elements

10 years agoPass existing Net_SFTP object into Net_SFTP_Stream.
Andreas Fischer [Sat, 12 Jul 2014 20:45:53 +0000 (22:45 +0200)]
Pass existing Net_SFTP object into Net_SFTP_Stream.

10 years agocheck if $tables is an array
Thomas Müller [Sat, 19 Jul 2014 18:23:38 +0000 (20:23 +0200)]
check if $tables is an array

10 years agoMerge pull request #9706 from owncloud/keep_session_in_sync_stable7
Lukas Reschke [Sat, 19 Jul 2014 08:37:14 +0000 (10:37 +0200)]
Merge pull request #9706 from owncloud/keep_session_in_sync_stable7

keep session in sync

10 years agoBackport #9576
Arthur Schiwon [Thu, 10 Jul 2014 18:43:00 +0000 (20:43 +0200)]
Backport  #9576

warn and continue gracefully if bcmath is not installed

make tests deal with missing bcmath

10 years agoSmall translation fix. Fixes: #9719
Jean-Louis Dupond [Fri, 18 Jul 2014 12:41:37 +0000 (14:41 +0200)]
Small translation fix. Fixes: #9719

10 years agologin() must be called after getServerPublicHostKey().
Andreas Fischer [Sat, 12 Jul 2014 18:41:35 +0000 (20:41 +0200)]
login() must be called after getServerPublicHostKey().

10 years agofix user session tests by making them update \OC:: as well
Jörn Friedrich Dreyer [Fri, 18 Jul 2014 08:46:17 +0000 (10:46 +0200)]
fix user session tests by making them update \OC:: as well

10 years agoupdate upstore api url v7.0.0RC3
Frank Karlitschek [Fri, 18 Jul 2014 01:52:14 +0000 (21:52 -0400)]
update upstore api url

10 years agoupdate the appstore api url
Frank Karlitschek [Fri, 18 Jul 2014 01:51:32 +0000 (21:51 -0400)]
update the appstore api url

10 years ago7.0.0 RC3
Frank Karlitschek [Fri, 18 Jul 2014 01:18:17 +0000 (21:18 -0400)]
7.0.0 RC3

10 years agoMerge pull request #9690 from owncloud/kill-too-long-index-stable7
Thomas Müller [Thu, 17 Jul 2014 18:53:59 +0000 (20:53 +0200)]
Merge pull request #9690 from owncloud/kill-too-long-index-stable7

Revert add-share-index

10 years agoRevert "add share index"
Thomas Müller [Thu, 17 Jul 2014 07:33:34 +0000 (09:33 +0200)]
Revert "add share index"

This reverts commit e19b3a8794a2cadc86b0f3b01a516814b600026b.

10 years agokill unused require of MapperTestUtility.php
Thomas Müller [Thu, 17 Jul 2014 14:35:00 +0000 (16:35 +0200)]
kill unused require of MapperTestUtility.php

10 years agoFixed JS and CSS issues in users page
Vincent Petry [Thu, 17 Jul 2014 11:13:03 +0000 (13:13 +0200)]
Fixed JS and CSS issues in users page

- Renamed "delete" to "deleteEntry" to make IE8 happy.
- Added missing "svg" class for the "+" button
- Added height to "+" button but was unable to properly align it

10 years agofixing namespace of MapperTestUtility
Thomas Müller [Thu, 17 Jul 2014 09:21:25 +0000 (11:21 +0200)]
fixing namespace of MapperTestUtility
and rename file to be lowercase

10 years agoMerge pull request #9674 from owncloud/stable7-9647
Vincent Petry [Thu, 17 Jul 2014 11:57:38 +0000 (13:57 +0200)]
Merge pull request #9674 from owncloud/stable7-9647

[stable7] Add unit test for multi-user configuration loading

10 years agocheck that the file proxies are enabled after each test
Bjoern Schiessle [Wed, 16 Jul 2014 14:04:56 +0000 (16:04 +0200)]
check that the file proxies are enabled after each test

10 years agoupdate keys recursively if a folder was moved
Bjoern Schiessle [Wed, 16 Jul 2014 11:30:58 +0000 (13:30 +0200)]
update keys recursively if a folder was moved

10 years agokeep session in sync
Jörn Friedrich Dreyer [Thu, 17 Jul 2014 11:03:56 +0000 (13:03 +0200)]
keep session in sync

10 years agoMerge pull request #9695 from owncloud/revert-backport-9550-stable7
Thomas Müller [Thu, 17 Jul 2014 09:02:39 +0000 (11:02 +0200)]
Merge pull request #9695 from owncloud/revert-backport-9550-stable7

Revert backport 9550 stable7

10 years agoRevert "files: storage: rename should check parent directories of old and new files"
Thomas Müller [Thu, 17 Jul 2014 07:57:08 +0000 (09:57 +0200)]
Revert "files: storage: rename should check parent directories of old and new files"

This reverts commit a163b185ab03bd9816766250c6ae06df38625261.

10 years agoRevert "Fix renaming files in the root folder of a MappedLocal storage"
Thomas Müller [Thu, 17 Jul 2014 07:56:52 +0000 (09:56 +0200)]
Revert "Fix renaming files in the root folder of a MappedLocal storage"

This reverts commit 0895324553167ebf4bc87ef83c86285edd8047cb.

10 years agoFix renaming files in the root folder of a MappedLocal storage
Robin Appelman [Wed, 16 Jul 2014 19:24:18 +0000 (21:24 +0200)]
Fix renaming files in the root folder of a MappedLocal storage

10 years agofix CSS coding style
Morris Jobke [Wed, 16 Jul 2014 12:30:58 +0000 (14:30 +0200)]
fix CSS coding style

10 years agoFix #9590. Fix #9612.
Stephane V [Tue, 15 Jul 2014 20:33:30 +0000 (22:33 +0200)]
Fix #9590. Fix #9612.
For external storage with lots of parameter settings (>4), wrap the content of the cell to let a full view of the parameters.
The rows of the table are now always visible until the end (the trash icon is accessible).
(Note : A strange 3px margin forces me to add a class on the row added by javascript, to be able to align them with the rows rendered by the server.)

10 years agofiles: storage: rename should check parent directories of old and new files
Tigran Mkrtchyan [Thu, 10 Jul 2014 08:54:26 +0000 (10:54 +0200)]
files: storage: rename should check parent directories of old and new files

as described by POSIX.1-2008
(see http://pubs.opengroup.org/onlinepubs/9699919799/functions/rename.html)

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
10 years agoAdd unit test for multi-user configuration loading
Robin McCorkell [Tue, 15 Jul 2014 17:39:09 +0000 (18:39 +0100)]
Add unit test for multi-user configuration loading

10 years agointroduce some encryption exceptions and catch additional error cases
Bjoern Schiessle [Wed, 16 Jul 2014 10:06:00 +0000 (12:06 +0200)]
introduce some encryption exceptions and catch additional error cases

10 years agomake sure that the crypt library is loaded
Bjoern Schiessle [Wed, 16 Jul 2014 09:46:13 +0000 (11:46 +0200)]
make sure that the crypt library is loaded

10 years agoCorrectly return the owner display name for children of shares
Vincent Petry [Wed, 16 Jul 2014 10:07:02 +0000 (12:07 +0200)]
Correctly return the owner display name for children of shares

10 years agoMerge pull request #9584 from anexia-it/bug-9583
Vincent Petry [Wed, 16 Jul 2014 09:20:35 +0000 (11:20 +0200)]
Merge pull request #9584 from anexia-it/bug-9583

Bugfix for issue #9583

10 years agomake sure that 'OC_Theme' exists before checking if the method exists
Bjoern Schiessle [Tue, 15 Jul 2014 13:39:44 +0000 (15:39 +0200)]
make sure that 'OC_Theme' exists before checking if the method exists

10 years agofix logger implementation and test
Jörn Friedrich Dreyer [Mon, 14 Jul 2014 17:28:29 +0000 (19:28 +0200)]
fix logger implementation and test

10 years agomkae getRelativePath of file search results overwriteable in subclasses
Jörn Friedrich Dreyer [Mon, 14 Jul 2014 17:27:10 +0000 (19:27 +0200)]
mkae getRelativePath of file search results overwriteable in subclasses

10 years agoreturn relative path
Jörn Friedrich Dreyer [Mon, 14 Jul 2014 15:10:52 +0000 (17:10 +0200)]
return relative path

10 years agouse fileinfo object in search results
Jörn Friedrich Dreyer [Wed, 9 Jul 2014 12:47:43 +0000 (14:47 +0200)]
use fileinfo object in search results

10 years agobackport of #9628
DeLtAfOx [Tue, 15 Jul 2014 05:52:04 +0000 (07:52 +0200)]
backport of #9628

Userlist: async load doesnt fill checked group/subadmin array

Strinct comparsion fix

10 years agoUpdate info.xml
Lukas Reschke [Tue, 15 Jul 2014 13:35:02 +0000 (15:35 +0200)]
Update info.xml

10 years ago- Added test to trigger index id error
Vincent Petry [Wed, 11 Jun 2014 15:02:34 +0000 (17:02 +0200)]
- Added test to trigger index id error
- re-enable encryption migration tests
- sqlite requires reconnect after schema changes

Backport of 10a2955 from master

10 years agoUpdate share.php
libasys [Thu, 10 Jul 2014 11:02:04 +0000 (13:02 +0200)]
Update share.php

Added empty for error:
```
Undefined index: file_target at /var/www/owncloud/lib/private/share/share.php#1911
```

10 years agothrow exception if file is to large for trash bin
Bjoern Schiessle [Mon, 14 Jul 2014 15:03:36 +0000 (17:03 +0200)]
throw exception if file is to large for trash bin

10 years agoBackport of #9570
Philippe Jung [Thu, 10 Jul 2014 12:27:31 +0000 (14:27 +0200)]
Backport of #9570

[Issue #9559] identifiers uid=xxx must be considered as user DN and not as owncloud users

File written by blizzz

10 years agoUpdated code to reflect changes introduced to \OC\Group\MetaData.
Stephan Peijnik [Tue, 15 Jul 2014 09:15:38 +0000 (11:15 +0200)]
Updated code to reflect changes introduced to \OC\Group\MetaData.

Now that fetchGroups() does not exist anymore and getGroups() is called
directory, the 'groups' property does not exist anymore.
Instead, we now generate that array on the fly and return it from getGroups.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
10 years agoUse is_null() instead of empty() when checking the return value of GroupManager:...
Stephan Peijnik [Tue, 15 Jul 2014 08:10:43 +0000 (10:10 +0200)]
Use is_null() instead of empty() when checking the return value of GroupManager::get().

Additionally, $grp was renamed to $group inside
 \OC\Group\MetaData::fetchGroups().

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
10 years agoDo not remove spaces from group IDs in \OC\Group\MetaData::generateGroupMetaData.
Stephan Peijnik [Tue, 15 Jul 2014 07:48:18 +0000 (09:48 +0200)]
Do not remove spaces from group IDs in \OC\Group\MetaData::generateGroupMetaData.

Change suggested by blizz in PR #9584.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
10 years agoRenamed $grp to $group in foreach loop.
Stephan Peijnik [Tue, 15 Jul 2014 07:47:43 +0000 (09:47 +0200)]
Renamed $grp to $group in foreach loop.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
10 years agoFix indentation.
Stephan Peijnik [Fri, 11 Jul 2014 09:30:52 +0000 (11:30 +0200)]
Fix indentation.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
10 years agoFixes #9583
Stephan Peijnik [Fri, 11 Jul 2014 05:12:04 +0000 (07:12 +0200)]
Fixes #9583

lib/private/group/metadata.php: For subadmins also return an array of groups, indexed by their GIDs.
settings/users.php: Convert array of arrays to array of GIDs before calling into OC_Group::displayNamesInGroups.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
10 years agoreduce share action text to the user name only
Thomas Müller [Fri, 11 Jul 2014 13:16:26 +0000 (15:16 +0200)]
reduce share action text to the user name only

10 years agoBackport of #9562
Arthur Schiwon [Wed, 9 Jul 2014 10:19:50 +0000 (12:19 +0200)]
Backport of #9562

remove dead code

do not filter groups. but update the user count according to the filter

improve phpdoc

improve metadata runtime cache

add metadata tests

fixing PHPDoc

10 years agoUse the correct path when building the FileInfo for the search result
Robin Appelman [Mon, 14 Jul 2014 16:32:45 +0000 (18:32 +0200)]
Use the correct path when building the FileInfo for the search result

10 years agoappend file extension to the temporary file which contains the downloaded archive...
Thomas Müller [Fri, 11 Jul 2014 14:51:59 +0000 (16:51 +0200)]
append file extension to the temporary file which contains the downloaded archive - in case of zip files fileinfo doesn't seem to return anything reliable

10 years agoRemove deleted versions from the cache
Robin Appelman [Thu, 10 Jul 2014 13:19:40 +0000 (15:19 +0200)]
Remove deleted versions from the cache

10 years agoDont delete versions as local files
Robin Appelman [Fri, 4 Jul 2014 15:57:43 +0000 (17:57 +0200)]
Dont delete versions as local files

10 years agoExpose the user manager in the public server container
Robin Appelman [Wed, 9 Jul 2014 13:43:06 +0000 (15:43 +0200)]
Expose the user manager in the public server container

10 years agoAdd public interfaces for User, UserManager and UserSession
Robin Appelman [Wed, 9 Jul 2014 13:32:33 +0000 (15:32 +0200)]
Add public interfaces for User, UserManager and UserSession

10 years agoFix for #9422
Daniel Hansson [Wed, 9 Jul 2014 12:40:05 +0000 (14:40 +0200)]
Fix for #9422

10 years agoAdded mountType attribute and adapted Delete action text
Vincent Petry [Thu, 10 Jul 2014 15:25:46 +0000 (17:25 +0200)]
Added mountType attribute and adapted Delete action text

Added mountType attribute for files/folder to indicated whether they are
regular, external or shared.

The client side then adapts the "Delete" action hint text based on this
information.

Only the mount roots must have the delete icon hint adapted.
To make this detectable on the client side, the mountType can now
be null, "shared", "shared-root", "external" or "external-root".

This also gives room to icon customization on the client side.

10 years agoAdd short description explaining how SFTP ext storage class works.
Andreas Fischer [Sat, 12 Jul 2014 11:58:49 +0000 (13:58 +0200)]
Add short description explaining how SFTP ext storage class works.

10 years agoThe file providing the sftp:// scheme needs to be included manually.
Andreas Fischer [Sat, 12 Jul 2014 11:57:27 +0000 (13:57 +0200)]
The file providing the sftp:// scheme needs to be included manually.

10 years agoimprove check for duplicate apps
Georg Ehrke [Thu, 10 Jul 2014 15:18:10 +0000 (17:18 +0200)]
improve check for duplicate apps

10 years agoadd proper version comparision in OC_Installer::isUpdateAvailable
Georg Ehrke [Thu, 10 Jul 2014 15:17:55 +0000 (17:17 +0200)]
add proper version comparision in OC_Installer::isUpdateAvailable

10 years ago7RC2 v7.0.0RC2
Frank Karlitschek [Mon, 14 Jul 2014 02:45:11 +0000 (22:45 -0400)]
7RC2

10 years agoPropagate file action changes to the file lists
Vincent Petry [Wed, 9 Jul 2014 10:26:33 +0000 (12:26 +0200)]
Propagate file action changes to the file lists

Whenever an app needs to register an event late, it does that on the
original file actions object.

Since the file actions that the file list work on is a merged list, not
the original one, the registration event needs to be propagated there as
well.

10 years agofixing JS syntax errors
Thomas Müller [Wed, 9 Jul 2014 12:30:28 +0000 (14:30 +0200)]
fixing JS syntax errors

remove the group in case the last user has removed from that group

cleanup

use .filterAttr()

10 years agoincrement group counters when a user is created
Arthur Schiwon [Fri, 4 Jul 2014 23:21:18 +0000 (01:21 +0200)]
increment group counters when a user is created

decrease user count in affected groups after user delete

increase/decrease everyone count on user creation/deletion

avoid global selector

10 years agoadding 'groups' entry to remote apps
Thomas Müller [Wed, 9 Jul 2014 08:20:52 +0000 (10:20 +0200)]
adding 'groups' entry to remote apps

10 years agofixing typos
Thomas Müller [Wed, 9 Jul 2014 08:20:17 +0000 (10:20 +0200)]
fixing typos

10 years agodebounce the search function
Robin Appelman [Tue, 8 Jul 2014 13:42:58 +0000 (15:42 +0200)]
debounce the search function

10 years agofix translations
Morris Jobke [Wed, 9 Jul 2014 14:19:21 +0000 (16:19 +0200)]
fix translations

10 years agofix apostrophe fixes #9486
Volkan Gezer [Tue, 8 Jul 2014 19:48:29 +0000 (21:48 +0200)]
fix apostrophe fixes #9486

10 years agoBugFix missing $item on 'file_target' Line 1911
libasys [Tue, 8 Jul 2014 08:51:05 +0000 (10:51 +0200)]
BugFix missing $item on 'file_target' Line 1911

I think this should be right!

Backport of e70a7af6da7108982c46ae8759f70dd490274c36 from master

10 years agotest class is already in preferences.php
Arthur Schiwon [Wed, 9 Jul 2014 08:49:40 +0000 (10:49 +0200)]
test class is already in preferences.php

Conflicts:
tests/lib/preferences-singleton.php

10 years agosupport for AD primary groups
Arthur Schiwon [Tue, 1 Jul 2014 20:02:41 +0000 (22:02 +0200)]
support for AD primary groups

support for primary groups

actually the problem is only known on AD, it is only needed to take care of their attributes

adjust to ADs special behaviour

this change was not intended

cache the SID value so it is not requested over and over again

theres only one, use singular

we are access

add tests for new Access methods

add tests for new Group methods

address scrutinizer findings, mostly doc

call ldap_explode_dn from ldap wrapper, enables tests without php5-ldap

PHP Doc

yo dawg, i heard you like backslashes … php doc fix

PHPDoc updated and typos fixed while reviewing

10 years agoFix update cleanup to only affect file and folders
Vincent Petry [Tue, 8 Jul 2014 10:51:32 +0000 (12:51 +0200)]
Fix update cleanup to only affect file and folders

Fix bug in the SQL query that cleans up stray shares for removed
files/folders, which is now correctly limited to that item type instead
of also removing all other share types.

Backport of f4f52cf from master

10 years agoUpload abortion is now detected within the OC_Connector_Sabre_File::put()
Thomas Müller [Tue, 8 Jul 2014 07:44:46 +0000 (09:44 +0200)]
Upload abortion is now detected within the  OC_Connector_Sabre_File::put()
OC_Connector_Sabre_AbortedUploadDetectionPlugin is pointless

Adding unit test testUploadAbort()

10 years agoAdding new interface \OCP\Activity\IExtentsion
Thomas Müller [Thu, 3 Jul 2014 11:48:15 +0000 (13:48 +0200)]
Adding new interface \OCP\Activity\IExtentsion
Adding method getNotificationTypes()
Adding method filterNotificationTypes()
Adding method getDefaultTypes()
Adding method translate() and getTypeIcon()
Adding method getGroupParameter()
Adding method getNavigation()
Adding method getNavigation()
Adding method isFilterValid() and getQueryForFilter()
Adding unit tests for \OC\ActivityManager

10 years agoMerge pull request #9500 from owncloud/fix9475
blizzz [Tue, 8 Jul 2014 14:30:09 +0000 (16:30 +0200)]
Merge pull request #9500 from owncloud/fix9475

Avoid unnecessary writing to the DB when prefrences are not changed in fact

10 years agouse case insensitive LIKE when searching for files in mysql
Robin Appelman [Tue, 8 Jul 2014 10:41:28 +0000 (12:41 +0200)]
use case insensitive LIKE when searching for files in mysql

10 years agoAdd repair step to set MySQL collation to utf8_bin
Robin Appelman [Mon, 7 Jul 2014 15:37:35 +0000 (17:37 +0200)]
Add repair step to set MySQL collation to utf8_bin
Set default collation of mysql connection to utf8_bin
Set utf_bin as default collation for new tables

10 years agoFix Signiture Does Not Match when mounting Amazon S3 external storage
Christopher T. Johnson [Mon, 14 Apr 2014 13:49:43 +0000 (09:49 -0400)]
Fix Signiture Does Not Match when mounting Amazon S3 external storage

For some reason the aws-sdk-php package does not caclulate the
signiture correctly when accessing an object in a bucket with a name of
'.'.

When we are at the top of a S3 bucket there is a need(?) to have a directory
name.  Per standard Unix the name picked was '.' (dot or period).  This
choice exercises the aws-sdk bug.

This fix is to add a field to the method to store the name to use instead of
'.' which at this point is hard coded to '<root>'.  We also add a private
function 'cleanKey()' which will test for the '.' name and replace it with
the variable.  Finally all calls to manipulate objects where the path is
not obviously not '.' are processed through cleanKey().

An example where we don't process through clean key would be
'Key' => $path.'/',

Use correct relationship operator

Per feed back use === instead of ==

use '/' instead of '<root>'