Commit Graph

2786 Commits

Author SHA1 Message Date
Daniel Calviño Sánchez cb93af6675
Ignore Enter key up event on menu button toggles
Like links, buttons generate a "click" event as well as the regular
"keydown" and "keyup" events when pressing Enter. Due to this, if both
the "click" and the "keyup" events are handled, when the menu is open
and Enter is pressed in the toggle the menu is first hidden when the
first event is handled, but then shown again when the second event is
handled. To prevent that only the "click" event should be handled when
the toggle is a button, like it is already done with links.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:46:02 +02:00
dependabot-preview[bot] e4a23632ee Bump sass-loader from 7.2.0 to 7.3.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-25 18:03:47 +00:00
Victor Goff 2663fc442c adviced should be advised
Signed-off-by: Victor Goff <keeperotphones@gmail.com>
2019-08-23 07:01:45 -04:00
Julius Härtl 09efc4d6cf Properly handle failures and allow choosing folders for projects
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-21 20:07:42 +00:00
Roeland Jago Douma b73df01945
Merge pull request #16781 from nextcloud/bug/fix-password-reset
Send new password instead of empty string
2019-08-19 11:52:58 +02:00
Julius Härtl c2f039fe28
Update bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-19 09:37:29 +02:00
dependabot-preview[bot] 6e79ccda7f Bump css-vars-ponyfill from 2.0.2 to 2.1.1
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.0.2 to 2.1.1.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-18 20:01:52 +00:00
dependabot-preview[bot] 20a83bed16 Bump webpack from 4.39.1 to 4.39.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-18 14:22:01 +00:00
dependabot-preview[bot] 723815f081 Bump style-loader from 0.23.1 to 1.0.0
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 0.23.1 to 1.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v0.23.1...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-11 17:43:33 +00:00
dependabot-preview[bot] 826dc4238d Bump css-loader from 3.1.0 to 3.2.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.1.0 to 3.2.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/v3.1.0...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-11 11:52:22 +00:00
dependabot-preview[bot] 64f46bcab8 Bump blueimp-md5 from 2.11.0 to 2.11.1
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.11.0...v2.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-11 07:40:03 +00:00
John Molakvoæ (skjnldsv) 287393609d Fix ie app menu loading click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-06 16:17:00 +00:00
dependabot-preview[bot] b84b78d203 Bump webpack from 4.38.0 to 4.39.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.38.0 to 4.39.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.38.0...v4.39.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-04 07:57:44 +00:00
Julius Härtl 3b0d13944a
Move actual password reset to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-31 09:19:07 +02:00
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
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
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
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
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
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
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 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
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
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
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
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
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
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
npmbuildbot[bot] b855d08e15 Compiling assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-06-17 07:54:17 +00:00
Jan-Christoph Borchardt 1809dae04f
Remove auto focus of share input field on dialog open, fix #15261
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-14 14:07:57 +02:00
Julius Härtl 2ced8b947c
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-11 19:12:33 +02:00
Julius Härtl d95ef2c0f7
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-07 07:32:53 +02:00
Julius Härtl 6d848b545d
Adjust jsunit tests for new toast library
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-07 07:32:48 +02:00
dependabot-preview[bot] 188173a788
Bump nextcloud-axios from 0.1.3 to 0.2.0
Bumps [nextcloud-axios](https://github.com/ChristophWurst/nextcloud-axios) from 0.1.3 to 0.2.0.
- [Release notes](https://github.com/ChristophWurst/nextcloud-axios/releases)
- [Commits](https://github.com/ChristophWurst/nextcloud-axios/compare/v0.1.3...v0.2.0)

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-03 12:50:15 +02:00
dependabot-preview[bot] 4dd4c44182
[Security] Bump axios from 0.18.0 to 0.18.1
Bumps [axios](https://github.com/axios/axios) from 0.18.0 to 0.18.1. **This update includes security fixes.**
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.18.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.18.0...v0.18.1)
2019-06-02 07:49:46 +02:00
nacho 3c30d293fa
CSS: adjust media query breakpoint to improve tablet readability
see https://github.com/nextcloud/news/pull/467
2019-05-30 08:28:30 +02:00
Roeland Jago Douma 89c701382f
Merge pull request #15716 from nextcloud/enhancement/webpack/global-config
Unify webpack config
2019-05-29 22:00:02 +02:00
Roeland Jago Douma 96b15dd101
Merge pull request #15790 from nextcloud/fix/noid/recommendations-undef-var
remove unncessary code block in share recommendations, fixed undefined var error
2019-05-29 21:55:33 +02:00
John Molakvoæ (skjnldsv) a442b78538
Build and update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-29 15:20:19 +02:00
Arthur Schiwon 44dca54895
fixes usage of an undefined var
and removes a unnecessary code block as there is no paging for share
recommendations

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-05-29 13:11:07 +02:00
Christoph Wurst 64c4bb5bce
Vueify the login page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-29 11:05:16 +02:00
dependabot-preview[bot] 53f18a9770
Bump webpack from 4.31.0 to 4.32.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.31.0 to 4.32.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.31.0...v4.32.2)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-27 11:35:14 +02:00
Robin Appelman 1799e1acaf
dont use deprecated oc_config in url generation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-05-20 14:01:14 +02:00
Christoph Wurst 0cfcccee29
Migrate the maintenance script to a modern module and bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-16 16:45:00 +02:00
Christoph Wurst 334c4fddfe
Remove empty js.js
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-15 10:40:53 +02:00
Christoph Wurst ab72bd64f5
Move legacy Ajax error handling logic to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-15 10:40:15 +02:00
Christoph Wurst 07699c199d
Move OC.appSettings to the bundle and deprecate it
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 22:00:22 +02:00
Roeland Jago Douma b8c01dc2cd
Merge pull request #15531 from nextcloud/refactor/remove-js-js-ocp
Remove OCP (re)declaration from js.js
2019-05-14 21:05:53 +02:00
Christoph Wurst 291c4a121e
Move query string helpers to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 18:18:31 +02:00
Christoph Wurst d9accd306e
Remove OCP (re)declaration from js.js
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 15:29:18 +02:00
Christoph Wurst 0f3e438f7c
Move OC.theme to the bundle and deprecate oc_defaults
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 11:14:29 +02:00
Christoph Wurst 2f5df9387d
Deprecate OC.fileIsBlacklisted and move it to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 10:07:56 +02:00
Christoph Wurst 6a8bc02b16
Move OC.addTranslations to the bundle and deprecate it
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 09:37:26 +02:00
Christoph Wurst 9aeed859c4
Move OC host/port/protocol helpers to the bundle and deprecate them
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 08:36:54 +02:00
Christoph Wurst 6b46d9f2e5
Move OC.getCapabilities to the bundle and deprecate OC._capabilities, oc_capabilities
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 21:30:01 +02:00
Christoph Wurst a5ec4a9af4
Move l10n functions to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 18:42:49 +02:00
Christoph Wurst e3ae7dc115
Move path helpers to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 16:37:38 +02:00
Christoph Wurst c624c102a6
Move OC.requestToken to the bundle, deprecate oc_requesttoken
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 08:27:43 +02:00
dependabot[bot] 8d424397c2
Bump @babel/polyfill from 7.2.5 to 7.4.4
Bumps [@babel/polyfill](https://github.com/babel/babel) from 7.2.5 to 7.4.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.2.5...v7.4.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-11 12:38:55 +02:00
Joas Schilling fc1987b8c4
Revert displayName casing
Regression from 278c281cc9

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-11 10:35:58 +02:00
Christoph Wurst 51d49c3134
Move initCore to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-10 13:47:21 +02:00
Christoph Wurst 3cda6237ef
Do not show deprecation warnings during test runs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-09 18:10:24 +02:00
Morris Jobke c8f2198aa0
Remove recommendation for opcache on CLI
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-09 12:25:53 +02:00
John Molakvoæ (skjnldsv) d6710b597b
Fix mobile vertical scrolling
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-09 10:18:15 +02:00
John Molakvoæ (skjnldsv) 203a9c27ad
Bump main webpack build
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-08 21:05:01 +02:00
Christoph Wurst 73f9f15607
Move the legacy OC.addScript and OC.addStyle helpers to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-08 19:58:43 +02:00
Christoph Wurst 278c281cc9
Deprecate oc_current_user, fix usage and move currentUser to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-08 09:44:51 +02:00
Christoph Wurst b2165059d4
Move OC legacy menu helpers to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-08 08:34:32 +02:00
Morris Jobke efc89e4a12
Merge pull request #15426 from nextcloud/refactor/remove-singleselect
Remove unused singleselect script
2019-05-07 22:27:24 +02:00
Morris Jobke 049b92b078
Merge pull request #15420 from nextcloud/refactor/oc-constants-bundle-II
Move rest of contant-like OC props to the bundle
2019-05-07 22:20:37 +02:00
Christoph Wurst 533f83104b
Remove unused singleselect script
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 20:06:11 +02:00
John Molakvoæ (skjnldsv) 9dffc56541
Properly set Edge < 16 as incompatible with css vars
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-07 18:30:16 +02:00
Christoph Wurst 944364d866
Move rest of contant-like OC props to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 18:11:08 +02:00
Morris Jobke 5893f218c2
Merge pull request #15414 from nextcloud/refactor/oc-constants-bundle
Move OC constants to the bundle
2019-05-07 17:59:12 +02:00
Roeland Jago Douma 0e9d019a14
Merge pull request #15397 from nextcloud/fix/cssvars/edge-support
Set Edge < 16 as incompatible with css vars
2019-05-07 16:44:31 +02:00
Christoph Wurst dae4714c83
Move OC constants to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 16:25:01 +02:00
Christoph Wurst 3cc8c9b769
Create a login bundle for login page scripts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 14:28:31 +02:00
Christoph Wurst acf0ca1541
Move OC.appswebroots to the bundle and deprecate oc_appswebroots
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 14:03:14 +02:00
Christoph Wurst ae8959af74
Move OC.get and OC.set to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 09:22:47 +02:00
Christoph Wurst 249a5dbdba
Move oc_webroot, OC.webroot and OC.getRootPath() to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-06 17:55:30 +02:00
John Molakvoæ (skjnldsv) d51dae922a
Set Edge < 16 as incompatible with css vars
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-06 17:44:10 +02:00
Christoph Wurst 42be4b7765
Move oc_appconfig/OC.appConfig to the main bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-06 13:36:23 +02:00
John Molakvoæ (skjnldsv) 598d0fbe6b
Build main dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-06 10:14:07 +02:00
Christoph Wurst 6095ef2235
Move oc_debug to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-06 10:12:47 +02:00
Christoph Wurst d68be1ae4d
Deprecate oc_isadmin and move OC.isUserAdmin() to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-03 15:49:49 +02:00
Christoph Wurst 766ba99f21
Move the OC routing helper functions to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-02 11:30:00 +02:00
Christoph Wurst 9b79aa664d
Move oc_config to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-02 09:42:32 +02:00
Christoph Wurst e7a190179f
Change oc_config usage to OC.config
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-02 08:46:43 +02:00
Christoph Wurst 35d8e7a4e0
Move OC.dialogs to the main bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-30 11:11:24 +02:00
Christoph Wurst 1ee03bd683
Move OC navigation methods to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-29 17:55:27 +02:00
dependabot[bot] ce4c736314
Bump handlebars from 4.1.0 to 4.1.2
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-23 10:04:17 +02:00
Morris Jobke 09914547cc
Merge pull request #15105 from nextcloud/dependabot/npm_and_yarn/v-tooltip-2.0.1
Bump v-tooltip from 2.0.0-rc.33 to 2.0.1
2019-04-16 14:38:20 +02:00
dependabot[bot] 844aa38744
Bump v-tooltip from 2.0.0-rc.33 to 2.0.1
Bumps [v-tooltip](https://github.com/Akryum/vue-tooltip) from 2.0.0-rc.33 to 2.0.1.
- [Release notes](https://github.com/Akryum/vue-tooltip/releases)
- [Commits](https://github.com/Akryum/vue-tooltip/commits/v2.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-16 13:43:35 +02:00
Christoph Wurst 410aacae60
Improve the share link password error feedback with a red border
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-16 10:12:25 +02:00
Roeland Jago Douma a8064fdd06
Merge pull request #15098 from nextcloud/dependabot/npm_and_yarn/marked-0.6.2
Bump marked from 0.6.1 to 0.6.2
2019-04-16 08:15:53 +02:00
John Molakvoæ (skjnldsv) 6c593e5b32
Make sure we have a proper node before parsing
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-04-15 13:04:51 +02:00
dependabot[bot] 4cb13de464
Bump marked from 0.6.1 to 0.6.2
Bumps [marked](https://github.com/markedjs/marked) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.6.1...v0.6.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-15 08:36:44 +02:00
dependabot[bot] 69269871e7
Bump css-vars-ponyfill from 1.17.0 to 1.17.2
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 1.17.0 to 1.17.2.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v1.17.0...v1.17.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-11 22:11:05 +02:00
Roeland Jago Douma 47226a19cc
Merge pull request #14972 from nextcloud/fix/app-nav-toggle-missing
Disable the injected snapper logic when apps want to ship their own
2019-04-10 21:41:25 +02:00
Christoph Wurst 0871b9acff
Do not inject a #app-navigation-toggle if there is already one
This allows apps to ship their own, as in some cases the #app-content
element does not exist on page load and therefore the injection fails
and the icon is missing afterwards.

Fixes https://github.com/nextcloud/server/issues/14956

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-10 14:08:55 +02:00
Julius Härtl 53b23757ef
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-09 08:36:03 +02:00
Roeland Jago Douma 0f2490d740
Merge pull request #14912 from nextcloud/fix/filepicker/truncated-filename
Truncate filename in the middle on filepicker
2019-04-01 22:29:55 +02:00
John Molakvoæ (skjnldsv) c12545b581
Truncate filename in the middle on filepicker
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-30 10:28:59 +01:00
Florian Schunk 80e7f047bf
hide new folder button in choose type filepicker
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-03-29 20:21:39 +01:00
Julius Härtl 15a29003b3
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-28 16:05:38 +01:00
Christoph Wurst af0c06ebd3
Bump strenghify to v0.5.8
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-03-25 13:39:56 +01:00
Christoph Wurst 2cd594aaed
Make all filepicker strings translatable
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-03-22 10:22:07 +01:00
Julius Härtl 5de3a0feaa
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-19 13:13:51 +01:00
John Molakvoæ (skjnldsv) b4dd12e50c
Deprecate marked, escapeHTML, formatDate, getURLParameter, humanFileSize, relative_modified_date and select2
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-15 16:40:08 +01:00
Morris Jobke 6bc1c885b2
Merge pull request #14628 from nextcloud/bugfix/14627/fix-plural-rule-detection
Fix plural rule detection for languages
2019-03-15 10:48:26 +01:00
Morris Jobke e58d5721a4
Fix behaviour of plural default rule
* undefined and empty string should trigger the default plural form

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-15 01:19:43 +01:00
Vinicius Cubas Brand 9bb13fb05f
Created infrastructure to show circles' shared files
There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it.

Issue: https://github.com/nextcloud/circles/issues/137

Changes to comply to https://github.com/coletivoEITA/circles/pull/2

Polishing: get files shared to circles in caldav

Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13 00:31:38 +01:00
Joas Schilling a0792137cf
Rename the variable aswell
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-12 13:48:05 +01:00
Joas Schilling c9026fc75c
Fix plural rule detection for languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-11 15:19:23 +01:00
Morris Jobke 25d700ef30
Fix unneeded doc link to unrelated resource
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-11 11:00:21 +01:00
Morris Jobke d40b21ac81
Merge pull request #14603 from nextcloud/fix/noid/add-setup-check-for-s3-temp-path
Show a setup warning in case S3 object storage is used as primary storage
2019-03-08 18:03:49 +01:00
Morris Jobke 060b637b70
Show a setup warning in case S3 object storage is used as primary storage
* checks for at least 50 GB of free space

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-08 13:38:39 +01:00
Julius Härtl 9e3335f11e
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-07 10:48:26 +01:00
Julius Härtl d768634616
Fix domparser on phantomjs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-07 10:45:47 +01:00
Christoph Wurst 9549d79faa
Pin the jquery version to 2.1.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-03-06 12:22:49 +01:00
Julius Härtl 48f34b877a
Add bundled files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:59:37 +01:00
Julius Härtl e5162fb9af
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:57:01 +01:00
Julius Härtl 7843b8b1fa
Adjust OCP.Collaboration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:17 +01:00
Julius Härtl 7a4b2db2a7
Add javascript API for collaboration resources
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:16 +01:00
Morris Jobke 48804619c9
Merge pull request #14398 from nextcloud/feature/14394/add-setup-check-for-mysql-utf8mb4
Add setup check for missing UTF8MB4 on mysql
2019-02-28 22:39:35 +01:00
Morris Jobke 6c7ccbecbf
Add setup check for missing UTF8MB4 on mysql
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-28 16:46:23 +01:00
John Molakvoæ (skjnldsv) c2aa21fd0e
Remove unneeded sidebar animation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-02-28 16:09:33 +01:00
dependabot[bot] cb22b64db9
Bump css-vars-ponyfill from 1.16.4 to 1.17.0
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 1.16.4 to 1.17.0.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v1.16.4...v1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-27 22:56:12 +01:00
Roeland Jago Douma 90f695f46e
Merge pull request #14390 from nextcloud/bugfix/14307/expire-date-change-eventhandler
Bugfix/14307/expire date change eventhandler
2019-02-27 22:24:45 +01:00
Julius Härtl b4e6bffe1d
Remove/replace missing css vars
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-27 16:34:48 +01:00
Julius Härtl 44979f938f
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-27 15:12:07 +01:00
Julius Härtl 9192306505
Add handler for change event of the expire date field
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-27 15:09:52 +01:00
Christoph Wurst e930a0ccbe
Search sharees on lookup server when explicitly requested by user
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-26 19:44:49 +01:00
Christoph Wurst f3023aaa85
Show sharing recommendations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-25 07:25:21 +01:00
Morris Jobke beba182248
Merge pull request #14255 from nextcloud/fix-ocm-discovery
Fix ocm end-point discovery discovery
2019-02-20 15:32:38 +01:00
Roeland Jago Douma 90dcefb94f
Move settings to main webpack
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-20 12:52:39 +01:00
Morris Jobke faef05730a
Add unit tests and provide better message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-20 10:54:39 +01:00
Bjoern Schiessle 7c31c9a748
add setup check for ocm-provider route
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2019-02-20 10:38:16 +01:00
dependabot[bot] 5254c441a6
Bump bootstrap from 3.4.0 to 3.4.1
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v3.4.0...v3.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-19 11:17:37 +01:00
Morris Jobke cbd17cded2
Merge pull request #14199 from nextcloud/enh/core_scss_to_webpack
Move 2 always loaded styles to webpack bundle
2019-02-14 21:08:50 +01:00
John Molakvoæ 6a3f4e4957
Merge pull request #12652 from tomasz-grobelny/operation_progress_improvements3
Operation progress improvements
2019-02-14 14:24:20 +01:00
Roeland Jago Douma 65964a537a
Move jquery.ocdialog.scss to bundle
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 13:38:24 +01:00