server/lib/private
Vincent Petry a542c57a7b Catch duplicate insertion errors while scanning files
When two scanning processed run at the same time, for example when
scan.php and list.php were called at the same time on an external
storage mountpoint, duplicate insertion errors can occurs.

These errors are now logged and ignored.

Since both scans are running in parallel transactions, they don't see
each other's changes directly in the DB which can cause duplicate
insertion errors for mime types as well, but those mime types can't be
selected yet. The solution to this is to force-reload the mimetypes list
after the transaction is finished.

Fixes #5199
2013-10-23 13:00:46 +02:00
..
appframework Fix namespace for OCP\Appframework\Http 2013-10-23 05:57:34 +02:00
archive move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
backgroundjob move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
cache Merge branch 'master' into fixing-4546-master 2013-10-07 17:47:54 +02:00
connector/sabre - delete properties on node delete 2013-10-22 19:41:26 +02:00
db Use quoteIdentifier with proper objects 2013-10-21 22:31:57 +03:00
fileproxy move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
files Catch duplicate insertion errors while scanning files 2013-10-23 13:00:46 +02:00
group move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
hooks move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
l10n Merge branch 'master' into fixing-appframework-master 2013-10-08 12:13:24 +02:00
legacy Merge pull request #4796 from owncloud/config-no-catch 2013-10-07 11:45:13 -07:00
log Try to create custom log file before falling back to default. 2013-10-20 23:58:07 +02:00
memcache move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
migration move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
minimizer move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
ocs New OCS route: 2013-10-21 20:14:18 +02:00
preview fix comment 2013-10-17 15:19:15 +02:00
search move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
session fixing php 5.3 compatibility 2013-10-08 21:52:54 +02:00
setup move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
template introduce OC_Helper::linkToDocs() 2013-10-21 22:01:27 +02:00
user Use strict comparison === instead of ==. 2013-10-08 20:03:16 +02:00
vobject move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
activitymanager.php adding OC6 public API for activities 2013-10-09 18:06:21 +02:00
allconfig.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
api.php Support existing sessions within OCS API calls 2013-10-21 18:58:46 +02:00
app.php add post_enable hook if a app gets enabled 2013-10-22 16:15:19 +02:00
appconfig.php Remove "link" shares right after disabling the "allow_link_share" setting 2013-10-18 11:37:13 +02:00
apphelper.php moving file to the right location 2013-10-07 00:32:39 +02:00
archive.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
arrayparser.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
avatar.php avatars should also work with encryption after pr #5332 was merged 2013-10-14 17:30:24 +02:00
backgroundjob.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
cache.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
config.php use OC_Helper::linkToDocs() in lib/private/config.php 2013-10-21 23:08:09 +02:00
contactsmanager.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
davclient.php Fixed spaces 2013-10-17 23:22:19 +02:00
db.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
defaults.php Merge branch 'master' into sharing_mail_notification_master 2013-10-02 10:11:18 +02:00
eventsource.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
filechunking.php Merge branch 'master' into fixing-4546-master 2013-10-07 17:47:54 +02:00
fileproxy.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
files.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
geo.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
group.php dispayNamesInGroup(s) should always return uid as key in the result attr, fixes #5209 2013-10-20 20:55:27 +02:00
helper.php introduce OC_Helper::linkToDocs() 2013-10-21 22:01:27 +02:00
hintexception.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
hook.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
image.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
installer.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
json.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
l10n.php Add L10N interface to server container 2013-10-04 18:11:02 +02:00
log.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
mail.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
migrate.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
mimetypes.list.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
minimizer.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
navigationmanager.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
notsquareexception.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
ocs.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
ocsclient.php Merge branch 'master' into lib-private-master-2 2013-10-01 16:11:59 +02:00
preferences.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
preview.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
previewmanager.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
request.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
response.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
route.php Add patch method to OC_Route 2013-10-01 20:13:13 +02:00
router.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
search.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
server.php Merge branch 'master' into activities-api 2013-10-16 21:15:25 +02:00
setup.php introduce link_to_docs() and migrate links 2013-10-21 21:29:45 +02:00
subadmin.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
tagmanager.php reorganize file in lib 2013-09-30 16:39:03 +02:00
tags.php reorganize file in lib 2013-09-30 16:39:03 +02:00
template.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
templatelayout.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
updater.php Merge branch 'master' into lib-private-master-2 2013-10-01 16:11:59 +02:00
urlgenerator.php moving file to the right location 2013-10-07 00:32:39 +02:00
user.php Fix logout link HTML. 2013-10-14 22:31:13 +02:00
util.php introduce OC_Helper::linkToDocs() 2013-10-21 22:01:27 +02:00
vobject.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00