Commit Graph

41877 Commits

Author SHA1 Message Date
Daniel Calviño Sánchez 173f28a09d Add unit tests for the navigation bar slide gesture
The slide gesture is enabled or disabled depending on the width of the
browser window. In order to easily control that width the karma-viewport
plugin is now used in the unit tests.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-14 19:17:40 +01:00
Morris Jobke b19b137969
Merge pull request #7504 from nextcloud/shorter-css-prefixes
Reduce length of md5 in scss caching
2017-12-14 12:12:15 +01:00
John Molakvoæ (skjnldsv) 0c38c1b2db
Fixed pinned state of quota if no apps registered an app nav item
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-14 12:06:28 +01:00
John Molakvoæ (skjnldsv) b8778b0d85
Test fixes 2
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-14 11:32:53 +01:00
John Molakvoæ (skjnldsv) 158f442f4f
Test fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-14 11:28:59 +01:00
John Molakvoæ (skjnldsv) f2d5927ea3
Reduce length of md5 in scss caching
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-14 11:11:54 +01:00
Morris Jobke 1f108970c4
Merge pull request #7506 from nextcloud/fix-app-cache
Use cached app list
2017-12-14 10:45:09 +01:00
Roeland Jago Douma b5d9c3b972
Merge pull request #7502 from nextcloud/authorative_classmaps_for_apps
Use proper authorative-autoloader for app autoloaders
2017-12-14 10:01:20 +01:00
John Molakvoæ (skjnldsv) 2dbd5052ff
Up check
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-14 10:00:34 +01:00
Morris Jobke 54c227b6c4
Use cached app list
Followup to #7264

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-14 09:56:53 +01:00
John Molakvoæ (skjnldsv) cca8744350
Do not update apps if it comes from git
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-14 09:50:31 +01:00
Roeland Jago Douma 49b095b78e
Use proper authorative-autoloader for app autoloaders
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-14 08:31:31 +01:00
Roeland Jago Douma ce12763ab7
Merge pull request #7485 from nextcloud/fix_7001
Also cache invalid DiscoveryService response
2017-12-14 07:47:13 +01:00
Daniel Calviño Sánchez 39c549fa27 Fix drag shadow not visible when dragging a file on a narrow screen
When a file from the file list is dragged a drag shadow (a copy of the
file row that follows the cursor position) is created. The drag shadow
element is created as a direct child of the body element, so it needs a
higher "z-index" than the one used for the file list to be visible.

In narrow screens the "#app-content" uses a "z-index" of 1000 in order
to be visible over the "#navigation-bar" when they overlap, so the
"z-index" of the drag shadow must be at least 1000 to be visible over
the file list.

Instead of updating the hardcoded "z-index" it was removed and replaced
by CSS rules for ".dragshadow" elements to ease theming.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-14 04:05:49 +01:00
Morris Jobke 784d256103
Merge pull request #7480 from nextcloud/fix_7454
Check for FreeType functions required for avatars
2017-12-13 18:25:05 +01:00
Roeland Jago Douma ee20741526 Add tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-13 17:22:58 +01:00
Roeland Jago Douma 7618473a44 Add warning regarding freetype support
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-13 17:20:48 +01:00
Roeland Jago Douma 3b343e287f
Also cache invalid DiscoveryService response
* Cache it for a day so we will retry eventually
* Cache the status.php response as well so we will try it once a day as
well

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-13 15:50:53 +01:00
Morris Jobke 66391d65a6
Merge pull request #7475 from nextcloud/13beta3
13.0.0 beta3
2017-12-13 14:35:51 +01:00
Morris Jobke bc125add05
13.0.0 beta3
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-13 13:41:05 +01:00
Morris Jobke a3120d428b
Merge pull request #7479 from nextcloud/fix-7400
Fixes bin2hex() in LDAP
2017-12-13 13:37:08 +01:00
Morris Jobke defac0ff0d
Fixes hex2bin() in LDAP
Untangles the two if-else clauses into a more readable format.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-13 11:57:49 +01:00
John Molakvoæ fc30e7a6c6
Merge pull request #7476 from nextcloud/fix-copy-share-link-design
Show tha copy share link button properly inline
2017-12-13 11:18:55 +01:00
Morris Jobke 5a95260bf3
Show tha copy share link button properly inline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-13 10:32:13 +01:00
Roeland Jago Douma f55dd96c08
Merge pull request #7470 from nextcloud/guest-flex-fix
Fixed firefox guest header height
2017-12-12 21:49:29 +01:00
Roeland Jago Douma e17315954f
Merge pull request #7472 from nextcloud/move-comment-user-displaynameresolver-to-server
The user displayNameResolver is specific to users, not the comments app
2017-12-12 21:48:12 +01:00
Arthur Schiwon 099a340bf5
The user displayNameResolver is specific to users, not the comments app
Other apps like spreed rely on it, and only can resolver per type can
be registered anyhow.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-12-12 17:36:31 +01:00
John Molakvoæ (skjnldsv) 21fbcba68d
Removed unwanted and unused spacer
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-12 16:45:56 +01:00
John Molakvoæ (skjnldsv) 133cbd16e4
Fixed firefox guest header height
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2017-12-12 16:10:32 +01:00
Morris Jobke 2943b54f98
Merge pull request #7466 from nextcloud/fix-php7.2-session-init
Fix error log on PHP 7.2
2017-12-12 15:45:25 +01:00
Morris Jobke 175e1a5442
Merge pull request #7465 from nextcloud/filename-typo
Fix filename typo
2017-12-12 15:12:20 +01:00
Björn Schießle acb395cade
Merge pull request #7462 from nextcloud/update-user-agent-regex
allow 'Nextcloud' in the user agent string of Android
2017-12-12 14:37:46 +01:00
Morris Jobke b19fae2629
Fix error log on PHP 7.2
Fixes following error in the logs: "ini_set(): A session is active. You cannot change the session module's ini settings at this time"

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-12 14:33:30 +01:00
Robin Appelman 1066faa8ba
Fix filename typo
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-12-12 14:18:49 +01:00
Bjoern Schiessle caff52decd
fix dav unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-12-12 13:59:52 +01:00
Morris Jobke 14c83e415c
Merge pull request #7425 from nextcloud/13.0.0beta2-prep
13.0.0 beta 2
2017-12-12 12:35:55 +01:00
Morris Jobke 7ad746ad70
Merge pull request #7461 from nextcloud/fix_6821
Set autocomplete on share password input
2017-12-12 12:32:16 +01:00
Bjoern Schiessle f0202245ee
allow 'Nextcloud' in the user agent string of Android
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-12-12 12:16:01 +01:00
Roeland Jago Douma 45772473a9
Set autocomplete on share password input
Fixes #6821

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-12 11:33:12 +01:00
Morris Jobke c1517f4ac1
13.0.0 beta 2
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-12 11:27:38 +01:00
Morris Jobke 134bd51fe6
Merge pull request #6830 from nextcloud/nc13_no_later_72
Nextcloud 13 is not compatible with newer than php 7.2
2017-12-12 11:27:10 +01:00
Roeland Jago Douma b8af7ee9bc
Nextcloud 13 is not compatible with newer than php 7.2
Just to avoid users from trying this with a to new (untested) php version

* Moved the check logic to 1 place
* All directly callable scripts just require this on top
* exit hard (-1) so we know scripts won't continue
* Return status 500 so no sync clients will try fancy stuff

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-12 10:55:09 +01:00
blizzz 115e7e29cf
Merge pull request #7458 from nextcloud/fix-calendar-manager-unit-tests
Fix unit tests for CalendarManager
2017-12-12 10:00:26 +01:00
Morris Jobke 1ceeab9229
Fix unit tests for CalendarManager
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-12 09:33:52 +01:00
Morris Jobke d98dea1eb1
Merge pull request #6884 from nextcloud/feature/3003/opt_out_of_birthday_calendar
Opt out of birthday calendar
2017-12-12 08:29:26 +01:00
Roeland Jago Douma e1740c9242
Merge pull request #7453 from nextcloud/txt_fopen_error
Properly detect if fopen fails for txt previews
2017-12-11 21:30:19 +01:00
Roeland Jago Douma 53400a1972
Properly detect if fopen fails for txt previews
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-11 20:37:18 +01:00
Roeland Jago Douma 179be8d95c
Merge pull request #6637 from nextcloud/contactsstore_public_api
Make ContactsStore a public API
2017-12-11 20:04:28 +01:00
Roeland Jago Douma bd80795d59
Merge pull request #7431 from nextcloud/app-content-list-fixes
App content list fixes
2017-12-11 20:02:36 +01:00
Roeland Jago Douma f18ac08c20
Merge pull request #7450 from nextcloud/log_correct_self_signed
Catch the errors related to untrusted self signed certificates for federation
2017-12-11 19:15:31 +01:00