auf 2.0.0 und css Tests
This commit is contained in:
parent
3d07ca9dc0
commit
b6fbe90806
2
Makefile
2
Makefile
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile for building the project
|
# Makefile for building the project
|
||||||
|
|
||||||
app_name=da_registration
|
app_name=registration
|
||||||
|
|
||||||
project_dir=$(CURDIR)/../$(app_name)
|
project_dir=$(CURDIR)/../$(app_name)
|
||||||
build_dir=$(CURDIR)/build/artifacts
|
build_dir=$(CURDIR)/build/artifacts
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
|
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
|
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
|
||||||
<id>da_registration</id>
|
<id>registration</id>
|
||||||
<name>DA Registration</name>
|
<name>DA Registration</name>
|
||||||
<namespace>Registration</namespace>
|
<namespace>Registration</namespace>
|
||||||
<description></description>
|
<description></description>
|
||||||
<version>1.5.0</version>
|
<version>2.0.0</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<types>
|
<types>
|
||||||
<prevent_group_restriction />
|
<prevent_group_restriction />
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@
|
||||||
"OCA\\Registration\\": "lib/"
|
"OCA\\Registration\\": "lib/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"name": "nextcloud/da_registration",
|
"name": "nextcloud/registration",
|
||||||
"description": "da_registration",
|
"description": "registration",
|
||||||
"license": "AGPL",
|
"license": "AGPL",
|
||||||
"require": {
|
"require": {
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
#alternative-logins:not(.alternative-logins) .button.register-button {
|
#alternative-logins:not(.alternative-logins) .button.register-button {
|
||||||
color: var(--color-primary-element);
|
color: var(--color-primary-element);
|
||||||
background-color: red;
|
background-color: blue;
|
||||||
}
|
}
|
||||||
#alternative-logins.alternative-logins .button.register-button {
|
#alternative-logins.alternative-logins .button.register-button {
|
||||||
color: red;
|
color: red;
|
||||||
background-color: red;
|
background-color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#alternative-logins .register-button:only-child {
|
#alternative-logins .register-button:only-child {
|
||||||
|
|
|
||||||
|
|
@ -29,4 +29,4 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||||
});
|
});
|
||||||
/******/ })()
|
/******/ })()
|
||||||
;
|
;
|
||||||
//# sourceMappingURL=da_registration-form.js.map?v=f64a2674d0a4e7f46973
|
//# sourceMappingURL=registration-form.js.map?v=f64a2674d0a4e7f46973
|
||||||
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"da_registration-form.js?v=f64a2674d0a4e7f46973","sources":["webpack:///da_registration/src/form.js"],"sourcesContent":["\"use strict\";\n\ndocument.addEventListener('DOMContentLoaded', function () {\n var _this = this;\n\n // Password toggle\n $('#showadminpass').click(function (e) {\n e.preventDefault();\n var passwordTextField = $('#password');\n\n if (passwordTextField.attr('type') === 'password') {\n passwordTextField.attr('type', 'text');\n } else {\n passwordTextField.attr('type', 'password');\n }\n }); // Disable submit after first click\n\n $('form').submit(function () {\n // prevent duplicate form submissions\n $(_this).find(':submit').attr('disabled', 'disabled');\n $(_this).find(':submit')[0].value = t('registration', 'Loading …');\n });\n});"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A","sourceRoot":""}
|
{"version":3,"file":"registration-form.js?v=f64a2674d0a4e7f46973","sources":["webpack:///registration/src/form.js"],"sourcesContent":["\"use strict\";\n\ndocument.addEventListener('DOMContentLoaded', function () {\n var _this = this;\n\n // Password toggle\n $('#showadminpass').click(function (e) {\n e.preventDefault();\n var passwordTextField = $('#password');\n\n if (passwordTextField.attr('type') === 'password') {\n passwordTextField.attr('type', 'text');\n } else {\n passwordTextField.attr('type', 'password');\n }\n }); // Disable submit after first click\n\n $('form').submit(function () {\n // prevent duplicate form submissions\n $(_this).find(':submit').attr('disabled', 'disabled');\n $(_this).find(':submit')[0].value = t('registration', 'Loading …');\n });\n});"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A","sourceRoot":""}
|
||||||
|
|
@ -3615,15 +3615,15 @@ _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }
|
||||||
assign: objectAssign
|
assign: objectAssign
|
||||||
});
|
});
|
||||||
|
|
||||||
var __assign = function() {
|
var __assign = function() {
|
||||||
__assign = Object.assign || function __assign(t) {
|
__assign = Object.assign || function __assign(t) {
|
||||||
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||||
s = arguments[i];
|
s = arguments[i];
|
||||||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
||||||
}
|
}
|
||||||
return t;
|
return t;
|
||||||
};
|
};
|
||||||
return __assign.apply(this, arguments);
|
return __assign.apply(this, arguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
function _typeof(obj) {
|
function _typeof(obj) {
|
||||||
|
|
@ -8483,11 +8483,11 @@ function () {
|
||||||
var TOAST_UNDO_TIMEOUT = 10000;
|
var TOAST_UNDO_TIMEOUT = 10000;
|
||||||
var TOAST_DEFAULT_TIMEOUT = 7000;
|
var TOAST_DEFAULT_TIMEOUT = 7000;
|
||||||
var TOAST_PERMANENT_TIMEOUT = -1;
|
var TOAST_PERMANENT_TIMEOUT = -1;
|
||||||
/**
|
/**
|
||||||
* Show a toast message
|
* Show a toast message
|
||||||
*
|
*
|
||||||
* @param text Message to be shown in the toast, any HTML is removed by default
|
* @param text Message to be shown in the toast, any HTML is removed by default
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function showMessage(data, options) {
|
function showMessage(data, options) {
|
||||||
|
|
@ -8524,11 +8524,11 @@ function showMessage(data, options) {
|
||||||
toast.showToast();
|
toast.showToast();
|
||||||
return toast;
|
return toast;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Show a toast message with error styling
|
* Show a toast message with error styling
|
||||||
*
|
*
|
||||||
* @param text Message to be shown in the toast, any HTML is removed by default
|
* @param text Message to be shown in the toast, any HTML is removed by default
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function showError(text, options) {
|
function showError(text, options) {
|
||||||
|
|
@ -8536,11 +8536,11 @@ function showError(text, options) {
|
||||||
type: ToastType.ERROR
|
type: ToastType.ERROR
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Show a toast message with warning styling
|
* Show a toast message with warning styling
|
||||||
*
|
*
|
||||||
* @param text Message to be shown in the toast, any HTML is removed by default
|
* @param text Message to be shown in the toast, any HTML is removed by default
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function showWarning(text, options) {
|
function showWarning(text, options) {
|
||||||
|
|
@ -8548,11 +8548,11 @@ function showWarning(text, options) {
|
||||||
type: ToastType.WARNING
|
type: ToastType.WARNING
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Show a toast message with info styling
|
* Show a toast message with info styling
|
||||||
*
|
*
|
||||||
* @param text Message to be shown in the toast, any HTML is removed by default
|
* @param text Message to be shown in the toast, any HTML is removed by default
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function showInfo(text, options) {
|
function showInfo(text, options) {
|
||||||
|
|
@ -8560,11 +8560,11 @@ function showInfo(text, options) {
|
||||||
type: ToastType.INFO
|
type: ToastType.INFO
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Show a toast message with success styling
|
* Show a toast message with success styling
|
||||||
*
|
*
|
||||||
* @param text Message to be shown in the toast, any HTML is removed by default
|
* @param text Message to be shown in the toast, any HTML is removed by default
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function showSuccess(text, options) {
|
function showSuccess(text, options) {
|
||||||
|
|
@ -8572,12 +8572,12 @@ function showSuccess(text, options) {
|
||||||
type: ToastType.SUCCESS
|
type: ToastType.SUCCESS
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Show a toast message with undo styling
|
* Show a toast message with undo styling
|
||||||
*
|
*
|
||||||
* @param text Message to be shown in the toast, any HTML is removed by default
|
* @param text Message to be shown in the toast, any HTML is removed by default
|
||||||
* @param onUndo Function that is called when the undo button is clicked
|
* @param onUndo Function that is called when the undo button is clicked
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function showUndo(text, onUndo, options) {
|
function showUndo(text, onUndo, options) {
|
||||||
|
|
@ -11955,33 +11955,33 @@ function getBus() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var bus = getBus();
|
var bus = getBus();
|
||||||
/**
|
/**
|
||||||
* Register an event listener
|
* Register an event listener
|
||||||
*
|
*
|
||||||
* @param name name of the event
|
* @param name name of the event
|
||||||
* @param handler callback invoked for every matching event emitted on the bus
|
* @param handler callback invoked for every matching event emitted on the bus
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function subscribe(name, handler) {
|
function subscribe(name, handler) {
|
||||||
bus.subscribe(name, handler);
|
bus.subscribe(name, handler);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Unregister a previously registered event listener
|
* Unregister a previously registered event listener
|
||||||
*
|
*
|
||||||
* Note: doesn't work with anonymous functions (closures). Use method of an object or store listener function in variable.
|
* Note: doesn't work with anonymous functions (closures). Use method of an object or store listener function in variable.
|
||||||
*
|
*
|
||||||
* @param name name of the event
|
* @param name name of the event
|
||||||
* @param handler callback passed to `subscribed`
|
* @param handler callback passed to `subscribed`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function unsubscribe(name, handler) {
|
function unsubscribe(name, handler) {
|
||||||
bus.unsubscribe(name, handler);
|
bus.unsubscribe(name, handler);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Emit an event
|
* Emit an event
|
||||||
*
|
*
|
||||||
* @param name name of the event
|
* @param name name of the event
|
||||||
* @param event event payload
|
* @param event event payload
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function emit(name, event) {
|
function emit(name, event) {
|
||||||
|
|
@ -29744,166 +29744,166 @@ module.exports = toPlainObject;
|
||||||
\*********************************/
|
\*********************************/
|
||||||
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
||||||
|
|
||||||
(function(){
|
(function(){
|
||||||
var crypt = __webpack_require__(/*! crypt */ "./node_modules/crypt/crypt.js"),
|
var crypt = __webpack_require__(/*! crypt */ "./node_modules/crypt/crypt.js"),
|
||||||
utf8 = __webpack_require__(/*! charenc */ "./node_modules/charenc/charenc.js").utf8,
|
utf8 = __webpack_require__(/*! charenc */ "./node_modules/charenc/charenc.js").utf8,
|
||||||
isBuffer = __webpack_require__(/*! is-buffer */ "./node_modules/is-buffer/index.js"),
|
isBuffer = __webpack_require__(/*! is-buffer */ "./node_modules/is-buffer/index.js"),
|
||||||
bin = __webpack_require__(/*! charenc */ "./node_modules/charenc/charenc.js").bin,
|
bin = __webpack_require__(/*! charenc */ "./node_modules/charenc/charenc.js").bin,
|
||||||
|
|
||||||
// The core
|
// The core
|
||||||
md5 = function (message, options) {
|
md5 = function (message, options) {
|
||||||
// Convert to byte array
|
// Convert to byte array
|
||||||
if (message.constructor == String)
|
if (message.constructor == String)
|
||||||
if (options && options.encoding === 'binary')
|
if (options && options.encoding === 'binary')
|
||||||
message = bin.stringToBytes(message);
|
message = bin.stringToBytes(message);
|
||||||
else
|
else
|
||||||
message = utf8.stringToBytes(message);
|
message = utf8.stringToBytes(message);
|
||||||
else if (isBuffer(message))
|
else if (isBuffer(message))
|
||||||
message = Array.prototype.slice.call(message, 0);
|
message = Array.prototype.slice.call(message, 0);
|
||||||
else if (!Array.isArray(message) && message.constructor !== Uint8Array)
|
else if (!Array.isArray(message) && message.constructor !== Uint8Array)
|
||||||
message = message.toString();
|
message = message.toString();
|
||||||
// else, assume byte array already
|
// else, assume byte array already
|
||||||
|
|
||||||
var m = crypt.bytesToWords(message),
|
var m = crypt.bytesToWords(message),
|
||||||
l = message.length * 8,
|
l = message.length * 8,
|
||||||
a = 1732584193,
|
a = 1732584193,
|
||||||
b = -271733879,
|
b = -271733879,
|
||||||
c = -1732584194,
|
c = -1732584194,
|
||||||
d = 271733878;
|
d = 271733878;
|
||||||
|
|
||||||
// Swap endian
|
// Swap endian
|
||||||
for (var i = 0; i < m.length; i++) {
|
for (var i = 0; i < m.length; i++) {
|
||||||
m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |
|
m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |
|
||||||
((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;
|
((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Padding
|
// Padding
|
||||||
m[l >>> 5] |= 0x80 << (l % 32);
|
m[l >>> 5] |= 0x80 << (l % 32);
|
||||||
m[(((l + 64) >>> 9) << 4) + 14] = l;
|
m[(((l + 64) >>> 9) << 4) + 14] = l;
|
||||||
|
|
||||||
// Method shortcuts
|
// Method shortcuts
|
||||||
var FF = md5._ff,
|
var FF = md5._ff,
|
||||||
GG = md5._gg,
|
GG = md5._gg,
|
||||||
HH = md5._hh,
|
HH = md5._hh,
|
||||||
II = md5._ii;
|
II = md5._ii;
|
||||||
|
|
||||||
for (var i = 0; i < m.length; i += 16) {
|
for (var i = 0; i < m.length; i += 16) {
|
||||||
|
|
||||||
var aa = a,
|
var aa = a,
|
||||||
bb = b,
|
bb = b,
|
||||||
cc = c,
|
cc = c,
|
||||||
dd = d;
|
dd = d;
|
||||||
|
|
||||||
a = FF(a, b, c, d, m[i+ 0], 7, -680876936);
|
a = FF(a, b, c, d, m[i+ 0], 7, -680876936);
|
||||||
d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
|
d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
|
||||||
c = FF(c, d, a, b, m[i+ 2], 17, 606105819);
|
c = FF(c, d, a, b, m[i+ 2], 17, 606105819);
|
||||||
b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
|
b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
|
||||||
a = FF(a, b, c, d, m[i+ 4], 7, -176418897);
|
a = FF(a, b, c, d, m[i+ 4], 7, -176418897);
|
||||||
d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);
|
d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);
|
||||||
c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
|
c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
|
||||||
b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
|
b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
|
||||||
a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);
|
a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);
|
||||||
d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
|
d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
|
||||||
c = FF(c, d, a, b, m[i+10], 17, -42063);
|
c = FF(c, d, a, b, m[i+10], 17, -42063);
|
||||||
b = FF(b, c, d, a, m[i+11], 22, -1990404162);
|
b = FF(b, c, d, a, m[i+11], 22, -1990404162);
|
||||||
a = FF(a, b, c, d, m[i+12], 7, 1804603682);
|
a = FF(a, b, c, d, m[i+12], 7, 1804603682);
|
||||||
d = FF(d, a, b, c, m[i+13], 12, -40341101);
|
d = FF(d, a, b, c, m[i+13], 12, -40341101);
|
||||||
c = FF(c, d, a, b, m[i+14], 17, -1502002290);
|
c = FF(c, d, a, b, m[i+14], 17, -1502002290);
|
||||||
b = FF(b, c, d, a, m[i+15], 22, 1236535329);
|
b = FF(b, c, d, a, m[i+15], 22, 1236535329);
|
||||||
|
|
||||||
a = GG(a, b, c, d, m[i+ 1], 5, -165796510);
|
a = GG(a, b, c, d, m[i+ 1], 5, -165796510);
|
||||||
d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);
|
d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);
|
||||||
c = GG(c, d, a, b, m[i+11], 14, 643717713);
|
c = GG(c, d, a, b, m[i+11], 14, 643717713);
|
||||||
b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
|
b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
|
||||||
a = GG(a, b, c, d, m[i+ 5], 5, -701558691);
|
a = GG(a, b, c, d, m[i+ 5], 5, -701558691);
|
||||||
d = GG(d, a, b, c, m[i+10], 9, 38016083);
|
d = GG(d, a, b, c, m[i+10], 9, 38016083);
|
||||||
c = GG(c, d, a, b, m[i+15], 14, -660478335);
|
c = GG(c, d, a, b, m[i+15], 14, -660478335);
|
||||||
b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
|
b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
|
||||||
a = GG(a, b, c, d, m[i+ 9], 5, 568446438);
|
a = GG(a, b, c, d, m[i+ 9], 5, 568446438);
|
||||||
d = GG(d, a, b, c, m[i+14], 9, -1019803690);
|
d = GG(d, a, b, c, m[i+14], 9, -1019803690);
|
||||||
c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
|
c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
|
||||||
b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);
|
b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);
|
||||||
a = GG(a, b, c, d, m[i+13], 5, -1444681467);
|
a = GG(a, b, c, d, m[i+13], 5, -1444681467);
|
||||||
d = GG(d, a, b, c, m[i+ 2], 9, -51403784);
|
d = GG(d, a, b, c, m[i+ 2], 9, -51403784);
|
||||||
c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);
|
c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);
|
||||||
b = GG(b, c, d, a, m[i+12], 20, -1926607734);
|
b = GG(b, c, d, a, m[i+12], 20, -1926607734);
|
||||||
|
|
||||||
a = HH(a, b, c, d, m[i+ 5], 4, -378558);
|
a = HH(a, b, c, d, m[i+ 5], 4, -378558);
|
||||||
d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
|
d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
|
||||||
c = HH(c, d, a, b, m[i+11], 16, 1839030562);
|
c = HH(c, d, a, b, m[i+11], 16, 1839030562);
|
||||||
b = HH(b, c, d, a, m[i+14], 23, -35309556);
|
b = HH(b, c, d, a, m[i+14], 23, -35309556);
|
||||||
a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);
|
a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);
|
||||||
d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);
|
d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);
|
||||||
c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
|
c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
|
||||||
b = HH(b, c, d, a, m[i+10], 23, -1094730640);
|
b = HH(b, c, d, a, m[i+10], 23, -1094730640);
|
||||||
a = HH(a, b, c, d, m[i+13], 4, 681279174);
|
a = HH(a, b, c, d, m[i+13], 4, 681279174);
|
||||||
d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
|
d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
|
||||||
c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
|
c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
|
||||||
b = HH(b, c, d, a, m[i+ 6], 23, 76029189);
|
b = HH(b, c, d, a, m[i+ 6], 23, 76029189);
|
||||||
a = HH(a, b, c, d, m[i+ 9], 4, -640364487);
|
a = HH(a, b, c, d, m[i+ 9], 4, -640364487);
|
||||||
d = HH(d, a, b, c, m[i+12], 11, -421815835);
|
d = HH(d, a, b, c, m[i+12], 11, -421815835);
|
||||||
c = HH(c, d, a, b, m[i+15], 16, 530742520);
|
c = HH(c, d, a, b, m[i+15], 16, 530742520);
|
||||||
b = HH(b, c, d, a, m[i+ 2], 23, -995338651);
|
b = HH(b, c, d, a, m[i+ 2], 23, -995338651);
|
||||||
|
|
||||||
a = II(a, b, c, d, m[i+ 0], 6, -198630844);
|
a = II(a, b, c, d, m[i+ 0], 6, -198630844);
|
||||||
d = II(d, a, b, c, m[i+ 7], 10, 1126891415);
|
d = II(d, a, b, c, m[i+ 7], 10, 1126891415);
|
||||||
c = II(c, d, a, b, m[i+14], 15, -1416354905);
|
c = II(c, d, a, b, m[i+14], 15, -1416354905);
|
||||||
b = II(b, c, d, a, m[i+ 5], 21, -57434055);
|
b = II(b, c, d, a, m[i+ 5], 21, -57434055);
|
||||||
a = II(a, b, c, d, m[i+12], 6, 1700485571);
|
a = II(a, b, c, d, m[i+12], 6, 1700485571);
|
||||||
d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
|
d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
|
||||||
c = II(c, d, a, b, m[i+10], 15, -1051523);
|
c = II(c, d, a, b, m[i+10], 15, -1051523);
|
||||||
b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
|
b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
|
||||||
a = II(a, b, c, d, m[i+ 8], 6, 1873313359);
|
a = II(a, b, c, d, m[i+ 8], 6, 1873313359);
|
||||||
d = II(d, a, b, c, m[i+15], 10, -30611744);
|
d = II(d, a, b, c, m[i+15], 10, -30611744);
|
||||||
c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
|
c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
|
||||||
b = II(b, c, d, a, m[i+13], 21, 1309151649);
|
b = II(b, c, d, a, m[i+13], 21, 1309151649);
|
||||||
a = II(a, b, c, d, m[i+ 4], 6, -145523070);
|
a = II(a, b, c, d, m[i+ 4], 6, -145523070);
|
||||||
d = II(d, a, b, c, m[i+11], 10, -1120210379);
|
d = II(d, a, b, c, m[i+11], 10, -1120210379);
|
||||||
c = II(c, d, a, b, m[i+ 2], 15, 718787259);
|
c = II(c, d, a, b, m[i+ 2], 15, 718787259);
|
||||||
b = II(b, c, d, a, m[i+ 9], 21, -343485551);
|
b = II(b, c, d, a, m[i+ 9], 21, -343485551);
|
||||||
|
|
||||||
a = (a + aa) >>> 0;
|
a = (a + aa) >>> 0;
|
||||||
b = (b + bb) >>> 0;
|
b = (b + bb) >>> 0;
|
||||||
c = (c + cc) >>> 0;
|
c = (c + cc) >>> 0;
|
||||||
d = (d + dd) >>> 0;
|
d = (d + dd) >>> 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return crypt.endian([a, b, c, d]);
|
return crypt.endian([a, b, c, d]);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Auxiliary functions
|
// Auxiliary functions
|
||||||
md5._ff = function (a, b, c, d, x, s, t) {
|
md5._ff = function (a, b, c, d, x, s, t) {
|
||||||
var n = a + (b & c | ~b & d) + (x >>> 0) + t;
|
var n = a + (b & c | ~b & d) + (x >>> 0) + t;
|
||||||
return ((n << s) | (n >>> (32 - s))) + b;
|
return ((n << s) | (n >>> (32 - s))) + b;
|
||||||
};
|
};
|
||||||
md5._gg = function (a, b, c, d, x, s, t) {
|
md5._gg = function (a, b, c, d, x, s, t) {
|
||||||
var n = a + (b & d | c & ~d) + (x >>> 0) + t;
|
var n = a + (b & d | c & ~d) + (x >>> 0) + t;
|
||||||
return ((n << s) | (n >>> (32 - s))) + b;
|
return ((n << s) | (n >>> (32 - s))) + b;
|
||||||
};
|
};
|
||||||
md5._hh = function (a, b, c, d, x, s, t) {
|
md5._hh = function (a, b, c, d, x, s, t) {
|
||||||
var n = a + (b ^ c ^ d) + (x >>> 0) + t;
|
var n = a + (b ^ c ^ d) + (x >>> 0) + t;
|
||||||
return ((n << s) | (n >>> (32 - s))) + b;
|
return ((n << s) | (n >>> (32 - s))) + b;
|
||||||
};
|
};
|
||||||
md5._ii = function (a, b, c, d, x, s, t) {
|
md5._ii = function (a, b, c, d, x, s, t) {
|
||||||
var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
|
var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
|
||||||
return ((n << s) | (n >>> (32 - s))) + b;
|
return ((n << s) | (n >>> (32 - s))) + b;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Package private blocksize
|
// Package private blocksize
|
||||||
md5._blocksize = 16;
|
md5._blocksize = 16;
|
||||||
md5._digestsize = 16;
|
md5._digestsize = 16;
|
||||||
|
|
||||||
module.exports = function (message, options) {
|
module.exports = function (message, options) {
|
||||||
if (message === undefined || message === null)
|
if (message === undefined || message === null)
|
||||||
throw new Error('Illegal argument ' + message);
|
throw new Error('Illegal argument ' + message);
|
||||||
|
|
||||||
var digestbytes = crypt.wordsToBytes(md5(message, options));
|
var digestbytes = crypt.wordsToBytes(md5(message, options));
|
||||||
return options && options.asBytes ? digestbytes :
|
return options && options.asBytes ? digestbytes :
|
||||||
options && options.asString ? bin.bytesToString(digestbytes) :
|
options && options.asString ? bin.bytesToString(digestbytes) :
|
||||||
crypt.bytesToHex(digestbytes);
|
crypt.bytesToHex(digestbytes);
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
@ -39072,79 +39072,79 @@ function handleGlobalClose(event) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
||||||
if (typeof shadowMode !== 'boolean') {
|
if (typeof shadowMode !== 'boolean') {
|
||||||
createInjectorSSR = createInjector;
|
createInjectorSSR = createInjector;
|
||||||
createInjector = shadowMode;
|
createInjector = shadowMode;
|
||||||
shadowMode = false;
|
shadowMode = false;
|
||||||
}
|
}
|
||||||
// Vue.extend constructor export interop.
|
// Vue.extend constructor export interop.
|
||||||
const options = typeof script === 'function' ? script.options : script;
|
const options = typeof script === 'function' ? script.options : script;
|
||||||
// render functions
|
// render functions
|
||||||
if (template && template.render) {
|
if (template && template.render) {
|
||||||
options.render = template.render;
|
options.render = template.render;
|
||||||
options.staticRenderFns = template.staticRenderFns;
|
options.staticRenderFns = template.staticRenderFns;
|
||||||
options._compiled = true;
|
options._compiled = true;
|
||||||
// functional template
|
// functional template
|
||||||
if (isFunctionalTemplate) {
|
if (isFunctionalTemplate) {
|
||||||
options.functional = true;
|
options.functional = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// scopedId
|
// scopedId
|
||||||
if (scopeId) {
|
if (scopeId) {
|
||||||
options._scopeId = scopeId;
|
options._scopeId = scopeId;
|
||||||
}
|
}
|
||||||
let hook;
|
let hook;
|
||||||
if (moduleIdentifier) {
|
if (moduleIdentifier) {
|
||||||
// server build
|
// server build
|
||||||
hook = function (context) {
|
hook = function (context) {
|
||||||
// 2.3 injection
|
// 2.3 injection
|
||||||
context =
|
context =
|
||||||
context || // cached call
|
context || // cached call
|
||||||
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
||||||
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
|
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
|
||||||
// 2.2 with runInNewContext: true
|
// 2.2 with runInNewContext: true
|
||||||
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
||||||
context = __VUE_SSR_CONTEXT__;
|
context = __VUE_SSR_CONTEXT__;
|
||||||
}
|
}
|
||||||
// inject component styles
|
// inject component styles
|
||||||
if (style) {
|
if (style) {
|
||||||
style.call(this, createInjectorSSR(context));
|
style.call(this, createInjectorSSR(context));
|
||||||
}
|
}
|
||||||
// register component module identifier for async chunk inference
|
// register component module identifier for async chunk inference
|
||||||
if (context && context._registeredComponents) {
|
if (context && context._registeredComponents) {
|
||||||
context._registeredComponents.add(moduleIdentifier);
|
context._registeredComponents.add(moduleIdentifier);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// used by ssr in case component is cached and beforeCreate
|
// used by ssr in case component is cached and beforeCreate
|
||||||
// never gets called
|
// never gets called
|
||||||
options._ssrRegister = hook;
|
options._ssrRegister = hook;
|
||||||
}
|
}
|
||||||
else if (style) {
|
else if (style) {
|
||||||
hook = shadowMode
|
hook = shadowMode
|
||||||
? function (context) {
|
? function (context) {
|
||||||
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
|
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
|
||||||
}
|
}
|
||||||
: function (context) {
|
: function (context) {
|
||||||
style.call(this, createInjector(context));
|
style.call(this, createInjector(context));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (hook) {
|
if (hook) {
|
||||||
if (options.functional) {
|
if (options.functional) {
|
||||||
// register for functional component in vue file
|
// register for functional component in vue file
|
||||||
const originalRender = options.render;
|
const originalRender = options.render;
|
||||||
options.render = function renderWithStyleInjection(h, context) {
|
options.render = function renderWithStyleInjection(h, context) {
|
||||||
hook.call(context);
|
hook.call(context);
|
||||||
return originalRender(h, context);
|
return originalRender(h, context);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// inject component registration as beforeCreate hook
|
// inject component registration as beforeCreate hook
|
||||||
const existing = options.beforeCreate;
|
const existing = options.beforeCreate;
|
||||||
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return script;
|
return script;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* script */
|
/* script */
|
||||||
|
|
@ -49806,4 +49806,4 @@ exports.app = app;
|
||||||
}();
|
}();
|
||||||
/******/ })()
|
/******/ })()
|
||||||
;
|
;
|
||||||
//# sourceMappingURL=da_registration-settings.js.map?v=5d2e5fd936e0ae86b2d5
|
//# sourceMappingURL=registration-settings.js.map?v=5d2e5fd936e0ae86b2d5
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -39902,7 +39902,7 @@ var render = function() {
|
||||||
[
|
[
|
||||||
_c(
|
_c(
|
||||||
"SettingsSection",
|
"SettingsSection",
|
||||||
{ attrs: { title: _vm.t("da_registration", "Registration settings") } },
|
{ attrs: { title: _vm.t("registration", "Registration settings") } },
|
||||||
[
|
[
|
||||||
_c("p", [
|
_c("p", [
|
||||||
_c("input", {
|
_c("input", {
|
||||||
|
|
@ -39953,7 +39953,7 @@ var render = function() {
|
||||||
}),
|
}),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c("label", { attrs: { for: "admin_approval" } }, [
|
_c("label", { attrs: { for: "admin_approval" } }, [
|
||||||
_vm._v(_vm._s(_vm.t("da_registration", "Require admin approval")))
|
_vm._v(_vm._s(_vm.t("registration", "Require admin approval")))
|
||||||
])
|
])
|
||||||
]),
|
]),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
|
|
@ -39961,7 +39961,7 @@ var render = function() {
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(
|
_vm._s(
|
||||||
_vm.t(
|
_vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
'Enabling "admin approval" will prevent registrations from mobile and desktop clients to complete as the credentials cannot be verified by the client until the user was enabled.'
|
'Enabling "admin approval" will prevent registrations from mobile and desktop clients to complete as the credentials cannot be verified by the client until the user was enabled.'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
@ -39975,7 +39975,7 @@ var render = function() {
|
||||||
_vm._v(
|
_vm._v(
|
||||||
"\n\t\t\t\t" +
|
"\n\t\t\t\t" +
|
||||||
_vm._s(
|
_vm._s(
|
||||||
_vm.t("da_registration", "Registered users default group")
|
_vm.t("registration", "Registered users default group")
|
||||||
) +
|
) +
|
||||||
"\n\t\t\t"
|
"\n\t\t\t"
|
||||||
)
|
)
|
||||||
|
|
@ -39984,7 +39984,7 @@ var render = function() {
|
||||||
_c("Multiselect", {
|
_c("Multiselect", {
|
||||||
attrs: {
|
attrs: {
|
||||||
id: "registered_user_group",
|
id: "registered_user_group",
|
||||||
placeholder: _vm.t("da_registration", "Select group"),
|
placeholder: _vm.t("registration", "Select group"),
|
||||||
options: _vm.groups,
|
options: _vm.groups,
|
||||||
disabled: _vm.loading,
|
disabled: _vm.loading,
|
||||||
searchable: true,
|
searchable: true,
|
||||||
|
|
@ -40012,7 +40012,7 @@ var render = function() {
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c(
|
_c(
|
||||||
"SettingsSection",
|
"SettingsSection",
|
||||||
{ attrs: { title: _vm.t("da_registration", "Email settings") } },
|
{ attrs: { title: _vm.t("registration", "Email settings") } },
|
||||||
[
|
[
|
||||||
_c("p", [
|
_c("p", [
|
||||||
_c("label", { attrs: { for: "allowed_domains" } }, [
|
_c("label", { attrs: { for: "allowed_domains" } }, [
|
||||||
|
|
@ -40034,7 +40034,7 @@ var render = function() {
|
||||||
name: "allowed_domains",
|
name: "allowed_domains",
|
||||||
disabled: _vm.loading,
|
disabled: _vm.loading,
|
||||||
placeholder: "nextcloud.com;*.example.com",
|
placeholder: "nextcloud.com;*.example.com",
|
||||||
"aria-label": _vm.t("da_registration", "Allowed email domain")
|
"aria-label": _vm.t("registration", "Allowed email domain")
|
||||||
},
|
},
|
||||||
domProps: { value: _vm.allowedDomains },
|
domProps: { value: _vm.allowedDomains },
|
||||||
on: {
|
on: {
|
||||||
|
|
@ -40103,7 +40103,7 @@ var render = function() {
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(
|
_vm._s(
|
||||||
_vm.t(
|
_vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
"Block listed email domains instead of allowing them"
|
"Block listed email domains instead of allowing them"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
@ -40215,7 +40215,7 @@ var render = function() {
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c("label", { attrs: { for: "disable_email_verification" } }, [
|
_c("label", { attrs: { for: "disable_email_verification" } }, [
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(_vm.t("da_registration", "Disable email verification"))
|
_vm._s(_vm.t("registration", "Disable email verification"))
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
@ -40224,7 +40224,7 @@ var render = function() {
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c(
|
_c(
|
||||||
"SettingsSection",
|
"SettingsSection",
|
||||||
{ attrs: { title: _vm.t("da_registration", "User settings") } },
|
{ attrs: { title: _vm.t("registration", "User settings") } },
|
||||||
[
|
[
|
||||||
_c("p", [
|
_c("p", [
|
||||||
_c("input", {
|
_c("input", {
|
||||||
|
|
@ -40276,7 +40276,7 @@ var render = function() {
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c("label", { attrs: { for: "email_is_login" } }, [
|
_c("label", { attrs: { for: "email_is_login" } }, [
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(_vm.t("da_registration", "Force email as login name"))
|
_vm._s(_vm.t("registration", "Force email as login name"))
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
]),
|
]),
|
||||||
|
|
@ -40286,7 +40286,7 @@ var render = function() {
|
||||||
_c("p", [
|
_c("p", [
|
||||||
_c("label", { attrs: { for: "username_policy_regex" } }, [
|
_c("label", { attrs: { for: "username_policy_regex" } }, [
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(_vm.t("da_registration", "Login name policy"))
|
_vm._s(_vm.t("registration", "Login name policy"))
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
|
|
@ -40306,7 +40306,7 @@ var render = function() {
|
||||||
disabled: _vm.loading,
|
disabled: _vm.loading,
|
||||||
placeholder: "E.g.: /^[a-z-]+\\.[a-z-]+$/",
|
placeholder: "E.g.: /^[a-z-]+\\.[a-z-]+$/",
|
||||||
"aria-label": _vm.t(
|
"aria-label": _vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
"Regular expression to validate login names"
|
"Regular expression to validate login names"
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
@ -40329,7 +40329,7 @@ var render = function() {
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(
|
_vm._s(
|
||||||
_vm.t(
|
_vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
"If configured, login names will be validated through the regular expression. If the validation fails the user is prompted with a generic error. Make sure your regex is working correctly."
|
"If configured, login names will be validated through the regular expression. If the validation fails the user is prompted with a generic error. Make sure your regex is working correctly."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
@ -40387,7 +40387,7 @@ var render = function() {
|
||||||
}),
|
}),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c("label", { attrs: { for: "show_fullname" } }, [
|
_c("label", { attrs: { for: "show_fullname" } }, [
|
||||||
_vm._v(_vm._s(_vm.t("da_registration", "Show full name field")))
|
_vm._v(_vm._s(_vm.t("registration", "Show full name field")))
|
||||||
])
|
])
|
||||||
]),
|
]),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
|
|
@ -40442,7 +40442,7 @@ var render = function() {
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c("label", { attrs: { for: "enforce_fullname" } }, [
|
_c("label", { attrs: { for: "enforce_fullname" } }, [
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(_vm.t("da_registration", "Enforce full name field"))
|
_vm._s(_vm.t("registration", "Enforce full name field"))
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
@ -40498,7 +40498,7 @@ var render = function() {
|
||||||
}),
|
}),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c("label", { attrs: { for: "show_phone" } }, [
|
_c("label", { attrs: { for: "show_phone" } }, [
|
||||||
_vm._v(_vm._s(_vm.t("da_registration", "Show phone field")))
|
_vm._v(_vm._s(_vm.t("registration", "Show phone field")))
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
: _vm._e(),
|
: _vm._e(),
|
||||||
|
|
@ -40554,7 +40554,7 @@ var render = function() {
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c("label", { attrs: { for: "enforce_phone" } }, [
|
_c("label", { attrs: { for: "enforce_phone" } }, [
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(_vm.t("da_registration", "Enforce phone field"))
|
_vm._s(_vm.t("registration", "Enforce phone field"))
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
@ -40567,9 +40567,9 @@ var render = function() {
|
||||||
"SettingsSection",
|
"SettingsSection",
|
||||||
{
|
{
|
||||||
attrs: {
|
attrs: {
|
||||||
title: _vm.t("da_registration", "User instructions"),
|
title: _vm.t("registration", "User instructions"),
|
||||||
description: _vm.t(
|
description: _vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
"Caution: The user instructions will not be translated and will therefore be displayed as configured below for all users regardless of their actual language."
|
"Caution: The user instructions will not be translated and will therefore be displayed as configured below for all users regardless of their actual language."
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -40577,7 +40577,7 @@ var render = function() {
|
||||||
[
|
[
|
||||||
_c("h3", [
|
_c("h3", [
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(_vm.t("da_registration", "Registration form instructions"))
|
_vm._s(_vm.t("registration", "Registration form instructions"))
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
|
|
@ -40598,7 +40598,7 @@ var render = function() {
|
||||||
placeholder:
|
placeholder:
|
||||||
"Please create your username following the scheme 'firstname.lastname'.",
|
"Please create your username following the scheme 'firstname.lastname'.",
|
||||||
"aria-label": _vm.t(
|
"aria-label": _vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
"A short message that is shown to the user in the registration process."
|
"A short message that is shown to the user in the registration process."
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
@ -40621,7 +40621,7 @@ var render = function() {
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(
|
_vm._s(
|
||||||
_vm.t(
|
_vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
"Add additional user instructions (e.g. for choosing their login name). If configured the text is displayed in the account creation step of the registration process."
|
"Add additional user instructions (e.g. for choosing their login name). If configured the text is displayed in the account creation step of the registration process."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
@ -40631,7 +40631,7 @@ var render = function() {
|
||||||
_c("h3", [
|
_c("h3", [
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(
|
_vm._s(
|
||||||
_vm.t("da_registration", "Verification email instructions")
|
_vm.t("registration", "Verification email instructions")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
|
|
@ -40653,7 +40653,7 @@ var render = function() {
|
||||||
placeholder:
|
placeholder:
|
||||||
"Please create your username following the scheme 'firstname.lastname'.",
|
"Please create your username following the scheme 'firstname.lastname'.",
|
||||||
"aria-label": _vm.t(
|
"aria-label": _vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
"A short message that is shown to the user in the verification email."
|
"A short message that is shown to the user in the verification email."
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
@ -40676,7 +40676,7 @@ var render = function() {
|
||||||
_vm._v(
|
_vm._v(
|
||||||
_vm._s(
|
_vm._s(
|
||||||
_vm.t(
|
_vm.t(
|
||||||
"da_registration",
|
"registration",
|
||||||
"Add additional user instructions (e.g. for choosing their login name). If configured the text is embedded in the verification-email."
|
"Add additional user instructions (e.g. for choosing their login name). If configured the text is embedded in the verification-email."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -13,7 +13,7 @@ use OCP\AppFramework\Bootstrap\IBootstrap;
|
||||||
use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
||||||
|
|
||||||
class Application extends App implements IBootstrap {
|
class Application extends App implements IBootstrap {
|
||||||
public const APP_ID = 'da_registration';
|
public const APP_ID = 'registration';
|
||||||
|
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
parent::__construct(self::APP_ID);
|
parent::__construct(self::APP_ID);
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,17 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ownCloud - registration
|
||||||
|
*
|
||||||
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
|
* later. See the COPYING file.
|
||||||
|
*
|
||||||
|
* @author Pellaeon Lin <pellaeon@hs.ntnu.edu.tw>
|
||||||
|
* @author Julius Härtl <jus@bitgrid.net>
|
||||||
|
* @author 2020 Joas Schilling <coding@schilljs.com>
|
||||||
|
* @copyright Pellaeon Lin 2014
|
||||||
|
*/
|
||||||
|
|
||||||
namespace OCA\Registration\Controller;
|
namespace OCA\Registration\Controller;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* ownCloud - registration
|
||||||
|
*
|
||||||
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
|
* later. See the COPYING file.
|
||||||
|
*
|
||||||
|
* @author Pellaeon Lin <pellaeon@cnmc.tw>
|
||||||
|
* @author Julius Härtl <jus@bitgrid.net>
|
||||||
|
* @copyright Pellaeon Lin 2015
|
||||||
|
*/
|
||||||
|
|
||||||
namespace OCA\Registration\Controller;
|
namespace OCA\Registration\Controller;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "da_registration",
|
"name": "registration",
|
||||||
"version": "1.0.0",
|
"version": "2.0.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "da_registration",
|
"name": "registration",
|
||||||
"version": "1.0.0",
|
"version": "2.0.0",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nextcloud/axios": "^1.6.0",
|
"@nextcloud/axios": "^1.6.0",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "da_registration",
|
"name": "registration",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
/** @var array $_ */
|
/** @var array $_ */
|
||||||
/** @var \OCP\IL10N $l */
|
/** @var \OCP\IL10N $l */
|
||||||
script('registration', 'registration-settings');
|
script('registration', 'registration-settings');
|
||||||
style('da_registration', 'settings');
|
style('registration', 'settings');
|
||||||
?>
|
?>
|
||||||
<div id="registration_settings_form"></div>
|
<div id="registration_settings_form"></div>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/** @var array $_ */
|
/** @var array $_ */
|
||||||
/** @var \OCP\IL10N $l */
|
/** @var \OCP\IL10N $l */
|
||||||
style('da_registration', 'style');
|
style('registration', 'style');
|
||||||
?>
|
?>
|
||||||
<div class="error">
|
<div class="error">
|
||||||
<h2><?php p($l->t('Approval required')) ?></h2>
|
<h2><?php p($l->t('Approval required')) ?></h2>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue