Commit Graph

9173 Commits

Author SHA1 Message Date
Christoph Wurst 0d43ef06f5
Add OC.Util to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 08:25:01 +01:00
Christoph Wurst 9de02d3267
Move OC.PasswordConfirmation to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 08:24:13 +01:00
Christoph Wurst dbfa8b65a1
Move OC.search to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 08:22:49 +01:00
Christoph Wurst 3d1a3b6644
Move OC.Plugin to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 07:58:07 +01:00
Christoph Wurst 4846aea951
Move OC.msg to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 07:56:38 +01:00
Christoph Wurst 4fcadd27b0
Move OC.Notification to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 07:55:16 +01:00
fnuesse 4b32e1c6ab Extract variable for yellow color in icons
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
2019-02-01 00:59:05 +01:00
Christoph Wurst bdea197523
Move custom polyfills to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-31 19:07:39 +01:00
Roeland Jago Douma 9359624c27
Merge pull request #13935 from nextcloud/fix/backbone-webpack-noconflict
Fix the patched Backbone instance and use that exclusively
2019-01-31 13:10:57 +01:00
Christoph Wurst 6c47f09d60
Remove unused OC._matchMedia helper
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-31 09:15:13 +01:00
Christoph Wurst 72c88c767c
Use Backbone.noConflict in the bundle as well
Move the patched Backbone to its own module again

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-31 08:47:30 +01:00
Morris Jobke be6475784a
Merge pull request #13924 from nextcloud/fix/initial-state-key
Add a key parameter to the new initial state API
2019-01-30 17:07:36 +01:00
Morris Jobke 681437d23d
Merge pull request #12785 from nextcloud/head-menu-half-height-fix
Unify headers menu design, fix click area
2019-01-30 16:25:30 +01:00
Christoph Wurst 0e6cb988a1
Add a key parameter to the new initial state API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-30 16:08:08 +01:00
Christoph Wurst 9a46c9ed31
Move OCP.AppCOnfig, OCP.Comments and OCP.WhatsNew to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-30 13:56:01 +01:00
John Molakvoæ (skjnldsv) 818c23d9f1
Scrolling on apps popovermenu
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-30 10:30:20 +01:00
Roeland Jago Douma 502c0df2d9
Merge pull request #13752 from rummatee/issue7629
fix opacity for add-new-folder button
2019-01-30 09:25:47 +01:00
Roeland Jago Douma 7b67ebe99f
Merge pull request #13897 from nextcloud/fix-updating-the-password-of-a-link-share-when-passwords-are-enforced
Fix updating the password of a link share when passwords are enforced
2019-01-30 09:16:05 +01:00
Roeland Jago Douma f30877ea7c
Provide initial state
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-29 22:21:54 +01:00
Roeland Jago Douma 6b653635a7
Merge pull request #13881 from nextcloud/refactor/jquery-plugins-bundle
Move jQuery plugins into modules and add them to the bundle
2019-01-29 22:09:12 +01:00
Tomasz Grobelny 08919eb193 Merge branch 'master' into operation_progress_improvements3
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2019-01-29 21:26:44 +01:00
Daniel Calviño Sánchez 2c151f4efb Fix updating the password of a link share when passwords are enforced
The password input was shown in the popup menu when passwords were not
enforced, or when they were enforced but no password was set, which
prevented updating/changing the password once set. As the password input
should be shown too when password are enforced and a password is set no
condition is needed, so now the password input is always shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-29 20:26:22 +01:00
Roeland Jago Douma deb7d2364f
Merge pull request #13869 from nextcloud/enh/clean_pending_2fa_session_on_password_change
Clean pending 2FA authentication on password reset
2019-01-29 19:50:15 +01:00
Roeland Jago Douma ac8a6e2244
Clean pending 2FA authentication on password reset
When a password is reste we should make sure that all users are properly
logged in. Pending states should be cleared. For example a session where
the 2FA code is not entered yet should be cleared.

The token is now removed so the session will be killed the next time
this is checked (within 5 minutes).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-29 13:08:56 +01:00
Christoph Wurst 3ced9cd83d
Move jQuery plugins into modules and add them to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 11:07:48 +01:00
Morris Jobke 2682d672d8
Merge pull request #13878 from nextcloud/refactor/oc-appconfig-eventsource-l10n
Move OC.AppConfig, OC.EventSource and OC.L10N to the server bundle
2019-01-29 10:55:30 +01:00
John Molakvoæ 34d5001e2f
Merge pull request #10874 from nextcloud/feature/10859/clear-localstorage-on-logout
Clears the local storage after logout
2019-01-29 10:39:56 +01:00
John Molakvoæ afa51d1640
Merge pull request #13791 from nextcloud/no-whiteversion-for-shadowed-icons
Do not generate dark version of the view-icons w/ shadows
2019-01-29 10:00:19 +01:00
Christoph Wurst d0cd0918b9
Move OC.L10n to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 09:38:50 +01:00
Christoph Wurst 3695d02575
Move OC.EventSource to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 09:33:16 +01:00
Christoph Wurst 8e9d259074
Move OC.AppConfig to the server bundle and add a deprecation verion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 09:32:09 +01:00
Michael Weimann e083e8abc6
Clears the local storage after logout
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2019-01-29 09:02:52 +01:00
John Molakvoæ (skjnldsv) ecede42969
Popovermenu size fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-29 08:43:08 +01:00
Christoph Wurst aa2ff51a12
Move OC.Contactsmenu and OC.Backbone to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 08:40:19 +01:00
John Molakvoæ (skjnldsv) bb9e282e95
Unify headers menu design, fix click area
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-29 08:12:03 +01:00
Christoph Wurst 4921359e71
Move OCA.Apps to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-28 15:06:01 +01:00
Morris Jobke cfdece7833
Merge pull request #13860 from nextcloud/refactor/oc-oca-namespace-bundle
Add OC and OCA namespace declarations to the bundle
2019-01-28 14:49:34 +01:00
Morris Jobke b5b8a17222
Merge pull request #13675 from imsolost/master
Fixed some LGTM alerts
2019-01-28 14:46:01 +01:00
Christoph Wurst 87bc9f1fa1
Add OC and OCA namespace declarations to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-28 13:32:34 +01:00
dependabot[bot] 4545ca9375
Bump css-vars-ponyfill from 1.16.2 to 1.16.3
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 1.16.2 to 1.16.3.
- [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/v1.16.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-26 21:34:28 +01:00
Nextcloud bot 4611ad5a9c
[tx-robot] updated from transifex 2019-01-26 01:12:19 +00:00
imsolost 67c304498e added missing variable declarations
Signed-off-by: imsolost <imsolost@gmail.com>
2019-01-25 11:16:37 -08:00
Nextcloud bot 20854f463b
[tx-robot] updated from transifex 2019-01-25 01:12:20 +00:00
Vincent Petry b5a5e087d8
Fix expected depth as string 2019-01-24 21:15:25 +01:00
dependabot[bot] fe9075eb48
Bump davclient.js from 0.1.2 to 0.1.3
Bumps [davclient.js](https://github.com/owncloud/davclient.js) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/owncloud/davclient.js/releases)
- [Commits](f7fc96b66d...0e5ef1af5d)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-24 21:15:25 +01:00
Roeland Jago Douma b5a545dcf5
Merge pull request #13780 from nextcloud/dependabot/npm_and_yarn/jquery-migrate-1.4.1
Bump jquery-migrate from 1.4.0 to 1.4.1
2019-01-24 14:59:25 +01:00
Morris Jobke cea530d221
Merge pull request #13742 from nextcloud/bugfix/noid/add-icon-to-restore-activity
Add icon to restore activity
2019-01-24 14:46:15 +01:00
dependabot[bot] ad803dfa44
Bump jquery-migrate from 1.4.0 to 1.4.1
Bumps [jquery-migrate](https://github.com/jquery/jquery-migrate) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/jquery/jquery-migrate/releases)
- [Commits](https://github.com/jquery/jquery-migrate/compare/1.4.0...1.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-24 14:01:49 +01:00
John Molakvoæ (skjnldsv) 969fb9ac3f
Do not generate dark version of the view-icons w/ shadows
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-24 12:08:43 +01:00
dependabot[bot] e80e8d6fc0
Bump moment from 2.23.0 to 2.24.0
Bumps [moment](https://github.com/moment/moment) from 2.23.0 to 2.24.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.23.0...2.24.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-24 09:25:57 +01:00
Nextcloud bot 2277c21f3e
[tx-robot] updated from transifex 2019-01-24 01:12:02 +00:00
Florian Schunk 251b9e4cfb fix opacity for add-new-folder button
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-01-23 20:54:24 +01:00
Morris Jobke d59de22525
Merge pull request #13730 from nextcloud/fix/naturalsort-locale
Respect user locale in natural sort comparator
2019-01-23 12:19:01 +01:00
Roeland Jago Douma f2b118a256
Merge pull request #13747 from nextcloud/fix/honor_session_lifetime_if_remember_cookie_is_disabled
Honor remember_login_cookie_lifetime
2019-01-23 10:12:01 +01:00
Roeland Jago Douma 308d5d54de
Merge pull request #13738 from nextcloud/bugfix/noid/socialsharing
Fix social sharing apps integration
2019-01-23 09:54:35 +01:00
Roeland Jago Douma e6333c8fe3
Honor remember_login_cookie_lifetime
If the remember_login_cookie_lifetime is set to 0 this means we do not
want to use remember me at all. In that case we should also not creatae
a remember me cookie and should create a proper temp token.

Further this specifies that is not 0 the remember me time should always
be larger than the session timeout. Because else the behavior is not
really defined.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-23 08:46:24 +01:00
Nextcloud bot 2ba75ac9b0
[tx-robot] updated from transifex 2019-01-23 01:12:05 +00:00
Jan-Christoph Borchardt ccc35d5566
Merge pull request #13648 from nextcloud/darktheme-fix
🕶 Dark theme fixes
2019-01-22 16:30:14 +01:00
Joas Schilling 55cd351324
Add icon to restore activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-22 15:37:07 +01:00
Julius Härtl 6fdc5092e5
Bump share-backend.js bundle
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-22 15:32:08 +01:00
Julius Härtl d36f2af161
Fix integration of social sharing into the link popover menu
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-22 15:30:44 +01:00
Christoph Wurst f0265cccf2
Respect user locale in natural sort comparator
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-22 10:16:40 +01:00
dependabot[bot] 7844ef0e0f
Bump handlebars from 4.0.5 to 4.0.12
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.5 to 4.0.12.
- [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.0.5...v4.0.12)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-22 09:11:21 +01:00
Nextcloud bot af36746d7c
[tx-robot] updated from transifex 2019-01-22 01:12:25 +00:00
Morris Jobke 6a50df9ea9
Merge pull request #13674 from nextcloud/enh/do_not_fetch_static_template
Include static search template in JS
2019-01-21 16:38:11 +01:00
dependabot[bot] b3c4529c02
Bump dompurify from 1.0.4 to 1.0.9
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 1.0.4 to 1.0.9.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/1.0.4...1.0.9)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-21 11:17:19 +01:00
Nextcloud bot 96567027da
[tx-robot] updated from transifex 2019-01-21 01:11:50 +00:00
Nextcloud bot f12b589d40
[tx-robot] updated from transifex 2019-01-19 01:12:22 +00:00
Roeland Jago Douma c1e839961e
Include static search template in JS
There is no need to fetch this from the server if it is static anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-18 22:06:54 +01:00
Morris Jobke e28a18ab16
Merge pull request #13660 from nextcloud/fix/template_parameter
Fix template paramter
2019-01-18 17:21:51 +01:00
Morris Jobke 743323ee48
Merge pull request #12381 from rummatee/master
Move/copy file picker: Remeber last destination and start in current folder
2019-01-18 17:20:54 +01:00
Roeland Jago Douma 66367797df
Fix template paramter
Else we get shown an error page instead of the correct 403.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-18 15:30:38 +01:00
Morris Jobke 9ee4433333
Use warning background color & primary text color for setting warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-01-18 12:07:10 +01:00
Nextcloud bot f8ce5ea6f3
[tx-robot] updated from transifex 2019-01-18 01:14:32 +00:00
Jan-Christoph Borchardt 4c18cc34f3
Dark theme: Fix move/copy dialog icons
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-01-17 10:59:50 +01:00
Jan-Christoph Borchardt e5922c6b8f
Dark theme: Fix search field
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-01-17 10:53:10 +01:00
Julius Härtl 64b5c0c942
Bump bundled main.js
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-17 10:36:38 +01:00
Julius Härtl a86ee002bc
Watch for changes with css variables polyfill
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-17 10:35:23 +01:00
Julius Härtl a36604d2ec
Add public API for loading js files asynchronously
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-17 10:35:19 +01:00
Nextcloud bot ac6ee0b8b7
[tx-robot] updated from transifex 2019-01-17 01:12:15 +00:00
Florian Schunk 332b4aee9d fix testing for undefined
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-01-16 22:54:16 +01:00
Florian Schunk 528964e0b7 copy Dialog starts in current directory
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-01-16 22:54:16 +01:00
Roeland Jago Douma 6e18a20c33
Merge pull request #13626 from nextcloud/fix/import_not_require_webpack_core
Use import instead of require
2019-01-16 20:02:48 +01:00
Roeland Jago Douma d9b32726a0
Use import instead of require
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-16 17:03:40 +01:00
Morris Jobke 355d69e60e
Merge pull request #13574 from alion300/master
Fix app navigation flickering on hover
2019-01-16 16:30:07 +01:00
Jan-Christoph Borchardt a081096d32
Fix password change toggle position and visibility in dark theme
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-01-16 14:49:03 +01:00
Jan-Christoph Borchardt dd3ed98031
Dark theme: Fix select2 icons
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-01-16 14:34:19 +01:00
Roeland Jago Douma cff89c2a44
Merge pull request #13618 from nextcloud/enh/13608/move_bundlejs_towebpack
Move from JSCombiner to webpack: merged-share-backend
2019-01-16 12:21:04 +01:00
dependabot[bot] ad620b5fa1
[Security] Bump marked from 0.3.6 to 0.6.0
Bumps [marked](https://github.com/markedjs/marked) from 0.3.6 to 0.6.0. **This update includes security fixes.**
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.3.6...v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-16 11:02:41 +01:00
Roeland Jago Douma c77d7d6e79
Move merged-share-backend to webpack
For #13608

Since we have webpack anyway it make sense to let webpack do the
bundling instead of ourselfs. This leads to minified code (so less
transfer). And the webserver can just handle the request.

As a bonus we get a map file so debugging is easier than with our
JSCombiner stuff.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-16 10:03:21 +01:00
Nextcloud bot e35a5ef387
[tx-robot] updated from transifex 2019-01-16 01:12:34 +00:00
Jan-Christoph Borchardt db1f1048f9
Dark theme: Fix select triangle not being visible
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-01-15 20:54:39 +01:00
Roeland Jago Douma d0397f9b53
Generic message on password reset
There is no need to inform the user if the account existed or not.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-15 15:53:43 +01:00
dependabot[bot] cdccf906bb
Bump clipboard from 1.7.1 to 2.0.4
Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 1.7.1 to 2.0.4.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v1.7.1...v2.0.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-15 10:20:10 +01:00
Nextcloud bot 56ad07b85e
[tx-robot] updated from transifex 2019-01-15 01:12:14 +00:00
Morris Jobke 86d30835af
Merge pull request #13581 from nextcloud/bugfix/13576/correctly-escape-html
Correctly handle displaynames returned from the sharee API
2019-01-14 15:18:47 +01:00
John Molakvoæ 36b8c9aaef
Merge pull request #13492 from nextcloud/refactor/es6-shim-babel-polyfill
Use @babel/polyfill instead of es6-shim
2019-01-14 14:59:59 +01:00
Joas Schilling 86e6cebc18
Correctly handle displaynames returned from the sharee API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-14 14:09:12 +01:00
Morris Jobke eeec3c7e86
Merge pull request #13566 from nextcloud/fix/13519/click-app-names
Fix click app names
2019-01-14 12:24:47 +01:00
Christoph Wurst 07760b83fc
Use @babel/polyfill instead of es6-shim
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-14 12:08:46 +01:00