Commit Graph

9656 Commits

Author SHA1 Message Date
Daniel Calviño Sánchez abd5d10253 Add unit tests for "OC.Notification.hide()"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-26 18:46:59 +02:00
Daniel Calviño Sánchez 03f2e8a10e Fix default timeouts in OC.Notification
When no timeout was given "show()" used the default timeout of
"OCP.Toast", which is 7 seconds instead of indefinitely as stated in the
documentation of "show()". "showHtml()" should also indefinitely show
the notification if no timeout is given, but due to the strict
comparison the notification was indefinitely shown only when a timeout
of 0 was explicitly given. Now both methods show the notification
indefinitely (or until it is explicitly hidden) when no timeout is
given.

The unit tests did not catch this error because "showHtml()" had no
tests (as before the move to Toastify it was called from "show()" and
thus implicitly tested), and because "show()" verified that "hide()" was
not called after some time; "hide()" is no longer called from "show()"
since "OCP.Toast" is used internally, so the test always passed even if
the notification was indeed hidden. Now the test is based on whether the
element is found or not, and explicit tests were added too for
"showHtml()".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-26 18:46:59 +02:00
Daniel Calviño Sánchez 14006b548e Fix mixed test for "show" and "showTemporary"
"showTemporary()" when a timeout was given was being tested along with
the "show()" tests; now there are two separate tests when a timeout is
given, one for "showTemporary()" and one for "show()".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-26 18:46:58 +02:00
Daniel Calviño Sánchez 2b1c80ea3f Check number of elements instead of if the jQuery object is defined
Tje jQuery object created through "$('#testArea .toastify')" will be
always defined even if no elements were found, so the check does not
really work; instead, it should be checked the number of elements found.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-26 18:46:51 +02:00
Roeland Jago Douma a2a53848b0
Update PreviewController
The constructor is called with the userId. However if a user is not
logged in this is null. Which means that we get an exception instead of
this being handled gracefully in the middleware.

There are cleaner solutions. But this is the solution that is the
easiest to apply without lots of work and risk of breaking things
(handling the logged in middleware before initializing the controller
etc).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-26 17:37:11 +02:00
Nextcloud bot 0e54f59b24
[tx-robot] updated from transifex 2019-07-26 02:14:42 +00:00
Nextcloud bot 569cf31cd6
[tx-robot] updated from transifex 2019-07-25 02:14:40 +00:00
Julius Härtl 2e8d52f354
Remove files_texteditor from shipped apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-24 14:16:17 +02:00
Nextcloud bot 9a61d5fb72
[tx-robot] updated from transifex 2019-07-23 02:15:28 +00:00
Roeland Jago Douma 555a439c9a
Merge pull request #16487 from nextcloud/dependabot/npm_and_yarn/blueimp-md5-2.11.0
Bump blueimp-md5 from 2.10.0 to 2.11.0
2019-07-22 08:34:27 +02:00
Nextcloud bot a024dcfc81
[tx-robot] updated from transifex 2019-07-22 02:15:59 +00:00
dependabot-preview[bot] d002c7aae8 Bump blueimp-md5 from 2.10.0 to 2.11.0
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.10.0...v2.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-21 18:52:07 +00:00
Nextcloud bot 9249a810fb
[tx-robot] updated from transifex 2019-07-21 02:15:10 +00:00
Morris Jobke efaa0e4d47
Merge pull request #16470 from nextcloud/bugfix/noid/settings-menu-border-top_new
Add border-top to settings menu when its open
2019-07-20 11:30:43 +02:00
Nextcloud bot 602a48c411
[tx-robot] updated from transifex 2019-07-20 02:14:33 +00:00
Greta Doci 92e0a1ab63 Add border-top to settings menu when its open
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-07-19 15:18:26 +02:00
Nextcloud bot d35f4a7645
[tx-robot] updated from transifex 2019-07-19 02:14:56 +00:00
Morris Jobke ab9207827b
Merge pull request #16420 from nextcloud/bugfix/noid/settings-menu-border-top
Add border-top to settings menu when its open ref #16076
2019-07-18 18:04:44 +02:00
Nextcloud bot 3d0e0f2353
[tx-robot] updated from transifex 2019-07-18 02:14:53 +00:00
Morris Jobke 5b604eaeab
Merge pull request #15040 from nextcloud/feature/13980/push-for-deleted-notifications
Notifications overhaul
2019-07-17 20:22:03 +02:00
Greta Doci 8e4b5d02f4 Add border-top to settings menu when its open ref #16076
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-07-17 15:58:03 +02:00
Nextcloud bot 63276cd0ea
[tx-robot] updated from transifex 2019-07-17 02:15:32 +00:00
Joas Schilling 55f5bc79a1
Keep the old method as a fallback and adjust the tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-16 11:36:32 +02:00
Morris Jobke 03ad858841
Merge pull request #14228 from nextcloud/feature/noid/add-metadata-etag
Add DB table to extend filecache with metadata etag, creation  and upload time
2019-07-15 21:37:25 +02:00
Roeland Jago Douma a3deb21bf4
Merge pull request #16334 from nextcloud/feature/noid/enterprise-logo
Add enterprise logo
2019-07-15 20:31:06 +02:00
Morris Jobke 60dcb1800c
Add DB table to extend filecache with metadata etag, creation time and upload time
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-15 16:58:44 +02:00
Morris Jobke b732f51c10
Add enterprise logo
Also set it as theming logo if the subscription is valid.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-15 16:45:53 +02:00
Joas Schilling 64f67818bc
Fix new core notifier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-15 15:14:58 +02:00
Morris Jobke c048c56411
Merge pull request #16369 from nextcloud/rename-parameter-in-ocp-toast-for-consistency-with-oc-notification
Rename parameter in OCP.Toast for consistency with OC.Notification
2019-07-15 10:20:04 +02:00
Nextcloud bot d307ed8e42
[tx-robot] updated from transifex 2019-07-14 02:15:06 +00:00
Nextcloud bot 7675d01955
[tx-robot] updated from transifex 2019-07-13 02:14:18 +00:00
Daniel Calviño Sánchez 916c95758f
Rename parameter in OCP.Toast for consistency with OC.Notification
This fixes HTML messages in "OC.Notification.showTemporary" (as
"showHtml" was not set based on "isHTML"), and also makes OCP.Toast to
keep the old OC.Notification API when used directly.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-12 16:15:05 +02:00
Nextcloud bot 951f16da65
[tx-robot] updated from transifex 2019-07-12 02:15:00 +00:00
Nextcloud bot 0263821010
[tx-robot] updated from transifex 2019-07-11 02:14:31 +00:00
Morris Jobke 5c21b29d7f
Merge pull request #16308 from nextcloud/fix/undefined-offset-0
Prevent undefined offset 0 in findByUserIdOrMail
2019-07-10 12:16:36 +02:00
Nextcloud bot ad51857e54
[tx-robot] updated from transifex 2019-07-10 02:14:00 +00:00
Daniel Kesselberg d57540ac84
Return first value from $users
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-09 19:29:14 +02:00
Roeland Jago Douma 6a088d6800
Merge pull request #16310 from nextcloud/enh/drop-execution-context
Don't send executionContexts for Clear-Site-Data
2019-07-09 19:20:50 +02:00
Daniel Kesselberg 6235a66aac
Don't send executionContexts for Clear-Site-Data
There are plans to remove executionContexts from the spec: https://github.com/w3c/webappsec-clear-site-data/issues/59

Firefox already removed it https://bugzilla.mozilla.org/show_bug.cgi?id=1548034

Chromium implementation is not finish: https://bugs.chromium.org/p/chromium/issues/detail?id=898503&q=clear-site-data&sort=-modified&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-09 15:08:25 +02:00
Roeland Jago Douma 22de685f54
Merge pull request #15881 from PhieF/toggle-password-login
adding toggle password to be able to see it when login
2019-07-09 13:38:27 +02:00
Phie 8fa2d70e9e
adding toggle password to be able to see it
Signed-off-by: Phie <phie@phie.ovh>
2019-07-09 10:54:21 +02:00
Roeland Jago Douma 504f878298
Bump marked to 0.7.0
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-09 08:52:37 +02:00
Nextcloud bot e19c1a036f
[tx-robot] updated from transifex 2019-07-09 02:13:49 +00:00
dependabot-preview[bot] 94a992d0d6 Bump webpack from 4.35.0 to 4.35.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.35.0 to 4.35.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.35.0...v4.35.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-08 11:57:16 +00:00
Akshala Bhatnagar 4bd639640b
Update core/src/components/login/ResetPassword.vue
Co-Authored-By: Julius Härtl <jus@bitgrid.net>
2019-07-07 20:17:23 +02:00
Akshala Bhatnagar 4cf360270f
changed the text for reset password
Signed-off-by: Akshala Bhatnagar <akshala.bhatnagar@gmail.com>
2019-07-07 20:16:56 +02:00
John Molakvoæ 65abdea330
Use theme colors for text selection (#16037)
Use theme colors for text selection
2019-07-07 20:02:30 +02:00
John Molakvoæ 5a03189ce7
Mimetype list integrity check should not fail if it's changed (#15810)
Mimetype list integrity check should not fail if it's changed
2019-07-07 20:01:58 +02:00
John Molakvoæ 1f4312fd92
Merge pull request #16236 from gary-kim/fix/16076/admin-settings-alignment
Fix alignment issues in admin settings
2019-07-07 20:00:10 +02:00
Nextcloud bot e80e82548d
[tx-robot] updated from transifex 2019-07-06 02:13:43 +00:00
Jan-Christoph Borchardt 3cca2bbcf1
Use theme colors for text selection
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-07-05 15:51:23 +02:00
Nextcloud bot 8427ecf685
[tx-robot] updated from transifex 2019-07-05 02:14:09 +00:00
Gary Kim c9ef40af27
Fix alignment issues in admin settings
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-07-05 00:10:29 +08:00
Nextcloud bot 853a1a586a
[tx-robot] updated from transifex 2019-07-04 02:13:48 +00:00
Morris Jobke a528942c24
Merge pull request #16098 from nextcloud/design/header-text
Show share link header text always in 2 rows
2019-07-03 13:56:41 +02:00
Nextcloud bot ffb6230efb
[tx-robot] updated from transifex 2019-07-03 02:13:44 +00:00
Christoph Wurst c50fe2a9c9
Send emails when remote wipe starts/finishes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-07-02 21:59:23 +02:00
Morris Jobke dfdcb1b467
Merge pull request #16174 from nextcloud/bugfix/noid/fix-dyslexic-font-overwriting
Only set the font if it was not set before
2019-07-02 16:56:34 +02:00
Georg Ehrke 9f7fca49bb
Merge pull request #15775 from nextcloud/refactor/decouple-remote-wipe-notifications
Decouple remote wipe notifcation channels with events
2019-07-02 08:58:21 +00:00
Nextcloud bot 9beda013c1
[tx-robot] updated from transifex 2019-07-02 02:13:41 +00:00
Roeland Jago Douma 7dafa24f71
Merge pull request #16161 from nextcloud/dependabot/npm_and_yarn/toastify-js-1.6.1
Bump toastify-js from 1.5.0 to 1.6.1
2019-07-01 21:13:28 +02:00
Joas Schilling c0b27dcf4b
Only set the font if it was not set before
Otherwise Dyslexia setting can not set the font in the accessibility app

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-01 15:06:11 +02:00
dependabot-preview[bot] cbfeaaaa60 Bump toastify-js from 1.5.0 to 1.6.1
Bumps [toastify-js](https://github.com/apvarun/toastify-js) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/apvarun/toastify-js/releases)
- [Changelog](https://github.com/apvarun/toastify-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apvarun/toastify-js/compare/1.5.0...1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-07-01 09:15:18 +00:00
Nextcloud bot 33fd33810c
[tx-robot] updated from transifex 2019-07-01 02:13:36 +00:00
Nextcloud bot 109268bcbd
[tx-robot] updated from transifex 2019-06-29 02:13:31 +00:00
Roeland Jago Douma 58c51599f4
Merge pull request #16148 from nextcloud/fix/text-official-label
Mark text as shipped so it's marked as official
2019-06-28 16:14:19 +02:00
Roeland Jago Douma 6e8b7e661a
Merge pull request #16145 from nextcloud/fix/files-rightclick-official-label
Mark files_rightclick as shipped so it's marked as official
2019-06-28 15:04:36 +02:00
Jan-Christoph Borchardt 283c68c4f8
Mark text as shipped so it's marked as official
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-28 13:04:36 +02:00
Roeland Jago Douma 2c449469d3
Merge pull request #16070 from nextcloud/fix/setup-check-no-internet-no-error
Do not show a internet connectivity warning if internet access is dis…
2019-06-28 10:54:29 +02:00
Christoph Wurst cbfa7124fc Mark files_rightclick as shipped so it's marked as official
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-28 10:42:18 +02:00
Nextcloud bot ca76d13c78
[tx-robot] updated from transifex 2019-06-28 02:13:47 +00:00
Christoph Wurst aa6622ccef Decouple remote wipe notifcation channels with events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-27 17:16:18 +02:00
Christoph Wurst 20afe94297 Do not show a internet connectivity warning if internet access is disabled
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-27 10:51:59 +02:00
Christoph Wurst e9860c89ca
Show contacts app mgmt link in contacts menu
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-27 09:33:27 +02:00
Nextcloud bot afb86ef4f5
[tx-robot] updated from transifex 2019-06-27 02:14:09 +00:00
Jan-Christoph Borchardt 4686fc6734
Show share link header text always in 2 rows
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-26 10:47:29 +02:00
Christoph Wurst 409acf1131
Fix js l10n registration to also work with more than one bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-26 10:07:21 +02:00
Roeland Jago Douma bc276cdd83
Merge pull request #15859 from nextcloud/deprecate/oc-redirect-reload
Deprecate window.location wrappers for redirect and reload
2019-06-26 10:00:31 +02:00
Nextcloud bot 9bd2b11ce7
[tx-robot] updated from transifex 2019-06-26 02:13:59 +00:00
Jan-Christoph Borchardt b466127b1f
Merge pull request #16055 from nextcloud/design/native-fonts
Use native font stack
2019-06-26 00:08:16 +02:00
Roeland Jago Douma a47403d5f8
Merge pull request #16021 from nextcloud/bugfix/noid/fall-back-to-black-for-non-color-values
Fall back to black for non-color values
2019-06-25 22:04:12 +02:00
Christoph Wurst ac0e414a18
Deprecate window.location wrappers for redirect and reload
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-25 21:39:37 +02:00
Roeland Jago Douma 0f0dfc837e
Merge pull request #15956 from nextcloud/bugfix/noid/fix_checkapp_occ
Fix appid argument for integrity:check-app
2019-06-25 21:36:33 +02:00
dependabot-preview[bot] 4a401865f2
Bump css-loader from 2.1.1 to 3.0.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 2.1.1 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v2.1.1...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-25 21:33:38 +02:00
Georg Ehrke d814089c6a
Fix appid argument for integrity:check-app
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-06-25 14:53:12 +02:00
Nextcloud bot aab447521c
[tx-robot] updated from transifex 2019-06-25 02:14:02 +00:00
Jan-Christoph Borchardt 97fbf91f29
Use native font stack
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-24 17:27:35 +02:00
dependabot-preview[bot] 16dd043560
Bump dompurify from 1.0.10 to 1.0.11
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/1.0.10...1.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-24 10:57:22 +02:00
Nextcloud bot a8ca8431a5
[tx-robot] updated from transifex 2019-06-24 02:14:05 +00:00
Nextcloud bot fb83b2d155
[tx-robot] updated from transifex 2019-06-23 02:14:26 +00:00
Jan-Christoph Borchardt d14c0f2ed7
Move font from Nunito to Noto Sans
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-22 11:23:44 +02:00
Jan-Christoph Borchardt e558cb2b5d
Merge pull request #15997 from nextcloud/design/sidebar-icon
Add sidebar icon we use in Talk and Viewer already
2019-06-21 23:14:10 +02:00
Joas Schilling 05381f00d2
Fall back to black for non-color values
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-20 15:23:06 +02:00
Nextcloud bot 4ff3978a6d
[tx-robot] updated from transifex 2019-06-20 02:13:51 +00:00
John Molakvoæ 94e4ce38cf
Remove auto focus of share input field on dialog open, fix #15261 (#15960)
Remove auto focus of share input field on dialog open, fix #15261
2019-06-19 11:09:06 +02:00
John Molakvoæ 21d836364e
Add extendedSupport to Subscription (#15922)
Add extendedSupport to Subscription
2019-06-19 10:55:10 +02:00
Jan-Christoph Borchardt 3a0299f75f
Add sidebar icon we use in Talk and Viewer already
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-18 17:59:00 +02:00
Nextcloud bot 366374d8e3
[tx-robot] updated from transifex 2019-06-18 02:13:57 +00:00
John Molakvoæ e432ead04d
Remove precomposed from apple-touch-icon-precomposed (#15963)
Remove precomposed from apple-touch-icon-precomposed
2019-06-17 22:26:37 +02:00
Julius Härtl df072471a7
Add extendedSupport to Subscription
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-17 16:36:23 +02:00