Commit Graph

33419 Commits

Author SHA1 Message Date
Roeland Jago Douma 8d739f308b
Some UtilTests require DB
In the current setup there is no DI so no way to mock them.
2016-07-11 21:05:39 +02:00
Roeland Jago Douma 5b6f5f1a07
LegacyGroupTest need DB
Those old tests make it impossible in the current state to abstract
away.
2016-07-11 21:02:27 +02:00
Roeland Jago Douma 4ebf001b2e
Improve ManagerTest
* No DB required
* Fixed phpunit 5.4 warnings
2016-07-11 21:02:27 +02:00
Roeland Jago Douma 31018adab3
Improve GroupTest
* No longer require DB
2016-07-11 21:02:27 +02:00
Lukas Reschke 0fd770765f
Implement "getTitle"
Fixes https://github.com/nextcloud/server/issues/341
2016-07-11 19:36:26 +02:00
Björn Schießle e8169e0d71 Merge pull request #364 from nextcloud/ca-bundle-tests
add test for needsRebundling() check
2016-07-11 17:34:31 +02:00
Lukas Reschke e25d1cd62b Merge pull request #361 from nextcloud/make-theming-work-with-pretty-urls
Make theming work with pretty URLs
2016-07-11 17:01:33 +02:00
Roeland Douma 0473ec30ec Merge pull request #362 from nextcloud/fix_nodetest_nodb
Improve NodeTest
2016-07-11 16:34:28 +02:00
Bjoern Schiessle 7c64e1973f
add test for needsRebundling() check 2016-07-11 15:51:48 +02:00
Roeland Jago Douma 3b4535c3be
Improve NodeTest
* Do not use DB
* Fix phpunit-5.4 warnigns
* Moved commong stuff to setup
2016-07-11 15:41:02 +02:00
oparoz eceb0db4d2 Fix tests 2016-07-11 14:23:43 +02:00
oparoz 839ee5eac1 Make theming work with pretty URLs
In some envs the rewrite rules for pretty URLs apply to all CSS files, so let's not end the route name with that etension.
Fixes #315
2016-07-11 14:08:25 +02:00
Morris Jobke d15fd5cb96 Change occurence of ownCloud (#352) 2016-07-11 13:49:19 +02:00
Lukas Reschke 0c1cf5f7eb Merge pull request #347 from nextcloud/drop-windows-foo
Remove unneeded checks if it runs on a Windows machine
2016-07-11 13:16:03 +02:00
Roeland Douma 34c0b9d2c0 Merge pull request #320 from nextcloud/faster_autoloader
[3rdparty] Static classmap for 3rdparty
2016-07-11 12:33:24 +02:00
Joas Schilling 103417fd9c Merge pull request #350 from nextcloud/fix-check-certificate-bundles
fix check if the certificate bundle needs to be updated
2016-07-11 11:04:49 +02:00
Joas Schilling 6ea77abb38
Fix some more tests 2016-07-11 10:59:27 +02:00
Roeland Jago Douma 9a3e2f6cd7
[3rdparty] Static classmap for 3rdparty
This speedsup classmap loading significantly on php 5.6 and higher.
Older php versions are not affected.
2016-07-11 10:57:25 +02:00
Bugsbane 92f7722b43 Add new "Recent files" icon to files app (#356)
* Added new "nav-icon-recent" CSS class

Added the class "nav-icon-recent" to display the new "recent files" file list view to be added by @icewind1991 in PR https://github.com/nextcloud/server/pull/292

It's now placed after nav-icon-files which was where @jancborchardt was suggesting iirc.

* Add new "Recent files" clock icon

Add the new icon for "Recent files" file list view in the files app by @icewind1991, as discussed in PR https://github.com/nextcloud/server/pull/292

Icon is already compressed/cleaned by scour rather than svgo as svgo seems to corrupt it.

* Alter colour of "Recent" icon from grey to black

Change colour of the "recently used files" icon from grey to black, to match other icons in the files app.

* Replace recent icon with black, optimized version

Just updates the colour of the icon for "Recent files" from a grey version, to a black optimised version.
2016-07-11 10:54:04 +02:00
Joas Schilling 3e941f6ba1 Merge pull request #345 from nextcloud/sanitize-logs-and-stacktraces
Sanitize more config options and stack traces
2016-07-11 10:48:47 +02:00
Morris Jobke 1ace70d2c2 Merge pull request #351 from nextcloud/improve_filetest_unittest
Improve FileTest
2016-07-11 10:40:13 +02:00
Roeland Douma f3d3fddf40 Merge pull request #358 from nextcloud/phpunit-warning-fixes-appframework
Phpunit warning fixes appframework
2016-07-11 09:44:27 +02:00
Roeland Jago Douma 937c9519d6
Mock logger 2016-07-11 08:50:30 +02:00
Roeland Jago Douma 2fa9e67294
Fix phpunit-5.4 wargning
* getMock is deprecated.
* \PDOStatement mocking fails hard on phpunit 4.8
2016-07-11 08:50:07 +02:00
Nextcloud bot 67278d12e1
[tx-robot] updated from transifex 2016-07-11 00:09:22 +00:00
Morris Jobke 3c30ca8260 Merge pull request #330 from nextcloud/php7.0-ci
PHP 7.0 CI
2016-07-10 13:46:59 +02:00
Nextcloud bot 4aae157087
[tx-robot] updated from transifex 2016-07-10 00:09:23 +00:00
Roeland Jago Douma aab741e4a0
Run mysql and posgres on 5.6 2016-07-09 20:17:01 +02:00
Nextcloud bot c108d816ac
[tx-robot] updated from transifex 2016-07-09 00:09:16 +00:00
Roeland Jago Douma b4e22398d6
Bump drone to use newer php7 docker 2016-07-08 19:36:17 +02:00
Roeland Jago Douma 80b4efa9e0
Disable coverage for now
Coverage generation takes to long. So disabling for now.
2016-07-08 19:36:17 +02:00
Roeland Jago Douma dbbc250702
Add 5.6 sqlite ci 2016-07-08 19:36:17 +02:00
Roeland Jago Douma 3e9977387a
Move 'main' ci to php7 (speed) 2016-07-08 19:36:17 +02:00
Roeland Jago Douma 58dd278b4e
Correction is no longer required in php7 2016-07-08 19:36:17 +02:00
Roeland Jago Douma c91aebc437
Fix phpunit Trait warning 2016-07-08 19:36:17 +02:00
Roeland Jago Douma 3a60626b77
Improve FileTest
* No longer requires DB
* Fixed phpunit 5.4 warnings
* Moved common stuff to Setup phase
2016-07-08 19:35:51 +02:00
Bjoern Schiessle 49cad153af
always check the mtime of the system bundle and additionally the user specific certificate bundle if a user is given 2016-07-08 18:24:37 +02:00
Morris Jobke c2d88a08b7
Remove unneeded checks if it runs on a Windows machine
* the setup check is still there
2016-07-08 15:55:17 +02:00
Morris Jobke 390a996297
Sanitize more config options and stack traces 2016-07-08 14:13:16 +02:00
Roeland Douma 48f9e4ed03 Merge pull request #317 from nextcloud/scrutinizer-fixed
Scrutinizer fixes
2016-07-08 13:49:42 +02:00
Robin Appelman 6da066e7be
Fix test using private propertries 2016-07-08 12:36:25 +02:00
Robin Appelman d0e6fdba4d
combine if statements 2016-07-08 12:36:15 +02:00
Robin Appelman 039f730700
handle errors while getting fileinfo 2016-07-08 12:36:07 +02:00
Robin Appelman 4de7476f58
Allow null 2016-07-08 12:35:58 +02:00
Robin Appelman f98cb9efa0
Fix type hinting 2016-07-08 12:35:50 +02:00
Robin Appelman 31ea10b04e
add missing var 2016-07-08 12:35:43 +02:00
Robin Appelman 951ff0897c
hint global handlebars 2016-07-08 12:35:33 +02:00
Robin Appelman f0b9eba9c2
dont overwrite a variable with a different type 2016-07-08 12:35:23 +02:00
Robin Appelman 8f84c99e3f
Fix undefined properties 2016-07-08 12:35:16 +02:00
Nextcloud bot a84250e0af [tx-robot] updated from transifex 2016-07-08 00:09:25 +00:00