Commit graph

9604 commits

Author SHA1 Message Date
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
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