Commit graph

21189 commits

Author SHA1 Message Date
Adam Williamson
3b4823d89c add function to invalidate one opcache file, use it if possible #9885
Issue #9885 appears to be triggered by ownCloud invalidating the entire
PHP opcache. Testing indicates it can be avoided by only invalidating the
single file that was written from the opcache, instead of clearing the
whole thing. In general it is more efficient to invalidate only the single
file that was changed, rather than the whole cache.

This adds a deleteFromOpcodeCache() function which invalidates a single
file from the opcache if possible, returning true if the underlying
function returns true (which may mean 'success', or 'file does not exist',
or 'file exists but is not in opcache', all of which are OK to treat as
good for our purposes). It also changes writeData() in config.php to try
using deleteFromOpcodeCache() and only fall back on clearOpcodeCache() if
that fails.
2014-11-06 17:58:58 -08:00
Lukas Reschke
d383c45c13 Merge pull request #12003 from owncloud/password-migration
Use new hashing API for OC_User_Database
2014-11-06 22:43:57 +01:00
Morris Jobke
e53354bfd7 Merge pull request #12009 from owncloud/make-optional
Make second argument optional
2014-11-06 19:43:11 +01:00
Robin Appelman
0c230fb57e Merge pull request #11945 from owncloud/share-setup-other-user
Setup shared mounts for the correct user when setting up the filesystem
2014-11-06 19:24:24 +01:00
Robin Appelman
0f3fd89f7d Fix sharing tests 2014-11-06 18:31:41 +01:00
Robin Appelman
c21d1da01a Support displaynames for dummy user backend 2014-11-06 18:31:40 +01:00
Robin Appelman
7ecd220715 Setup shared mounts for the correct user when setting up the filesystem for the non-logged in user 2014-11-06 18:31:40 +01:00
Robin Appelman
9c79c2fa17 Dont make real users in tests 2014-11-06 18:31:40 +01:00
Lukas Reschke
20cd9a134f Make second argument optional
Equivalent to addVendorScript und addScript from OC_Util
2014-11-06 18:17:21 +01:00
Lukas Reschke
5b8a6b66b5 Load PHPAss via autoloader 2014-11-06 16:32:53 +01:00
Morris Jobke
efe209784e Merge pull request #12000 from owncloud/bower-strengthify
bower strengthify
2014-11-06 16:30:44 +01:00
Morris Jobke
7353183d99 bower strengthify 2014-11-06 16:29:34 +01:00
Lukas Reschke
8f1fa32e1f Merge pull request #11998 from owncloud/add-get-logger-to-interface
Add getLogger() to IServerContainer
2014-11-06 16:04:54 +01:00
Lukas Reschke
c4d7483a0a Use new hashing API for OC_User_Database
This will use the new Hashing API for OC_User_Database and migrate old passwords upon initial login of the user.
2014-11-06 15:42:06 +01:00
Thomas Müller
2090e9b620 Merge pull request #11947 from owncloud/public-hash-api
Add OCP\Security\IHasher
2014-11-06 15:17:12 +01:00
Lukas Reschke
24ca2d858f Add OCP\Security\IHasher
Public interface for hashing which also works with legacy ownCloud hashes and supports updating the legacy hash via a passed reference.

Follow-up of https://github.com/owncloud/core/pull/10219#issuecomment-61624662
Requires https://github.com/owncloud/3rdparty/pull/136
2014-11-06 15:16:14 +01:00
Morris Jobke
1d6c7e28e9 update to 3rdparty master 2014-11-06 15:02:32 +01:00
Lukas Reschke
5f2a083686 Merge pull request #11883 from owncloud/clear-session-for-setup
Clear session before setup
2014-11-06 14:39:51 +01:00
Lukas Reschke
f73d653036 Merge pull request #11972 from owncloud/usermanager-remove-delete
Remove confusingly names \OC\User\Manager::delete and fix the automatic ...
2014-11-06 13:52:25 +01:00
Lukas Reschke
bb15028a00 Merge pull request #11993 from owncloud/enc_repeat_password
[encryption] check if the provided password is really the current log-in password
2014-11-06 13:42:00 +01:00
Lukas Reschke
0e3e1e3563 Add getLogger() to IServerContainer
Makes my IDE complaining less ;-)
2014-11-06 13:36:36 +01:00
Thomas Müller
f2d17ea771 Merge pull request #11984 from owncloud/bower-md5
bower md5
2014-11-06 13:28:30 +01:00
Morris Jobke
73569b29bc md5 now handled via bower 2014-11-06 13:22:16 +01:00
Morris Jobke
ae72f0c158 Merge pull request #11985 from owncloud/bower-snap
bower snapjs
2014-11-06 12:44:36 +01:00
Morris Jobke
e49b9022a1 bower snapjs 2014-11-06 12:03:57 +01:00
Thomas Müller
fd829cb0b5 Merge pull request #11989 from owncloud/bower-zxcvbn
bower zxcvbn
2014-11-06 11:57:33 +01:00
Morris Jobke
f816f3df03 bower zxcvbn 2014-11-06 11:55:57 +01:00
Thomas Müller
06b67f7e43 Merge pull request #11981 from owncloud/bower-jcrop
bower jcrop
2014-11-06 11:49:39 +01:00
Bjoern Schiessle
8104a4e24e check if the provided password is really the current log-in password 2014-11-06 11:12:20 +01:00
Morris Jobke
49fbd766c2 bower jcrop 2014-11-06 09:32:34 +01:00
Morris Jobke
3329492766 Merge pull request #11980 from owncloud/bower-select2
bower select2
2014-11-06 09:27:58 +01:00
Morris Jobke
226d43a1cf manage select2 via bower 2014-11-06 09:27:12 +01:00
Vincent Petry
afa14d571c Merge pull request #11982 from owncloud/bower-underscore
bower underscore
2014-11-06 08:42:29 +01:00
Jenkins for ownCloud
fa4018d36c [tx-robot] updated from transifex 2014-11-06 01:55:04 -05:00
Morris Jobke
86d3476761 Merge pull request #11983 from owncloud/drop-chosen
drop unused library chosen
2014-11-06 00:47:25 +01:00
Morris Jobke
957dee5af1 bower underscore 2014-11-05 23:23:03 +01:00
Morris Jobke
0af5a8db74 drop unused library chosen 2014-11-05 22:41:33 +01:00
Thomas Müller
bf0ad7f219 Merge pull request #11970 from owncloud/bower-handlebars
bower handlebars
2014-11-05 16:50:58 +01:00
Morris Jobke
02c7fb8445 bower handlebars 2014-11-05 16:47:46 +01:00
Lukas Reschke
4659b0e6a0 Merge pull request #11936 from owncloud/bower-jquery
Bower jquery
2014-11-05 16:43:24 +01:00
Robin Appelman
1eefc21329 Remove confusingly names \OC\User\Manager::delete and fix the automatic cache cleanup instead 2014-11-05 15:45:58 +01:00
Lukas Reschke
9dc769c37a Merge pull request #11968 from owncloud/drop-jquery-placeholder
drop unused jquery.placeholder
2014-11-05 15:04:23 +01:00
Thomas Müller
a0e9324e00 Merge pull request #11355 from owncloud/unbold
Unbold
2014-11-05 14:18:16 +01:00
Jan-Christoph Borchardt
a857559979 explicitly unbold text by default, otherwise might be bold 2014-11-05 14:14:16 +01:00
Jan-Christoph Borchardt
e869db47b0 unbold labels and folders 2014-11-05 14:13:09 +01:00
Thomas Müller
e624e9064c Merge pull request #11965 from owncloud/fix-jsonresponse
fix typo in content type for JSONResponse
2014-11-05 14:03:12 +01:00
Thomas Müller
06267fec8f Merge pull request #11928 from owncloud/support-HTML-in-logo
Support HTML in logo
2014-11-05 13:54:29 +01:00
Thomas Müller
7f41048a33 Merge pull request #11962 from owncloud/fix-server-sharing-strings
adjust strings - fixed #11930
2014-11-05 13:43:23 +01:00
Morris Jobke
4fa3a5034b drop unused jquery.placeholder 2014-11-05 13:41:11 +01:00
Morris Jobke
f0d6a47a67 Merge pull request #11966 from owncloud/drop-jquery-inview
drop jquery.inview as it is unused
2014-11-05 13:11:48 +01:00