]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 4 Dec 2014 06:54:42 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years agoMerge pull request #12581 from owncloud/fix_typo
Thomas Müller [Wed, 3 Dec 2014 18:55:07 +0000 (19:55 +0100)]
Merge pull request #12581 from owncloud/fix_typo

fix typo in license header

9 years agofix typo
Bjoern Schiessle [Wed, 3 Dec 2014 18:46:32 +0000 (19:46 +0100)]
fix typo

9 years agoMerge pull request #12544 from owncloud/fix-windows-unittests
Thomas Müller [Wed, 3 Dec 2014 16:49:10 +0000 (17:49 +0100)]
Merge pull request #12544 from owncloud/fix-windows-unittests

Replace uniqid calls with $this->getUniqueID so tests pass again on windows

9 years agoMerge pull request #12579 from owncloud/drop-files-external-tests
Thomas Müller [Wed, 3 Dec 2014 16:44:56 +0000 (17:44 +0100)]
Merge pull request #12579 from owncloud/drop-files-external-tests

drop files_external tests from autotest - they will be executed with aut...

9 years agoMerge pull request #12542 from owncloud/update-autotestcmd
Joas Schilling [Wed, 3 Dec 2014 16:40:28 +0000 (17:40 +0100)]
Merge pull request #12542 from owncloud/update-autotestcmd

Update autotest.cmd

9 years agoMerge pull request #12492 from owncloud/deprecate-passwordsalt
Lukas Reschke [Wed, 3 Dec 2014 15:51:06 +0000 (16:51 +0100)]
Merge pull request #12492 from owncloud/deprecate-passwordsalt

Officially deprecate passwordsalt

9 years agodrop files_external tests from autotest - they will be executed with autotest-externa...
Morris Jobke [Wed, 3 Dec 2014 15:38:25 +0000 (16:38 +0100)]
drop files_external tests from autotest - they will be executed with autotest-external.sh which is coming

9 years agoMerge pull request #12382 from owncloud/enc_reorganize_folders2
Morris Jobke [Wed, 3 Dec 2014 15:08:40 +0000 (16:08 +0100)]
Merge pull request #12382 from owncloud/enc_reorganize_folders2

[encryption] reorganize folder structure (second try to make Jenkins happy)

9 years agoMerge pull request #12552 from szlwzl/master
Thomas Müller [Wed, 3 Dec 2014 15:02:35 +0000 (16:02 +0100)]
Merge pull request #12552 from szlwzl/master

adding @ sign between email address and domain name to make syntax clearer

9 years agoOfficially deprecated passwordsalt
Lukas Reschke [Fri, 28 Nov 2014 12:51:57 +0000 (13:51 +0100)]
Officially deprecated passwordsalt

Hopefully this prevents people from using it in the future.

9 years agoMerge pull request #12572 from owncloud/issue/12571-disabled-preview-logflood
Lukas Reschke [Wed, 3 Dec 2014 13:51:03 +0000 (14:51 +0100)]
Merge pull request #12572 from owncloud/issue/12571-disabled-preview-logflood

Stop flooding the log, when previews are disabled

9 years agoMerge pull request #12553 from owncloud/default-iosid
Thomas Müller [Wed, 3 Dec 2014 13:05:27 +0000 (14:05 +0100)]
Merge pull request #12553 from owncloud/default-iosid

add missing public interface for iOS client app id

9 years agoMerge pull request #12556 from owncloud/add-route-for-versions
Thomas Müller [Wed, 3 Dec 2014 13:01:58 +0000 (14:01 +0100)]
Merge pull request #12556 from owncloud/add-route-for-versions

Add route for download of versions

9 years agoStop flooding the log, when previews are disabled
Joas Schilling [Wed, 3 Dec 2014 11:52:42 +0000 (12:52 +0100)]
Stop flooding the log, when previews are disabled

9 years agoMerge pull request #12563 from owncloud/usermenu-remove-border
Volkan Gezer [Wed, 3 Dec 2014 11:11:21 +0000 (12:11 +0100)]
Merge pull request #12563 from owncloud/usermenu-remove-border

remove border from user menu, adjust to apps menu

9 years agoReplace uniqid calls with $this->getUniqueID so tests pass again on windows
Joas Schilling [Tue, 2 Dec 2014 12:51:36 +0000 (13:51 +0100)]
Replace uniqid calls with $this->getUniqueID so tests pass again on windows

9 years agoMerge pull request #12565 from owncloud/config-sample-databases
Vincent Petry [Wed, 3 Dec 2014 09:16:45 +0000 (10:16 +0100)]
Merge pull request #12565 from owncloud/config-sample-databases

add proper description what database is supported by CE and EE

9 years agoMerge pull request #12554 from owncloud/versions-app-autoload
Lukas Reschke [Wed, 3 Dec 2014 08:34:57 +0000 (09:34 +0100)]
Merge pull request #12554 from owncloud/versions-app-autoload

Autoload lib files of versions app

9 years agoadd proper description what database is supported by CE and EE
Morris Jobke [Wed, 3 Dec 2014 07:52:59 +0000 (08:52 +0100)]
add proper description what database is supported by CE and EE

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 3 Dec 2014 06:54:32 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years agoMerge pull request #10881 from owncloud/touch-statcache
Robin Appelman [Tue, 2 Dec 2014 22:29:24 +0000 (23:29 +0100)]
Merge pull request #10881 from owncloud/touch-statcache

Clear statcache before getting the mtime from local storage backends

9 years agoAdd route for download of versions
Lukas Reschke [Tue, 2 Dec 2014 16:52:31 +0000 (17:52 +0100)]
Add route for download of versions

Otherwise on master it was not possible anymore to download older versions.

Fixes itself.

9 years agoMerge pull request #12333 from owncloud/delete-selected-files
Morris Jobke [Tue, 2 Dec 2014 16:32:04 +0000 (17:32 +0100)]
Merge pull request #12333 from owncloud/delete-selected-files

Fix deleting non deletable files by selecting them

9 years agoAutoload exception from files_trashbin
Joas Schilling [Tue, 2 Dec 2014 16:26:42 +0000 (17:26 +0100)]
Autoload exception from files_trashbin

9 years agoAutoload lib files of versions app
Joas Schilling [Tue, 2 Dec 2014 16:21:19 +0000 (17:21 +0100)]
Autoload lib files of versions app

9 years agoalso clear statcache in mapped local
Robin Appelman [Tue, 2 Dec 2014 15:39:03 +0000 (16:39 +0100)]
also clear statcache in mapped local

9 years agoMerge pull request #11975 from owncloud/Combustible-combustible_dev
Morris Jobke [Tue, 2 Dec 2014 15:18:00 +0000 (16:18 +0100)]
Merge pull request #11975 from owncloud/Combustible-combustible_dev

Check imagecreate*() return before using and use logger in \OC_Image

9 years agoadd missing public interface for iOS client app id
Morris Jobke [Tue, 2 Dec 2014 15:10:07 +0000 (16:10 +0100)]
add missing public interface for iOS client app id

9 years agosmall fixes
Bjoern Schiessle [Tue, 2 Dec 2014 15:08:06 +0000 (16:08 +0100)]
small fixes

9 years agoadding @ sign between email address and domain name to make the syntax clearer
Simon Whittaker [Tue, 2 Dec 2014 15:06:40 +0000 (15:06 +0000)]
adding @ sign between email address and domain name to make the syntax clearer

9 years agodelete old keys if file was moved to a different mount point
Bjoern Schiessle [Fri, 28 Nov 2014 16:53:21 +0000 (17:53 +0100)]
delete old keys if file was moved to a different mount point

9 years agoupgrade to new folder structure
Bjoern Schiessle [Tue, 18 Nov 2014 16:25:36 +0000 (17:25 +0100)]
upgrade to new folder structure

9 years agoClear statcache before getting the mtime from local storage backends
Robin Appelman [Fri, 5 Sep 2014 10:05:04 +0000 (12:05 +0200)]
Clear statcache before getting the mtime from local storage backends

9 years agoRestore the development config after running the tests
Joas Schilling [Tue, 2 Dec 2014 11:41:33 +0000 (12:41 +0100)]
Restore the development config after running the tests

9 years agoAllow overwriting DATADIR completly so ramdisk can be used
Joas Schilling [Tue, 2 Dec 2014 11:21:37 +0000 (12:21 +0100)]
Allow overwriting DATADIR completly so ramdisk can be used

9 years agoAllow passing a test file just like in autotest.sh
Joas Schilling [Tue, 2 Dec 2014 11:20:07 +0000 (12:20 +0100)]
Allow passing a test file just like in autotest.sh

9 years agoBetter manage the output when running autotest.cmd
Joas Schilling [Tue, 2 Dec 2014 11:19:17 +0000 (12:19 +0100)]
Better manage the output when running autotest.cmd

9 years agoMerge pull request #12310 from kampka/master
Thomas Müller [Tue, 2 Dec 2014 08:19:12 +0000 (09:19 +0100)]
Merge pull request #12310 from kampka/master

Implement a logger to log to error_log

9 years agoImplement a logger to log to error_log
Christian Kampka [Wed, 19 Nov 2014 19:10:48 +0000 (20:10 +0100)]
Implement a logger to log to error_log

9 years agoMerge pull request #12419 from owncloud/read-only-config
Thomas Müller [Mon, 1 Dec 2014 15:37:29 +0000 (16:37 +0100)]
Merge pull request #12419 from owncloud/read-only-config

Allow read-only configuration

9 years agoUse \OCP\ILogger
Thomas Müller [Wed, 5 Nov 2014 15:44:19 +0000 (16:44 +0100)]
Use \OCP\ILogger

9 years agoAdded error check to lib/private/image.php
Byron Marohn [Mon, 15 Sep 2014 23:12:07 +0000 (16:12 -0700)]
Added error check to lib/private/image.php

This checks that imagecreatetruecolor actually creates an image, rather than returning FALSE.
Without this check, subsequent loop might create billions of ERROR-level log messages.

Signed-off-by: Byron Marohn <combustible@live.com>
9 years agoMerge pull request #12469 from owncloud/issue/12460-port-local-changes2mapped
Vincent Petry [Mon, 1 Dec 2014 09:42:39 +0000 (10:42 +0100)]
Merge pull request #12469 from owncloud/issue/12460-port-local-changes2mapped

Issue/12460 port local changes2mapped

9 years agoMerge pull request #12427 from owncloud/issue/6101-deprecate-namespaced-functions
Lukas Reschke [Mon, 1 Dec 2014 08:38:15 +0000 (09:38 +0100)]
Merge pull request #12427 from owncloud/issue/6101-deprecate-namespaced-functions

Depcrate namespaced functions, since they can not be autoloaded

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 1 Dec 2014 06:54:26 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years agoMerge pull request #12398 from oparoz/patch-5
Morris Jobke [Sun, 30 Nov 2014 09:32:51 +0000 (10:32 +0100)]
Merge pull request #12398 from oparoz/patch-5

You can only change the oritentation of a JPEG

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 30 Nov 2014 06:54:25 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 29 Nov 2014 06:54:28 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years agoMerge pull request #12499 from owncloud/disableMSSQL
Lukas Reschke [Fri, 28 Nov 2014 17:38:34 +0000 (18:38 +0100)]
Merge pull request #12499 from owncloud/disableMSSQL

Disable MSSQL and OCI for new CE installations

9 years agoMerge pull request #12488 from owncloud/activity_group_multiple_conditions
Lukas Reschke [Fri, 28 Nov 2014 16:35:05 +0000 (17:35 +0100)]
Merge pull request #12488 from owncloud/activity_group_multiple_conditions

activitymanager: concatenate queries with 'or'

9 years agoAdjust sample config
Lukas Reschke [Fri, 28 Nov 2014 15:58:09 +0000 (16:58 +0100)]
Adjust sample config

9 years agoDisable OCI as it is unsupported by most CE apps
Lukas Reschke [Fri, 28 Nov 2014 15:23:03 +0000 (16:23 +0100)]
Disable OCI as it is unsupported by most CE apps

9 years agoDisable MSSQL for new CE installations
Lukas Reschke [Fri, 28 Nov 2014 15:08:38 +0000 (16:08 +0100)]
Disable MSSQL for new CE installations

Since automatic schema migrations are not yet possible let's disable this for now.

9 years agoconcatenate queries with 'or'
Bjoern Schiessle [Fri, 28 Nov 2014 10:18:15 +0000 (11:18 +0100)]
concatenate queries with 'or'

9 years agoMerge pull request #12486 from owncloud/activity_priorities
Lukas Reschke [Fri, 28 Nov 2014 13:40:27 +0000 (14:40 +0100)]
Merge pull request #12486 from owncloud/activity_priorities

add activity priorities to core so that other apps can reuse it

9 years agoMerge pull request #12483 from owncloud/issue/6101-preview-providers
Lukas Reschke [Fri, 28 Nov 2014 12:43:41 +0000 (13:43 +0100)]
Merge pull request #12483 from owncloud/issue/6101-preview-providers

Issue/6101 Autoload preview providers

9 years agoMerge pull request #12489 from owncloud/skip-sendpassword-email-test-windows
Thomas Müller [Fri, 28 Nov 2014 11:41:53 +0000 (12:41 +0100)]
Merge pull request #12489 from owncloud/skip-sendpassword-email-test-windows

Skip lostcontroller sending email test on windows

9 years agoSkip lostcontroller sending email test on windows
Joas Schilling [Fri, 28 Nov 2014 10:38:22 +0000 (11:38 +0100)]
Skip lostcontroller sending email test on windows

9 years agoadd activity priorities to core so that other apps can reuse it
Bjoern Schiessle [Fri, 28 Nov 2014 09:37:16 +0000 (10:37 +0100)]
add activity priorities to core so that other apps can reuse it

9 years agoMerge pull request #12432 from owncloud/nosqlite
Vincent Petry [Fri, 28 Nov 2014 09:19:15 +0000 (10:19 +0100)]
Merge pull request #12432 from owncloud/nosqlite

Add notes that SQLite is CE only

9 years agoMerge pull request #12472 from owncloud/modifyCookies
Morris Jobke [Fri, 28 Nov 2014 09:16:22 +0000 (10:16 +0100)]
Merge pull request #12472 from owncloud/modifyCookies

Add functions to modify cookies to response class

9 years agoMerge pull request #12443 from owncloud/issue/6101-all-classes-autoloadable
Morris Jobke [Fri, 28 Nov 2014 08:40:27 +0000 (09:40 +0100)]
Merge pull request #12443 from owncloud/issue/6101-all-classes-autoloadable

Issue/6101 Make all interfaces/classes autoloadable

9 years agoremove border from user menu, adjust to apps menu
Jan-Christoph Borchardt [Fri, 28 Nov 2014 08:35:50 +0000 (09:35 +0100)]
remove border from user menu, adjust to apps menu

9 years agoMerge pull request #12479 from rclarkson/master
Morris Jobke [Fri, 28 Nov 2014 08:29:15 +0000 (09:29 +0100)]
Merge pull request #12479 from rclarkson/master

Limit blacklist to php files

9 years agoSplit bitmap providers into one per file
Joas Schilling [Fri, 28 Nov 2014 08:25:40 +0000 (09:25 +0100)]
Split bitmap providers into one per file

9 years agoSplit office providers into one class per file
Joas Schilling [Fri, 28 Nov 2014 08:20:58 +0000 (09:20 +0100)]
Split office providers into one class per file

9 years agoFix intendation and doc blocks of preview providers
Joas Schilling [Fri, 28 Nov 2014 08:16:35 +0000 (09:16 +0100)]
Fix intendation and doc blocks of preview providers

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 28 Nov 2014 06:55:29 +0000 (01:55 -0500)]
[tx-robot] updated from transifex

9 years agoLimit blacklist to php files
Richard Clarkson [Thu, 27 Nov 2014 19:26:45 +0000 (20:26 +0100)]
Limit blacklist to php files

During performance optimization I have discovered that the installer scans all files for the blacklisted words. This greatly impacts speed on lower end devices such as the raspberry pie. This commit limits it to PHP files which seems to achieve the desired effect.

I have used the --include option to achieve this, see http://stackoverflow.com/questions/1987926/how-do-i-grep-recursively

This contribution is MIT licensed

9 years agoMove registration of core preview providers to preview
Joas Schilling [Thu, 27 Nov 2014 18:40:23 +0000 (19:40 +0100)]
Move registration of core preview providers to preview

So the class files only have class code and don't execute code

9 years agoMove NaturalSort_DefaultCollator to its own file
Joas Schilling [Wed, 26 Nov 2014 10:36:06 +0000 (11:36 +0100)]
Move NaturalSort_DefaultCollator to its own file

9 years agoMove iHomeStorage to own file
Joas Schilling [Wed, 26 Nov 2014 10:18:27 +0000 (11:18 +0100)]
Move iHomeStorage to own file

9 years agoMove share interfaces to own files so they can be autoloaded
Joas Schilling [Wed, 26 Nov 2014 10:14:17 +0000 (11:14 +0100)]
Move share interfaces to own files so they can be autoloaded

9 years agoMerge pull request #12426 from owncloud/jail-mask-wrappers
Robin Appelman [Thu, 27 Nov 2014 15:00:14 +0000 (16:00 +0100)]
Merge pull request #12426 from owncloud/jail-mask-wrappers

Add Jail and PermissionsMask storage wrappers

9 years agoAdd storage and cache wrappers to apply a permissions mask to a storage
Robin Appelman [Mon, 10 Nov 2014 15:00:25 +0000 (16:00 +0100)]
Add storage and cache wrappers to apply a permissions mask to a storage

9 years agoAdd storage and cache wrappers to jail a storage to a subfolder
Robin Appelman [Mon, 10 Nov 2014 15:00:08 +0000 (16:00 +0100)]
Add storage and cache wrappers to jail a storage to a subfolder

9 years agoMerge pull request #12470 from owncloud/jenkins-12447
Lukas Reschke [Thu, 27 Nov 2014 14:16:14 +0000 (15:16 +0100)]
Merge pull request #12470 from owncloud/jenkins-12447

Jenkins 12447

9 years agoAlso clearstatcache() in MappedLocal before using the stats
Joas Schilling [Thu, 27 Nov 2014 10:53:12 +0000 (11:53 +0100)]
Also clearstatcache() in MappedLocal before using the stats

Local change 283c10f010f5da4ca0b6b7658ac1fa730b8858bf

9 years agoCheck whether file exists before trying to touch() it
Joas Schilling [Thu, 27 Nov 2014 10:45:03 +0000 (11:45 +0100)]
Check whether file exists before trying to touch() it

Local changes from d069ee8a8bce6a08d8b7921ad378c60af2a0439e
and 258ad38fd3c1e3cdc4ec20238b166e78c334b814

9 years agoCheck return of disk_free_space before returning it
Joas Schilling [Thu, 27 Nov 2014 10:42:49 +0000 (11:42 +0100)]
Check return of disk_free_space before returning it

Local changes copied from ed8359737199a8a6640986e00df80d971aa6e1d7
and 25370fcb8235d2129cab0f8a5843c4784b3673d0

9 years agoCheck file existance in MappedLocal in hasUpdated()
Joas Schilling [Thu, 27 Nov 2014 10:41:11 +0000 (11:41 +0100)]
Check file existance in MappedLocal in hasUpdated()

Only fixed in Local by eeee9eacea333035e22ef3ed938e36f56bc762cd

9 years agoMake MappedLocal::isLocal() true like for Local
Joas Schilling [Thu, 27 Nov 2014 10:39:58 +0000 (11:39 +0100)]
Make MappedLocal::isLocal() true like for Local

Missed in 788c8540aa6aac50795c37b088eeaa561d44b86c

9 years agoMerge pull request #12462 from owncloud/issue/12460-localstorage-buildpath
Vincent Petry [Thu, 27 Nov 2014 13:57:08 +0000 (14:57 +0100)]
Merge pull request #12462 from owncloud/issue/12460-localstorage-buildpath

Introduce buildPath() in Storage\Local to reduce the difference to MappedLocal

9 years agoPass \OC::$WEBROOT to the ctr
Lukas Reschke [Thu, 27 Nov 2014 13:50:14 +0000 (14:50 +0100)]
Pass \OC::$WEBROOT to the ctr

9 years agoRemove redundant code
Lukas Reschke [Thu, 27 Nov 2014 13:38:38 +0000 (14:38 +0100)]
Remove redundant code

9 years agoUse server container
Lukas Reschke [Thu, 27 Nov 2014 13:36:11 +0000 (14:36 +0100)]
Use server container

9 years agoAdd functions to modify cookies to response class
Lukas Reschke [Thu, 27 Nov 2014 13:19:00 +0000 (14:19 +0100)]
Add functions to modify cookies to response class

Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code.

This PR adds some basic functionalities to add and invalidate cookies.

Usage:
```php
$response = new TemplateResponse(...);
$response->addCookie('foo', 'bar');
$response->invalidateCookie('foo');
$response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00'));
```

Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.

9 years agoMove OC_USER_BACKEND_* constants to OC_User_Backend class
Joas Schilling [Wed, 26 Nov 2014 11:17:28 +0000 (12:17 +0100)]
Move OC_USER_BACKEND_* constants to OC_User_Backend class

9 years agoMove OC_GROUP_BACKEND_* constants to OC_Group_Backend class
Joas Schilling [Wed, 26 Nov 2014 11:04:59 +0000 (12:04 +0100)]
Move OC_GROUP_BACKEND_* constants to OC_Group_Backend class

9 years agoMerge pull request #12449 from owncloud/issue/12444-namespace-exceptions
Joas Schilling [Thu, 27 Nov 2014 11:14:06 +0000 (12:14 +0100)]
Merge pull request #12449 from owncloud/issue/12444-namespace-exceptions

Issue/12444 namespace exceptions

9 years agoMerge pull request #12418 from owncloud/delete_previews
Morris Jobke [Thu, 27 Nov 2014 11:09:39 +0000 (12:09 +0100)]
Merge pull request #12418 from owncloud/delete_previews

delete old previews

9 years agoRemove unused 2nd parameter of buildPath() and rename to getSourcePath()
Joas Schilling [Thu, 27 Nov 2014 09:55:39 +0000 (10:55 +0100)]
Remove unused 2nd parameter of buildPath() and rename to getSourcePath()

9 years agoIntroduce getSourcePath() in Storage\Local to reduce the difference to MappedLocal
Joas Schilling [Wed, 26 Nov 2014 15:58:25 +0000 (16:58 +0100)]
Introduce getSourcePath() in Storage\Local to reduce the difference to MappedLocal

9 years agoMerge pull request #12464 from owncloud/cache-available-languages
Vincent Petry [Thu, 27 Nov 2014 10:12:18 +0000 (11:12 +0100)]
Merge pull request #12464 from owncloud/cache-available-languages

Cache results of available languages

9 years agoReplace exception with standard exception
Joas Schilling [Wed, 26 Nov 2014 11:42:43 +0000 (12:42 +0100)]
Replace exception with standard exception

9 years agoCorrectly namespace and autoload DatabaseException
Joas Schilling [Wed, 26 Nov 2014 11:38:24 +0000 (12:38 +0100)]
Correctly namespace and autoload DatabaseException

9 years agoMerge pull request #12451 from owncloud/issue/6101-remove-gettype-class
Vincent Petry [Thu, 27 Nov 2014 10:03:55 +0000 (11:03 +0100)]
Merge pull request #12451 from owncloud/issue/6101-remove-gettype-class

Move constants from GET_TYPE to OC\Files so they can be autoloaded

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 27 Nov 2014 06:54:46 +0000 (01:54 -0500)]
[tx-robot] updated from transifex

9 years agoCache results of available languages
Lukas Reschke [Wed, 26 Nov 2014 23:01:55 +0000 (00:01 +0100)]
Cache results of available languages

This function is about 8 times calles for every single page call, when caching this variable I was able to gain a small performance improvement from 20,512 µs to 630 µs profiled with xhprof

Surely, this is no gigantic gain but if we would do that for every function out there...