-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Milestone
Description
Front-end
JavaScript
Deprecated global variables
initCore-> don't use this internal function Move the initCore function to the bundle #15440oc_appconfig-> useOC.appConfiginstead Move oc_appconfig/OC.appConfig to the main bundle #15354oc_appswebroots-> useOC.appswebrootsinstead Move OC.appswebroots to the bundle and deprecate oc_appswebroots #15402oc_capabilities-> useOC.getCapabilities()instead Move OC.getCapabilities to the bundle and deprecate OC._capabilities,… #15521oc_config-> useOC.configinstead Move oc_config to the bundle #15293oc_current_user-> useOC.getCurrentUser().uidinstead Deprecate oc_current_user, fix usage and move currentUser to the bundle #15427oc_debug-> useOC.debuginstead Move oc_debug to the bundle #15297oc_isadmin-> useOC.isUserAdmin()instead Deprecate oc_isadmin and move OC.isUserAdmin() to the bundle #15355oc_requesttoken-> useOC.requestTokeninstead Move OC.requestToken to the bundle, deprecate oc_requesttoken #15496oc_webroot-> useOC.getRootPath()instead Move oc_webroot/OC.webroot to the bundle #15295OCDialogs-> useOC.dialogsinstead Move OC.dialogs to the main bundle #15294
Other deprecations
OC._capabilities-> useOC.getCapabilities()instead Move OC.getCapabilities to the bundle and deprecate OC._capabilities,… #15521OC.addTranslations-> useOC.L10N.loadinstead Move OC.addTranslations to the bundle and deprecate it #15523OC.coreApps-> internal use only, no replacement Move rest of contant-like OC props to the bundle #15420OC.getHost-> use the usewindow.location.hostdirectly Move OC host/port/protocol helpers to the bundle and deprecate them #15520OC.getHostName-> use the usewindow.location.hostnamedirectly Move OC host/port/protocol helpers to the bundle and deprecate them #15520OC.getPort-> use the usewindow.location.portdirectly Move OC host/port/protocol helpers to the bundle and deprecate them #15520OC.getProtocol-> use the usewindow.location.protocol.split(':')[0]directly Move OC host/port/protocol helpers to the bundle and deprecate them #15520OC.fileIsBlacklisted-> use the regexOC.config.blacklist_files_regexdirectly Deprecate OC.fileIsBlacklisted and move it to the bundle #15524OC.redirect-> usewindow.locationdirectly Deprecate window.location wrappers for redirect and reload #15859OC.reload-> usewindow.location.reload()directly Deprecate window.location wrappers for redirect and reload #15859
Removed jQuery plugins
singleselect-> ship your own if you really need it Remove unused singleselect script #15426
Backend
Removed from public namespace:
OCP\App::checkAppEnabled: Remove deprecated function checkAppEnabled #15781OCP\Security\StringUtils: Remove deprecatred StringUtils class #15779OCP\Util::callCheck: Remove deprecated function callCheck #15780
Deprecations
OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowEvalScript: This means apps should no longer use eval in their javascript. We aim to forbid this in general in a future version of Nextcloud Add deprecation warning #16924OCP\AppFramework\Utility\IControllerMethodReflector::reflect: Will be removed in 18 Remove reflect method form public interface #16928
Behavorial changes
- LDAP: default value for
ldapGroupMemberAssocAttrchanged fromuniqueMemberto unset. On scripted setups, it has to be set if LDAP groups should be used within Nextcloud. fixes possible override of uniqueMember by autodetection #15604 - Provisioning API: creating users will return the assigned user ID as dataset,
['id' => $userid]Opt-in for generation userid, requiring email addresses #15964 changes the returned key from UserID to id, in accordance with getUserData #16036
skjnldsv, blizzz, MorrisJobke, rullzer and splitt3rskjnldsv, blizzz, rullzer, kesselb and rainerzufall