Commit Graph

9137 Commits

Author SHA1 Message Date
Morris Jobke 0e9903c420
Merge pull request #13969 from nextcloud/enh/additional_scripts_no_on_public_pages
No need to emit additonalscript event on public pages
2019-02-07 15:57:14 +01:00
Michael Weimann bf1253cb49
Implement guest avatar endpoint
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2019-02-07 14:23:16 +01:00
Nextcloud bot 8db2f3ec3a
[tx-robot] updated from transifex 2019-02-06 22:18:24 +00:00
Morris Jobke a1aa6ee70d
Merge pull request #12573 from nextcloud/fix/12568/special_handling_of_logout
Do not do redirect handling when loggin out
2019-02-06 15:38:54 +01:00
Nextcloud bot 0df5110127
[tx-robot] updated from transifex 2019-02-06 11:27:29 +00:00
Roeland Jago Douma 60e5a5eca4
Do not do redirect handling when loggin out
Fixes #12568
Since the clearing of the execution context causes another reload. We
should not do the redirect_uri handling as this results in redirecting
back to the logout page on login.

This adds a simple middleware that will just check if the
ClearExecutionContext session variable is set. If that is the case it
will just redirect back to the login page.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-06 11:29:32 +01:00
Roeland Jago Douma b68567e9ba
Add StandaloneTemplateResponse
This can be used by pages that do not have the full Nextcloud UI.
So notifications etc do not load there.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-06 11:26:18 +01:00
Roeland Jago Douma 635aa23b8c
Do not load bundled jstimezonedetect
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-06 09:16:45 +01:00
Roeland Jago Douma 53a266060f
Fix OC.addStyle and OC.addScript
With the move to the bundles a comment tag was not removed. So the
loaded array was undefined.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-05 15:24:54 +01:00
Roeland Jago Douma 31a1eb0c1f
It is getURLParameter not getUrlParameter
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-05 13:15:23 +01:00
Roeland Jago Douma a498b72dec
Move the contactsmenu handlebars templates to the bundle
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-04 10:56:52 +01:00
dependabot[bot] 5818e0bcbe
Bump css-vars-ponyfill from 1.16.3 to 1.16.4
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 1.16.3 to 1.16.4.
- [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.3...v1.16.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-03 13:56:50 +01:00
Jan-Christoph Borchardt c44c23a1c3
Improve design of description below label of checkbox or radio button
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-02-01 10:06:31 +01:00
Morris Jobke e7fafa6b15
Merge pull request #13960 from nextcloud/refactor/global-helpers-bundle
Move global helper functions to the bundle and deprecate some of them
2019-02-01 09:32:10 +01:00
Morris Jobke 30fb78c878
Merge pull request #12917 from nextcloud/feature/noid/favorites-quickaccess-add-droppable-v3
Added Drozone to favorites quickaccess
2019-02-01 09:30:42 +01:00
Christoph Wurst ab73c9c328
Move global helper functions to the bundle and deprecate some of them
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 09:15:30 +01:00
Christoph Wurst 799a0fbb78
Make chunkify an internal function to prevent context errors
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 08:51:46 +01:00
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
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