Commit 456bb8fa3fcc48eceb503bbaf3839dfa831efa38

Authored by Schwirg László
1 parent 17c73aec

- beépülők frissítése

Showing 79 changed files with 91 additions and 6266 deletions   Show diff stats
Vrh.Web.Reporting/Areas/UAManyToMany/Content/UAManyToMany.css deleted
@@ -1,78 +0,0 @@ @@ -1,78 +0,0 @@
1 -#MTMMain {  
2 - /*margin: 5px 5px 5px 5px;*/  
3 - overflow: auto;  
4 - width: 100%;  
5 -}  
6 -  
7 -.mtmTable {  
8 - width: 100%;  
9 -}  
10 -  
11 - .mtmTable td {  
12 - padding: 5px 5px 5px 5px;  
13 - }  
14 -  
15 -.mtmTable, td {  
16 - border: 0;  
17 - background-color: #333743;  
18 - border-collapse: collapse;  
19 -}  
20 -  
21 -.mtmNoBorder {  
22 - border: 0;  
23 -}  
24 -  
25 -.mtmHeader {  
26 - background-color: #F7A23B;  
27 - color: White;  
28 -}  
29 -  
30 -.mtmButtons, .mtmButtonsHeader {  
31 - background-color: #333743;  
32 - border: 0;  
33 - text-align: center;  
34 - width: 4em;  
35 -}  
36 -  
37 -.mtmSwitchButton[type="submit"] {  
38 - font-size: 0.7em;  
39 - padding: 0;  
40 -}  
41 -  
42 -.connectedSortable, #mtmDropDownList {  
43 - overflow: auto;  
44 - text-align: left;  
45 - height: 30em;  
46 - white-space: nowrap;  
47 -}  
48 -  
49 - .connectedSortable div, #mtmDropDownList div {  
50 - font-size: 1.2em;  
51 - cursor: default;  
52 - white-space: nowrap;  
53 - }  
54 -  
55 - .connectedSortable div.item, #mtmDropDownList div.item {  
56 - color: White;  
57 - }  
58 -  
59 - .connectedSortable div.itemDisabled, #mtmDropDownList div.itemDisabled {  
60 - color: Gray;  
61 - }  
62 -  
63 - .connectedSortable div:hover, #mtmDropDownList div:hover {  
64 - background-color: #F7A23B;  
65 - }  
66 -  
67 - .connectedSortable div.ui-sortable-placeholder {  
68 - visibility: visible;  
69 - border-width: 2px;  
70 - border-style: dashed;  
71 - border-color: #F7A23B;  
72 - height: 1.2em;  
73 - }  
74 -  
75 - .connectedSortable > div.selectedItem, #mtmDropDownList > div.selectedItem {  
76 - /*background-color: #F7A23B;*/  
77 - background-color: #CA5100;  
78 - }  
Vrh.Web.Reporting/Areas/UAManyToMany/Scripts/UAManyToMany.js deleted
@@ -1,263 +0,0 @@ @@ -1,263 +0,0 @@
1 -/*  
2 -* Created by Raju Dasa on 30-oct-2011  
3 -* www.RajuDasa.blogspot.com  
4 -* free source, change code for ur purpose.  
5 -*/  
6 -  
7 -//http://files.myopera.com/RAJUDASA/DragDrop/DragDrop.htm  
8 -//http://jqueryui.com/demos/sortable/#connect-lists  
9 -  
10 -// insert elements in #list1 and #list2  
11 -function pageload($jsonForList1, $jsonForList2) {  
12 - if ($jsonForList1 != null) {  
13 - $("#list1").empty().addItems($jsonForList1);  
14 - }  
15 - if ($jsonForList2 != null) {  
16 - $("#list2").empty().addItems($jsonForList2);  
17 - }  
18 -  
19 - $("#list1, #list2").sortable({  
20 - connectWith: ".connectedSortable",  
21 - placeholder: "ui-sortable-placeholder",  
22 - forcePlaceholderSize: true,  
23 - beforeStop: function (event, ui) {  
24 - console.log('beforeStop:');  
25 - ui.helper.removeClass("selectedItem");  
26 - ui.helper.off();  
27 - },  
28 - change: function (event, ui) { //for issue solving  
29 - console.log('change: vontatás');  
30 - var placeHolder = ui.helper.children(".ui-sortable-placeholder");  
31 - if (placeHolder) {  
32 - placeHolder.detach().appendTo(ui.helper.parent());  
33 - }  
34 - },  
35 - start: function (event, ui) {  
36 - console.log('start:');  
37 - if (ui.helper) {  
38 - var cnt = ui.helper.parent().children(".selectedItem:not(.ui-sortable-placeholder)").length;  
39 - if (cnt > 1) {  
40 - var parent = ui.helper.parent();  
41 - var childs = parent.children("div.selectedItem:not(.ui-sortable-placeholder)");  
42 - $.each(childs, function (index, child) {  
43 - child = $(child);  
44 - if (ui.helper.attr('id') != child.attr('id')) {  
45 - child = child.detach();  
46 - child.appendTo(ui.helper);  
47 - child.css("margin", "0px").css("padding", "0px"); //addClass not working  
48 - }  
49 - });  
50 - }  
51 - }  
52 - },  
53 - stop: function (event, ui) {  
54 - console.log('stop:');  
55 - //console.log(ui.helper);  
56 - if (ui.item) {  
57 - var cnt = $(ui.item[0]).children("div").length;  
58 - if (cnt > 0) {  
59 - //ui.helper is null  
60 - var dropItem = $(ui.item[0]);  
61 - $.each(dropItem.children("div"), function (index, child) {  
62 - child = $(child).detach();  
63 - child.insertAfter(dropItem);  
64 - child.removeClass("selectedItem");  
65 - child.css("margin", "").css("padding", "");  
66 - });  
67 - }  
68 - }  
69 - }  
70 - }).disableSelection();  
71 -}  
72 -  
73 -// custom jq function/plugin : used instead of template plugin  
74 -$.fn.addItems = function (data) {  
75 - return this.each(function () {  
76 - var parent = this;  
77 - $.each(data, function (index, itemData) {  
78 - $("<div>")  
79 - .text(itemData.Text)  
80 - .attr("id", "MTMValue:" + itemData.Value)  
81 - .addClass("item")  
82 - .appendTo(parent);  
83 - });  
84 - });  
85 -};  
86 -  
87 -// click color handling  
88 -$(document).on('click', '#list1>div, #list2>div', function (e) {  
89 - if (!e.ctrlKey) {  
90 - $(this).parent().children().removeClass("selectedItem");  
91 - }  
92 - $(this).toggleClass("selectedItem");  
93 -});  
94 -  
95 -// array difference: filter and indexOf not supported in IE8 or below  
96 -//http://stackoverflow.com/questions/1187518/javascript-array-difference  
97 -Array.prototype.diff = function (a) {  
98 - return this.filter(function (i) { return !(a.indexOf(i) > -1); });  
99 -};  
100 -  
101 -var isWasAnAjaxCall = false; // ajax hívás történt e már?  
102 -  
103 -/**  
104 - * Megvizsgálja a #list1-ben lévő divek id-ját  
105 - * és ha változás történt akkor ajax hívást kezdeményez  
106 - *  
107 - * @param {any} name : Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
108 - * @param {any} divItemIdsArray : #list1-ben lévő divek id-jai  
109 - * @param {any} ajaxAddUrl : hozzáadás ajax hívás url-je  
110 - * @param {any} isDefault : true/false  
111 - */  
112 -function checkList1Divs(name, divItemIdsArray, ajaxAddUrl, isDefault) {  
113 - $("#list1").bind("DOMSubtreeModified", function () {  
114 - if ($('#mtmDropDownList>div.selectedItem:first') != null && isWasAnAjaxCall == false) {  
115 - var array = new Array();  
116 - $.each($("#list1").find("div"), function (index, child) {  
117 - child = $(child);  
118 - if (!$(child).hasClass('ui-sortable-placeholder')) {  
119 - array.push(child.attr('id').substring(9, child.attr('id').length));  
120 - }  
121 - });  
122 - if (array != null && array.length != divItemIdsArray.length) {  
123 - if (array.length > divItemIdsArray.length) {  
124 - ajaxCall(name, ajaxAddUrl, array.diff(divItemIdsArray), isDefault);  
125 - }  
126 - }  
127 - }  
128 - });  
129 -}  
130 -  
131 -/**  
132 - * megvizsgálja a #list2-ben lévő divek id-ját  
133 - * és ha változás történt akkor ajax hívást kezdeményez  
134 - *  
135 - * @param {any} name : Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
136 - * @param {any} divItemIdsArray : #list2-ben lévő divek id-jai  
137 - * @param {any} ajaxRemoveUrl : törlés ajax hívás url-je  
138 - * @param {any} isDefault : true/false  
139 - */  
140 -function checkList2Divs(name, divItemIdsArray, ajaxRemoveUrl, isDefault) {  
141 - $("#list2").bind("DOMSubtreeModified", function () {  
142 - if ($('#mtmDropDownList>div.selectedItem:first') != null && isWasAnAjaxCall == false) {  
143 - var array = new Array();  
144 - $.each($("#list2").find("div"), function (index, child) {  
145 - child = $(child);  
146 - if (!$(child).hasClass('ui-sortable-placeholder')) {  
147 - array.push(child.attr('id').substring(9, child.attr('id').length));  
148 - }  
149 - });  
150 - if (array != null && array.length != divItemIdsArray.length) {  
151 - if (array.length > divItemIdsArray.length) {  
152 - ajaxCall(name, ajaxRemoveUrl, array.diff(divItemIdsArray), isDefault);  
153 - }  
154 - }  
155 - }  
156 - });  
157 -}  
158 -  
159 -/**  
160 - * ajax hívás  
161 - *  
162 - * 'messagePleaseWait' nevű változó a ManyToMany.cshtml-ben kap értéket.  
163 - *  
164 - * @param {any} name : Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
165 - * @param {any} ajaxUrl : url  
166 - * @param {any} idsArray : id-kat tartalmazó tömb  
167 - * @param {any} isDefault: true/false  
168 - */  
169 -function ajaxCall(name, ajaxUrl, idsArray, isDefault) {  
170 - var thisfn = 'UAManyTOMany.js ajaxCall function: ';  
171 - console.log(thisfn + 'PING name, idsArray, ajaxUrl', name, idsArray, ajaxUrl);  
172 - if (idsArray != null && idsArray.length > 0 && isWasAnAjaxCall == false) {  
173 - //var waitDialog = vrhct.bootbox.wait(messagePleaseWait, function() { //egyelőre zavar, mert többször hívódik a függvény vontatás esetén  
174 - var ajaxId = $('#mtmDropDownList>div.selectedItem:first').attr('id').substring(9, $('#mtmDropDownList>div.selectedItem:first').attr('id').length);  
175 - $.ajax({  
176 - cache: false,  
177 - url: ajaxUrl,  
178 - type: "post",  
179 - contenttype: "application/j-son",  
180 - datatype: 'json',  
181 - traditional: true,  
182 - data: { name: name, id: ajaxId, ids: idsArray, isDefault: isDefault },  
183 - beforeSend: function () {  
184 - disableOperations();  
185 - },  
186 - success: function (responseData) {  
187 - $('#MTMMultiSelectLists').html(responseData);  
188 - },  
189 - complete: function () {  
190 - enableOperations();  
191 - //waitDialog.modal('hide');  
192 - }  
193 - });  
194 - //});  
195 - }  
196 -}  
197 -  
198 -/**  
199 - * Összegyűjti egy tömbbe a selectedItem class-al rendelkező divek Id-ját  
200 - * a megadott selector alatt, majd ajax hívást kezdeményez  
201 - * @param {any} name : Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
202 - * @param {any} listSelector: selector (#list1 / #list2)  
203 - * @param {any} ajaxUrl : url  
204 - * @param {any} isDefault : true/false  
205 - */  
206 -function getSelectedItems(name, listSelector, ajaxUrl, isDefault) {  
207 - var array = new Array();  
208 - $.each($(listSelector).find("div.selectedItem"), function (index, child) {  
209 - child = $(child);  
210 - array.push(child.attr('id').substring(9, child.attr('id').length));  
211 - });  
212 - if (array.length === 0) {  
213 - array = null;  
214 - }  
215 - ajaxCall(name, ajaxUrl, array, isDefault);  
216 -}  
217 -  
218 -// ajax hívás a switch buttonra  
219 -// name: Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
220 -// ajaxUrl: url  
221 -// id: id  
222 -// isDefault: true/false  
223 -function ajaxCallSwitchButton(name, ajaxUrl, id, isDefault) {  
224 - var thisfn = 'UAManyTOMany.js ajaxCallSwitchButton function: ';  
225 - console.log(thisfn + 'PING name, id, ajaxUrl', name, id, ajaxUrl);  
226 - if (isWasAnAjaxCall == false) {  
227 - $.ajax({  
228 - cache: false,  
229 - url: ajaxUrl,  
230 - type: "post",  
231 - contenttype: "application/j-son",  
232 - datatype: 'json',  
233 - data: { name: name, id: id, isDefault: isDefault },  
234 - beforeSend: function () {  
235 - disableOperations();  
236 - },  
237 - success: function (responseData) {  
238 - $('#MTMMain').html(responseData);  
239 - },  
240 - complete: function () {  
241 - enableOperations();  
242 - }  
243 - });  
244 - }  
245 -}  
246 -  
247 -// műveletek tiltása  
248 -function disableOperations() {  
249 - isWasAnAjaxCall = true;  
250 - $('#MTMMain').find(':submit').attr('disabled', 'disabled');  
251 - $("#list1, #list2").sortable('disable');  
252 - $('.item').addClass('itemDisabled');  
253 - $('.itemDisabled').removeClass('item');  
254 -}  
255 -  
256 -// műveletek engedélyezése  
257 -function enableOperations() {  
258 - isWasAnAjaxCall = false;  
259 - $('#MTMMain').find(':submit').removeAttr('disabled');  
260 - $('#list1, #list2').sortable('enable');  
261 - $('.itemDisabled').addClass('item');  
262 - $('.item').removeClass('itemDisabled');  
263 -}  
264 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UAManyToMany/Scripts/UAManyToMany_ESLINTszerintDEúgynemmegy.js deleted
@@ -1,263 +0,0 @@ @@ -1,263 +0,0 @@
1 -/*  
2 -* Created by Raju Dasa on 30-oct-2011  
3 -* www.RajuDasa.blogspot.com  
4 -* free source, change code for ur purpose.  
5 -*/  
6 -  
7 -//http://files.myopera.com/RAJUDASA/DragDrop/DragDrop.htm  
8 -//http://jqueryui.com/demos/sortable/#connect-lists  
9 -  
10 -// insert elements in #list1 and #list2  
11 -function pageload($jsonForList1, $jsonForList2) {  
12 - if ($jsonForList1 !== null) {  
13 - $("#list1").empty().addItems($jsonForList1);  
14 - }  
15 - if ($jsonForList2 !== null) {  
16 - $("#list2").empty().addItems($jsonForList2);  
17 - }  
18 -  
19 - $("#list1, #list2").sortable({  
20 - connectWith: ".connectedSortable",  
21 - placeholder: "ui-sortable-placeholder",  
22 - forcePlaceholderSize: true,  
23 - beforeStop: function (event, ui) {  
24 - console.log('beforeStop:');  
25 - ui.helper.removeClass("selectedItem");  
26 - ui.helper.off();  
27 - },  
28 - change: function (event, ui) { //for issue solving  
29 - console.log('change: vontatás');  
30 - var placeHolder = ui.helper.children(".ui-sortable-placeholder");  
31 - if (placeHolder) {  
32 - placeHolder.detach().appendTo(ui.helper.parent());  
33 - }  
34 - },  
35 - start: function (event, ui) {  
36 - console.log('start:');  
37 - if (ui.helper) {  
38 - var cnt = ui.helper.parent().children(".selectedItem:not(.ui-sortable-placeholder)").length;  
39 - if (cnt > 1) {  
40 - var parent = ui.helper.parent();  
41 - var childs = parent.children("div.selectedItem:not(.ui-sortable-placeholder)");  
42 - $.each(childs, function (index, child) {  
43 - child = $(child);  
44 - if (ui.helper.attr('id') !== child.attr('id')) {  
45 - child = child.detach();  
46 - child.appendTo(ui.helper);  
47 - child.css("margin", "0px").css("padding", "0px"); //addClass not working  
48 - }  
49 - });  
50 - }  
51 - }  
52 - },  
53 - stop: function (event, ui) {  
54 - console.log('stop:');  
55 - //console.log(ui.helper);  
56 - if (ui.item) {  
57 - var cnt = $(ui.item[0]).children("div").length;  
58 - if (cnt > 0) {  
59 - //ui.helper is null  
60 - var dropItem = $(ui.item[0]);  
61 - $.each(dropItem.children("div"), function (index, child) {  
62 - child = $(child).detach();  
63 - child.insertAfter(dropItem);  
64 - child.removeClass("selectedItem");  
65 - child.css("margin", "").css("padding", "");  
66 - });  
67 - }  
68 - }  
69 - }  
70 - }).disableSelection();  
71 -}  
72 -  
73 -// custom jq function/plugin : used instead of template plugin  
74 -$.fn.addItems = function (data) {  
75 - return this.each(function () {  
76 - var parent = this;  
77 - $.each(data, function (index, itemData) {  
78 - $("<div>")  
79 - .text(itemData.Text)  
80 - .attr("id", "MTMValue:" + itemData.Value)  
81 - .addClass("item")  
82 - .appendTo(parent);  
83 - });  
84 - });  
85 -};  
86 -  
87 -// click color handling  
88 -$(document).on('click', '#list1>div, #list2>div', function (e) {  
89 - if (!e.ctrlKey) {  
90 - $(this).parent().children().removeClass("selectedItem");  
91 - }  
92 - $(this).toggleClass("selectedItem");  
93 -});  
94 -  
95 -// array difference: filter and indexOf not supported in IE8 or below  
96 -//http://stackoverflow.com/questions/1187518/javascript-array-difference  
97 -Array.prototype.diff = function (a) {  
98 - return this.filter(function (i) { return !(a.indexOf(i) > -1); });  
99 -};  
100 -  
101 -var isWasAnAjaxCall = false; // ajax hívás történt e már?  
102 -  
103 -/**  
104 - * Megvizsgálja a #list1-ben lévő divek id-ját  
105 - * és ha változás történt akkor ajax hívást kezdeményez  
106 - *  
107 - * @param {any} name : Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
108 - * @param {any} divItemIdsArray : #list1-ben lévő divek id-jai  
109 - * @param {any} ajaxAddUrl : hozzáadás ajax hívás url-je  
110 - * @param {any} isDefault : true/false  
111 - */  
112 -function checkList1Divs(name, divItemIdsArray, ajaxAddUrl, isDefault) {  
113 - $("#list1").bind("DOMSubtreeModified", function () {  
114 - if ($('#mtmDropDownList>div.selectedItem:first') !== null && isWasAnAjaxCall === false) {  
115 - var array = new Array();  
116 - $.each($("#list1").find("div"), function (index, child) {  
117 - child = $(child);  
118 - if (!$(child).hasClass('ui-sortable-placeholder')) {  
119 - array.push(child.attr('id').substring(9, child.attr('id').length));  
120 - }  
121 - });  
122 - if (array !== null && array.length !== divItemIdsArray.length) {  
123 - if (array.length > divItemIdsArray.length) {  
124 - ajaxCall(name, ajaxAddUrl, array.diff(divItemIdsArray), isDefault);  
125 - }  
126 - }  
127 - }  
128 - });  
129 -}  
130 -  
131 -/**  
132 - * megvizsgálja a #list2-ben lévő divek id-ját  
133 - * és ha változás történt akkor ajax hívást kezdeményez  
134 - *  
135 - * @param {any} name : Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
136 - * @param {any} divItemIdsArray : #list2-ben lévő divek id-jai  
137 - * @param {any} ajaxRemoveUrl : törlés ajax hívás url-je  
138 - * @param {any} isDefault : true/false  
139 - */  
140 -function checkList2Divs(name, divItemIdsArray, ajaxRemoveUrl, isDefault) {  
141 - $("#list2").bind("DOMSubtreeModified", function () {  
142 - if ($('#mtmDropDownList>div.selectedItem:first') !== null && isWasAnAjaxCall === false) {  
143 - var array = new Array();  
144 - $.each($("#list2").find("div"), function (index, child) {  
145 - child = $(child);  
146 - if (!$(child).hasClass('ui-sortable-placeholder')) {  
147 - array.push(child.attr('id').substring(9, child.attr('id').length));  
148 - }  
149 - });  
150 - if (array !== null && array.length !== divItemIdsArray.length) {  
151 - if (array.length > divItemIdsArray.length) {  
152 - ajaxCall(name, ajaxRemoveUrl, array.diff(divItemIdsArray), isDefault);  
153 - }  
154 - }  
155 - }  
156 - });  
157 -}  
158 -  
159 -/**  
160 - * ajax hívás  
161 - *  
162 - * 'messagePleaseWait' nevű változó a ManyToMany.cshtml-ben kap értéket.  
163 - *  
164 - * @param {any} name : Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
165 - * @param {any} ajaxUrl : url  
166 - * @param {any} idsArray : id-kat tartalmazó tömb  
167 - * @param {any} isDefault: true/false  
168 - */  
169 -function ajaxCall(name, ajaxUrl, idsArray, isDefault) {  
170 - var thisfn = 'UAManyTOMany.js ajaxCall function: ';  
171 - console.log(thisfn + 'PING name, idsArray, ajaxUrl', name, idsArray, ajaxUrl);  
172 - if (idsArray !== null && idsArray.length > 0 && isWasAnAjaxCall === false) {  
173 - //var waitDialog = vrhct.bootbox.wait(messagePleaseWait, function() { //egyelőre zavar, mert többször hívódik a függvény vontatás esetén  
174 - var ajaxId = $('#mtmDropDownList>div.selectedItem:first').attr('id').substring(9, $('#mtmDropDownList>div.selectedItem:first').attr('id').length);  
175 - $.ajax({  
176 - cache: false,  
177 - url: ajaxUrl,  
178 - type: "post",  
179 - contenttype: "application/j-son",  
180 - datatype: 'json',  
181 - traditional: true,  
182 - data: { name: name, id: ajaxId, ids: idsArray, isDefault: isDefault },  
183 - beforeSend: function () {  
184 - disableOperations();  
185 - },  
186 - success: function (responseData) {  
187 - $('#MTMMultiSelectLists').html(responseData);  
188 - },  
189 - complete: function () {  
190 - enableOperations();  
191 - //waitDialog.modal('hide');  
192 - }  
193 - });  
194 - //});  
195 - }  
196 -}  
197 -  
198 -/**  
199 - * Összegyűjti egy tömbbe a selectedItem class-al rendelkező divek Id-ját  
200 - * a megadott selector alatt, majd ajax hívást kezdeményez  
201 - * @param {any} name : Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
202 - * @param {any} listSelector: selector (#list1 / #list2)  
203 - * @param {any} ajaxUrl : url  
204 - * @param {any} isDefault : true/false  
205 - */  
206 -function getSelectedItems(name, listSelector, ajaxUrl, isDefault) {  
207 - var array = new Array();  
208 - $.each($(listSelector).find("div.selectedItem"), function (index, child) {  
209 - child = $(child);  
210 - array.push(child.attr('id').substring(9, child.attr('id').length));  
211 - });  
212 - if (array.length === 0) {  
213 - array = null;  
214 - }  
215 - ajaxCall(name, ajaxUrl, array, isDefault);  
216 -}  
217 -  
218 -// ajax hívás a switch buttonra  
219 -// name: Név ami meghatározza, hogy melyik osztály interfészéről van szó.  
220 -// ajaxUrl: url  
221 -// id: id  
222 -// isDefault: true/false  
223 -function ajaxCallSwitchButton(name, ajaxUrl, id, isDefault) {  
224 - var thisfn = 'UAManyTOMany.js ajaxCallSwitchButton function: ';  
225 - console.log(thisfn + 'PING name, id, ajaxUrl', name, id, ajaxUrl);  
226 - if (isWasAnAjaxCall === false) {  
227 - $.ajax({  
228 - cache: false,  
229 - url: ajaxUrl,  
230 - type: "post",  
231 - contenttype: "application/j-son",  
232 - datatype: 'json',  
233 - data: { name: name, id: id, isDefault: isDefault },  
234 - beforeSend: function () {  
235 - disableOperations();  
236 - },  
237 - success: function (responseData) {  
238 - $('#MTMMain').html(responseData);  
239 - },  
240 - complete: function () {  
241 - enableOperations();  
242 - }  
243 - });  
244 - }  
245 -}  
246 -  
247 -// műveletek tiltása  
248 -function disableOperations() {  
249 - isWasAnAjaxCall = true;  
250 - $('#MTMMain').find(':submit').attr('disabled', 'disabled');  
251 - $("#list1, #list2").sortable('disable');  
252 - $('.item').addClass('itemDisabled');  
253 - $('.itemDisabled').removeClass('item');  
254 -}  
255 -  
256 -// műveletek engedélyezése  
257 -function enableOperations() {  
258 - isWasAnAjaxCall = false;  
259 - $('#MTMMain').find(':submit').removeAttr('disabled');  
260 - $('#list1, #list2').sortable('enable');  
261 - $('.itemDisabled').addClass('item');  
262 - $('.item').removeClass('itemDisabled');  
263 -}  
264 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UAManyToMany/Views/UAManyToMany/ManyToMany.cshtml deleted
@@ -1,18 +0,0 @@ @@ -1,18 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager;  
2 -  
3 -@model Vrh.Web.Membership.Areas.UAManyToMany.Models.UAManyToManyViewModel  
4 -  
5 -@if (Model != null)  
6 -{  
7 - string areaName = ViewContext.RouteData.DataTokens["area"].ToString();  
8 - string cssFile = @Url.Content(String.Concat("~/Areas/", areaName, "/Content/UAManyToMany.css"));  
9 - string jsFile = @Url.Content(String.Concat("~/Areas/", areaName, "/Scripts/UAManyToMany.js"));  
10 - <link type="text/css" href="@(cssFile)" rel="Stylesheet" />  
11 - <script>  
12 - var messagePleaseWait = '@MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.PleaseWait))';  
13 - </script>  
14 - <script src="@(jsFile)" type="text/javascript"></script>  
15 - <div id="MTMMain">  
16 - @Html.Partial("_Main", Model)  
17 - </div>  
18 -}  
19 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UAManyToMany/Views/UAManyToMany/_Main.cshtml deleted
@@ -1,87 +0,0 @@ @@ -1,87 +0,0 @@
1 -@using Vrh.Web.Membership.Areas.UAManyToMany.Models;  
2 -  
3 -@model UAManyToManyViewModel  
4 -  
5 -@if (Model != null)  
6 -{  
7 - string areaName = "UAManyToMany";  
8 - string ctrlName = "UAManyToMany";  
9 - <script type="text/javascript">  
10 - $(document).ready(function () {  
11 - $('#mtmDropDownList>div:not(.itemDisabled)').click(function () {  
12 - if (isWasAnAjaxCall == false) {  
13 - $(this).parent().children().removeClass("selectedItem");  
14 - $(this).toggleClass("selectedItem");  
15 -  
16 - var ajaxId = $(this).attr('id').substring(9, $(this).attr('id').length);  
17 - $.ajax({  
18 - cache: false,  
19 - url: '@Url.Action("GetMultiSelectLists", ctrlName, new { area = areaName })',  
20 - type: "get",  
21 - contenttype: "application/j-son",  
22 - datatype: 'json',  
23 - data: ({ name: '@Model.Name', id: ajaxId, isDefault: @Model.IsDefault.ToString().ToLower() }),  
24 - beforeSend: function () {  
25 - disableOperations();  
26 - },  
27 - success: function (responseData) {  
28 - $('#MTMMultiSelectLists').html(responseData);  
29 - },  
30 - complete: function () {  
31 - enableOperations();  
32 - }  
33 - });  
34 - }  
35 - });  
36 - });  
37 - </script>  
38 -  
39 - <table class="mtmTable">  
40 - <tbody>  
41 - <tr>  
42 - <td class="mtmNoBorder">  
43 - <table class="mtmTable">  
44 - <thead>  
45 - <tr>  
46 - <th class="mtmHeader">  
47 - @if (Session["MTM"] != null && Session["MTM"].GetType() == typeof(UAManyToManySessionModel))  
48 - {  
49 - if (Model.IsDefault)  
50 - {  
51 - @:@(((UAManyToManySessionModel)Session["MTM"]).DefaultListItemsHeader)  
52 - }  
53 - else  
54 - {  
55 - @:@(((UAManyToManySessionModel)Session["MTM"]).ListItemsHeader)  
56 - }  
57 - }  
58 - <div style="float:right;">  
59 - <input class="mtmSwitchButton"  
60 - type="submit"  
61 - value="<< >>"  
62 - onclick="javascript:ajaxCallSwitchButton('@Model.Name', '@Url.Action("ManyToMany", ctrlName, new { area = areaName })', '@string.Empty', @((!Model.IsDefault).ToString().ToLower()));" />  
63 - </div>  
64 - </th>  
65 - </tr>  
66 - </thead>  
67 - <tbody>  
68 - <tr>  
69 - <td>  
70 - <div id="mtmDropDownList">  
71 - @foreach (SelectListItem item in @Model.DropDownListItems)  
72 - {  
73 - <div class="item @if (!string.IsNullOrEmpty(Model.SelectedDropDownListItemId) && item.Value == Model.SelectedDropDownListItemId) { <text>selectedItem</text> }" id="MTMValue:@item.Value">@item.Text</div>  
74 - }  
75 - </div>  
76 - </td>  
77 - </tr>  
78 - </tbody>  
79 - </table>  
80 - </td>  
81 - <td class="mtmNoBorder" id="MTMMultiSelectLists">  
82 - @Html.Partial("_MultiSelectLists", Model)  
83 - </td>  
84 - </tr>  
85 - </tbody>  
86 - </table>  
87 -}  
88 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UAManyToMany/Views/UAManyToMany/_MultiSelectLists.cshtml deleted
@@ -1,109 +0,0 @@ @@ -1,109 +0,0 @@
1 -@using System.Web.Script.Serialization  
2 -@using Vrh.Web.Membership.Areas.UAManyToMany.Models;  
3 -  
4 -@model UAManyToManyViewModel  
5 -  
6 -@if (Model != null)  
7 -{  
8 - string areaName = "UAManyToMany";  
9 - string ctrlName = areaName;  
10 -  
11 - <table class="mtmTable">  
12 - <thead>  
13 - <tr>  
14 - <th class="mtmHeader">  
15 - @if (Session["MTM"] != null && Session["MTM"].GetType() == typeof(UAManyToManySessionModel))  
16 - {  
17 - if (Model.IsDefault)  
18 - {  
19 - @:@(((UAManyToManySessionModel)Session["MTM"]).DefaultSelectedListItemsHeader)  
20 - }  
21 - else  
22 - {  
23 - @:@(((UAManyToManySessionModel)Session["MTM"]).SelectedListItemsHeader)  
24 - }  
25 - }  
26 - </th>  
27 - <th class="mtmButtonsHeader"></th>  
28 - <th class="mtmHeader">  
29 - @if (Session["MTM"] != null && Session["MTM"].GetType() == typeof(UAManyToManySessionModel))  
30 - {  
31 - if (Model.IsDefault)  
32 - {  
33 - @:@(((UAManyToManySessionModel)Session["MTM"]).DefaultAvailableListItemsHeader)  
34 - }  
35 - else  
36 - {  
37 - @:@(((UAManyToManySessionModel)Session["MTM"]).AvailableListItemsHeader)  
38 - }  
39 - }  
40 - </th>  
41 - </tr>  
42 - </thead>  
43 - <tbody>  
44 - <tr>  
45 - <td>  
46 - <div id="list1" class="connectedSortable ui-sortable">  
47 - @foreach (SelectListItem item in @Model.SelectedDropDownListItemListItems)  
48 - {  
49 - <div class="item" id="MTMValue:@item.Value">@item.Text</div>  
50 - }  
51 - </div>  
52 - </td>  
53 - <td class="mtmButtons">  
54 - @if (!string.IsNullOrEmpty(Model.SelectedDropDownListItemId))  
55 - {  
56 - <input type="submit" value="<<" onclick="javascript:addAllItems();" />  
57 - <br />  
58 - <br />  
59 - <br />  
60 - <input type="submit" value="<" onclick="javascript:getSelectedItems(modelName, '#list2', ajaxAddUrl, isDefault);" />  
61 - <br />  
62 - <br />  
63 - <br />  
64 - <input type="submit" value=">" onclick="javascript:getSelectedItems(modelName, '#list1', ajaxRemoveUrl, isDefault);" />  
65 - <br />  
66 - <br />  
67 - <br />  
68 - <input type="submit" value=">>" onclick="javascript:removeAllItems();" />  
69 - }  
70 - </td>  
71 - <td>  
72 - <div id="list2" class="connectedSortable ui-sortable">  
73 - @foreach (SelectListItem item in @Model.AvailableListItems)  
74 - {  
75 - <div class="item" id="MTMValue:@item.Value">@item.Text</div>  
76 - }  
77 - </div>  
78 - </td>  
79 - </tr>  
80 - </tbody>  
81 - </table>  
82 -  
83 - <script type="text/javascript">  
84 - @{JavaScriptSerializer serializer = new JavaScriptSerializer();}  
85 - var list1ItemsArray = @Html.Raw(serializer.Serialize(Model.SelectedDropDownListItemListItems.Select(x => x.Value).ToArray()));  
86 - var list2ItemsArray = @Html.Raw(serializer.Serialize(Model.AvailableListItems.Select(x => x.Value).ToArray()));  
87 - var ajaxAddUrl = '@Url.Action("AddItems", ctrlName, new { area = areaName })';  
88 - var ajaxRemoveUrl = '@Url.Action("RemoveItems", ctrlName, new { area = areaName })';  
89 - var isDefault = @Model.IsDefault.ToString().ToLower();  
90 - var modelName = '@Model.Name';  
91 -  
92 - pageload();  
93 - $(document).ready(function () {  
94 - //console.log('UAManyToMany._MultiSelectList.cshtml: ');  
95 - //pageload();  
96 -  
97 - checkList1Divs(modelName, list1ItemsArray, ajaxAddUrl, isDefault); //gyakorlatilag csak feliratkozás egy eseményre  
98 - checkList2Divs(modelName, list2ItemsArray, ajaxRemoveUrl, isDefault); //gyakorlatilag csak feliratkozás egy eseményre  
99 - });  
100 -  
101 - function addAllItems() {  
102 - ajaxCall(modelName, ajaxAddUrl, list2ItemsArray, isDefault);  
103 - }  
104 -  
105 - function removeAllItems() {  
106 - ajaxCall(modelName, ajaxRemoveUrl, list1ItemsArray, isDefault);  
107 - }  
108 - </script>  
109 -}  
Vrh.Web.Reporting/Areas/UAManyToMany/Views/web.config deleted
@@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
1 -<?xml version="1.0"?>  
2 -  
3 -<configuration>  
4 - <configSections>  
5 - <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
6 - <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />  
7 - <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />  
8 - </sectionGroup>  
9 - </configSections>  
10 -  
11 - <system.web.webPages.razor>  
12 - <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.5.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />  
13 - <pages pageBaseType="System.Web.Mvc.WebViewPage">  
14 - <namespaces>  
15 - <add namespace="System.Web.Mvc" />  
16 - <add namespace="System.Web.Mvc.Ajax" />  
17 - <add namespace="System.Web.Mvc.Html" />  
18 - <add namespace="System.Web.Routing" />  
19 - <add namespace="System.Web.Optimization" />  
20 - <add namespace="Vrh.Web.Membership" />  
21 - <add namespace="Vrh.Membership" />  
22 - </namespaces>  
23 - </pages>  
24 - </system.web.webPages.razor>  
25 -  
26 - <appSettings>  
27 - <add key="webpages:Enabled" value="false" />  
28 - </appSettings>  
29 -  
30 - <system.webServer>  
31 - <handlers>  
32 - <remove name="BlockViewHandler"/>  
33 - <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />  
34 - </handlers>  
35 - </system.webServer>  
36 -</configuration>  
37 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Content/MvcMembership.css deleted
@@ -1,183 +0,0 @@ @@ -1,183 +0,0 @@
1 -p.mvcMembership-warning{  
2 - color: #cc0000;  
3 - font-weight: bold;  
4 - border: 2px solid #cc0000;  
5 - padding: 1em;  
6 - border-radius: .5em;  
7 - text-align: center;  
8 -}  
9 -  
10 -h3.mvcMembership{  
11 - clear: left;  
12 -}  
13 -  
14 -ul.mvcMembership-paging > li{  
15 - float: left;  
16 - list-style-type: none;  
17 - margin: 1em;  
18 -}  
19 -  
20 -ul.mvcMembership > li > form{  
21 - display: inline;  
22 - margin-left: 1em;  
23 -}  
24 -  
25 -dl.mvcMembership{  
26 - /*margin-bottom: 50px;*/  
27 -}  
28 -dl.mvcMembership > dt  
29 -{  
30 - display: block;  
31 - float: left;  
32 - font-weight: bold;  
33 - margin-right: 10px;  
34 - padding: 5px;  
35 - width: 200px;  
36 -}  
37 -dl.mvcMembership > dd{  
38 - display: block;  
39 - margin: 2px 0;  
40 - padding: 5px 0;  
41 - width: 100%;  
42 -}  
43 -  
44 -div.mvcMembership-account > form{  
45 - display: inline;  
46 -}  
47 -  
48 -div.mvcMembership-allUsers ul{  
49 - margin: 0;  
50 -}  
51 -div.mvcMembership-allUsers ul.mvcMembership-users > li{  
52 - margin: .5em 0 .5em 0;  
53 -}  
54 -div.mvcMembership-allUsers ul.mvcMembership-users > li > span.mvcMembership-isOnline{  
55 - display: block;  
56 - font-weight: bold;  
57 - color: #33cc33;  
58 -}  
59 -div.mvcMembership-allUsers ul.mvcMembership-users > li > span.mvcMembership-isOffline{  
60 - display: block;  
61 - color: #999;  
62 -}  
63 -div.mvcMembership-allUsers ul.mvcMembership-users > li > span.mvcMembership-email{  
64 - display: block;  
65 - font-size: .8em;  
66 -}  
67 -div.mvcMembership-allUsers ul.mvcMembership-users > li > span.mvcMembership-comment{  
68 - display: block;  
69 - border: 1px solid #ccc;  
70 - padding: .25em .5em .25em .5em;  
71 - margin: .5em 0 .5em 0;  
72 -}  
73 -  
74 -div.mvcMembership-allUsers .PagedList-disabled a{  
75 - color: #666;  
76 -}  
77 -div.mvcMembership-allUsers .PagedList-disabled a:hover{  
78 - color: #666;  
79 -}  
80 -  
81 -div.mvcMembership-allRoles ul > li  
82 -{  
83 - margin: .5em 0 .5em 0;  
84 -}  
85 -  
86 -form.mvcMembership-searchForm fieldset,  
87 -.mvcMembership-allRoles fieldset{  
88 - padding-top: 1.5em;  
89 -}  
90 -  
91 -a.userIsInRole  
92 -{  
93 - color: Lime;  
94 -}  
95 -  
96 -a.userIsNotInRole  
97 -{  
98 - color: Gray;  
99 -}  
100 -  
101 -/* TAB MENU  
102 -----------------------------------------------------------*/  
103 -ul.mvcMembership-tabs {  
104 - padding: 0 0 2px;  
105 - margin: 0 0 1rem 0; /* top right bottom left*/  
106 - text-align: left;  
107 -}  
108 -  
109 -ul.mvcMembership-tabs li {  
110 - display: inline;  
111 - list-style: none;  
112 - font-weight: bold;  
113 -}  
114 -  
115 -ul.mvcMembership-tabs li#greeting {  
116 - padding: 10px 20px;  
117 - font-weight: bold;  
118 - text-decoration: none;  
119 - line-height: 2.8em;  
120 - color: Red;  
121 -}  
122 -  
123 -ul.mvcMembership-tabs li a {  
124 - padding: 10px 20px;  
125 - font-weight: bold;  
126 - text-decoration: none;  
127 - line-height: 2.8em;  
128 - background-color: #292D38;  
129 - color: #F7941D;  
130 - border-radius: 4px 4px 0 0;  
131 - -webkit-border-radius: 4px 4px 0 0;  
132 - -moz-border-radius: 4px 4px 0 0;  
133 -}  
134 -  
135 -ul.mvcMembership-tabs li a:hover {  
136 - background-color: Black;/*#292D96*/  
137 - text-decoration: none;  
138 -}  
139 -  
140 -ul.mvcMembership-tabs li a:active {  
141 - /*background-color: Yellow;*/  
142 - text-decoration: none;  
143 -}  
144 -  
145 -ul.mvcMembership-tabs li.selected a {  
146 - background-color: #fff;  
147 - color: #000;  
148 -}  
149 -  
150 -/* USERS TABLE  
151 -----------------------------------------------------------*/  
152 -  
153 -div.mvcMembership-allUsers table.mvcMembership-users  
154 -{  
155 - width: 100%;  
156 - background-color: #333743;  
157 - overflow: hidden;  
158 - color: White;  
159 -}  
160 -  
161 -div.mvcMembership-allUsers table.mvcMembership-users th  
162 -{  
163 - background-color: #F7A23B;  
164 -}  
165 -  
166 -div.mvcMembership-allUsers table.mvcMembership-users a  
167 -{  
168 - color: Yellow;  
169 -}  
170 -  
171 -div.mvcMembership-allUsers table.mvcMembership-users td.mvcMembership-isOnline  
172 -{  
173 - color: Lime;  
174 -}  
175 -  
176 -div.mvcMembership-allUsers table.mvcMembership-users td.mvcMembership-isOffline  
177 -{  
178 - color: White;  
179 -}  
180 -  
181 -a.log4pro-roles {  
182 - color: whitesmoke;  
183 -}  
184 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Content/PagedList.css deleted
@@ -1,18 +0,0 @@ @@ -1,18 +0,0 @@
1 -.PagedList-pager > ul{  
2 - display: block;  
3 - margin: 0;  
4 - padding: 0;  
5 - list-style: none;  
6 - float: right;  
7 - color: #F7941D;  
8 -}  
9 -.PagedList-pager > ul > li{  
10 - margin: .25em;  
11 - display: inline-block;  
12 -}  
13 -.PagedList-pager > ul > li a{  
14 - cursor: pointer;  
15 -}  
16 -.PagedList-goToPage > fieldset{  
17 - border: 0;  
18 -}  
19 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Content/SecondaryUser.css deleted
@@ -1,33 +0,0 @@ @@ -1,33 +0,0 @@
1 -/***************************************************  
2 -SecondaryUser.css  
3 - A Vonalkód Rendszerház másodlagos felhasználók kezeléséhez  
4 - készült stílusok.  
5 -----------------------  
6 -Alapítva:  
7 - 2019.02.28. Wittmann Antal  
8 -Módosult:  
9 -****************************************************/  
10 -  
11 -.fa-square, .fa-check-square {  
12 - font-size: 1.3rem;  
13 -}  
14 -  
15 -.wrapWord {  
16 - word-break: break-word;  
17 -}  
18 -  
19 -/*  
20 -* Sajnos, ha a "table-sm" osztályt alkalmazzuk a táblázaton, akkor a sorting jelölő rossz helyre kerül.  
21 -* Ez a megoldás nem dinamikus, ha kivesszük a "table-sm" osztályt, akkor ezt is kommentezzük ki.  
22 -*/  
23 -table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,  
24 -table.dataTable thead .sorting_asc:before,  
25 -table.dataTable thead .sorting_asc:after,  
26 -table.dataTable thead .sorting_desc:before,  
27 -table.dataTable thead .sorting_desc:after,  
28 -table.dataTable thead .sorting_asc_disabled:before,  
29 -table.dataTable thead .sorting_asc_disabled:after,  
30 -table.dataTable thead .sorting_desc_disabled:before,  
31 -table.dataTable thead .sorting_desc_disabled:after {  
32 - bottom: 0.3em;  
33 -}  
34 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Content/UserManager.css deleted
@@ -1,46 +0,0 @@ @@ -1,46 +0,0 @@
1 -/***************************************************  
2 -UserManager.css  
3 - A Vonalkód Rendszerház felhasználók kezeléséhez készült stílusok.  
4 -----------------------  
5 -Alapítva:  
6 - 2019.03.05. Wittmann Antal  
7 -Módosult:  
8 -****************************************************/  
9 -  
10 -.datatableColumnFilter {  
11 - border-radius: 4px;  
12 - padding: 0 3px 0 3px;  
13 - /*margin: -2px;*/  
14 - width: 100%;  
15 - height: 28px;  
16 -}  
17 -  
18 -.datatableActionIcon {  
19 - cursor: pointer;  
20 - color: orange;  
21 - opacity: .7;  
22 -}  
23 -  
24 -.fa-square, .fa-check-square {  
25 - font-size: 1.3rem;  
26 -}  
27 -  
28 -.wrapWord {  
29 - word-break: break-word;  
30 -}  
31 -  
32 -/*  
33 -* Sajnos, ha a "table-sm" osztályt alkalamazzuk a táblázaton, akkor a sorting jelölő rossz helyre kerül.  
34 -* Ez a megoldás nem dinamikus, ha kivesszük a "table-sm" osztályt, akkor ezt is kommentezzük ki.  
35 -*/  
36 -table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,  
37 -table.dataTable thead .sorting_asc:before,  
38 -table.dataTable thead .sorting_asc:after,  
39 -table.dataTable thead .sorting_desc:before,  
40 -table.dataTable thead .sorting_desc:after,  
41 -table.dataTable thead .sorting_asc_disabled:before,  
42 -table.dataTable thead .sorting_asc_disabled:after,  
43 -table.dataTable thead .sorting_desc_disabled:before,  
44 -table.dataTable thead .sorting_desc_disabled:after {  
45 - bottom: 0.3em;  
46 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Content/menu.png deleted

4.11 KB

Vrh.Web.Reporting/Areas/UserAdministration/Scripts/LogInOut.js deleted
@@ -1,345 +0,0 @@ @@ -1,345 +0,0 @@
1 -/***************************************************  
2 -LogInOut.js  
3 - A Vrh.Web.Membership bejelentkezési logikáját támogató  
4 - metódusok és események.  
5 -----------------------  
6 -Alapítva:  
7 - 2018.10.02.-10.09. Wittmann Antal  
8 -Módosult:  
9 -****************************************************/  
10 -/*##### EVENTS #####*/  
11 -$(function () { // $(document).ready(function () {  
12 - 'use strict';  
13 - var thisfn = 'UserAdministration.LogInOut.js: ready event: ';  
14 - console.log(thisfn + 'PING');  
15 - //console.log(thisfn + 'END');  
16 -}); // $(document).ready END  
17 -/*##### EVENTS END #####*/  
18 -  
19 -/**  
20 - * A Login/Logout kezelőfelülethez készült prototípus.  
21 - *  
22 - * @param {ExportToLogInOut} imp Paraméter objektum, cshtml-ben feltöltenő paramétereket tartalmaz.  
23 - */  
24 -function LogInOutScripts(imp) {  
25 - 'use strict';  
26 -  
27 - /*##### PROTOTYPE VARIABLES #####*/  
28 - var me = this; //hogy a belső függvényekben is tudjak hivatkozni a prototype tulajdonságaira  
29 - var thispt = 'LogInOut.js: LogInOutScripts.';  
30 - var isInLogin = false;  
31 - /*##### PROTOTYPE VARIABLES END #####*/  
32 -  
33 - /*##### FUNCTIONS #####*/  
34 -  
35 - /** Kijelentkezéskor ez a metódus hívódik meg. */  
36 - this.PushLogout = function () {  
37 -  
38 - var thisfn = thispt + 'PushLogout function: ';  
39 - console.log(thisfn + 'PING');  
40 -  
41 - if (imp.Logout.UrlBeforeLogout !== '') {  
42 - $.ajax({  
43 - url: imp.Logout.UrlBeforeLogout,  
44 - cache: false,  
45 - type: "post",  
46 - success: function (response) {  
47 - if (response.ReturnValue === 0) {  
48 - console.log(thisfn + 'Nem üzent hibát a beforelogout url.');  
49 - CallLogoutJSON();// ha sikeres a before logout url, akkor jöhet a kijelentkezés  
50 - } else {  
51 - console.log(thisfn + 'Hiba jött a beforelogout url-től.');  
52 - bootbox.alert(response.ReturnMessage);  
53 - }  
54 - },  
55 - error: function (jqXHR, exception) {  
56 - console.log('Calling the "' + urlBeforeLogout + '" unsuccessful! exception=', exception);  
57 - }  
58 - });  
59 - }  
60 - else { // ha nincs before logout, akkor egyből kijelentkezik  
61 - CallLogoutJSON();  
62 - }  
63 -  
64 - function CallLogoutJSON() {  
65 - var thisfn = thispt + 'CallLogoutJSON function: ';  
66 - console.log(thisfn + 'PING');  
67 - $.ajax({  
68 - url: imp.Url.LogoutJSON,  
69 - cache: false,  
70 - type: "post",  
71 - success: function (response) {  
72 - if (response.ReturnValue === 0) {  
73 - console.log(thisfn + 'LogoutJSON sucess.');  
74 - if (imp.Logout.IsReloadLogout) {  
75 - location.reload();  
76 - } else {  
77 - if (imp.BootboxId) { // ha nem volt reload, de van ablak, akkor azt csukjuk be  
78 - vrhct.bootbox.hide(imp.BootboxId);  
79 - }  
80 - }  
81 - } else {  
82 - console.log(thisfn + 'LogoutJSON error!');  
83 - bootbox.alert(response.ReturnMessage);  
84 - }  
85 - },  
86 - error: function (jqXHR, exception) {  
87 - console.log("Calling the LogoutJSON action unsuccessful! exception =", exception);  
88 - }  
89 - });  
90 - } // CallLogoutJSON function END  
91 -  
92 - }; //function PushLogout() END  
93 -  
94 -  
95 - /**  
96 - * A bejelentkezést végrehajtó metódus.  
97 - */  
98 - this.PushLogin = function () {  
99 - var thisfn = thispt + 'PushLogin method: ';  
100 - if (isInLogin) {  
101 - console.log(thisfn + 'Pressed too soon!');  
102 - return;  
103 - }  
104 - isInLogin = true;  
105 -  
106 - imp.Login.UserName = $(imp.Id.UserName).val();  
107 - console.log(thisfn + 'START UserName="{0}"', imp.Login.UserName);  
108 - if (!imp.Login.UserName) {  
109 - MyAlert(imp.Message.PleaseEnterUsername);  
110 - return;  
111 - }  
112 -  
113 - imp.Login.Password = $(imp.Id.Password).val();  
114 - imp.Login.Remember = $(imp.Id.Remember).is(':checked');  
115 - console.log('loginother', imp.LoginOther);  
116 - if (imp.LoginOther.Type !== -1 && $(imp.Id.Other).is(':checked')) {  
117 - imp.Login.Type = imp.LoginOther.Type;  
118 - imp.Login.UrlAfterLogin = imp.LoginOther.UrlAfterLogin;  
119 - imp.Login.IsReloadLogin = imp.LoginOther.IsReloadLogin;  
120 - imp.Login.IsReloadLogout = imp.LoginOther.IsReloadLogout;  
121 - } else {  
122 - imp.Login.Type = imp.LoginBase.Type;  
123 - imp.Login.UrlAfterLogin = imp.LoginBase.UrlAfterLogin;  
124 - imp.Login.IsReloadLogin = imp.LoginBase.IsReloadLogin;  
125 - imp.Login.IsReloadLogout = imp.LoginBase.IsReloadLogout;  
126 - }  
127 - //console.log(thisfn + 'imp.Login', imp.Login);  
128 -  
129 - switch (imp.Login.Type) {  
130 - case imp.LoginTypes.WebReq:  
131 - var mess = imp.WebReq.RequestTemplate  
132 - .replace(imp.WebReqVars.USERNAME, imp.Login.UserName)  
133 - .replace(imp.WebReqVars.PASSWORD, imp.Login.Password);  
134 -  
135 - if (imp.WebReq.IsFromServer) {  
136 - console.log(thisfn + 'FromServer mess=%s, imp.WebReq.Url=%s', mess, imp.WebReq.Url);  
137 - $.ajax({  
138 - url: imp.Url.LoginRemote,  
139 - cache: false,  
140 - type: "post",  
141 - data: { url: imp.WebReq.Url, message: mess },  
142 - success: function (response) {  
143 - if (response.ReturnValue === 0) { // sikeres volt a bejelentkezés  
144 - console.log(thisfn + 'WebReq FromServer sucess. response', response);  
145 - RemoteResponseParser(response.ReturnMessage);  
146 - } else {  
147 - console.log(thisfn + 'WebReq FromServer managed error!');  
148 - MyAlert(response.ReturnMessage);  
149 - }  
150 - },  
151 - error: function () {  
152 - console.log(thisfn + "WebReq FromServer unsuccessful!");  
153 - isInLogin = false;  
154 - }  
155 - }); // imp.Url.RemoteLogin ajax END  
156 - } else {  
157 - console.log(thisfn + 'FromClient mess=%s, imp.WebReq.Url=%s', mess, imp.WebReq.Url);  
158 - $.ajax({  
159 - url: imp.WebReq.Url,  
160 - cache: false,  
161 - type: "post",  
162 - data: mess,  
163 - dataType: 'text',  
164 - contentType: 'text/plain; charset=UTF-8',  
165 - success: function (response) {  
166 - console.log(thisfn + 'WebReq FromClient success. response', response);  
167 - RemoteResponseParser(response);  
168 - },  
169 - error: function (jqXHR, exception) {  
170 - console.log(thisfn + 'WebReq FromClient unsuccessful! exception', exception);  
171 - isInLogin = false;  
172 - }  
173 - }); // imp.WebReq.Url ajax END  
174 - }  
175 - break;  
176 -  
177 - case imp.LoginTypes.AD:  
178 - imp.Login.UserName = imp.LoginTypes.ADPrefix + imp.Login.UserName;  
179 - //CallLogin(imp.Login, localRoleGroup);  
180 - isInLogin = false;  
181 - break;  
182 -  
183 - default: // integrated  
184 - CallLogin(imp.Login, null); // isInLogin a funkcióban állítva  
185 - break;  
186 - } // switch (loginType) END  
187 -  
188 - /**  
189 - * A távoli login akció által visszaadott válasz feldolgozása.  
190 - *  
191 - * @param {string} response A távoli login által vissza adott válasz. Ha üres, akkor az hibajelzést eredményez.  
192 - */  
193 - function RemoteResponseParser(response) {  
194 - if (response) {  
195 - var parts = response.split('|');  
196 - if (parts.length < 2) {  
197 - MyAlert(imp.Message.ResponseIncorrect + 'Response = "' + response + '"');  
198 - } else {  
199 - var status;  
200 - var roleGroup;  
201 - var errMess;  
202 - for (var ix = 0; ix < parts.length; ix++) {  
203 - var items = parts[ix].split('=');  
204 - if (items.length < 2) {  
205 - errMess = imp.Message.ResponseIncorrect + 'Response = "' + response + '"';  
206 - break;  
207 - } else {  
208 - switch (items[0]) {  
209 - case imp.WebReqResponse.FIELD_STATUS:  
210 - status = items[1];  
211 - break;  
212 - case imp.WebReqResponse.FIELD_LEVEL:  
213 - roleGroup = items[1];  
214 - break;  
215 - case imp.WebReqResponse.FIELD_MSG:  
216 - errMess = imp.Title.Response + items[1];  
217 - break;  
218 - default:  
219 - errMess = imp.Title.Response + 'Response = "' + response + '"';  
220 - break;  
221 - }  
222 - }  
223 - }  
224 - if (errMess) { // ha van hibaüzenet, akkor az kitesszük.  
225 - console.log('WebReq response: Error message =', errMess);  
226 - MyAlert(errMess);  
227 - } else { // ha nincs hiba, akkor jöhet a login  
228 - var localRoleGroup;  
229 - for (var jx = 0; jx < imp.RoleGroups.length; jx++) {  
230 - if (imp.RoleGroups[jx][0] === roleGroup) {  
231 - localRoleGroup = imp.RoleGroups[jx][1];  
232 - break;  
233 - }  
234 - }  
235 - if (localRoleGroup) {  
236 - imp.Login.UserName = imp.LoginTypes.WebReqPrefix + imp.Login.UserName; //hozzáadjuk a típus szerinti prefixet  
237 - CallLogin(imp.Login, localRoleGroup); // a funkcióban az isInLogin állítva  
238 - } else {  
239 - MyAlert(imp.Message.RemoteRoleGroupNotTranslated + roleGroup);  
240 - }  
241 - }  
242 - }  
243 - } else {  
244 - MyAlert(remLoginIncorrect + 'Response = "' + response + '"');  
245 - }  
246 - } // RemoteResponseParser Function END  
247 -  
248 - /**  
249 - * A helyi bejelentkezést végrehajtó függvény.  
250 - *  
251 - * @param {Object} lo Login adatokat tartalmazó objektum  
252 - * @param {string} lo.UserName Felhasználó neve  
253 - * @param {string} lo.Password Felhasználó megadott jelszava  
254 - * @param {Boolean} lo.Remember Bjelenkezéskor megadott "Emlékezz rám!" értéke  
255 - * @param {number} lo.Type Valamelyik LoginTypes enum integer értéke  
256 - * @param {string} lo.UrlAfterLogin Bejelentkezés után meghívandó akció URL-je, ha üres, akkor nem lesz hívás  
257 - * @param {Boolean} lo.IsReloadLogin Sikeres bejelentkezés után történjen-e weblap újratöltés  
258 - * @param {Booelan} lo.IsReloadLogout Sikeres kijelentkezés után történjen-e weblap újratöltés  
259 - * @param {string} lo.ExpireMinutes A login ennyi perc után jár le  
260 - * @param {string} roleGroup A lokális szerepkör neve, ahova majd a felhasználót fel kell venni  
261 - *  
262 - */  
263 - function CallLogin(lo, roleGroup) {  
264 - 'use strict';  
265 -  
266 - var thisfn = thispt + 'CallLogin function: ';  
267 - console.log(thisfn + 'roleGroup', roleGroup);  
268 - $.ajax({  
269 - url: imp.Url.LoginJSON,  
270 - cache: false,  
271 - type: "post",  
272 - data: { username: lo.UserName, password: lo.Password, rememberme: lo.Remember, rolegroup: roleGroup, expirationseconds: lo.ExpireSeconds, },  
273 - success: function (response) {  
274 - if (response.ReturnValue === 0) { // sikeres volt a bejelentkezés  
275 - console.log(thisfn + 'LoginJSON sucess.');  
276 - if (lo.UrlAfterLogin !== '') { //jöhet az afterlogin, ha van  
277 - $.ajax({  
278 - url: lo.UrlAfterLogin,  
279 - cache: false,  
280 - type: "post",  
281 - success: function (response) {  
282 - if (response.ReturnValue === 0) {  
283 - console.log(thisfn + 'Nem üzent hibát az afterlogin url.');  
284 - if (lo.IsReloadLogin) {  
285 - location.reload(); //vagy inkább újratöltjük a lapot  
286 - } else {  
287 - if (imp.BootboxId) { // ha nem volt reload, de van ablak, akkor azt csukjuk be  
288 - vrhct.bootbox.hide(imp.BootboxId);  
289 - }  
290 - }  
291 - } else {  
292 - // most hiba esetén is becsukjuk, mert nincs értelme  
293 - bootbox.alert(response.ReturnMessage, function () { // csak, ha leokézta az üzenetet  
294 - if (lo.IsReloadLogin) {  
295 - location.reload();  
296 - } else {  
297 - if (imp.BootboxId) { // ha nem volt reload, de van ablak, akkor azt csukjuk be  
298 - vrhct.bootbox.hide(imp.BootboxId);  
299 - }  
300 - }  
301 - });  
302 - }  
303 - },  
304 - error: function (jqXHR, exception) {  
305 - var unsuccessAfter = imp.Message.AfterLoginUnsuccessful;  
306 - console.log(unsuccessAfter + ' exception =', exception);  
307 - bootbox.alert(unsuccessAfter, function () {  
308 - if (imp.BootboxId) { // hibaüzenet után, ha ablak, akkor azt csukjuk be  
309 - vrhct.bootbox.hide(imp.BootboxId);  
310 - }  
311 - });  
312 - }  
313 - });  
314 - } else { //ha nincs afterlogin  
315 - if (lo.IsReloadLogin) {  
316 - location.reload();  
317 - } else {  
318 - if (imp.BootboxId) { // // ha nem volt reload, de van ablak, akkor azt csukjuk be  
319 - vrhct.bootbox.hide(imp.BootboxId);  
320 - }  
321 - }  
322 - }  
323 - } else {  
324 - console.log(thisfn + 'LoginJSON managed error!');  
325 - bootbox.alert(response.ReturnMessage);  
326 - }  
327 - isInLogin = false;  
328 - },  
329 - error: function () {  
330 - console.log(thisfn + "Calling the LoginJSON action unsuccessful!");  
331 - isInLogin = false;  
332 - }  
333 - }); // imp.Url.LoginJSON ajax END  
334 - } // CallLogin function END  
335 -  
336 - function MyAlert(message) {  
337 - bootbox.alert(message);  
338 - isInLogin = false;  
339 - }  
340 -  
341 - }; // PushLogin function END  
342 -  
343 - /*##### FUNCTIONS END #####*/  
344 -  
345 -} // LogInOutScripts prototype END  
Vrh.Web.Reporting/Areas/UserAdministration/Scripts/LogoutOnly.js deleted
@@ -1,93 +0,0 @@ @@ -1,93 +0,0 @@
1 -/***************************************************  
2 -LogoutOnly.js  
3 - A Vrh.Web.Membership kijelentkezési logikáját támogató  
4 - metódusok és események.  
5 -----------------------  
6 -Alapítva:  
7 - 2018.10.02.-10.10. Wittmann Antal  
8 -Módosult:  
9 -****************************************************/  
10 -/*##### EVENTS #####*/  
11 -$(function () { // $(document).ready(function () {  
12 - 'use strict';  
13 - var thisfn = 'UserAdministration.LogoutOnly.js: ready event: ';  
14 - console.log(thisfn + 'START lgtnl.Logout.UrlBeforeLogout', lgtnl.Logout.UrlBeforeLogout);  
15 -  
16 - if (lgtnl.Logout.UrlBeforeLogout !== '') {  
17 - $.ajax({  
18 - url: lgtnl.Logout.UrlBeforeLogout,  
19 - cache: false,  
20 - type: "post",  
21 - success: function (response) {  
22 - if (response.ReturnValue === 0) {  
23 - console.log(thisfn + 'Nem üzent hibát a "beforelogout url".');  
24 - lgtnl.CallLogoutJSON();// ha sikeres a before logout url, akkor jöhet a kijelentkezés  
25 - } else {  
26 - console.log(thisfn + 'Hiba jött a "beforelogout url"-től.');  
27 - $(lgtnl.Id.Message).html(response.ReturnMessage);  
28 - }  
29 - },  
30 - error: function (jqXHR, exception) {  
31 - console.log('Calling the "' + lgtnl.Logout.UrlBeforeLogout + '" unsuccessful! exception=', exception);  
32 - }  
33 - });  
34 - }  
35 - else { // ha nincs before logout, akkor egyből kijelentkezik  
36 - lgtnl.CallLogoutJSON();  
37 - }  
38 -  
39 - console.log(thisfn + 'END');  
40 -}); // $(document).ready END  
41 -/*##### EVENTS END #####*/  
42 -  
43 -/**  
44 - * A LogoutOnly kezelőfelülethez készült prototípus.  
45 - *  
46 - * @param {ExportToLogoutOnly} imp Paraméter objektum, cshtml-ben feltöltenő paramétereket tartalmaz.  
47 - */  
48 -function LogoutOnlyScripts(imp) {  
49 - 'use strict';  
50 -  
51 - /*##### PROTOTYPE VARIABLES #####*/  
52 - var me = this; //hogy a belső függvényekben is tudjak hivatkozni a prototype tulajdonságaira  
53 - var thispt = 'LogoutOnly.js: LogoutOnlyScripts.';  
54 - /*##### PROTOTYPE VARIABLES END #####*/  
55 -  
56 - this.Id = imp.Id;  
57 - this.Logout = imp.Logout;  
58 -  
59 - /*##### METHODS #####*/  
60 -  
61 - /** Kijelentkezés végrehajtása */  
62 - this.CallLogoutJSON = function () {  
63 - var thisfn = thispt + 'CallLogoutJSON method: ';  
64 - console.log(thisfn + 'PING');  
65 - $.ajax({  
66 - url: imp.Url.LogoutJSON,  
67 - cache: false,  
68 - type: "post",  
69 - success: function (response) {  
70 - if (response.ReturnValue === 0) {  
71 - console.log(thisfn + 'LogoutJSON sucess.');  
72 - if (imp.Logout.IsReloadLogout) {  
73 - location.reload();  
74 - }  
75 - else { //ha nincs reload, de ablakban nyílt meg, akkor azt be kell csukni  
76 - if (imp.BootboxId) {  
77 - vrhct.bootbox.hide(imp.BootboxId);  
78 - }  
79 - }  
80 - } else {  
81 - console.log(thisfn + 'LogoutJSON error! message=', response.ReturnMessage);  
82 - $(imp.Id.Message).text(response.ReturnMessage);  
83 - }  
84 - },  
85 - error: function (jqXHR, exception) {  
86 - console.log("Calling the LogoutJSON action unsuccessful! exception =", exception);  
87 - }  
88 - });  
89 - };// method CallLogoutJSON END  
90 -  
91 - /*##### METHODS END #####*/  
92 -  
93 -} // LogoutOnlyScripts prototype END  
Vrh.Web.Reporting/Areas/UserAdministration/Scripts/RolesToUserRoleGroupsDialog.js deleted
@@ -1,74 +0,0 @@ @@ -1,74 +0,0 @@
1 -var rturgd = {  
2 - TitleNew : '',  
3 - TitleDel : '',  
4 - TitleRen : '',  
5 - TitleOK : '',  
6 - TitleCancel : '',  
7 - TitleClose: '',  
8 - FormNewId: '',  
9 - FormDelId: '',  
10 - FormRenId:''  
11 -};  
12 -  
13 -function openEditDialog(url, titleText, okButtonText, cancelButtonText, okButtonFormSelector) {  
14 - var thisfn = 'RolesToUserRoleGroupsDialog.js openEditDialog function: ';  
15 - console.log(thisfn + 'PING url, titleText, okButtonText, cancelButtonText, okButtonFormSelector', url, titleText, okButtonText, cancelButtonText, okButtonFormSelector);  
16 - var okButtonStyle = ' bootboxAction-btn-ok';  
17 - if (okButtonFormSelector === rturgd.FormNewId) {  
18 - okButtonStyle = 'btn btn-success' + okButtonStyle;  
19 - } else if (okButtonFormSelector === rturgd.FormDelId) {  
20 - okButtonStyle = 'btn btn-danger' + okButtonStyle;  
21 - } else {  
22 - okButtonStyle = 'btn btn-primary' + okButtonStyle;  
23 - }  
24 - $.ajax({  
25 - cache: false,  
26 - url: url,  
27 - type: 'get',  
28 - contenttype: 'application/json',  
29 - datatype: 'json',  
30 - data: null,  
31 - success: function (responseData) {  
32 - if (!!responseData[0] && responseData[0].ErrorMessage) {  
33 - bootbox.alert(responseData[0].ErrorMessage);  
34 - } else {  
35 - $('input[type="submit"]').attr('disabled', 'true');  
36 - buttons = {  
37 - ok: {  
38 - label: okButtonText,  
39 - className: okButtonStyle,  
40 - callback: function () {  
41 - $('#' + okButtonFormSelector).submit();  
42 - return false;  
43 - }  
44 - },  
45 - cancel: {  
46 - label: cancelButtonText,  
47 - className: 'btn btn-secondary bootboxAction-btn-cancel',  
48 - callback: function () {  
49 - console.log(thisfn + 'cancel');  
50 - dialog.modal('hide');  
51 - location.reload();  
52 - }  
53 - }  
54 - };  
55 - var dialog = bootbox.dialog({  
56 - show: false,  
57 - title: titleText,  
58 - message: responseData,  
59 - size: 'small',  
60 - onEscape: function (event) {  
61 - console.log(thisfn + 'onEscape');  
62 - dialog.modal('hide');  
63 - location.reload();  
64 - },  
65 - buttons: buttons  
66 - });  
67 - dialog.modal('show');  
68 - }  
69 - },  
70 - error: function (jqXHR, exception) {  
71 - console.log(thisfn + 'Ajax hívás sikertelen! ', jqXHR.responseText);  
72 - }  
73 - });  
74 -}  
75 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Scripts/SecondaryUser.js deleted
@@ -1,293 +0,0 @@ @@ -1,293 +0,0 @@
1 -/***************************************************  
2 -SecondaryUser.js  
3 - A Vonalkód Rendszerház másodlagos bejelentkezések kezeléséhez  
4 - készült metódusok és események.  
5 -----------------------  
6 -Alapítva:  
7 - 2019.02.23.-03.08. Wittmann Antal  
8 -Módosult:  
9 -****************************************************/  
10 -/*##### EVENTS #####*/  
11 -$(document).ready(function () {  
12 - 'use strict';  
13 -  
14 - var thisfn = 'UserAdministration.SecondaryUser.js: ready event: ';  
15 - console.log(thisfn + 'PING');  
16 -  
17 - // Resize figyelése, hogy a card-body mérete kitöltse a képernyőt  
18 - $(window).resize(function () {  
19 - console.log(thisfn + 'window.resize event')  
20 - vrhct.masterdata.resizeCardBody();  
21 - });  
22 - vrhct.masterdata.resizeCardBody();  
23 - if (typeof vrhmenu != 'undefined') {  
24 - vrhmenu.MenuSwapEventFunction = function () {  
25 - vrhct.masterdata.resizeCardBody(); // menüváltozáskor is hívja meg a resize-t  
26 - }  
27 - }  
28 -  
29 - vrhsls.InitTable();  
30 -  
31 - console.log(thisfn + 'END');  
32 -}); // $(document).ready END  
33 -/*##### EVENTS END #####*/  
34 -  
35 -  
36 -/**  
37 - * A nyelvi kezelőfelülethez készült prototípus.  
38 - *  
39 - * @param {ExportToSecondaryUserScript} imp Paraméter objektum, cshtml-ből küldött és ott feltöltött állandókat tartalmaz.  
40 - */  
41 -function SecondaryUserScript(imp) {  
42 - 'use strict';  
43 -  
44 - /*##### PROTOTYPE VARIABLES #####*/  
45 - var me = this; // hogy a belső függvényekben is tudjak hivatkozni a prototype tulajdonságaira  
46 - var thispt = 'SecondaryUserScript: ';  
47 - var isInEdit = false; // annak jelzése, hogy a szerkesztés ablakot aktiválták  
48 - var isInDelete = false; // annak jelzése, hogy a törlő ablakot aktiválták  
49 - var isInManage = false; // annak jelzése, hogy a funkciók kezelését végző ablakot aktiválták  
50 -  
51 - // DataTable oszlopok definciója  
52 - var dtColumns = [  
53 - { data: imp.Data.FunctionName },  
54 - { data: imp.Data.PrimaryName },  
55 - { data: imp.Data.SecondaryName },  
56 - { data: imp.Data.SecondaryPassword },  
57 - {  
58 - data: imp.Data.Active,  
59 - render: function (data, type, row) {  
60 - var icon = data ? "fa-check-square" : "fa-square"  
61 - var html = '<div class="text-center"><i class="far ' + icon + '"></i></div>';  
62 - return html;  
63 - }  
64 - },  
65 - { // a műveletek oszlopa  
66 - render: function (data, type, row) {  
67 - var temp = document.createElement('div');  
68 -  
69 - if (imp.EditMode.Current != imp.EditMode.Select) {  
70 - var spane = document.createElement('span');  
71 - $(spane).attr('title', imp.Titles.SecondaryUserEdit);  
72 - $(spane).addClass('fas fa-pencil-alt datatableActionIcon');  
73 - $(spane).attr('onclick', 'vrhsls.Edit(' + row.Id + ')');  
74 - $(temp).append(spane);  
75 - }  
76 -  
77 - if (imp.EditMode.Current == imp.EditMode.Delete || imp.EditMode.Current == imp.EditMode.Manage) {  
78 - var spand = document.createElement('span');  
79 - $(spand).attr('title', imp.Titles.SecondaryUserDelete);  
80 - $(spand).addClass('fas fa-trash-alt datatableActionIcon');  
81 - $(spand).attr('onclick', 'vrhsls.Delete(' + row.Id + ', "' + row.Name + '")');  
82 - $(temp).append(spand);  
83 - }  
84 -  
85 - return $(temp).html();  
86 - }  
87 - }  
88 - ];  
89 - var dtColumnDefs = [  
90 - { targets: [4], width: '55px', orderable: false },  
91 - { targets: [5], width: '40px', orderable: false, searchable: false }  
92 - ];  
93 - var dtFilterDefs = [  
94 - { column: 0, id: imp.Ids.Input.FilterFunction },  
95 - { column: 1, id: imp.Ids.Input.FilterUser },  
96 - { column: 4, id: imp.Ids.Input.FilterActive },  
97 - ];  
98 - /*##### PROTOTYPE VARIABLES END #####*/  
99 -  
100 -  
101 - /*##### PROPERTIES #####*/  
102 -  
103 - /** Az inicializált tábla DataTable objektuma */  
104 - this.SecondaryUserTable = null;  
105 -  
106 - /*##### PROPERTIES END #####*/  
107 -  
108 -  
109 - /*##### METHODS #####*/  
110 -  
111 - /**  
112 - * Tábla inicializálása.  
113 - */  
114 - this.InitTable = function () {  
115 - var thisfn = thispt + 'InitTable method: ';  
116 - me.SecondaryUserTable = new VrhDataTable({  
117 - ajax: { url: imp.Url.GetData }, // az adatlistát eredményező akció  
118 - autoWidth: false,  
119 - columns: dtColumns,  
120 - columnDefs: dtColumnDefs,  
121 - filterDefs: dtFilterDefs,  
122 - lcid: imp.LCID,  
123 - initComplete: function (setting, json) { // a táblázat elkészültekor meghívott függvény  
124 - console.log(thisfn + 'Table.initComplete callback: PING');  
125 - //SetFilterFunction();  
126 - },  
127 - tableId: imp.Ids.Table,  
128 - });  
129 - };// InitTable method END  
130 -  
131 - /**  
132 - * Másodlagos felhasználó szerkesztés ablak inicializálása.  
133 - *  
134 - * @param {number} id A másodlagos felhasználó egyedi azonosítója. Ha -1, akkor felvitel.  
135 - */  
136 - this.Edit = function (id) {  
137 - try {  
138 - if (isInEdit) return;  
139 - isInEdit = true;  
140 -  
141 - var thisfn = thispt + 'Edit method: ';  
142 - console.log(thisfn + 'id=%d', id);  
143 - vrhct.bootbox.edit({  
144 - ajax: {  
145 - url: imp.Url.Editor,  
146 - data: { secondaryUserId: id }  
147 - },  
148 - title: imp.Labels.Button.FunctionManage,  
149 - formid: imp.Ids.Form.Editor,  
150 - size: 'large',  
151 - shown: function () {  
152 - isInEdit = false;  
153 - }  
154 - });  
155 - } catch (e) {  
156 - isInEdit = false;  
157 - bootbox.alert(e.Message);  
158 - }  
159 - }; // Edit method END  
160 -  
161 - /**  
162 - * Másodlagos felhasználó törlésének indítása.  
163 - *  
164 - * @param {any} secondaryUserId A törlendő szókód.  
165 - */  
166 - this.Delete = function (secondaryUserId, secondaryUserName) {  
167 - try {  
168 - if (isInDelete) return;  
169 - isInDelete = true;  
170 -  
171 - var thisfn = thispt + 'Delete method: ';  
172 - console.log(thisfn + 'secondaryUserId=%d, secondaryUserName="%s"', secondaryUserId, secondaryUserName);  
173 - vrhct.bootbox.delete({  
174 - ajax: {  
175 - url: imp.Url.Delete,  
176 - data: { secondaryUserId: secondaryUserId }  
177 - },  
178 - title: imp.Titles.Confirmation,  
179 - confirm: imp.Confirmations.SecondaryUserDelete.format(secondaryUserName),  
180 - shown: function () {  
181 - isInDelete = false;  
182 - },  
183 - success: function () {  
184 - console.log(thisfn + 'Sikeres törlés. Itt vagyunk a callback-ben.');  
185 - me.SecondaryUserTable.Table.draw('page');  
186 - }  
187 - });  
188 - } catch (e) {  
189 - isInDelete = false;  
190 - bootbox.alert(e.Message);  
191 - }  
192 - }; // Delete method END  
193 -  
194 - /**  
195 - * Másodlagos felhasználókat csoportosító funkciók kezelése  
196 - */  
197 - this.SecondaryFunctionManage = function () {  
198 - try {  
199 - if (isInManage) return;  
200 - isInManage = true;  
201 -  
202 - var thisfn = thispt + 'SecondaryFunctionManage method: ';  
203 - console.log(thisfn + 'PING');  
204 - vrhct.bootbox.show(imp.Url.Manage, {  
205 - pleaseWaitMessage: imp.Messages.Wait,  
206 - shown: function (bootboxid) {  
207 - console.log(thisfn + 'SHOWN bootboxid="%s"', bootboxid);  
208 - isInManage = false;  
209 - },  
210 - hidden: function () {  
211 - me.SecondaryUserTable.Table.draw('page');  
212 - },  
213 - });  
214 -  
215 - } catch (e) {  
216 - isInManage = false;  
217 - bootbox.alert(e.Message);  
218 - }  
219 - }; // SecondaryFunctionManage method END  
220 -  
221 - /*##### METHODS END #####*/  
222 -  
223 -  
224 - /*##### PRIVATE FUNCTIONS #####*/  
225 - /*##### PRIVATE FUNCTIONS END #####*/  
226 -  
227 -} // SecondaryUserScript prototype END  
228 -  
229 -function ExportToSecondaryUserScript() {  
230 - /** Megerősítést kérő üzenetek gyűjtőhelye */  
231 - this.Confirmations = {  
232 - SecondaryUserDelete: '',  
233 - };  
234 - /** A táblázat oszlopainak adatelérése */  
235 - this.Data = {  
236 - FunctionName: '',  
237 - PrimaryName: '',  
238 - SecondaryName: '',  
239 - SecondaryPassword: '',  
240 - Active: ''  
241 - };  
242 - /** Szerkesztési mód aktuális és lehetséges értékei */  
243 - this.EditMode = {  
244 - Current: '',  
245 - Select: '',  
246 - Add: '',  
247 - Delete: '',  
248 - Manage: '',  
249 - };  
250 - /** A nézeten lévő html objektumok azonosítóinak gyűjtőhelye */  
251 - this.Ids = {  
252 - Form: {  
253 - Editor: ''  
254 - },  
255 - Input: {  
256 - FilterFunction: '',  
257 - FilterUser: '',  
258 - FilterActive: '',  
259 - },  
260 - Table: '',  
261 - };  
262 - /** A nézeten lévő inputok címkéinek gyűjtőhelye */  
263 - this.Labels = {  
264 - Cancel: '',  
265 - OK: '',  
266 - No: '',  
267 - Yes: '',  
268 - Button: {  
269 - FunctionManage: ''  
270 - },  
271 - };  
272 - /** A környetben érvényes nyelvi kód */  
273 - this.LCID = '';  
274 - /** Az üzenetek gyűjtőhelye */  
275 - this.Messages = {  
276 - Wait: '',  
277 - };  
278 - /** A nézeten lévő eszközök feliratozásának, címeinek és tooltipjeinek gyűjtőhelye */  
279 - this.Titles = {  
280 - Confirmation: '',  
281 - OperationProgress: '',  
282 - SecondaryUserAdd: '',  
283 - SecondaryUserEdit: '',  
284 - SecondaryUserDelete: '',  
285 - };  
286 - /** A nézeten lévő akciókra mutató url-ek gyűjtőhelye */  
287 - this.Url = {  
288 - Editor: '',  
289 - Delete: '',  
290 - GetData: '',  
291 - Manage: '',  
292 - };  
293 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Scripts/UserManager.js deleted
@@ -1,443 +0,0 @@ @@ -1,443 +0,0 @@
1 -/***************************************************  
2 -UserManager.js  
3 - A Vonalkód Rendszerház felhasználók kezeléséhez  
4 - készült metódusok és események.  
5 -----------------------  
6 -Alapítva:  
7 - 2019.03.05.-03.08. Wittmann Antal  
8 -Módosult:  
9 -****************************************************/  
10 -/*##### EVENTS #####*/  
11 -$(document).ready(function () {  
12 - 'use strict';  
13 -  
14 - var thisfn = 'UserAdministration.UserManager.js: ready event: ';  
15 - console.log(thisfn + 'PING');  
16 -  
17 - // Resize figyelése, hogy a card-body mérete kitöltse a képernyőt  
18 - $(window).resize(function () {  
19 - console.log(thisfn + 'window.resize event')  
20 - vrhct.masterdata.resizeCardBody();  
21 - });  
22 - vrhct.masterdata.resizeCardBody();  
23 - if (typeof vrhmenu != 'undefined') {  
24 - vrhmenu.MenuSwapEventFunction = function () {  
25 - vrhct.masterdata.resizeCardBody(); // menüváltozáskor is hívja meg a resize-t  
26 - }  
27 - }  
28 -  
29 - vrhusman.InitTable();  
30 -  
31 - console.log(thisfn + 'END');  
32 -}); // $(document).ready END  
33 -/*##### EVENTS END #####*/  
34 -  
35 -  
36 -/**  
37 - * A nyelvi kezelőfelülethez készült prototípus.  
38 - *  
39 - * @param {ExportToUserManagerScript} imp Paraméter objektum, cshtml-ből küldött és ott feltöltött állandókat tartalmaz.  
40 - */  
41 -function UserManagerScript(imp) {  
42 - 'use strict';  
43 -  
44 - /*##### PROTOTYPE VARIABLES #####*/  
45 - var me = this; // hogy a belső függvényekben is tudjak hivatkozni a prototype tulajdonságaira  
46 - var thispt = 'UserManagerScript: ';  
47 - var isInEdit = false; // annak jelzése, hogy a szerkesztés ablakot aktiválták  
48 - var isInDelete = false; // annak jelzése, hogy a törlő ablakot aktiválták  
49 - var isInPasswordRenewal = false;// annak jelzése, hogy a törlő ablakot aktiválták  
50 - var isInRoleManage = false; // annak jelzése, hogy a szerepek kezelését végző ablakot aktiválták  
51 - var isInRoleGroupManage = false;// annak jelzése, hogy a szerep körök kezelését végző ablakot aktiválták  
52 - var isInUnlock = false; // annak jelzése, hogy a zárolás feloldását aktiválták  
53 - var editIcon = imp.EditMode.Current == imp.EditMode.Select ? 'fa-info-circle' : 'fa-pencil-alt';  
54 - var editTitle = imp.EditMode.Current == imp.EditMode.Select ? imp.Titles.UserDetails : imp.Titles.UserEdit;  
55 -  
56 - // DataTable oszlopok definciója  
57 - var dtColumns = [  
58 - { data: imp.Data.UserName },  
59 - { data: imp.Data.Email },  
60 - { data: imp.Data.LastLoginString },  
61 - { data: imp.Data.LastActivity },  
62 - { data: imp.Data.Comment },  
63 - {  
64 - data: imp.Data.Status,  
65 - render: function (data, type, row) {  
66 - var temp = document.createElement('div');  
67 - $(temp).append(data);  
68 - if (row.IsLockedOut && imp.EditMode.Current != imp.EditMode.Select) {  
69 - var spanl = document.createElement('span');  
70 - $(spanl).attr('title', imp.Titles.Unlock);  
71 - $(spanl).addClass('fas fa-unlock-alt datatableActionIcon ml-1');  
72 - $(spanl).attr('onclick', 'vrhusman.Unlock("' + row.UserId + '", "' + row.UserName + '")');  
73 - $(temp).append(spanl);  
74 - }  
75 - return $(temp).html();  
76 - }  
77 - },  
78 - { // a műveletek oszlopa  
79 - render: function (data, type, row) {  
80 - var temp = document.createElement('div');  
81 -  
82 - if (imp.EditMode.Current != imp.EditMode.Select) {  
83 - var spanp = document.createElement('span');  
84 - $(spanp).attr('title', imp.Titles.PasswordRenewal);  
85 - $(spanp).addClass('fas fa-key datatableActionIcon');  
86 - $(spanp).attr('onclick', 'vrhusman.PasswordRenewal("' + row.UserName + '")');  
87 - $(temp).append(spanp);  
88 - }  
89 -  
90 - var spane = document.createElement('span');  
91 - $(spane).attr('title', editTitle);  
92 - $(spane).addClass('fas ' + editIcon + ' datatableActionIcon');  
93 - $(spane).attr('onclick', 'vrhusman.Edit("' + row.UserName + '")');  
94 - $(temp).append(spane);  
95 -  
96 - if (row.IsRemovable  
97 - && imp.EditMode.Current != imp.EditMode.Select  
98 - && imp.EditMode.Current != imp.EditMode.Add) {  
99 - var spand = document.createElement('span');  
100 - $(spand).attr('title', imp.Titles.UserDelete);  
101 - $(spand).addClass('fas fa-trash-alt datatableActionIcon');  
102 - $(spand).attr('onclick', 'vrhusman.Delete("' + row.UserId + '", "' + row.UserName + '")');  
103 - $(temp).append(spand);  
104 - }  
105 - return $(temp).html();  
106 - }  
107 - }  
108 - ];  
109 - var dtColumnDefs = [  
110 - //{ targets: [5], width: '55px' },  
111 - { targets: [6], width: '60px', orderable: false, searchable: false } // műveletek  
112 - ];  
113 - var dtFilterDefs = [  
114 - { column: 5, id: imp.Ids.Input.FilterStatus },  
115 - ];  
116 - /*##### PROTOTYPE VARIABLES END #####*/  
117 -  
118 -  
119 - /*##### PROPERTIES #####*/  
120 -  
121 - /** Az inicializált tábla DataTable objektuma */  
122 - this.UserTable = null;  
123 -  
124 - /*##### PROPERTIES END #####*/  
125 -  
126 -  
127 - /*##### METHODS #####*/  
128 -  
129 - /**  
130 - * Tábla inicializálása.  
131 - */  
132 - this.InitTable = function () {  
133 - var thisfn = thispt + 'InitTable method: ';  
134 - me.UserTable = new VrhDataTable({  
135 - ajax: { url: imp.Url.GetData }, // az adatlistát eredményező akció  
136 - autoWidth: false,  
137 - columns: dtColumns,  
138 - columnDefs: dtColumnDefs,  
139 - filterDefs: dtFilterDefs,  
140 - lcid: imp.LCID,  
141 - initComplete: function (setting, json) { // a táblázat elkészültekor meghívott függvény  
142 - console.log(thisfn + 'Table.initComplete callback: PING');  
143 - //SetFilterFunction();  
144 - },  
145 - tableId: imp.Ids.Table,  
146 - });  
147 - };// InitTable method END  
148 -  
149 - this.ChangeTemporary = function () {  
150 - var thisfn = thispt + 'ChangeTemporary method: ';  
151 - var urlGetData = imp.Url.GetData + '&isTemporary=' + $('#' + imp.Ids.Input.CheckBoxTemp).is(':checked');  
152 - console.log(thisfn + 'url=%s', urlGetData);  
153 - me.UserTable.Table.ajax.url(urlGetData);  
154 - me.UserTable.Table.draw('page');  
155 - };  
156 -  
157 - /**  
158 - * Felhasználó szerkesztés ablak inicializálása.  
159 - *  
160 - * @param {string} userName A felhasználó neve. Ha üres, akkor felvitel.  
161 - */  
162 - this.Edit = function (userName) {  
163 - try {  
164 - if (isInEdit) return;  
165 - isInEdit = true;  
166 -  
167 - var thisfn = thispt + 'Edit method: ';  
168 - var modalTitle;  
169 - if (imp.EditMode.Current == imp.EditMode.Select) {  
170 - modalTitle = imp.Titles.UserDetails;  
171 - } else {  
172 - if (userName) modalTitle = imp.Titles.UserEdit  
173 - else modalTitle = imp.Titles.UserAdd;  
174 - }  
175 - console.log(thisfn + 'userName="%s", title="%s"', userName, modalTitle);  
176 - vrhct.bootbox.edit({  
177 - ajax: {  
178 - url: imp.Url.Editor,  
179 - data: { userName: userName }  
180 - },  
181 - buttonsDefault: imp.EditMode.Current != imp.EditMode.Select,  
182 - title: modalTitle,  
183 - formid: imp.Ids.Form.UserEditor,  
184 - size: 'large',  
185 - shown: function () {  
186 - isInEdit = false;  
187 - }  
188 - });  
189 - } catch (e) {  
190 - console.error(e);  
191 - isInEdit = false;  
192 - }  
193 - }; // Edit method END  
194 -  
195 - /**  
196 - * Felhasználó törlésének indítása.  
197 - *  
198 - * @param {string} userId A törlendő felhasználó azonosítója.  
199 - * @param {string} userName A törlendő felhasználó neve.  
200 - */  
201 - this.Delete = function (userId, userName) {  
202 - try {  
203 - if (isInDelete) return;  
204 - isInDelete = true;  
205 -  
206 - var thisfn = thispt + 'Delete method: ';  
207 - console.log(thisfn + 'userId="%s", userName="%s"', userId, userName);  
208 - vrhct.bootbox.delete({  
209 - ajax: {  
210 - url: imp.Url.Delete,  
211 - data: { userId: userId }  
212 - },  
213 - title: imp.Titles.Confirmation,  
214 - confirm: imp.Confirmations.UserDelete.format(userName),  
215 - shown: function () {  
216 - isInDelete = false;  
217 - },  
218 - success: function () {  
219 - console.log(thisfn + 'Sikeres törlés. Itt vagyunk a callback-ben.');  
220 - me.UserTable.Table.draw('page');  
221 - }  
222 - });  
223 - } catch (e) {  
224 - console.error(e);  
225 - isInDelete = false;  
226 - }  
227 - }; // Delete method END  
228 -  
229 - /**  
230 - * Jelszó megújítása soréán a checkbox megváltoztatásakor hívódik.  
231 - */  
232 - this.PasswordGenerateChange = function () {  
233 - try {  
234 - var thisfn = thispt + 'PasswordGenerateChange method: ';  
235 - console.log(thisfn + 'PING');  
236 -  
237 - var $newPassword = $('#' + imp.Ids.Input.NewPassword);  
238 - if ($('#IsGenerated').is(':checked')) {  
239 - console.log(thisfn + 'checked');  
240 - $newPassword.val('');  
241 - $newPassword.attr('readonly','');  
242 - } else {  
243 - console.log(thisfn + 'unchecked');  
244 - $newPassword.removeAttr('readonly');  
245 - $newPassword.focus();  
246 - }  
247 - } catch (e) {  
248 - console.error(e);  
249 - }  
250 - }; // PasswordRenewal method END  
251 -  
252 - /**  
253 - * Jelszó megújítása ablak inicializálása.  
254 - *  
255 - * @param {string} userName A felhasználó neve.  
256 - */  
257 - this.PasswordRenewal = function (userName) {  
258 - try {  
259 - if (isInPasswordRenewal) return;  
260 - isInPasswordRenewal = true;  
261 -  
262 - var thisfn = thispt + 'PasswordRenewal method: ';  
263 - console.log(thisfn + 'userName="%s"', userName);  
264 - vrhct.bootbox.edit({  
265 - ajax: {  
266 - url: imp.Url.PasswordRenewal,  
267 - data: { userName: userName }  
268 - },  
269 - title: imp.Titles.PasswordRenewal + ' - ' + userName,  
270 - formid: imp.Ids.Form.PasswordRenewal,  
271 - //size: 'large',  
272 - shown: function () {  
273 - isInPasswordRenewal = false;  
274 - }  
275 - });  
276 - } catch (e) {  
277 - console.error(e);  
278 - isInPasswordRenewal = false;  
279 - }  
280 - }; // PasswordRenewal method END  
281 -  
282 - /**  
283 - * Szerepek kezelése  
284 - */  
285 - this.RoleManage = function () {  
286 - try {  
287 - if (isInRoleManage) return;  
288 - isInRoleManage = true;  
289 -  
290 - var thisfn = thispt + 'RoleManage method: ';  
291 - console.log(thisfn + 'PING');  
292 - vrhct.bootbox.show(imp.Url.RoleManage, {  
293 - pleaseWaitMessage: imp.Messages.Wait,  
294 - shown: function (bootboxid) {  
295 - console.log(thisfn + 'SHOWN bootboxid="%s"', bootboxid);  
296 - isInRoleManage = false;  
297 - }  
298 - });  
299 -  
300 - } catch (e) {  
301 - console.error(e);  
302 - isInRoleManage = false;  
303 - }  
304 - }; // RoleManage method END  
305 -  
306 - /**  
307 - * Szerepkörök kezelése  
308 - */  
309 - this.RoleGroupManage = function () {  
310 - try {  
311 - if (isInRoleGroupManage) return;  
312 - isInRoleGroupManage = true;  
313 -  
314 - var thisfn = thispt + 'RoleGroupManage method: ';  
315 - console.log(thisfn + 'PING');  
316 - vrhct.bootbox.show(imp.Url.RoleGroupManage, {  
317 - pleaseWaitMessage: imp.Messages.Wait,  
318 - shown: function (bootboxid) {  
319 - console.log(thisfn + 'SHOWN bootboxid="%s"', bootboxid);  
320 - isInRoleGroupManage = false;  
321 - }  
322 - });  
323 -  
324 - } catch (e) {  
325 - console.error(e);  
326 - isInRoleGroupManage = false;  
327 - }  
328 - }; // RoleManage method END  
329 -  
330 - /**  
331 - * Zárolás feloldása  
332 - *  
333 - * @param {string} userId A felhasználó azonosítója, akit fel kell szabadítani.  
334 - * @param {string} userName A felhasználó neve, akit fel kell szabadítani.  
335 - */  
336 - this.Unlock = function (userId, userName) {  
337 - try {  
338 - if (isInUnlock) return;  
339 - isInUnlock = true;  
340 -  
341 - var thisfn = thispt + 'Unlock method: ';  
342 - var url = imp.Url.Unlock + '?userId=' + userId;  
343 - console.log(thisfn + 'PING url=', url);  
344 - vrhct.bootbox.show(url, {  
345 - ajaxType: 'post',  
346 - isReturnInfoJSON: true,  
347 - pleaseWaitMessage: imp.Messages.Wait,  
348 - shown: function (bootboxid) {  
349 - console.log(thisfn + 'SHOWN bootboxid="%s"', bootboxid);  
350 - isInUnlock = false;  
351 - },  
352 - hidden: function () {  
353 - me.UserTable.Table.draw('page');  
354 - }  
355 - });  
356 -  
357 - } catch (e) {  
358 - console.error(e);  
359 - isInUnlock = false;  
360 - }  
361 - }; // Unlock method END  
362 -  
363 - /*##### METHODS END #####*/  
364 -  
365 -  
366 - /*##### PRIVATE FUNCTIONS #####*/  
367 - /*##### PRIVATE FUNCTIONS END #####*/  
368 -  
369 -} // UserManagerScript prototype END  
370 -  
371 -/** A prototípus számára küldendő állandó értékek osztálya. */  
372 -function ExportToUserManagerScript() {  
373 - /** Megerősítést kérő üzenetek gyűjtőhelye */  
374 - this.Confirmations = {  
375 - UserDelete: '',  
376 - };  
377 - /** A táblázat oszlopainak adatelérése */  
378 - this.Data = {  
379 - UserName: '',  
380 - Email: '',  
381 - LastLogin: '',  
382 - LastActivity: '',  
383 - Comment: '',  
384 - Status: ''  
385 - };  
386 - /** Szerkesztési mód aktuális és lehetséges értékei */  
387 - this.EditMode = {  
388 - Current: '',  
389 - Select: '',  
390 - Add: '',  
391 - Delete: '',  
392 - Manage: '',  
393 - };  
394 - /** A nézeten lévő html objektumok azonosítóinak gyűjtőhelye */  
395 - this.Ids = {  
396 - Form: {  
397 - UserEditor: '',  
398 - PasswordRenewal: '',  
399 - },  
400 - Input: {  
401 - FilterStatus: '',  
402 - CheckBoxTemp: '',  
403 - NewPassword: '',  
404 - },  
405 - Table: '',  
406 - };  
407 - /** A nézeten lévő inputok címkéinek gyűjtőhelye */  
408 - this.Labels = {  
409 - Cancel: '',  
410 - OK: '',  
411 - No: '',  
412 - Yes: '',  
413 - Button: {  
414 - FunctionManage: ''  
415 - },  
416 - };  
417 - /** A környetben érvényes nyelvi kód */  
418 - this.LCID = '';  
419 - /** Az üzenetek gyűjtőhelye */  
420 - this.Messages = {  
421 - Wait: '',  
422 - };  
423 - /** A nézeten lévő eszközök feliratozásának, címeinek és tooltipjeinek gyűjtőhelye */  
424 - this.Titles = {  
425 - Confirmation: '',  
426 - OperationProgress: '',  
427 - PasswordRenewal: '',  
428 - Unlock: '',  
429 - UserAdd: '',  
430 - UserEdit: '',  
431 - UserDelete: '',  
432 - UserDetails: '',  
433 - };  
434 - /** A nézeten lévő akciókra mutató url-ek gyűjtőhelye */  
435 - this.Url = {  
436 - Editor: '',  
437 - Delete: '',  
438 - GetData: '',  
439 - RoleGroupManage: '',  
440 - RoleManage: '',  
441 - Unlock: '',  
442 - };  
443 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/DirectAuthentication.cshtml deleted
@@ -1,51 +0,0 @@ @@ -1,51 +0,0 @@
1 -@using Vrh.Web.Common.Lib;  
2 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers;  
3 -  
4 -@model DirectAuthenticationModel  
5 -@{  
6 - string actionName = nameof(AccountController.DirectAuthentication);  
7 - string areaName = (string)ViewContext.RouteData.DataTokens["area"];  
8 - string controllerName = (string)ViewContext.RouteData.DataTokens["controller"];  
9 - var ajaxops = new AjaxOptions()  
10 - {  
11 - InsertionMode = InsertionMode.Replace,  
12 - HttpMethod = "POST",  
13 - UpdateTargetId = MasterData.DialogBodyId(Model.BootboxId)  
14 - };  
15 -  
16 - @Html.Partial(WebConst.VALIDATIONSUMMARY)  
17 -  
18 - using (Ajax.BeginForm(actionName, controllerName, new { area = areaName }, ajaxops, new { id = WebConst.Ids.Form.DIRECTAUTHENTICATION }))  
19 - {  
20 - @Html.AntiForgeryToken()  
21 - @Html.HiddenFor(x => x.BootboxId)  
22 - @Html.HiddenFor(x => x.TargetUrl)  
23 - @Html.HiddenFor(x => x.RolesRequired)  
24 - @Html.HiddenFor(x => x.ResponseTarget)  
25 -  
26 - <div class="form-group">  
27 - @Html.LabelFor(x => x.UserName)  
28 - @Html.TextBoxFor(x => x.UserName, new { @autofocus = "" })  
29 - @Html.ValidationMessageFor(x => x.UserName)  
30 - </div>  
31 - <div class="form-group">  
32 - @Html.LabelFor(x => x.Password)  
33 - @Html.PasswordFor(x => x.Password)  
34 - @Html.ValidationMessageFor(x => x.Password)  
35 - </div>  
36 - }  
37 -}  
38 -<script type="text/javascript">  
39 - /*##### EVENTS #####*/  
40 - $(function () {  
41 - 'use strict';  
42 -  
43 - //var thisfn = 'MultiLanguageManager.Editor.cshtml: ready event: ';  
44 - //console.log(thisfn + 'PING');  
45 -  
46 - vrhct.masterdata.addClass('#@(Model.BootboxId)','input');  
47 -  
48 - //console.log(thisfn + 'END');  
49 - }); // $(document).ready END  
50 - /*##### EVENTS END #####*/  
51 -</script>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/ExternalLoginConfirmation.cshtml deleted
@@ -1,39 +0,0 @@ @@ -1,39 +0,0 @@
1 -@using Vrh.Web.Membership.Areas.UserAdministration.Models  
2 -  
3 -@model RegisterExternalLoginModel  
4 -@{  
5 - ViewBag.Title = "Register";  
6 -}  
7 -  
8 -<hgroup class="title">  
9 - <h1>@ViewBag.Title.</h1>  
10 - <h2>Associate your @ViewBag.ProviderDisplayName account.</h2>  
11 -</hgroup>  
12 -  
13 -@using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { area = WebConst.AREA, ReturnUrl = ViewBag.ReturnUrl }))  
14 -{  
15 - @Html.AntiForgeryToken()  
16 - @Html.ValidationSummary(true)  
17 -  
18 - <fieldset>  
19 - <legend>Association Form</legend>  
20 - <p>  
21 - You've successfully authenticated with <strong>@ViewBag.ProviderDisplayName</strong>.  
22 - Please enter a user name for this site below and click the Confirm button to finish  
23 - logging in.  
24 - </p>  
25 - <ol>  
26 - <li class="name">  
27 - @Html.LabelFor(m => m.UserName)  
28 - @Html.TextBoxFor(m => m.UserName)  
29 - @Html.ValidationMessageFor(m => m.UserName)  
30 - </li>  
31 - </ol>  
32 - @Html.HiddenFor(m => m.ExternalLoginData)  
33 - <input type="submit" value="Register" />  
34 - </fieldset>  
35 -}  
36 -  
37 -@*@section Scripts {  
38 - @Scripts.Render("~/bundles/jqueryval")  
39 -}*@  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/ExternalLoginFailure.cshtml deleted
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -@{  
2 - ViewBag.Title = "Login Failure";  
3 -}  
4 -  
5 -<hgroup class="title">  
6 - <h1>@ViewBag.Title.</h1>  
7 - <h2>Unsuccessful login with service.</h2>  
8 -</hgroup>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/LogInOut.cshtml deleted
@@ -1,195 +0,0 @@ @@ -1,195 +0,0 @@
1 -@using Vrh.Web.Membership;  
2 -  
3 -@model LoginLogoutModel  
4 -@{  
5 - // A weblap eléréséhez használható osztálynév  
6 - string loginform = "loginform";  
7 -  
8 - // inputok azonosítói  
9 - string loginusername = "loginusername";  
10 - string loginpassword = "loginpassword";  
11 - string loginremember = "loginremember";  
12 - string loginother = "loginother";  
13 - string loginbase = "loginbase";  
14 -}  
15 -  
16 -@if (User.Identity.IsAuthenticated)  
17 -{  
18 - IHtmlString headLogout = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Logout)));  
19 -<div class="my-2 @(loginform)">  
20 - <h1>@(headLogout)</h1>  
21 - <div class="alert alert-dark"><strong>@(User.Identity.Name)</strong></div>  
22 - <button type="button" class="btn btn-success" onclick="lgnlgt.PushLogout();">@(headLogout)</button>  
23 - @{  
24 - Type wc = typeof(WordCodes.MvcMembership.Labels.Button.ChangePassword);  
25 - object htmlattr = new { @class = "btn btn-primary mb-1 mr-1 float-right" };  
26 - @Html.ActionLink(Model.Trans(wc), WebConst.Actions.MANAGE, WebConst.CONTROLLER_ACCOUNT, new { area = WebConst.AREA }, htmlattr);  
27 - }  
28 -</div>  
29 -}  
30 -else  
31 -{  
32 - string headLogin = Model.Trans(typeof(WordCodes.MvcMembership.User.LogIn));  
33 - string phUserName = Model.Trans(typeof(WordCodes.MvcMembership.User.UserName));  
34 - string phPassword = Model.Trans(typeof(WordCodes.MvcMembership.User.Password));  
35 - string labelRemember = Model.Trans(typeof(WordCodes.MvcMembership.Labels.RememberMe));  
36 - <div class="my-2 @(loginform)">  
37 - <h1>@Html.Raw(headLogin)</h1>  
38 - <div class="form-group">  
39 - <input id="@(loginusername)" class="form-control" type="text"  
40 - placeholder="@Html.Raw(phUserName)" required  
41 - oninvalid="this.setCustomValidity('@(Model.Trans(typeof(WordCodes.MvcMembership.Messages.PleaseEnterUsername)))');"  
42 - oninput="this.setCustomValidity('');" />  
43 - </div>  
44 - <div class="form-group">  
45 - <input id="@(loginpassword)" class="form-control" type="password" placeholder="@Html.Raw(phPassword)" />  
46 - </div>  
47 - <div class="custom-control custom-checkbox">  
48 - <input type="checkbox" class="custom-control-input" id="@(loginremember)" />  
49 - <label class="custom-control-label" for="@(loginremember)">@Html.Raw(labelRemember)</label>  
50 - </div>  
51 - <div class="form-row align-items-center">  
52 - <div class="col-auto mt-2">  
53 - <button type="button" class="btn btn-success" onclick="lgnlgt.PushLogin();">@Html.Raw(headLogin)</button>  
54 - </div>  
55 - @if (Model.Membership.LoginOther != null)  
56 - {  
57 - <div class="col-auto mt-2">  
58 - <div class="custom-control custom-radio custom-control-inline">  
59 - <input type="radio" class="custom-control-input"  
60 - id="@(loginother)" name="logintype"  
61 - title="@(Model.LoginOtherTitle)"  
62 - checked>  
63 - <label class="custom-control-label" for="@(loginother)" title="@(Model.LoginOtherTitle)">  
64 - @(Model.Membership.LoginOther.Label)  
65 - </label>  
66 - </div>  
67 - </div>  
68 - <div class="col-auto mt-2">  
69 - <div class="custom-control custom-radio custom-control-inline">  
70 - <input type="radio" class="custom-control-input"  
71 - id="@(loginbase)" name="logintype"  
72 - title="@(Model.LoginBaseTitle)">  
73 - <label class="custom-control-label" for="@(loginbase)" title="@(Model.LoginBaseTitle)">  
74 - @(Model.Membership.LoginBase.Label)  
75 - </label>  
76 - </div>  
77 - </div>  
78 - }  
79 - </div>  
80 - </div>  
81 -}  
82 -  
83 -@Scripts.Render(WebConst.AREA_SCRIPTSPATH + "LogInOut.js")  
84 -<script type="text/javascript">  
85 - /**  
86 - * A LogInOutScript (LoginLogout.js) számára küldendő értékek prototípusa  
87 - * Ezeket a kódban állandóként (constansként) érdemes kezelni.  
88 - */  
89 - function ExportToLogInOut() {  
90 - 'use strict';  
91 -  
92 - this.BootboxId = '@(Model.BootboxId)';  
93 - this.IsUserAuthenticated = @(User.Identity.IsAuthenticated ? "true" : "false");  
94 -  
95 - this.Id = {  
96 - UserName: '#@(loginusername)',  
97 - Password: '#@(loginpassword)',  
98 - Remember: '#@(loginremember)',  
99 - Other: '#@(loginother)',  
100 - Base: '#@(loginbase)',  
101 - };  
102 - this.LoginBase = {  
103 - UserName: new String(),  
104 - Password: new String(),  
105 - Remember: false,  
106 - Type: @((int)Model.Membership.LoginBase.Type), @* !!!url - nél pont fontos a Html.Raw, hogy ne csináljon az "&" - ből "@amp;" - t!!! *@  
107 - UrlAfterLogin: '@Html.Raw(String.IsNullOrWhiteSpace(Model.Membership.LoginBase.AfterLogin) ? "" : Url.Content(Model.Membership.LoginBase.AfterLogin))',  
108 - IsReloadLogin: @(Model.Membership.LoginBase.IsReloadLogin.ToString().ToLower()),  
109 - };  
110 - this.Login = {  
111 - UserName: new String(),  
112 - Password: new String(),  
113 - Remember: false,  
114 - Type: @((int)Model.Membership.LoginBase.Type), @* !!!url - nél pont fontos a Html.Raw, hogy ne csináljon az "&" - ből "@amp;" - t!!! *@  
115 - UrlAfterLogin: '@Html.Raw(String.IsNullOrWhiteSpace(Model.Membership.LoginBase.AfterLogin) ? "" : Url.Content(Model.Membership.LoginBase.AfterLogin))',  
116 - IsReloadLogin: @(Model.Membership.LoginBase.IsReloadLogin.ToString().ToLower()),  
117 - ExpireSeconds: @(Model.Membership.LoginExpirationSeconds.ToString()),  
118 - };  
119 - this.LoginOther = {  
120 - UserName: new String(),  
121 - Password: new String(),  
122 - Remember: false,  
123 - @if (Model.Membership.LoginOther == null)  
124 - {  
125 - <text>  
126 - Type: -1,  
127 - UrlAfterLogin: '',  
128 - IsReloadLogin: true,  
129 - IsReloadLogout: true  
130 - </text>  
131 - }  
132 - else  
133 - {  
134 - <text>  
135 - Type: @((int)Model.Membership.LoginOther.Type), @* !!!url-nél pont fontos a Html.Raw, hogy ne csináljon az "&" - ből "@amp;" - t!!! *@  
136 - UrlAfterLogin: '@Html.Raw(String.IsNullOrWhiteSpace(Model.Membership.LoginOther.AfterLogin) ? "" : Url.Content(Model.Membership.LoginBase.AfterLogin))',  
137 - IsReloadLogin: @(Model.Membership.LoginOther.IsReloadLogin.ToString().ToLower()),  
138 - IsReloadLogout: @(Model.Membership.LoginOther.IsReloadLogout.ToString().ToLower())  
139 - </text>  
140 - }  
141 - };  
142 - this.LoginTypes = {  
143 - AD: @((int)LoginTypes.AD),  
144 - ADPrefix: '@(LoginTypes.AD)_',  
145 - Integrated: @((int)LoginTypes.Integrated),  
146 - WebReq: @((int)LoginTypes.WebReq),  
147 - WebReqPrefix: '@(LoginTypes.WebReq)_',  
148 - };  
149 - this.Logout = {  
150 - UrlBeforeLogout: '@Html.Raw(String.IsNullOrWhiteSpace(Model.Membership.LoginBase.BeforeLogout) ? "" : Url.Content(Model.Membership.LoginBase.BeforeLogout))',  
151 - IsReloadLogout: @(Model.Membership.LoginBase.IsReloadLogout.ToString().ToLower()),  
152 - };  
153 -  
154 - this.RoleGroups = new Array();  
155 - @if (Model.Membership.WebReqOption.RoleGroups != null && Model.Membership.WebReqOption.RoleGroups.Any()) {  
156 - foreach(KeyValuePair < string, string > kvp in Model.Membership.WebReqOption.RoleGroups)  
157 - {  
158 - <text>this.RoleGroups.push(['@kvp.Key', '@kvp.Value']);</text>  
159 - }  
160 - }  
161 -  
162 - this.Message = {  
163 - AfterLoginUnsuccessful: '@(Model.Trans(typeof(WordCodes.MvcMembership.Messages.AfterLoginUnsuccessful)))',  
164 - PleaseEnterUsername: '@(Model.Trans(typeof(WordCodes.MvcMembership.Messages.PleaseEnterUsername)))',  
165 - ResponseIncorrect: '@(Model.Trans(typeof(WordCodes.MvcMembership.Messages.RemoteLoginResponseIncorrect)))<br />',  
166 - RemoteRoleGroupNotTranslated: '@(Model.Trans(typeof(WordCodes.MvcMembership.Messages.RemoteRoleGroupNotTranslated)))',  
167 - };  
168 - this.Title = {  
169 - Response: '@(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RemoteLoginResponse)))<br /><br />',  
170 - };  
171 - this.Url = {  
172 - LoginJSON: '@Url.Content("~/UserAdministration/Account/LoginJSON")',  
173 - LoginRemote: '@Url.Content("~/UserAdministration/Account/LoginRemote")',  
174 - LogoutJSON: '@Url.Content("~/UserAdministration/Account/LogoutJSON")',  
175 - };  
176 - this.WebReqResponse = {  
177 - FIELD_STATUS: '@WebReqResponse.FIELD_STATUS',  
178 - FIELD_LEVEL: '@WebReqResponse.FIELD_LEVEL',  
179 - FIELD_MSG: '@WebReqResponse.FIELD_MSG',  
180 - };  
181 - this.WebReq = {  
182 - RequestTemplate: '@(Model.Membership.WebReqOption != null && Model.Membership.WebReqOption.RequestTemplate != null ? Model.Membership.WebReqOption.RequestTemplate : "")',  
183 - Url: '@(Model.Membership.WebReqOption != null && Model.Membership.WebReqOption.Url != null ? Url.Content(Model.Membership.WebReqOption.Url) : "")',  
184 - IsFromServer: @(Model.Membership.WebReqOption.IsFromServer.ToString().ToLower()),  
185 - };  
186 - this.WebReqVars = {  
187 - USERNAME: '@(WebReqVars.Get(WebReqVars.USERNAME))',  
188 - PASSWORD: '@(WebReqVars.Get(WebReqVars.PASSWORD))',  
189 - };  
190 - } // ExportToLogInOut function END  
191 -  
192 - /*##### GLOBALS #####*/  
193 - var lgnlgt = new LogInOutScripts(new ExportToLogInOut());  
194 - /*##### GLOBALS END #####*/  
195 -</script>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/LoginPage.cshtml deleted
@@ -1,26 +0,0 @@ @@ -1,26 +0,0 @@
1 -@* LoginPage.cshtml *@  
2 -  
3 -@model LoginPageModel  
4 -  
5 -<style>  
6 - .loginform h1 {  
7 - color: whitesmoke;  
8 - }  
9 - .loginform label {  
10 - color: whitesmoke;  
11 - }  
12 -</style>  
13 -  
14 -<div class="card">  
15 - <div class="card-body bg-dark">  
16 - <div class="row">  
17 - <div class="col-12 col-sm-8 col-md-6 col-lg-5 col-xl-4">  
18 - @{  
19 - Html.RenderAction(WebConst.Actions.LOGIN, WebConst.CONTROLLER_ACCOUNT, Model.RouteValues);  
20 - }  
21 - </div>  
22 - <div class="col-auto col-sm-4 col-md-6 col-lg-7 col-xl-8"></div>  
23 - </div>  
24 - </div>  
25 -</div>  
26 -  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/LogoutOnly.cshtml deleted
@@ -1,51 +0,0 @@ @@ -1,51 +0,0 @@
1 -@using Vrh.Web.Membership;  
2 -  
3 -@model LoginLogoutModel  
4 -@{  
5 - string logoutmessage = "logoutmessage";  
6 -}  
7 -  
8 -@if (User.Identity.IsAuthenticated)  
9 -{  
10 - <div>  
11 - <h1>@(Model.Trans(typeof(WordCodes.MvcMembership.User.Logout)))</h1>  
12 - <div class="alert alert-dark"><strong>@(User.Identity.Name)</strong></div>  
13 - <h6 id="@(logoutmessage)"></h6>  
14 - </div>  
15 -}  
16 -else  
17 -{  
18 - <div>  
19 - <h1>@(Model.Trans(typeof(WordCodes.MvcMembership.User.Logout)))</h1>  
20 - <h3>@(Model.Trans(typeof(WordCodes.MvcMembership.Messages.NoUserLoggedIn)))</h3>  
21 - </div>  
22 -}  
23 -  
24 -@Scripts.Render(WebConst.AREA_SCRIPTSPATH + "LogoutOnly.js")  
25 -<script>  
26 - /**  
27 - * A LogoutOnlyScript (LogoutOnly.js) számára küldendő értékek prototípusa  
28 - * Ezeket a kódban állandóként (constansként) érdemes kezelni.  
29 - */  
30 - function ExportToLogoutOnly() {  
31 - 'use strict';  
32 -  
33 - this.BootboxId = '@(Model.BootboxId)';  
34 - this.IsUserAuthenticated = @(User.Identity.IsAuthenticated.ToString().ToLower());  
35 -  
36 - this.Id = {  
37 - Message: '#@(logoutmessage)',  
38 - };  
39 - this.Logout = {  
40 - UrlBeforeLogout: '@Html.Raw(String.IsNullOrWhiteSpace(Model.Membership.LoginBase.BeforeLogout) ? "" : Url.Content(Model.Membership.LoginBase.BeforeLogout))',  
41 - IsReloadLogout: @(Model.Membership.LoginBase.IsReloadLogout.ToString().ToLower()),  
42 - };  
43 - this.Url = {  
44 - LogoutJSON: '@Url.Action(WebConst.Actions.LOGOUTJSON, WebConst.CONTROLLER_ACCOUNT, new { area = WebConst.AREA})',  
45 - };  
46 - } // ExportToLogInOut function END  
47 -  
48 - /*##### GLOBALS #####*/  
49 - var lgtnl = new LogoutOnlyScripts(new ExportToLogoutOnly());  
50 - /*##### GLOBALS END #####*/  
51 -</script>  
52 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/Manage.cshtml deleted
@@ -1,48 +0,0 @@ @@ -1,48 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager;  
2 -  
3 -  
4 -@model Vrh.Web.Membership.Areas.UserAdministration.Models.LocalPasswordModel  
5 -  
6 -@{  
7 - ViewBag.Title = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.ManageAccount)));  
8 -}  
9 -  
10 -@*  
11 - <hgroup class="title">  
12 - <h1>@ViewBag.Title</h1>  
13 - </hgroup>  
14 -  
15 - <p class="message-success">@ViewBag.StatusMessage</p>  
16 -  
17 - <p>@Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.UserLoggedInAs))): <strong>@User.Identity.Name</strong></p>  
18 -*@  
19 -  
20 -  
21 -@if (ViewBag.HasLocalPassword)  
22 -{  
23 - @Html.Partial("_ChangePasswordPartial")  
24 -}  
25 -else  
26 -{  
27 - @Html.Partial("_SetPasswordPartial")  
28 -}  
29 -@*  
30 -<section id="externalLogins">  
31 - @Html.Action("RemoveExternalLogins", "Account", new { area = "UserAdministration" })  
32 -  
33 - <h3>Add an external login</h3>  
34 - @Html.Action("ExternalLoginsList", "Account", new { area = "UserAdministration", ReturnUrl = ViewBag.ReturnUrl })  
35 -</section>  
36 -*@  
37 -@section Scripts {  
38 - @if (ViewBag.StatusMessage != null &&  
39 - !string.IsNullOrWhiteSpace(ViewBag.StatusMessage.ToString()))  
40 - {  
41 - <script type="text/javascript">  
42 - bootbox.alert('@Html.Raw(ViewBag.StatusMessage.ToString())');  
43 - </script>  
44 - }  
45 -@*  
46 - @Scripts.Render("~/bundles/jqueryval")  
47 -*@  
48 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/Register.cshtml deleted
@@ -1,41 +0,0 @@ @@ -1,41 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager;  
2 -  
3 -@model Vrh.Web.Membership.Areas.UserAdministration.Models.RegisterModel  
4 -  
5 -@{  
6 - ViewBag.Title = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.Register)));  
7 -}  
8 -  
9 -<hgroup class="title">  
10 - <h1>@ViewBag.Title</h1>  
11 - <h2>@Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.CreateNewAccount)))</h2>  
12 -</hgroup>  
13 -  
14 -@using (Html.BeginForm("Register", "Account", new { area = WebConst.AREA }))  
15 -{  
16 - @Html.AntiForgeryToken()  
17 - @Html.ValidationSummary()  
18 -  
19 - <fieldset>  
20 - <legend>Registration Form</legend>  
21 - <ol>  
22 - <li>  
23 - @Html.LabelFor(m => m.UserName)  
24 - @Html.TextBoxFor(m => m.UserName)  
25 - </li>  
26 - <li>  
27 - @Html.LabelFor(m => m.Password)  
28 - @Html.PasswordFor(m => m.Password)  
29 - </li>  
30 - <li>  
31 - @Html.LabelFor(m => m.ConfirmPassword)  
32 - @Html.PasswordFor(m => m.ConfirmPassword)  
33 - </li>  
34 - </ol>  
35 - <input type="submit" value="@ViewBag.Title" />  
36 - </fieldset>  
37 -}  
38 -  
39 -@*@section Scripts {  
40 - @Scripts.Render("~/bundles/jqueryval")  
41 -}*@  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/_ChangePasswordPartial.cshtml deleted
@@ -1,55 +0,0 @@ @@ -1,55 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager;  
2 -  
3 -@model Vrh.Web.Membership.Areas.UserAdministration.Models.LocalPasswordModel  
4 -  
5 -@{  
6 - IHtmlString titleChangePassword = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.ChangePassword)));  
7 -}  
8 -<style>  
9 -</style>  
10 -<div class="card">  
11 - <div class="card-header">  
12 - <h1 class="card-title">@titleChangePassword</h1>  
13 - </div>  
14 - <div class="card-body">  
15 - <div style="max-width:50%;min-width:12rem;">  
16 - @using (Html.BeginForm(WebConst.Actions.MANAGE, WebConst.CONTROLLER_ACCOUNT, new { area = WebConst.AREA }))  
17 - {  
18 - @Html.AntiForgeryToken()  
19 - @Html.ValidationSummary(true)  
20 -  
21 - <div class="from-group row mb-3">  
22 - @Html.LabelFor(m => m.OldPassword, new { @class = "col-md-4 col-form-label" })  
23 - <div class="col-md-8">  
24 - @Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })  
25 - @Html.ValidationMessageFor(m => m.OldPassword)  
26 - </div>  
27 - </div>  
28 -  
29 - <div class="from-group row mb-3">  
30 - @Html.LabelFor(m => m.NewPassword, new { @class = "col-md-4 col-form-label" })  
31 - <div class="col-md-8">  
32 - @Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })  
33 - @Html.ValidationMessageFor(m => m.NewPassword)  
34 - </div>  
35 - </div>  
36 -  
37 - <div class="from-group row mb-3">  
38 - @Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-4 col-form-label" })  
39 - <div class="col-md-8">  
40 - @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })  
41 - @Html.ValidationMessageFor(m => m.ConfirmPassword)  
42 - </div>  
43 - </div>  
44 -  
45 - <div class="from-group row">  
46 - <div class="col-md-4">  
47 - </div>  
48 - <div class="col-md-8">  
49 - <button type="submit" class="btn btn-success float-right">@titleChangePassword</button>  
50 - </div>  
51 - </div>  
52 - }  
53 - </div>  
54 - </div> <!-- class="card-body" -->  
55 -</div> <!-- class="card card-primary" -->  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/_ExternalLoginsListPartial.cshtml deleted
@@ -1,25 +0,0 @@ @@ -1,25 +0,0 @@
1 -@*@model ICollection<AuthenticationClientData>  
2 -  
3 -@if (Model.Count == 0)  
4 -{  
5 - <div class="message-info">  
6 - <p>There are no external authentication services configured. See <a href="http://go.microsoft.com/fwlink/?LinkId=252166">this article</a>  
7 - for details on setting up this ASP.NET application to support logging in via external services.</p>  
8 - </div>  
9 -}  
10 -else  
11 -{  
12 - using (Html.BeginForm("ExternalLogin", "Account", new { area = "UserAdministration", ReturnUrl = ViewBag.ReturnUrl }))  
13 - {  
14 - @Html.AntiForgeryToken()  
15 - <fieldset id="socialLoginList">  
16 - <legend>Log in using another service</legend>  
17 - <p>  
18 - @foreach (AuthenticationClientData p in Model)  
19 - {  
20 - <button type="submit" name="provider" value="@p.AuthenticationClient.ProviderName" title="Log in using your @p.DisplayName account">@p.DisplayName</button>  
21 - }  
22 - </p>  
23 - </fieldset>  
24 - }  
25 -}*@  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/_RemoveExternalLoginsPartial.cshtml deleted
@@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
1 -@*@using Vrh.Web.Membership.Areas.UserAdministration.Models  
2 -  
3 -@model ICollection<ExternalLogin>  
4 -  
5 -@if (Model.Count > 0)  
6 -{  
7 - <h3>Registered external logins</h3>  
8 - <table>  
9 - <tbody>  
10 - @foreach (ExternalLogin externalLogin in Model)  
11 - {  
12 - <tr>  
13 - <td>@externalLogin.ProviderDisplayName</td>  
14 - <td>  
15 - @if (ViewBag.ShowRemoveButton)  
16 - {  
17 - using (Html.BeginForm("Disassociate", "Account", new { area = Global.AREANAME }))  
18 - {  
19 - @Html.AntiForgeryToken()  
20 - <div>  
21 - @Html.Hidden("provider", externalLogin.Provider)  
22 - @Html.Hidden("providerUserId", externalLogin.ProviderUserId)  
23 - <input type="submit" value="Remove" title="Remove this @externalLogin.ProviderDisplayName credential from your account" />  
24 - </div>  
25 - }  
26 - }  
27 - else  
28 - {  
29 - @: &nbsp;  
30 - }  
31 - </td>  
32 - </tr>  
33 - }  
34 - </tbody>  
35 - </table>  
36 -}*@  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Account/_SetPasswordPartial.cshtml deleted
@@ -1,48 +0,0 @@ @@ -1,48 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager  
2 -@using Vrh.Web.Membership.Areas.UserAdministration.Models  
3 -  
4 -@model LocalPasswordModel  
5 -  
6 -@{  
7 - IHtmlString newPasswordTranslationText = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.NewPassword)));  
8 -}  
9 -  
10 -@*<p>  
11 - You do not have a local password for this site. Add a local  
12 - password so you can log in without an external login.  
13 - </p>*@  
14 -  
15 -<div class="card">  
16 - <div class="card-header">  
17 - <h1 class="card-title">@newPasswordTranslationText</h1>  
18 - </div>  
19 - <div class="card-body">  
20 - @using (Html.BeginForm(WebConst.Actions.MANAGE, WebConst.CONTROLLER_ACCOUNT, new { area = WebConst.AREA }))  
21 - {  
22 - @Html.AntiForgeryToken()  
23 - @Html.ValidationSummary(true)  
24 -  
25 - <div class="editor-label">  
26 - @Html.LabelFor(m => m.NewPassword)  
27 - </div>  
28 - <div class="editor-field">  
29 - @Html.PasswordFor(m => m.NewPassword)  
30 - @Html.ValidationMessageFor(m => m.NewPassword)  
31 - </div>  
32 -  
33 - <div class="editor-label">  
34 - @Html.LabelFor(m => m.ConfirmPassword)  
35 - </div>  
36 - <div class="editor-field">  
37 - @Html.PasswordFor(m => m.ConfirmPassword)  
38 - @Html.ValidationMessageFor(m => m.ConfirmPassword)  
39 - </div>  
40 -  
41 - <br />  
42 -  
43 - <p>  
44 - <input type="submit" value="@newPasswordTranslationText" />  
45 - </p>  
46 - }  
47 - </div>  
48 -</div>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/RolesToUserRoleGroups/Index.cshtml deleted
@@ -1,74 +0,0 @@ @@ -1,74 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - RolesToUserRoleGroups - Index.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@using VRH.Log4Pro.MultiLanguageManager;  
7 -@using Vrh.Web.Common.Lib;  
8 -  
9 -@model CommonModel  
10 -  
11 -@{  
12 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.ManyToMany.BindRoleGroupsAndRoles)));  
13 -  
14 - IHtmlString newRoleTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.ManyToMany.NewRoleGroup)));  
15 - IHtmlString okTranslationText = Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.OK)));  
16 - IHtmlString cancelTranslationText = Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Cancel)));  
17 - IHtmlString deleteRoleTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.ManyToMany.DeleteRoleGroup)));  
18 - IHtmlString deleteTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Delete)));  
19 - IHtmlString closeTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Close)));  
20 - IHtmlString renameRoleTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.ManyToMany.RenameRoleGroup)));  
21 - IHtmlString renameTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Rename)));  
22 -  
23 - string labelUserManager = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Users));  
24 - string labelUTURG = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.UsersToRoleGroups));  
25 - string labelRoles = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Roles));  
26 -  
27 -}  
28 -  
29 -<script src="~/Scripts/jquery-ui-1.13.2.min.js"></script>  
30 -<script src="@(Url.Content(WebConst.AREA_SCRIPTSPATH + "RolesToUserRoleGroupsDialog.js"))"></script>  
31 -<script type="text/javascript">  
32 - rturgd.TitleNew = '@newRoleTranslationText';  
33 - rturgd.TitleDel = '@deleteRoleTranslationText';  
34 - rturgd.TitleRen = '@renameRoleTranslationText';  
35 - rturgd.TitleOK = '@okTranslationText';  
36 - rturgd.TitleCancel = '@cancelTranslationText';  
37 - rturgd.TitleClose = '@cancelTranslationText';  
38 - rturgd.FormNewId = 'NewUserRoleGroupNameForm';  
39 - rturgd.FormDelId = 'DeleteUserRoleGroupNameForm';  
40 - rturgd.FormRenId = 'EditUserRoleGroupNameForm';  
41 -  
42 - var urlNewRoleGroup = '@Url.Action("NewUserRoleGroupForm", WebConst.CONTROLLER_RTURG, new { area = WebConst.AREA })';  
43 - var urlDeleteRoleGroup = '@Url.Action("DeleteUserRoleGroupForm", WebConst.CONTROLLER_RTURG, new { area = WebConst.AREA })';  
44 - var urlEditRoleGroup = '@Url.Action("EditUserRoleGroupForm", WebConst.CONTROLLER_RTURG, new { area = WebConst.AREA })';  
45 - function newDialog() {  
46 - openEditDialog(urlNewRoleGroup, rturgd.TitleNew, rturgd.TitleOK, rturgd.TitleCancel, rturgd.FormNewId)  
47 - }  
48 - function deleteDialog() {  
49 - openEditDialog(urlDeleteRoleGroup, rturgd.TitleDel, rturgd.TitleDel, rturgd.TitleClose, rturgd.FormDelId)  
50 - }  
51 - function editDialog() {  
52 - openEditDialog(urlEditRoleGroup, rturgd.TitleRen, rturgd.TitleRen, rturgd.TitleClose, rturgd.FormRenId)  
53 - }  
54 -  
55 - //$(function() {  
56 - //});  
57 -</script>  
58 -  
59 -<div class="card">  
60 - <div class="card-header">  
61 - @UserManagementHtmlHelper.AddHeader(Html, Ajax, Url, Model, ViewBag.Title.ToString()  
62 - , new List<UserManagementHtmlHelper.DisableThisButton> { UserManagementHtmlHelper.DisableThisButton.RolesToRoleGroups })  
63 - </div>  
64 - <div class="card-body">  
65 - <div class="row mb-1">  
66 - <input type="submit" class="btn btn-success mr-1" onclick="javascript:newDialog();" value="@newRoleTranslationText" />  
67 - <input type="submit" class="btn btn-danger mr-1 " onclick="javascript:deleteDialog();" value="@deleteRoleTranslationText" />  
68 - <input type="submit" class="btn btn-primary" onclick="javascript:editDialog();" value="@renameRoleTranslationText" />  
69 - </div>  
70 - <div class="row">  
71 - @Html.Partial("_RolesToUserRoleGroups", ViewData["id"] != null ? new ViewDataDictionary() { { "id", ViewData["id"] } } : null)  
72 - </div>  
73 - </div>  
74 -</div>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/RolesToUserRoleGroups/_DeleteUserRoleGroupForm.cshtml deleted
@@ -1,27 +0,0 @@ @@ -1,27 +0,0 @@
1 -@model Vrh.Web.Membership.Areas.UserAdministration.Models.DeleteUserRoleGroupViewModel  
2 -  
3 -@if (Model != null)  
4 -{  
5 - <div id="deleteDialog">  
6 - @using (Ajax.BeginForm("DeleteUserRoleGroup", WebConst.CONTROLLER_RTURG, new { area = WebConst.AREA },  
7 - new AjaxOptions()  
8 - {  
9 - HttpMethod = "Post",  
10 - InsertionMode = InsertionMode.Replace,  
11 - UpdateTargetId = "deleteDialog",  
12 - }, new { id = "DeleteUserRoleGroupNameForm" }))  
13 - {  
14 - <div class="form-group">  
15 - @Html.DropDownListFor(x => x.SelectedUserRoleGroupId, Model.UserRoleGroups, new { @class = "form-control", size = 10, autofocus = "" })  
16 - @*@Html.ValidationMessageFor(x => x.SelectedUserRoleGroupId)*@  
17 - @Html.ValidationSummary(false)  
18 - </div>  
19 - }  
20 - </div>  
21 - <script>  
22 - // ha a modal megjelenik, és van autofocus-os elem, akkor oda teszi a fókuszt.  
23 - $('.modal').on('shown.bs.modal', function () {  
24 - $(this).find('[autofocus]').focus();  
25 - });  
26 - </script>  
27 -}  
28 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/RolesToUserRoleGroups/_EditUserRoleGroupForm.cshtml deleted
@@ -1,47 +0,0 @@ @@ -1,47 +0,0 @@
1 -@using Vrh.Web.Common.Lib;  
2 -@using VRH.Log4Pro.MultiLanguageManager;  
3 -  
4 -@model Vrh.Web.Membership.Areas.UserAdministration.Models.EditUserRoleGroupViewModel  
5 -  
6 -@if (Model != null)  
7 -{  
8 - <div id="editDialog">  
9 - @if (ViewData["UserRoleGroupOldName"] != null && ViewData["UserRoleGroupNewName"] != null)  
10 - {  
11 - <script type="text/javascript">  
12 - bootbox.alert('@Html.Raw(string.Format(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroupRenameSuccessfull)), ViewData["UserRoleGroupOldName"], ViewData["UserRoleGroupNewName"]))');  
13 - </script>  
14 - }  
15 -  
16 - @using (Ajax.BeginForm("EditUserRoleGroup", WebConst.CONTROLLER_RTURG, new { area = WebConst.AREA },  
17 - new AjaxOptions()  
18 - {  
19 - HttpMethod = "Post",  
20 - InsertionMode = InsertionMode.Replace,  
21 - UpdateTargetId = "editDialog",  
22 - }, new { id = "EditUserRoleGroupNameForm" }))  
23 - {  
24 - <div class="form-group">  
25 - @Html.LabelFor(x => x.SelectedUserRoleGroupId)  
26 - @Html.DropDownListFor(x => x.SelectedUserRoleGroupId, Model.UserRoleGroups, new { @class = "form-control", size = 10, autofocus = "" })  
27 - @Html.ValidationMessageFor(x => x.SelectedUserRoleGroupId)  
28 - </div>  
29 -  
30 - <div class="form-group">  
31 - @Html.LabelFor(x => x.NewUserRoleGroupName)  
32 - @Html.TextBoxFor(x => x.NewUserRoleGroupName, new { @class = "form-control" })  
33 - @Html.ValidationMessageFor(x => x.NewUserRoleGroupName)  
34 - </div>  
35 - if (!ViewData.ModelState.IsValid && !string.IsNullOrEmpty(Html.ValidationSummaryMessage(true)))  
36 - {  
37 - @Html.ValidationSummary(true)  
38 - }  
39 - }  
40 - </div>  
41 - <script>  
42 - // ha a modal megjelenik, és van autofocus-os elem, akkor oda teszi a fókuszt.  
43 - $('.modal').on('shown.bs.modal', function () {  
44 - $(this).find('[autofocus]').focus();  
45 - });  
46 - </script>  
47 -}  
48 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/RolesToUserRoleGroups/_NewUserRoleGroupForm.cshtml deleted
@@ -1,27 +0,0 @@ @@ -1,27 +0,0 @@
1 -@model Vrh.Web.Membership.Areas.UserAdministration.Models.NewUserRoleGroupViewModel  
2 -  
3 -@if (Model != null)  
4 -{  
5 - <div id="newDialog">  
6 - @using (Ajax.BeginForm("NewUserRoleGroup", WebConst.CONTROLLER_RTURG, new { area = WebConst.AREA },  
7 - new AjaxOptions()  
8 - {  
9 - HttpMethod = "Post",  
10 - InsertionMode = InsertionMode.Replace,  
11 - UpdateTargetId = "newDialog",  
12 - }, new { id = "NewUserRoleGroupNameForm" }))  
13 - {  
14 - <div class="form-group">  
15 - @Html.TextBoxFor(x => x.NewUserRoleGroupName, new { @class = "form-control", autofocus = "" })  
16 - @*@Html.ValidationMessageFor(x => x.NewUserRoleGroupName)*@  
17 - @Html.ValidationSummary(false)  
18 - </div>  
19 - }  
20 - </div>  
21 - <script>  
22 - // ha a modal megjelenik, és van autofocus-os elem, akkor oda teszi a fókuszt.  
23 - $('.modal').on('shown.bs.modal', function () {  
24 - $(this).find('[autofocus]').focus();  
25 - });  
26 - </script>  
27 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Views/RolesToUserRoleGroups/_RolesToUserRoleGroups.cshtml deleted
@@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager;  
2 -@using Vrh.Web.Membership.Areas.UAManyToMany.Models;  
3 -  
4 -@{  
5 - string areaName = "UAManyToMany";  
6 - string ctrlName = areaName;  
7 - if (Session["MTM"] != null)  
8 - {  
9 - Session["MTM"] = null;  
10 - }  
11 - UAManyToManySessionModel mtmSession = new UAManyToManySessionModel();  
12 - mtmSession.DefaultListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroups));  
13 - mtmSession.DefaultSelectedListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RolesInSelectedRoleGroup));  
14 - mtmSession.DefaultAvailableListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RolesNotInSelectedRoleGroup));  
15 - mtmSession.ListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.Roles));  
16 - mtmSession.SelectedListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroupsInSelectedRole));  
17 - mtmSession.AvailableListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroupsNotInSelectedRole));  
18 - Session["MTM"] = mtmSession;  
19 - Html.RenderAction("ManyToMany", ctrlName, new { area = areaName, name = "RolesToUserRoleGroups", isDefault = true });  
20 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Views/RolesToUsers/Index.cshtml deleted
@@ -1,47 +0,0 @@ @@ -1,47 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - RolesToUserRoleGroups - Index.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@using VRH.Log4Pro.MultiLanguageManager;  
7 -@using Vrh.Web.Common.Lib;  
8 -  
9 -@model CommonModel  
10 -  
11 -@{  
12 - ViewBag.Title = Html.Raw("Roles to Users");  
13 -  
14 - IHtmlString okTranslationText = Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.OK)));  
15 - IHtmlString cancelTranslationText = Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Cancel)));  
16 - IHtmlString deleteTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Delete)));  
17 - IHtmlString closeTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Close)));  
18 - IHtmlString renameTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Rename)));  
19 -  
20 - string labelUserManager = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Users));  
21 - string labelUTURG = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.UsersToRoleGroups));  
22 - string labelRoles = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Roles));  
23 -  
24 -}  
25 -  
26 -<script src="~/Scripts/jquery-ui-1.13.2.min.js"></script>  
27 -<script src="@(Url.Content(WebConst.AREA_SCRIPTSPATH + "RolesToUserRoleGroupsDialog.js"))"></script>  
28 -<script type="text/javascript">  
29 - rturgd.TitleOK = '@okTranslationText';  
30 - rturgd.TitleCancel = '@cancelTranslationText';  
31 - rturgd.TitleClose = '@cancelTranslationText';  
32 -  
33 - //$(function() {  
34 - //});  
35 -</script>  
36 -  
37 -<div class="card">  
38 - <div class="card-header">  
39 - @UserManagementHtmlHelper.AddHeader(Html, Ajax, Url, Model, ViewBag.Title.ToString()  
40 - , new List<UserManagementHtmlHelper.DisableThisButton> { UserManagementHtmlHelper.DisableThisButton.RolesToUsers })  
41 - </div>  
42 - <div class="card-body">  
43 - <div class="row">  
44 - @Html.Partial("_RolesToUsers", ViewData["id"] != null ? new ViewDataDictionary() { { "id", ViewData["id"] } } : null)  
45 - </div>  
46 - </div>  
47 -</div>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/RolesToUsers/_RolesToUsers.cshtml deleted
@@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager;  
2 -@using Vrh.Web.Membership.Areas.UAManyToMany.Models;  
3 -  
4 -@{  
5 - string areaName = "UAManyToMany";  
6 - string ctrlName = areaName;  
7 - if (Session["MTM"] != null)  
8 - {  
9 - Session["MTM"] = null;  
10 - }  
11 - UAManyToManySessionModel mtmSession = new UAManyToManySessionModel();  
12 - mtmSession.DefaultListItemsHeader = "Users";  
13 - mtmSession.DefaultSelectedListItemsHeader = "Roles of selected user";  
14 - mtmSession.DefaultAvailableListItemsHeader = "Roles that selected user does not have";  
15 - mtmSession.ListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.Roles));  
16 - mtmSession.SelectedListItemsHeader = "Users of selected role";  
17 - mtmSession.AvailableListItemsHeader = "Users that do not have the selected role";  
18 - Session["MTM"] = mtmSession;  
19 - Html.RenderAction("ManyToMany", ctrlName, new { area = areaName, name = "RolesToUsers", isDefault = true });  
20 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Views/SecondaryUser/Editor.cshtml deleted
@@ -1,77 +0,0 @@ @@ -1,77 +0,0 @@
1 -@using Vrh.Web.Common.Lib;  
2 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers  
3 -  
4 -@model SecondaryUserModel  
5 -@{  
6 - string actionName = nameof(SecondaryUserController.Editor);  
7 - object routeValues = new  
8 - {  
9 - area = WebConst.AREA  
10 - };  
11 - var ajaxOptions = new AjaxOptions()  
12 - {  
13 - InsertionMode = InsertionMode.Replace,  
14 - HttpMethod = "POST",  
15 - UpdateTargetId = MasterData.DialogBodyId(Model.BootboxId)  
16 - };  
17 - object htmlAttributes = new { id = WebConst.Ids.Form.EDITOR };  
18 -}  
19 -  
20 -@Html.Partial("ValidationSummary")  
21 -  
22 -@using (Ajax.BeginForm(actionName, WebConst.CONTROLLER_SU, routeValues, ajaxOptions, htmlAttributes))  
23 -{  
24 - @Html.AntiForgeryToken()  
25 - @Html.HiddenFor(x => x.BootboxId)  
26 - @Html.HiddenFor(x => x.EditMode)  
27 - @Html.HiddenFor(x => x.RequestedFunctionId)  
28 - @Html.HiddenFor(x => x.RequestedFunctionName)  
29 -  
30 - @Html.HiddenFor(x => x.SecondaryUserId)  
31 -  
32 - <div class="row">  
33 - <div class="col-5 form-group">  
34 - @Html.LabelFor(x => x.SecondaryFunctionId)  
35 - @Html.DropDownListFor(x => x.SecondaryFunctionId, Model.SecondaryFunctionList)  
36 - @Html.ValidationMessageFor(x => x.SecondaryFunctionId)  
37 - </div>  
38 - <div class="col-5 form-group">  
39 - @Html.LabelFor(x => x.UserID)  
40 - @Html.DropDownListFor(x => x.UserID, Model.UserList)  
41 - @Html.ValidationMessageFor(x => x.UserID)  
42 - </div>  
43 - <div class="col-2 form-group checkbox">  
44 - <label>  
45 - @Html.DisplayNameFor(x => x.SecondaryUserActive)  
46 - @Html.CheckBoxFor(x => x.SecondaryUserActive, new { @class = "form-control mt-2" })  
47 - </label>  
48 - </div>  
49 - </div>  
50 -  
51 - <div class="row">  
52 - <div class="col-6 form-group">  
53 - @Html.LabelFor(x => x.SecondaryUserName)  
54 - @Html.TextBoxFor(x => x.SecondaryUserName)  
55 - @Html.ValidationMessageFor(x => x.SecondaryUserName)  
56 - </div>  
57 - <div class="col-6 form-group">  
58 - @Html.LabelFor(x => x.SecondaryUserPassword)  
59 - @Html.TextBoxFor(x => x.SecondaryUserPassword)  
60 - @Html.ValidationMessageFor(x => x.SecondaryUserPassword)  
61 - </div>  
62 - </div>  
63 -}  
64 -<script type="text/javascript">  
65 - /*##### EVENTS #####*/  
66 - $(function () {  
67 - 'use strict';  
68 -  
69 - //var thisfn = 'MultiLanguageManager.Editor.cshtml: ready event: ';  
70 - //console.log(thisfn + 'PING');  
71 -  
72 - vrhct.masterdata.addClass('#@(Model.BootboxId)','input[type=text],textarea,select');  
73 -  
74 - //console.log(thisfn + 'END');  
75 - }); // $(document).ready END  
76 - /*##### EVENTS END #####*/  
77 -</script>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/SecondaryUser/Manager.cshtml deleted
@@ -1,159 +0,0 @@ @@ -1,159 +0,0 @@
1 -@*  
2 - -------------------------------------  
3 - SecondaryUser - Manager.cshtml  
4 - -------------------------------------  
5 -*@  
6 -  
7 -@using VRH.Log4Pro.MultiLanguageManager  
8 -@using Vrh.Web.Common.Lib  
9 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers  
10 -  
11 -@model SecondaryUserModel  
12 -  
13 -@{  
14 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.SecondaryUsers))).ToString();  
15 -  
16 - int[] tableToolsExportColumnIndexes = new int[] { 0, 1, 2, 3, 4 };  
17 -}  
18 -@Styles.Render(WebConst.BUNDLES_STYLE_FOR_SECONDARYUSER)  
19 -@Scripts.Render(WebConst.BUNDLES_SCRIPT_FOR_SECONDARYUSER)  
20 -  
21 -<div class="card">  
22 - <div class="card-header" style="padding-bottom:0.1rem;">  
23 - @UserManagementHtmlHelper.AddHeader(Html, Ajax, Url, Model, (string)ViewBag.Title  
24 - , new List<UserManagementHtmlHelper.DisableThisButton> { UserManagementHtmlHelper.DisableThisButton.SecondaryUsers }  
25 - , Model.EditMode, null,null,  
26 - @<text>  
27 - @if (Model.EditMode == EditModes.Manage)  
28 - {  
29 -<button type="button" class="btn btn-success mb-1" id="@(WebConst.Ids.Button.EDISF)"  
30 - onclick="vrhsls.SecondaryFunctionManage()">@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.FunctionManage)))</button>  
31 - }  
32 - </text>  
33 - )  
34 - </div><!--class="card-header"-->  
35 - <div class="card-body px-0">  
36 - <div class="row mb-1" style="margin-top:-15px;">  
37 - <div class="col d-md-flex justify-content-md-start">  
38 - @if (Model.EditMode != EditModes.Select)  
39 - {  
40 - <button type="button" class="btn btn-success mb-1" id="@(WebConst.Ids.Button.ADDSL)"  
41 - onclick="vrhsls.Edit(@(Constants.ID_NOVALID))">  
42 - @(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.SecondaryUserAdd)))  
43 - </button>  
44 - }  
45 - </div>  
46 - </div>  
47 - <div class="table-responsive">  
48 - <table id="@(WebConst.Ids.SL_TABLE)" class="table table-sm table-striped table-bordered table-dark table-hover" style="width:100%;">  
49 - <thead>  
50 - <tr>  
51 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Function)))</th>  
52 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.PrimaryName)))</th>  
53 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.SecondaryName)))</th>  
54 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.SecondaryPassword)))</th>  
55 - <th class="text-center">@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Active)))</th>  
56 - <th></th>  
57 - </tr>  
58 - </thead>  
59 - <tbody></tbody>  
60 - <tfoot></tfoot>  
61 - </table>  
62 - </div>  
63 - </div>  
64 - @*Ide kell tenni a drop-down szűrő listákat, és majd a javascript beteszi*@  
65 - <div hidden>  
66 - @Html.DropDownList(WebConst.Ids.Input.FILTERFUNCTION, Model.SecondaryFunctionList)  
67 - </div>  
68 - <div hidden>  
69 - @Html.DropDownList(WebConst.Ids.Input.FILTERUSER, Model.UserList)  
70 - </div>  
71 - <div hidden>  
72 - @Html.DropDownList(WebConst.Ids.Input.FILTERACTIVE, Model.ActiveList)  
73 - </div>  
74 -</div>  
75 -@*<iframe id="myFrame" style="display:none"></iframe>*@ @*Nem fog ez kelleni, nemtom miért volt itt.*@  
76 -@*  
77 - -------------------------------------  
78 - SecondaryUser - Manager.cshtml  
79 - -------------------------------------  
80 -*@  
81 -@section Scripts {  
82 - <script type="text/javascript">  
83 -@if (!ViewData.ModelState.IsValid && !string.IsNullOrEmpty(Html.ValidationSummaryMessage(true)))  
84 -{  
85 - <text>  
86 - bootbox.alert({  
87 - size: 'large',  
88 - message: '@Html.Raw(Html.ValidationSummaryMessage(true).Trim().Replace(System.Environment.NewLine, WebCommon.HTML_NEWLINE).Replace("\n", WebCommon.HTML_NEWLINE).Replace("\r", WebCommon.HTML_NEWLINE))'  
89 - });  
90 - </text>  
91 -}  
92 - /**  
93 - * A SecondaryUserScript (SecondaryUser.js) számára küldendő értékek.  
94 - * Ezeket a kódban állandóként (constansként) érdemes kezelni.  
95 - */  
96 - var vrhsls = new SecondaryUserScript({  
97 - Confirmations: {  
98 - SecondaryUserDelete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Confirmations.SecondaryUserDelete)))',  
99 - },  
100 - Data: {  
101 - FunctionName: '@(nameof(SecondaryUserCols.FunctionName))',  
102 - PrimaryName: '@(nameof(SecondaryUserCols.UserName))',  
103 - SecondaryName: '@(nameof(SecondaryUserCols.Name))',  
104 - SecondaryPassword: '@(nameof(SecondaryUserCols.Password))',  
105 - Active: '@(nameof(SecondaryUserCols.Active))'  
106 - },  
107 - EditMode: {  
108 - Current: '@Model.EditMode',  
109 - Select: '@EditModes.Select',  
110 - Add: '@EditModes.Add',  
111 - Delete: '@EditModes.Delete',  
112 - Manage: '@EditModes.Manage',  
113 - },  
114 - Ids: {  
115 - Form: {  
116 - Editor: '@(WebConst.Ids.Form.EDITOR)'  
117 - },  
118 - Input: {  
119 - FilterFunction: '@(WebConst.Ids.Input.FILTERFUNCTION)',  
120 - FilterUser: '@(WebConst.Ids.Input.FILTERUSER)',  
121 - FilterActive: '@(WebConst.Ids.Input.FILTERACTIVE)',  
122 - },  
123 - Table: '@(WebConst.Ids.SL_TABLE)',  
124 - },  
125 - Labels: {  
126 - Cancel: '@(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Cancel)))',  
127 - OK: '@(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.OK)))',  
128 - No: '@(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.No)))',  
129 - Yes: '@(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Yes)))',  
130 - Button: {  
131 - FunctionManage: '@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.FunctionManage)))'  
132 - },  
133 - },  
134 - LCID: '@(Model.LCID)',  
135 - Messages: {  
136 - Wait: '@(Model.Trans(typeof(GeneralWordCodes.MLM.General.Messages.PleaseWait)))',  
137 - },  
138 - Titles: {  
139 - Confirmation: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Titles.Confirmation)))',  
140 - OperationProgress: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Titles.Progress)))',  
141 - SecondaryUserAdd: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.SecondaryUserAdd)))',  
142 - SecondaryUserEdit: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.SecondaryUserEdit)))',  
143 - SecondaryUserDelete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.SecondaryUserDelete)))',  
144 - },  
145 - Url: {  
146 - Editor: '@Url.Action(nameof(SecondaryUserController.Editor), WebConst.CONTROLLER_SU, new { area = WebConst.AREA, editMode = Model.EditMode, function = Model.RequestedFunctionName })',  
147 - Delete: '@Url.Action(nameof(SecondaryUserController.Delete), WebConst.CONTROLLER_SU, new { area = WebConst.AREA, editMode = Model.EditMode })',  
148 - GetData: '@Url.Action("GetData", WebConst.CONTROLLER_SU, new { area = WebConst.AREA, editMode = Model.EditMode })',  
149 - Manage: '@Url.Action(nameof(SecondaryUserController.SecondaryFunction), WebConst.CONTROLLER_SU, new { area = WebConst.AREA, editMode = Model.EditMode })',  
150 - }  
151 - });  
152 - </script>  
153 -}  
154 -@*  
155 - -------------------------------------  
156 - SecondaryUser - Manager.cshtml  
157 - -------------------------------------  
158 -*@  
159 -  
Vrh.Web.Reporting/Areas/UserAdministration/Views/SecondaryUser/SecondaryFunction.cshtml deleted
@@ -1,118 +0,0 @@ @@ -1,118 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - SecondaryUser - SecondaryFunction.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -  
7 -@using VRH.Log4Pro.MultiLanguageManager  
8 -@using Vrh.Web.Common.Lib  
9 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers  
10 -  
11 -@model SecondaryUserModel  
12 -@{  
13 - string areaName = (string)ViewContext.RouteData.DataTokens["area"];  
14 - string controllerName = (string)ViewContext.RouteData.DataTokens["controller"];  
15 - object routeVal = new { area = areaName, editMode = Model.EditMode };  
16 -  
17 - string dataNewInputId = "newdatainputid";  
18 - string dataRowsPlaceId = "datarowsplaceid";  
19 -}  
20 -  
21 -<style>  
22 -</style>  
23 -@*  
24 - -----------------------------------------  
25 - SecondaryUser - SecondaryFunction.cshtml  
26 - -----------------------------------------  
27 -*@  
28 -<h2>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.FunctionManage)))</h2>  
29 -<div class="table-responsive" style="max-height:500px;overflow-y:auto;">  
30 - <table class="table table-sm table-dark table-hover">  
31 - <thead>  
32 - <tr>  
33 - <th style="text-align:right;width:30px;">#</th>  
34 - <th>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Function)))</th>  
35 - </tr>  
36 - </thead>  
37 - <tbody id="@(dataRowsPlaceId)"></tbody>  
38 - </table>  
39 -</div>  
40 -<table class="table" style="margin-bottom:0px;">  
41 - <tr>  
42 - <td>  
43 - @if (Model.EditMode != EditModes.Select)  
44 - {  
45 - <div class="input-group" style="width:300px;">  
46 - <input id="@(dataNewInputId)" class="form-control" />  
47 - <span class="input-group-btn">  
48 - <button type="button" class="btn btn-success ml-1" onclick="handler.addData();">  
49 - @(Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Add))))  
50 - </button>  
51 - </span>  
52 - </div>  
53 - }  
54 - </td>  
55 - <td style="text-align:right;">  
56 - <button type="button" class="btn btn-secondary" style="" onclick="vrhct.bootbox.hide('@(Model.BootboxId)');">  
57 - @(Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Cancel))))  
58 - </button>  
59 - </td>  
60 - </tr>  
61 -</table>  
62 -  
63 -<script type="text/javascript">  
64 - var handler;  
65 - $(document).ready(function () {  
66 - 'use strict';  
67 - var thisfn = 'SecondaryFunction.cshtml: document.ready: ';  
68 - console.log(thisfn + 'PING');  
69 -  
70 - handler = new VrhIdNameHandler({  
71 - Confirm: {  
72 - Delete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Confirmations.SecondaryFunctionDelete)))'  
73 - },  
74 - EditMode: {  
75 - Current: '@Model.EditMode',  
76 - Select: '@EditModes.Select',  
77 - Add: '@EditModes.Add',  
78 - Delete: '@EditModes.Delete',  
79 - Manage: '@EditModes.Manage',  
80 - },  
81 - Id: {  
82 - Editor: '@(Model.BootboxId)',  
83 - DataRows: '@(dataRowsPlaceId)',  
84 - DataNew: '@(dataNewInputId)',  
85 - },  
86 - Label: {  
87 - Button: {  
88 - No: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.No)))',  
89 - Yes: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Yes)))',  
90 - },  
91 - Data: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Function)))',  
92 - },  
93 - LCID: '@(Model.LCID)',  
94 - Message: {  
95 - Delete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Warnings.SecondaryFunctionDelete)))',  
96 - Wait: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Messages.PleaseWait)))',  
97 - },  
98 - Title: {  
99 - Confirm: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Titles.Confirmation)))',  
100 - IconPencil: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.SecondaryFunctionEdit)))',  
101 - IconTrash: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.SecondaryFunctionDelete)))',  
102 - },  
103 - Url: {  
104 - Add: '@Html.Raw(Url.Action(nameof(SecondaryUserController.SecondaryFunctionAdd), controllerName, routeVal))',  
105 - Delete: '@Html.Raw(Url.Action(nameof(SecondaryUserController.SecondaryFunctionDelete), controllerName, routeVal))',  
106 - List: '@Html.Raw(Url.Action(nameof(SecondaryUserController.SecondaryFunctionList), controllerName, routeVal))',  
107 - Update: '@Html.Raw(Url.Action(nameof(SecondaryUserController.SecondaryFunctionUpdate), controllerName, routeVal))'  
108 - }  
109 - });  
110 - console.log(thisfn + 'handler=', handler);  
111 - });// $(document).ready event VÉGE  
112 -</script>  
113 -  
114 -@*  
115 - -----------------------------------------  
116 - SecondaryUser - SecondaryFunction.cshtml  
117 - -----------------------------------------  
118 -*@  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Shared/ErrorList.cshtml deleted
@@ -1,27 +0,0 @@ @@ -1,27 +0,0 @@
1 -@*  
2 - ---------------------------------------------  
3 - Membership - ErrorList.cshtml  
4 - ---------------------------------------------  
5 -*@  
6 -  
7 -@model List<string>  
8 -  
9 -<div class="card" style="margin-top: .5rem">  
10 - <div class="card-header">  
11 - <h3>@Html.Raw(String.IsNullOrWhiteSpace(ViewBag.Head) ? (String.IsNullOrWhiteSpace(ViewBag.Title) ? "Error" : ViewBag.Title) : ViewBag.Head)</h3>  
12 - </div>  
13 - <div class="card-body">  
14 - @if (Model != null && Model.Count() > 0)  
15 - {  
16 - foreach (var mess in Model)  
17 - {  
18 - <div>@Html.Raw(mess)</div>  
19 - }  
20 - }  
21 - </div>  
22 -</div>  
23 -@*  
24 - ---------------------------------------------  
25 - Membership - ErrorList.cshtml  
26 - ---------------------------------------------  
27 -*@  
Vrh.Web.Reporting/Areas/UserAdministration/Views/Shared/ValidationSummary.cshtml deleted
@@ -1,11 +0,0 @@ @@ -1,11 +0,0 @@
1 -@using Vrh.Web.Common.Lib;  
2 -  
3 -@if (!ViewData.ModelState.IsValid && !string.IsNullOrEmpty(Html.ValidationSummaryMessage(true)))  
4 -{  
5 - <script type="text/javascript">  
6 - bootbox.alert({  
7 - size: 'large',  
8 - message: '@Html.Raw(Html.ValidationSummaryMessage(true).Trim().Replace(System.Environment.NewLine, WebCommon.HTML_NEWLINE).Replace("\n", WebCommon.HTML_NEWLINE).Replace("\r", WebCommon.HTML_NEWLINE))'  
9 - });  
10 - </script>  
11 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Views/User/Editor.cshtml deleted
@@ -1,149 +0,0 @@ @@ -1,149 +0,0 @@
1 -@using Vrh.Web.Common.Lib;  
2 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers  
3 -  
4 -@model UserEditorModel  
5 -@{  
6 - string actionName = nameof(UserController.Editor);  
7 - object routeValues = new  
8 - {  
9 - area = WebConst.AREA  
10 - };  
11 - var ajaxOptions = new AjaxOptions()  
12 - {  
13 - InsertionMode = InsertionMode.Replace,  
14 - HttpMethod = "POST",  
15 - UpdateTargetId = MasterData.DialogBodyId(Model.BootboxId)  
16 - };  
17 - object htmlAttributes = new { id = WebConst.Ids.Form.USEREDITOR };  
18 -}  
19 -  
20 -@if (Model.UserId != null)  
21 -{ // csak módosításkor van értelme  
22 - <div class="row">  
23 - <div class="col-4">  
24 - <label>  
25 - @Model.Trans(typeof(WordCodes.MvcMembership.Labels.CreateDate))  
26 - </label><br />  
27 - @Model.CreateDate  
28 - </div>  
29 - <div class="col-4">  
30 - <label>  
31 - @Model.Trans(typeof(WordCodes.MvcMembership.Labels.LastLogin))  
32 - </label><br />  
33 - @Model.LastLoginDate  
34 - </div>  
35 - <div class="col-4">  
36 - <label>  
37 - @Model.Trans(typeof(WordCodes.MvcMembership.Labels.LastActivity))  
38 - </label><br />  
39 - @Model.LastActivityDate  
40 - </div>  
41 - </div>  
42 -}  
43 -  
44 -@Html.Partial(WebConst.VALIDATIONSUMMARY)  
45 -  
46 -@using (Ajax.BeginForm(actionName, WebConst.CONTROLLER_USER, routeValues, ajaxOptions, htmlAttributes))  
47 -{  
48 - @Html.AntiForgeryToken()  
49 - @Html.HiddenFor(x => x.BootboxId)  
50 - @Html.HiddenFor(x => x.EditMode)  
51 - @Html.HiddenFor(x => x.IsFirstOrYourself)  
52 - @Html.HiddenFor(x => x.UserId)  
53 -  
54 - <div class="row">  
55 - <div class="col-9 form-group">  
56 - @Html.LabelFor(x => x.UserName)  
57 - @if (Model.UserId == null)  
58 - {  
59 - @Html.TextBoxFor(x => x.UserName)  
60 - }  
61 - else  
62 - {  
63 - @Html.TextBoxFor(x => x.UserName, new { @readonly = "" })  
64 - }  
65 - @Html.ValidationMessageFor(x => x.UserName)  
66 - </div>  
67 -  
68 - @*<div class="col-3 form-group checkbox text-center">  
69 - <label class="form-check-label" for="@(nameof(UserEditorModel.IsApproved))">  
70 - @(Model.Trans(typeof(WordCodes.MvcMembership.Labels.UserApprove)))  
71 - </label>  
72 - <input class="form-check-input"  
73 - type="checkbox"  
74 - id="@(nameof(UserEditorModel.IsApproved))"  
75 - name="@(nameof(UserEditorModel.IsApproved))"  
76 - value="@(Model.IsApproved.ToString().ToLower())">  
77 - @Html.ValidationMessageFor(x => x.IsApproved)  
78 - </div>*@  
79 -  
80 - <div class="col-3 form-group checkbox text-center">  
81 - <label class="form-check-label" for="@(nameof(UserEditorModel.IsApproved))">  
82 - @(Model.Trans(typeof(WordCodes.MvcMembership.Labels.UserApprove)))  
83 - </label>  
84 - @if (Model.IsFirstOrYourself)  
85 - {  
86 - @Html.CheckBoxFor(x => x.IsApproved, new { @class = "form-check-input", @disabled = "" })  
87 - }  
88 - else  
89 - {  
90 - @Html.CheckBoxFor(x => x.IsApproved, new { @class = "form-check-input" })  
91 - }  
92 - </div>  
93 - </div>  
94 -  
95 - <div class="row">  
96 - <div class="col-9 form-group">  
97 - @Html.LabelFor(x => x.Email)  
98 - @Html.TextBoxFor(x => x.Email)  
99 - @Html.ValidationMessageFor(x => x.Email)  
100 - </div>  
101 - </div>  
102 -  
103 - if (Model.UserId == null)  
104 - { // felvitel  
105 - <div class="row">  
106 - <div class="col-6 form-group">  
107 - @Html.LabelFor(x => x.Password)  
108 - @Html.PasswordFor(x => x.Password)  
109 - @Html.ValidationMessageFor(x => x.Password)  
110 - </div>  
111 - <div class="col-6 form-group">  
112 - @Html.LabelFor(x => x.ConfirmPassword)  
113 - @Html.PasswordFor(x => x.ConfirmPassword)  
114 - @Html.ValidationMessageFor(x => x.ConfirmPassword)  
115 - </div>  
116 - </div>  
117 - }  
118 -  
119 - <div class="row">  
120 - <div class="col form-group">  
121 - @Html.LabelFor(x => x.Comment)  
122 - @Html.TextAreaFor(x => x.Comment)  
123 - @Html.ValidationMessageFor(x => x.Comment)  
124 - </div>  
125 - </div>  
126 -}  
127 -<script type="text/javascript">  
128 - /*##### EVENTS #####*/  
129 - $(function () {  
130 - 'use strict';  
131 -  
132 - //var thisfn = 'UserController.Editor.cshtml: ready event: ';  
133 - //console.log(thisfn + 'PING'); Constants.Ids.Form.USEREDITOR  
134 -  
135 - //vrhct.masterdata.addClass('#@(Model.BootboxId)','input[type=text],input[type=checkbox],input[type=password],input[type=email],textarea,select');  
136 - vrhct.masterdata.addClass('#@(WebConst.Ids.Form.USEREDITOR)','input[type=text],input[type=checkbox],input[type=password],input[type=email],textarea,select');  
137 -  
138 - @if (Model.EditMode == EditModes.Select)  
139 - {  
140 - <text>  
141 - $('#IsApproved').attr('disabled', "");  
142 - $('#Email').attr('readonly', "");  
143 - $('#Comment').attr('readonly', "");  
144 - </text>  
145 - }  
146 - //console.log(thisfn + 'END');  
147 - }); // $(document).ready END  
148 - /*##### EVENTS END #####*/  
149 -</script>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/User/EditorWithLayout.cshtml deleted
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -@model UserEditorModel  
2 -  
3 -<div class="card">  
4 - <div class="card-body">  
5 - @Html.Partial(WebConst.Views.EDITOR, Model)  
6 - </div>  
7 -</div>  
8 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/User/Manager.cshtml deleted
@@ -1,179 +0,0 @@ @@ -1,179 +0,0 @@
1 -@*  
2 - -------------------------------------  
3 - User - Manager.cshtml  
4 - -------------------------------------  
5 -*@  
6 -  
7 -@using VRH.Log4Pro.MultiLanguageManager  
8 -@using Vrh.Web.Common.Lib;  
9 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers  
10 -  
11 -@model UserManagerModel  
12 -  
13 -@{  
14 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserManagement))).ToString();  
15 -  
16 - int[] tableToolsExportColumnIndexes = new int[] { 0, 1, 2, 3, 4, 5 };  
17 - string labelUTURGLink = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.UsersToRoleGroups));  
18 - string labelRTURGLink = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.RolesToRoleGroups));  
19 -}  
20 -@Styles.Render(WebConst.BUNDLES_STYLE_FOR_USER)  
21 -@Scripts.Render(WebConst.BUNDLES_SCRIPT_FOR_USER)  
22 -  
23 -<div class="card mb">  
24 - <div class="card-header" style="padding-bottom:0.1rem;">  
25 - @UserManagementHtmlHelper.AddHeader(Html, Ajax, Url, Model, (string)ViewBag.Title  
26 - , new List<UserManagementHtmlHelper.DisableThisButton> { UserManagementHtmlHelper.DisableThisButton.Users }  
27 - , Model.EditMode, null, null,  
28 - @<text>  
29 - @if (Model.EditMode == EditModes.Manage)  
30 - {  
31 - <div>  
32 - <button type="button" class="btn btn-success mb-1" id="@(WebConst.Ids.Button.ROLEGROUPMANAGE)"  
33 - title="@(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RoleGroupManagement)))"  
34 - onclick="vrhusman.RoleGroupManage()">  
35 - @(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.RoleGroups)))  
36 - </button>  
37 - <button type="button" class="btn btn-success mb-1" id="@(WebConst.Ids.Button.ROLEMANAGE)"  
38 - title="@(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RoleManagement)))"  
39 - onclick="vrhusman.RoleManage()">  
40 - @(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Roles)))  
41 - </button>  
42 - </div>  
43 - }  
44 - </text>)  
45 -  
46 - </div><!--class="card-header"-->  
47 - <div class="card-body px-0">  
48 - <div class="row mb-1" style="margin-top:-15px;">  
49 - <div class="col d-md-flex justify-content-md-start">  
50 - <div class="custom-control custom-checkbox mr-3">  
51 - <input class="custom-control-input"  
52 - type="checkbox" value="" id="@(WebConst.Ids.Input.CHECKBOXTEMP)"  
53 - onchange="vrhusman.ChangeTemporary();">  
54 - <label class="custom-control-label" style="font-size:medium;" for="@(WebConst.Ids.Input.CHECKBOXTEMP)">  
55 - @(Model.Trans(typeof(WordCodes.MvcMembership.Labels.TemporaryUsers)))  
56 - </label>  
57 - </div>  
58 - @if (Model.EditMode != EditModes.Select)  
59 - {  
60 - <button type="button" class="btn btn-success mb-1" style="margin-right :5px;" id="@(WebConst.Ids.Button.ADDUSER)"  
61 - onclick="vrhusman.Edit(null)">  
62 - @(Model.Trans(typeof(WordCodes.MvcMembership.User.CreateNewUser)))  
63 - </button>  
64 - }  
65 - </div>  
66 - </div>  
67 - <div class="table-responsive">  
68 - <table id="@(WebConst.Ids.USER_TABLE)" class="table table-sm table-striped table-bordered table-dark table-hover" style="width:100%;">  
69 - <thead>  
70 - <tr>  
71 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.User.UserName)))</th>  
72 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.User.EmailAddress)))</th>  
73 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.User.LastLogIn)))</th>  
74 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.User.LastActivity)))</th>  
75 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.User.Description)))</th>  
76 - <th>@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Status)))</th>  
77 - <th></th>  
78 - </tr>  
79 - </thead>  
80 - <tbody></tbody>  
81 - <tfoot></tfoot>  
82 - </table>  
83 - </div>  
84 - </div>  
85 - @*Ide kell tenni a drop-down szűrő listákat, és majd a javascript beteszi*@  
86 - <div hidden>  
87 - @Html.DropDownList(WebConst.Ids.Input.FILTERSTATUS, Model.StatusList)  
88 - </div>  
89 -</div>  
90 -@*<iframe id="myFrame" style="display:none"></iframe>*@ @*Nem fog ez kelleni, nemtom miért volt itt.*@  
91 -@*  
92 - -------------------------------------  
93 - User - Manager.cshtml  
94 - -------------------------------------  
95 -*@  
96 -@section Scripts {  
97 - <script type="text/javascript">  
98 -@if (!ViewData.ModelState.IsValid && !string.IsNullOrEmpty(Html.ValidationSummaryMessage(true)))  
99 -{  
100 - <text>  
101 - bootbox.alert({  
102 - size: 'large',  
103 - message: '@Html.Raw(Html.ValidationSummaryMessage(true).Trim().Replace(System.Environment.NewLine, WebCommon.HTML_NEWLINE).Replace("\n", WebCommon.HTML_NEWLINE).Replace("\r", WebCommon.HTML_NEWLINE))'  
104 - });  
105 - </text>  
106 -}  
107 - /**  
108 - * A UserManagerScript (UserManager.js) számára küldendő értékek.  
109 - * Ezeket a kódban állandóként (constansként) érdemes kezelni.  
110 - */  
111 - var vrhusman = new UserManagerScript({  
112 - Confirmations: {  
113 - UserDelete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Confirmations.UserDelete)))',  
114 - },  
115 - Data: {  
116 - UserName: '@(nameof(UserManagerCols.UserName))',  
117 - Email : '@(nameof(UserManagerCols.Email))',  
118 - LastLogin: '@(nameof(UserManagerCols.LastLogin))',  
119 - LastLoginString: '@(nameof(UserManagerCols.LastLoginString))',  
120 - LastActivity: '@(nameof(UserManagerCols.LastActivity))',  
121 - Comment: '@(nameof(UserManagerCols.Comment))',  
122 - Status: '@(nameof(UserManagerCols.Status))',  
123 - },  
124 - EditMode: {  
125 - Current: '@Model.EditMode',  
126 - Select: '@EditModes.Select',  
127 - Add: '@EditModes.Add',  
128 - Delete: '@EditModes.Delete',  
129 - Manage: '@EditModes.Manage',  
130 - },  
131 - Ids: {  
132 - Form: {  
133 - UserEditor: '@(WebConst.Ids.Form.USEREDITOR)',  
134 - PasswordRenewal: '@(WebConst.Ids.Form.PASSWORDRENEVAL)',  
135 - },  
136 - Input: {  
137 - FilterStatus: '@(WebConst.Ids.Input.FILTERSTATUS)',  
138 - CheckBoxTemp: '@(WebConst.Ids.Input.CHECKBOXTEMP)',  
139 - NewPassword: '@(nameof(PasswordRenewalModel.NewPassword))',  
140 - },  
141 - Table: '@(WebConst.Ids.USER_TABLE)',  
142 - },  
143 - Labels: {  
144 - Button: {  
145 - FunctionManage: '@(Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.FunctionManage)))'  
146 - },  
147 - },  
148 - LCID: '@(Model.LCID)',  
149 - Messages: {  
150 - Wait: '@(Model.Trans(typeof(GeneralWordCodes.MLM.General.Messages.PleaseWait)))',  
151 - },  
152 - Titles: {  
153 - Confirmation: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Titles.Confirmation)))',  
154 - OperationProgress: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Titles.Progress)))',  
155 - PasswordRenewal: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.PasswordRenewal)))',  
156 - Unlock: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Unlock)))',  
157 - UserAdd: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.CreateNewUser)))',  
158 - UserEdit: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.UserEdit)))',  
159 - UserDelete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.UserDelete)))',  
160 - UserDetails: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.UserDetails)))',  
161 - },  
162 - Url: {  
163 - Editor: '@Url.Action(nameof(UserController.Editor), WebConst.CONTROLLER_USER, new { area = WebConst.AREA, editMode = Model.EditMode.ToString() })',  
164 - Delete: '@Url.Action(nameof(UserController.Delete), WebConst.CONTROLLER_USER, new { area = WebConst.AREA })',  
165 - GetData: '@Url.Action(nameof(UserController.GetData), WebConst.CONTROLLER_USER, new { area = WebConst.AREA, translationsJSON = Model.TranlationsJSON })',  
166 - PasswordRenewal: '@Url.Action(nameof(UserController.PassswordRenewal), WebConst.CONTROLLER_USER, new { area = WebConst.AREA })',  
167 - RoleGroupManage: '@Url.Action(nameof(UserController.RoleGroups), WebConst.CONTROLLER_USER, new { area = WebConst.AREA, editMode = Model.EditMode.ToString() })',  
168 - RoleManage: '@Url.Action(nameof(UserController.Roles), WebConst.CONTROLLER_USER, new { area = WebConst.AREA, editMode = Model.EditMode.ToString() })',  
169 - Unlock: '@Url.Action(nameof(UserController.Unlock), WebConst.CONTROLLER_USER, new { area = WebConst.AREA })',  
170 - }  
171 - });  
172 - </script>  
173 -}  
174 -@*  
175 - -------------------------------------  
176 - User - Manager.cshtml  
177 - -------------------------------------  
178 -*@  
179 -  
Vrh.Web.Reporting/Areas/UserAdministration/Views/User/PasswordRenewal.cshtml deleted
@@ -1,72 +0,0 @@ @@ -1,72 +0,0 @@
1 -@using Vrh.Web.Common.Lib;  
2 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers  
3 -  
4 -@model PasswordRenewalModel  
5 -@{  
6 - string actionName = nameof(UserController.PassswordRenewal);  
7 - object routeValues = new  
8 - {  
9 - area = WebConst.AREA  
10 - };  
11 - var ajaxOptions = new AjaxOptions()  
12 - {  
13 - InsertionMode = InsertionMode.Replace,  
14 - HttpMethod = "POST",  
15 - UpdateTargetId = MasterData.DialogBodyId(Model.BootboxId)  
16 - };  
17 - object htmlAttributes = new { id = WebConst.Ids.Form.PASSWORDRENEVAL };  
18 -}  
19 -<div class="row">  
20 - <div class="col">  
21 - <label>  
22 - @Model.Trans(typeof(WordCodes.MvcMembership.Labels.LastPasswordChanged))  
23 - </label>  
24 - @Model.LastPasswordChangedDate  
25 - </div>  
26 -</div>  
27 -@using (Ajax.BeginForm(actionName, WebConst.CONTROLLER_USER, routeValues, ajaxOptions, htmlAttributes))  
28 -{  
29 - @Html.AntiForgeryToken()  
30 - @Html.HiddenFor(x => x.BootboxId)  
31 - @Html.HiddenFor(x => x.UserName)  
32 -  
33 -<div class="row">  
34 - <div class="col-1 form-group checkbox text-center ml-1">  
35 - </div>  
36 - <div class="col-4 form-group checkbox text-center">  
37 - <label class="form-check-label" for="@(nameof(PasswordRenewalModel.IsGenerated))">  
38 - @(Model.Trans(typeof(WordCodes.MvcMembership.Labels.AutomaticPassword)))  
39 - </label>  
40 - @Html.CheckBoxFor(x => x.IsGenerated, new { @class = "form-check-input", @onclick = "vrhusman.PasswordGenerateChange();" })  
41 - </div>  
42 -  
43 - <div class="col-6 form-group">  
44 - @Html.LabelFor(x => x.NewPassword)  
45 - @Html.TextBoxFor(x => x.NewPassword, new { @readonly = "" })  
46 - </div>  
47 -  
48 -</div>  
49 -}  
50 -<script type="text/javascript">  
51 -@if (!ViewData.ModelState.IsValid && !string.IsNullOrEmpty(Html.ValidationSummaryMessage(true)))  
52 -{  
53 - <text>  
54 - bootbox.alert({  
55 - size: 'large',  
56 - message: '@Html.Raw(Html.ValidationSummaryMessage(true).Trim().Replace(System.Environment.NewLine, WebCommon.HTML_NEWLINE).Replace("\n", WebCommon.HTML_NEWLINE).Replace("\r", WebCommon.HTML_NEWLINE))'  
57 - });  
58 - </text>  
59 -}  
60 - /*##### EVENTS #####*/  
61 - $(function () {  
62 - 'use strict';  
63 -  
64 - //var thisfn = 'UserController.Editor.cshtml: ready event: ';  
65 - //console.log(thisfn + 'PING'); Constants.Ids.Form.USEREDITOR  
66 -  
67 - vrhct.masterdata.addClass('#@(WebConst.Ids.Form.PASSWORDRENEVAL)','input[type=text],input[type=checkbox]');  
68 -  
69 - //console.log(thisfn + 'END');  
70 - }); // $(document).ready END  
71 - /*##### EVENTS END #####*/  
72 -</script>  
Vrh.Web.Reporting/Areas/UserAdministration/Views/User/RoleGroups.cshtml deleted
@@ -1,108 +0,0 @@ @@ -1,108 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - User - RoleGroups.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@using VRH.Log4Pro.MultiLanguageManager  
7 -@using Vrh.Web.Common.Lib  
8 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers  
9 -  
10 -@model UserManagerModel  
11 -@{  
12 - object routeVal = new { area = WebConst.AREA, editMode = Model.EditMode };  
13 - string dataNewInputId = "newdatainputid-rolegroups";  
14 - string dataRowsPlaceId = "datarowsplaceid-rolegroups";  
15 -}  
16 -  
17 -@*  
18 - -----------------------------------------  
19 - User - RoleGroups.cshtml  
20 - -----------------------------------------  
21 -*@  
22 -<h2>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RoleGroupManagement)))</h2>  
23 -<div class="table-responsive" style="max-height:500px;overflow-y:auto;">  
24 - <table class="table table-sm table-dark table-hover">  
25 - <thead>  
26 - <tr>  
27 - <th style="text-align:center;width:30px;">#</th>  
28 - <th>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Labels.RoleGroupName)))</th>  
29 - </tr>  
30 - </thead>  
31 - <tbody id="@(dataRowsPlaceId)"></tbody>  
32 - </table>  
33 -</div>  
34 -<table class="table" style="margin-bottom:0px;">  
35 - <tr>  
36 - <td>  
37 - @if (Model.EditMode != EditModes.Select)  
38 - {  
39 - <div class="input-group" style="width:300px;">  
40 - <input id="@(dataNewInputId)" class="form-control" />  
41 - <span class="input-group-btn">  
42 - <button type="button" class="btn btn-success ml-1" onclick="handler.addData();">  
43 - @(Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Add))))  
44 - </button>  
45 - </span>  
46 - </div>  
47 - }  
48 - </td>  
49 - <td style="text-align:right;">  
50 - <button type="button" class="btn btn-secondary" style="" onclick="vrhct.bootbox.hide('@(Model.BootboxId)');">  
51 - @(Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Cancel))))  
52 - </button>  
53 - </td>  
54 - </tr>  
55 -</table>  
56 -  
57 -<script type="text/javascript">  
58 - var handler;  
59 - $(document).ready(function () {  
60 - 'use strict';  
61 - var thisfn = 'RoleGroups.cshtml: document.ready: ';  
62 - console.log(thisfn + 'PING');  
63 -  
64 - handler = new VrhIdNameHandler({  
65 - AllowAdd: @((Model.EditMode != EditModes.Select).ToString().ToLower()),  
66 - AllowDelete: @((Model.EditMode != EditModes.Select && Model.EditMode != EditModes.Add).ToString().ToLower()),  
67 - AllowUpdate: @((Model.EditMode != EditModes.Select).ToString().ToLower()),  
68 - Confirm: {  
69 - Delete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Confirmations.RoleGroupDelete)))'  
70 - },  
71 - Id: {  
72 - Editor: '@(Model.BootboxId)',  
73 - DataRows: '@(dataRowsPlaceId)',  
74 - DataNew: '@(dataNewInputId)',  
75 - },  
76 - Label: {  
77 - Button: {  
78 - No: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.No)))',  
79 - Yes: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Yes)))',  
80 - },  
81 - Data: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Labels.RoleGroupName)))',  
82 - },  
83 - LCID: '@(Model.LCID)',  
84 - Message: {  
85 - Delete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Warnings.RoleGroupDelete)))',  
86 - Wait: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Messages.PleaseWait)))',  
87 - },  
88 - Title: {  
89 - Confirm: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Titles.Confirmation)))',  
90 - IconPencil: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RoleGroupEdit)))',  
91 - IconTrash: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RoleGroupEdit)))',  
92 - },  
93 - Url: {  
94 - Add: '@Html.Raw(Url.Action(nameof(UserController.RoleGroupAdd), WebConst.CONTROLLER_USER, routeVal))',  
95 - Delete: '@Html.Raw(Url.Action(nameof(UserController.RoleGroupDelete), WebConst.CONTROLLER_USER, routeVal))',  
96 - List: '@Html.Raw(Url.Action(nameof(UserController.RoleGroupList), WebConst.CONTROLLER_USER, routeVal))',  
97 - Update: '@Html.Raw(Url.Action(nameof(UserController.RoleGroupUpdate), WebConst.CONTROLLER_USER, routeVal))'  
98 - }  
99 - });  
100 - console.log(thisfn + 'handler=', handler);  
101 - });// $(document).ready event VÉGE  
102 -</script>  
103 -  
104 -@*  
105 - -----------------------------------------  
106 - User - RoleGroups.cshtml  
107 - -----------------------------------------  
108 -*@  
Vrh.Web.Reporting/Areas/UserAdministration/Views/User/Roles.cshtml deleted
@@ -1,105 +0,0 @@ @@ -1,105 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - User - Roles.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@using VRH.Log4Pro.MultiLanguageManager  
7 -@using Vrh.Web.Common.Lib  
8 -@using Vrh.Web.Membership.Areas.UserAdministration.Controllers  
9 -@model UserManagerModel  
10 -@{  
11 - object routeVal = new { area = WebConst.AREA, editMode = Model.EditMode };  
12 - string dataNewInputId = "newdatainputid-roles";  
13 - string dataRowsPlaceId = "datarowsplaceid-roles";  
14 -}  
15 -@*  
16 - -----------------------------------------  
17 - User - Roles.cshtml  
18 - -----------------------------------------  
19 -*@  
20 -<h2>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RoleManagement)))</h2>  
21 -<div class="table-responsive" style="max-height:500px;overflow-y:auto;">  
22 - <table class="table table-sm table-dark table-hover">  
23 - <thead>  
24 - <tr>  
25 - @* <th style="text-align:right;width:30px;">#</th>*@  
26 - <th>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Labels.RoleName)))</th>  
27 - </tr>  
28 - </thead>  
29 - <tbody id="@(dataRowsPlaceId)"></tbody>  
30 - </table>  
31 -</div>  
32 -<table class="table" style="margin-bottom:0px;">  
33 - <tr>  
34 - <td>  
35 - @if (Model.EditMode != EditModes.Select)  
36 - {  
37 - <div class="input-group" style="width:300px;">  
38 - <input id="@(dataNewInputId)" class="form-control" />  
39 - <span class="input-group-btn">  
40 - <button type="button" class="btn btn-success ml-1" onclick="handler.addData();">  
41 - @(Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Add))))  
42 - </button>  
43 - </span>  
44 - </div>  
45 - }  
46 - </td>  
47 - <td style="text-align:right;">  
48 - <button type="button" class="btn btn-secondary" style="" onclick="vrhct.bootbox.hide('@(Model.BootboxId)');">  
49 - @(Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Cancel))))  
50 - </button>  
51 - </td>  
52 - </tr>  
53 -</table>  
54 -  
55 -<script type="text/javascript">  
56 - var handler;  
57 - $(document).ready(function () {  
58 - 'use strict';  
59 - var thisfn = 'UserController: Roles.cshtml: document.ready: ';  
60 - console.log(thisfn + 'PING');  
61 -  
62 - handler = new VrhIdNameHandler({  
63 - AllowAdd: @((Model.EditMode != EditModes.Select).ToString().ToLower()),  
64 - AllowDelete: @((Model.EditMode != EditModes.Select && Model.EditMode != EditModes.Add).ToString().ToLower()),  
65 - AllowUpdate: false,  
66 - Confirm: {  
67 - Delete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Confirmations.RoleDelete)))'  
68 - },  
69 - Id: {  
70 - Editor: '@(Model.BootboxId)',  
71 - DataRows: '@(dataRowsPlaceId)',  
72 - DataNew: '@(dataNewInputId)',  
73 - },  
74 - Label: {  
75 - Button: {  
76 - No: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.No)))',  
77 - Yes: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Words.Yes)))',  
78 - },  
79 - Data: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Labels.RoleName)))',  
80 - },  
81 - LCID: '@(Model.LCID)',  
82 - Message: {  
83 - Delete: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Warnings.RoleDelete)))',  
84 - Wait: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Messages.PleaseWait)))',  
85 - },  
86 - Title: {  
87 - Confirm: '@Html.Raw(Model.Trans(typeof(GeneralWordCodes.MLM.General.Titles.Confirmation)))',  
88 - IconPencil: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RoleEdit)))',  
89 - IconTrash: '@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Titles.RoleDelete)))',  
90 - },  
91 - Url: {  
92 - Add: '@Html.Raw(Url.Action(nameof(UserController.RoleAdd), WebConst.CONTROLLER_USER, routeVal))',  
93 - Delete: '@Html.Raw(Url.Action(nameof(UserController.RoleDelete), WebConst.CONTROLLER_USER, routeVal))',  
94 - List: '@Html.Raw(Url.Action(nameof(UserController.RoleList), WebConst.CONTROLLER_USER, routeVal))',  
95 - },  
96 - VisibleIdColumn: false,  
97 - });  
98 - console.log(thisfn + 'handler=', handler);  
99 - });// $(document).ready event VÉGE  
100 -</script>  
101 -@*  
102 - -----------------------------------------  
103 - User - Roles.cshtml  
104 - -----------------------------------------  
105 -*@  
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/CreateUser.cshtml deleted
@@ -1,66 +0,0 @@ @@ -1,66 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager;  
2 -@using Vrh.Web.Membership.Areas.UserAdministration.Models;  
3 -  
4 -@model CreateUserViewModel  
5 -  
6 -@{  
7 - ViewBag.Title = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.CreateNewUser)));  
8 -}  
9 -  
10 -@section Styles {  
11 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
12 -}  
13 -  
14 -<div class="card">  
15 - <div class="card-header">  
16 - <h1 class="card-title mvcMembership">@ViewBag.Title</h1>  
17 - </div>  
18 - <div class="card-body mvcMembership-account">  
19 - @using (Html.BeginForm("CreateUser", WebConst.CONTROLLER_UA))  
20 - {  
21 - @Html.ValidationSummary(true)  
22 - <div class="row">  
23 - <div class="col-4">  
24 - <div class="form-group">  
25 - @Html.LabelFor(m => m.Username)  
26 - @Html.TextBoxFor(m => m.Username, new { @class = "form-control", required = "" })  
27 - @Html.ValidationMessageFor(m => m.Username)  
28 - </div>  
29 -  
30 - <div class="form-group">  
31 - @Html.LabelFor(m => m.Password)  
32 - @Html.PasswordFor(m => m.Password, new { @class = "form-control", required = "" })  
33 - @Html.ValidationMessageFor(m => m.Password)  
34 - </div>  
35 -  
36 - <div class="form-group">  
37 - @Html.LabelFor(m => m.ConfirmPassword)  
38 - @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control", required = "" })  
39 - @Html.ValidationMessageFor(m => m.ConfirmPassword)  
40 - </div>  
41 -  
42 - <div class="form-group">  
43 - @Html.LabelFor(m => m.Email)  
44 - @Html.TextBoxFor(m => m.Email, new { @class = "form-control", type = "email"})  
45 - @Html.ValidationMessageFor(m => m.Email)  
46 - </div>  
47 - </div>  
48 - <div class="col-8">  
49 - <h3 class="mvcMembership">@Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.AvailableRoleGroups)))</h3>  
50 - @for (var i = 0; (Model.UserRoleGroups != null && i < Model.UserRoleGroups.Count); i++)  
51 - {  
52 - var role = Model.UserRoleGroups.ElementAt(i);  
53 - <div>  
54 - <input name="UserRoleGroups[@i].Key" type="hidden" value="@role.Key" />  
55 - <label>@Html.CheckBox("UserRoleGroups[" + i + "].Value", role.Value) @role.Key</label>  
56 - </div>  
57 - }  
58 -  
59 - <p>  
60 - <input type="submit" class="btn btn-success" value="@Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.Common.Create)))" />  
61 - </p>  
62 - </div>  
63 - </div>  
64 - }  
65 - </div>  
66 -</div>  
67 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/Details.cshtml deleted
@@ -1,144 +0,0 @@ @@ -1,144 +0,0 @@
1 -@using System.Globalization;  
2 -@using VRH.Log4Pro.MultiLanguageManager;  
3 -@using Vrh.Web.Membership.Areas.UserAdministration.Models;  
4 -  
5 -@model DetailsViewModel  
6 -@{  
7 - IHtmlString lastActivityTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.LastActivity)));  
8 - IHtmlString lastLogInTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.LastLogIn)));  
9 - IHtmlString neverTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Never)));  
10 -  
11 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.WUser))) + ": " + Model.DisplayName + " [" + Html.Raw(Model.Trans(DetailsViewModel.GetStatusWordCode(Model.Status))) + "]";  
12 -}  
13 -  
14 -@section Styles {  
15 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
16 -}  
17 -  
18 -<div class="card">  
19 - <div class="card-header">  
20 - <h1 class="card-title mvcMembership">@ViewBag.Title</h1>  
21 - </div>  
22 - <div class="card-body">  
23 -  
24 - <div class="row">  
25 - <ul class="mvcMembership-tabs ml-2">  
26 - <li>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Details)))</li>  
27 - <li>@Html.ActionLink(Model.Trans(typeof(WordCodes.MvcMembership.User.Password)), "Password", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey, tabPage = 1 }, null)</li>  
28 - @if (Model.IsRolesEnabled)  
29 - {  
30 - <li>@Html.ActionLink(Model.Trans(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroups)), "UsersRoles", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }, null)</li>  
31 - }  
32 - </ul>  
33 - </div>  
34 -  
35 - <div class="row">  
36 - @*<td style="vertical-align: top; width: Auto;">*@  
37 - <div class="col-lg-5">  
38 - <h2 class="mvcMembership">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Access)))</h2>  
39 - <div class="mvcMembership-account">  
40 - <dl class="mvcMembership">  
41 - <dt>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserName))):</dt>  
42 - <dd>@Model.User.UserName</dd>  
43 - <dt>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.EmailAddress))):</dt>  
44 - <dd>  
45 - @if (!string.IsNullOrEmpty(Model.User.Email))  
46 - {  
47 - <a href="mailto:@Model.User.Email">@Model.User.Email</a>  
48 - }  
49 - else  
50 - {  
51 - @:-  
52 - }  
53 - </dd>  
54 - @*@if (Model.User.LastActivityDate == Model.User.CreationDate)*@  
55 - @if (Model.User.LastActivityDate.Equals(Global.NEVERONLINE))  
56 - {  
57 - <dt>@lastActivityTranslationText:</dt>  
58 - <dd><em>@neverTranslationText</em></dd>  
59 - <dt>@lastLogInTranslationText:</dt>  
60 - <dd><em>@neverTranslationText</em></dd>  
61 - }  
62 - else  
63 - {  
64 - <dt>@lastActivityTranslationText:</dt>  
65 - @*<dd>@Model.User.LastActivityDate.ToString("MMMM dd, yyyy h:mm:ss tt", CultureInfo.InvariantCulture)</dd>*@  
66 - <dd>@Model.User.LastActivityDate.ToString("yyyy MM dd, h:mm:ss", CultureInfo.InvariantCulture)</dd>  
67 - <dt>@lastLogInTranslationText:</dt>  
68 - @*<dd>@Model.User.LastLoginDate.ToString("MMMM dd, yyyy h:mm:ss tt", CultureInfo.InvariantCulture)</dd>*@  
69 - <dd>@Model.User.LastLoginDate.ToString("yyyy MM dd, h:mm:ss", CultureInfo.InvariantCulture)</dd>  
70 - }  
71 - <dt>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.RegisterDate))):</dt>  
72 - @*<dd>@Model.User.CreationDate.ToString("MMMM dd, yyyy h:mm:ss tt", CultureInfo.InvariantCulture)</dd>*@  
73 - <dd>@Model.User.CreationDate.ToString("yyyy MM dd, h:mm:ss", CultureInfo.InvariantCulture)</dd>  
74 - </dl>  
75 - @if (Model.User.UserName != Constants.USERNAME_ADMINISTRATOR && Model.User.UserName != User.Identity.Name)  
76 - { // !!! Az 'Admin'-t és saját magát ne tudja letiltani !!!  
77 - using (Html.BeginForm("ChangeApproval", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }))  
78 - {  
79 - @Html.Hidden("isApproved", !Model.User.IsApproved)  
80 - <input type="submit" class="btn btn-danger mt-2"  
81 - value='@(Model.User.IsApproved ? Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.AccessDenied))) : Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.AccessGranted))))' />  
82 - }  
83 - string prefixWR = LoginTypes.WebReq.ToString() + "_";  
84 - string prefixAD = LoginTypes.AD.ToString() + "_";  
85 - if (Model.User.UserName.StartsWith(prefixAD) || Model.User.UserName.StartsWith(prefixWR))  
86 - {  
87 - <button type="button" class="btn btn-danger mt-2" onclick="deleteUserInDetails('@(Model.User.ProviderUserKey)');">  
88 - @(Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Delete))))  
89 - </button>  
90 - }  
91 - }  
92 -  
93 - </div> <!-- class="mvcMembership-account" -->  
94 - </div> <!-- class="col-6" -->  
95 - @*<td style="width: 5%;"></td>*@  
96 - @*<td style="vertical-align:top; width: Auto;">*@  
97 -  
98 - <div class="col-md-7">  
99 - <h3 class="mvcMembership">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.EmailAddressAndDescription)))</h3>  
100 - <div class="mvcMembership-emailAndComments">  
101 - @using (Html.BeginForm("Details", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }))  
102 - {  
103 - @*<fieldset>*@  
104 - <p>  
105 - <label for="email">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.EmailAddress))):</label>  
106 - <br />  
107 - @Html.TextBox("email", Model.User.Email)  
108 - </p>  
109 - <p>  
110 - <label for="comments" style="vertical-align:top;">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Description))):</label>  
111 - <br />  
112 - @Html.TextArea("comments", Model.User.Comment)  
113 - </p>  
114 - <input type="submit"  
115 - class="btn btn-success"  
116 - value="@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.SaveEmailAndDescription)))" />  
117 - @*</fieldset>*@  
118 - }  
119 - </div> <!-- class="mvcMembership-emailAndComments" -->  
120 - </div> <!-- class="col-md-7" -->  
121 -  
122 - </div> <!-- class="row" -->  
123 - </div> <!-- class="card-body" -->  
124 -</div> <!-- class="card" -->  
125 -  
126 -<script>  
127 - /*##### FUNCTIONS #####*/  
128 - function deleteUserInDetails(userid) {  
129 - var thisfn = "deleteUserInDetails function: "  
130 - vrhct.bootbox.delete({  
131 - ajax: {  
132 - url: '@Url.Action("DeleteUser", WebConst.CONTROLLER_UA, new { area = WebConst.AREA })',  
133 - data: { userid }  
134 - },  
135 - title: '@(Model.Trans(typeof(GeneralWordCodes.MLM.General.Titles.Confirmation)))',  
136 - confirm: '@(String.Format(Model.Trans(typeof(WordCodes.MvcMembership.Messages.Confirmations.UserDelete)),Model.User.UserName))',  
137 - size: 'large',  
138 - success: function () {  
139 - window.location = '@Url.Action("Index", WebConst.CONTROLLER_UA, new { area = WebConst.AREA })';  
140 - }  
141 - });  
142 - }  
143 - /*##### FUNCTIONS END #####*/  
144 -</script>  
145 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/Index.cshtml deleted
@@ -1,161 +0,0 @@ @@ -1,161 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - UserAdministration - Index.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@using PagedList.Mvc;  
7 -@using Vrh.Web.Membership.Areas.UserAdministration.Models;  
8 -  
9 -@model IndexViewModel  
10 -  
11 -@{  
12 - IHtmlString minuteTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserLoggedInLessThanMinute)));  
13 - IHtmlString hourTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserLoggedInLessThanHour)));  
14 - IHtmlString dayTranslationText = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserLoggedInLessThanDay)));  
15 -  
16 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserManagement)));  
17 -}  
18 -  
19 -@section Styles {  
20 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
21 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "PagedList.css")" rel="stylesheet" type="text/css" />  
22 -}  
23 -  
24 -@if (!Model.IsRolesEnabled)  
25 -{  
26 - <p class="mvcMembership-warning">WARNING: Your Role Provider is currently disabled - any user may currently visit this page.<br />Change &lt;roleManager enabled="false"&gt; to &lt;roleManager enabled="true"&gt; in your web.config file.</p>  
27 -}  
28 -  
29 -<div class="card">  
30 - <div class="card-header">  
31 - <h2 class="mvcMembership float-left">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Users)))</h2>  
32 - @Html.ActionLink(Model.Trans(typeof(WordCodes.MvcMembership.User.CreateNewUser)), "CreateUser", WebConst.CONTROLLER_UA, new { @class = "btn btn-success float-right" })  
33 - </div>  
34 - <div class="card-body mvcMembership-allUsers">  
35 - @if (Model.Users.Count > 0)  
36 - {  
37 - <table class="mvcMembership mvcMembership-users">  
38 - <thead>  
39 - <tr>  
40 - <th>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserName)))</th>  
41 - <th>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.EmailAddress)))</th>  
42 - <th>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.LastLogIn)))</th>  
43 - <th>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Description)))</th>  
44 - </tr>  
45 - </thead>  
46 - <tbody>  
47 - @foreach (var user in Model.Users)  
48 - {  
49 - <tr>  
50 - <td class="mvcMembership-username">@Html.ActionLink(user.UserName, "Details", new { id = user.ProviderUserKey })</td>  
51 - <td class="mvcMembership-email"><a href="mailto:@user.Email">@user.Email</a></td>  
52 - @if (user.IsOnline)  
53 - {  
54 - <td class="mvcMembership-isOnline">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Online)))</td>  
55 - }  
56 - else  
57 - {  
58 - <td class="mvcMembership-isOffline">  
59 - @if (user.LastActivityDate.Equals(Global.NEVERONLINE))  
60 - {  
61 - @Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Never)))  
62 - }  
63 - else  
64 - {  
65 - @Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Offline)))  
66 - var offlineSince = (DateTime.Now - user.LastActivityDate);  
67 - if (offlineSince.TotalSeconds <= 60)  
68 - {  
69 - <text>1 @minuteTranslationText.</text>  
70 - }  
71 - else if (offlineSince.TotalMinutes < 60)  
72 - {  
73 - <text>@Math.Floor(offlineSince.TotalMinutes) @minuteTranslationText.</text>  
74 - }  
75 - else if (offlineSince.TotalMinutes < 120)  
76 - {  
77 - <text>1 @hourTranslationText.</text>  
78 - }  
79 - else if (offlineSince.TotalHours < 24)  
80 - {  
81 - <text>@Math.Floor(offlineSince.TotalHours) @hourTranslationText.</text>  
82 - }  
83 - else if (offlineSince.TotalHours < 48)  
84 - {  
85 - <text>1 @dayTranslationText.</text>  
86 - }  
87 - else  
88 - {  
89 - <text>@Math.Floor(offlineSince.TotalDays) @dayTranslationText.</text>  
90 - }  
91 - }  
92 - </td>  
93 - }  
94 - @*@if(!string.IsNullOrEmpty(user.Comment)){*@  
95 - <td class="mvcMembership-comment">@user.Comment</td>  
96 - @*}*@  
97 - </tr>  
98 - }  
99 - </tbody>  
100 - </table>  
101 - @Html.PagedListPager(Model.Users, page => Url.Action("Index", new { page, search = Model.Search }),  
102 - new PagedListRenderOptions()  
103 - {  
104 - LinkToFirstPageFormat = "<<",  
105 - LinkToPreviousPageFormat = "<",  
106 - LinkToNextPageFormat = ">",  
107 - LinkToLastPageFormat = ">>",  
108 - MaximumPageNumbersToDisplay = 5  
109 - })  
110 - }  
111 - else  
112 - {  
113 - <p>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.NoRegisteredUser)))</p>  
114 - }  
115 - </div>  
116 -</div>  
117 -@*  
118 - <h3 class="mvcMembership">Felhasználó keresése  
119 - @if (!string.IsNullOrWhiteSpace(Model.Search)) {  
120 - <span>(@Html.ActionLink("Szûrés törlése", "Index"))</span>  
121 - }  
122 - </h3>  
123 - <form method="get" class="mvcMembership-searchForm">  
124 - <fieldset>  
125 - <label>  
126 - Felhasználónév vagy Email cím:  
127 - <input type="text" name="search" value="@Model.Search" />  
128 - <input type="submit" value="Keresés" />  
129 - </label>  
130 - </fieldset>  
131 - </form>  
132 -*@  
133 -@*  
134 - @if(Model.IsRolesEnabled){  
135 - <h3 class="mvcMembership">Jogosultságok</h3>  
136 - <div class="mvcMembership-allRoles">  
137 - @if(Model.Roles.Count() > 0 ){  
138 - <ul class="mvcMembership">  
139 - @foreach(var role in Model.Roles){  
140 - <li>  
141 - @Html.ActionLink(role, "Role", new{id = role})  
142 - @using(Html.BeginForm("DeleteRole", "UserAdministration", new{id=role})){  
143 - <input type="submit" value="Törlés" />  
144 - }  
145 - </li>  
146 - }  
147 - </ul>  
148 - }else{  
149 - <p>Nincs jogosultsági kör létrehozva.</p>  
150 - }  
151 -  
152 - @using(Html.BeginForm("CreateRole", "UserAdministration")){  
153 - <fieldset>  
154 - <label for="id">Jogosultsági kör:</label>  
155 - @Html.TextBox("id")  
156 - <input type="submit" value="Jogosultsági kör létrehozása" />  
157 - </fieldset>  
158 - }  
159 - </div>  
160 - }  
161 -*@  
162 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/Password.cshtml deleted
@@ -1,148 +0,0 @@ @@ -1,148 +0,0 @@
1 -@using System.Globalization;  
2 -@using VRH.Log4Pro.MultiLanguageManager;  
3 -@using Vrh.Web.Membership.Areas.UserAdministration.Models;  
4 -  
5 -@model DetailsViewModel  
6 -  
7 -@{  
8 - IHtmlString passwordTranslationText = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.Password)));  
9 - IHtmlString lastModifyTranslationText = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.LastModify)));  
10 - IHtmlString newPasswordTranslationText = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.NewPassword)));  
11 - string generateNewPasswordTranslationText = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.GenerateNewPassword));  
12 -  
13 - IHtmlString labelLocked = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.Locked)) + ": ");  
14 - IHtmlString labelPwSecQuestion = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.PasswordSecurityQuestion)) + ":");  
15 -  
16 - IHtmlString titleUnLock = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.Unlock)));  
17 - IHtmlString titleGenerateAndSend = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.GenerateAndSendPasswordToUser)));  
18 - IHtmlString titleChangeAndSend = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.ChangeAndSendPasswordToUser)));  
19 -  
20 - string linkDetails = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.Common.Details));  
21 - string linkUsersRoles = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroups));  
22 -  
23 - ViewBag.Title = Html.Raw(String.Concat(  
24 - MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.WUser)), ": ",  
25 - Model.DisplayName,  
26 - " [", MultiLanguageManager.GetTranslation(DetailsViewModel.GetStatusWordCode(Model.Status)), "]"  
27 - ));  
28 -  
29 - string pwAction = "Password";  
30 -  
31 -}  
32 -  
33 -@section Styles {  
34 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
35 -}  
36 -  
37 -@if (TempData["MvcMembershipMessage"] != null)  
38 -{  
39 - @section Scripts {  
40 - <script type="text/javascript">  
41 - bootbox.alert('@Html.Raw(TempData["MvcMembershipMessage"])');  
42 - </script>  
43 - }  
44 -}  
45 -  
46 -<div class="card">  
47 - <div class="card-header">  
48 - <h1 class="card-title mvcMembership">@ViewBag.Title</h1>  
49 - </div>  
50 - <div class="card-body">  
51 -  
52 - <ul class="mvcMembership-tabs">  
53 - <li>@Html.ActionLink(linkDetails, "Details", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }, null)</li>  
54 - <li>@passwordTranslationText</li>  
55 - @if (Model.IsRolesEnabled)  
56 - {  
57 - <li>@Html.ActionLink(linkUsersRoles, "UsersRoles", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }, null)</li>  
58 - }  
59 - </ul>  
60 -  
61 - <h3 class="mvcMembership">@passwordTranslationText</h3>  
62 - <div class="mvcMembership-password">  
63 - @if (Model.User.IsLockedOut)  
64 - {  
65 - <p>@(labelLocked)@Model.User.LastLockoutDate.ToString("yyyy MM dd, h:mm:ss", CultureInfo.InvariantCulture)</p>  
66 - using (Html.BeginForm("Unlock", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }))  
67 - {  
68 - <input type="submit" class="btn btn-success" style="max-width:40em;" value="@(titleUnLock)" />  
69 - }  
70 - } @*if (Model.User.IsLockedOut) END*@  
71 - else  
72 - {  
73 - if (Model.User.LastPasswordChangedDate == Model.User.CreationDate)  
74 - {  
75 - <dl class="mvcMembership">  
76 - <dt>@lastModifyTranslationText:</dt>  
77 - <dd><em>@Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.Never)))</em></dd>  
78 - </dl>  
79 - }  
80 - else  
81 - {  
82 - <dl class="mvcMembership">  
83 - <dt>@lastModifyTranslationText:</dt>  
84 - <dd>@Model.User.LastPasswordChangedDate.ToString("yyyy MM dd, h:mm:ss", CultureInfo.InvariantCulture)</dd>  
85 - </dl>  
86 - }  
87 -  
88 - if (Model.CanResetPassword && Model.RequirePasswordQuestionAnswerToResetPassword)  
89 - {  
90 - using (Html.BeginForm("ResetPasswordWithAnswer", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }))  
91 - {  
92 - <ul class="mvcMembership-tabs">  
93 - <li>@newPasswordTranslationText</li>  
94 - <li>@Html.ActionLink(generateNewPasswordTranslationText, pwAction, WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey, tabPage = 2 }, null)</li>  
95 - </ul>  
96 -  
97 - <p>  
98 - <dl class="mvcMembership">  
99 - <dt>@(labelPwSecQuestion)</dt>  
100 - @if (string.IsNullOrEmpty(Model.User.PasswordQuestion) || string.IsNullOrEmpty(Model.User.PasswordQuestion.Trim()))  
101 - {  
102 - <dd><em>@Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.PasswordSecurityQuestionNotDefined)))</em></dd>  
103 - }  
104 - else  
105 - {  
106 - <dd>@Model.User.PasswordQuestion</dd>  
107 - }  
108 - </dl>  
109 - </p>  
110 - <p>  
111 - <label for="answer">  
112 - @(labelPwSecQuestion)  
113 - @Html.TextBox("answer")  
114 - <input type="submit" class="btn btn-success" style="max-width:40em;" value="@(titleGenerateAndSend)" />  
115 - </label>  
116 - </p>  
117 - }  
118 - }  
119 - else if (Model.CanResetPassword)  
120 - {  
121 - <ul class="mvcMembership-tabs">  
122 - <li>@newPasswordTranslationText</li>  
123 - <li>@Html.ActionLink(generateNewPasswordTranslationText, pwAction, WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey, tabPage = 2 }, null)</li>  
124 - </ul>  
125 -  
126 - using (Html.BeginForm("SetPassword", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }))  
127 - {  
128 - <div>  
129 - <label for="password">  
130 - @newPasswordTranslationText:  
131 - @Html.TextBox("password")  
132 - <input type="submit" class="btn btn-success" style="max-width:40em;" value="@(titleChangeAndSend)" />  
133 - </label>  
134 - </div>  
135 - if (!string.IsNullOrWhiteSpace(Model.PassworErrorMessage))  
136 - {  
137 - <div>  
138 - <span class="field-validation-error">  
139 - @Model.PassworErrorMessage  
140 - </span>  
141 - </div>  
142 - }  
143 - }  
144 - }  
145 - } @*else (Model.User.IsLockedOut) END*@  
146 - </div> <!-- class="mvcMembership-password" -->  
147 - </div> <!-- class="card-body" -->  
148 -</div> <!-- class="card card-primary" -->  
149 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/Password2.cshtml deleted
@@ -1,130 +0,0 @@ @@ -1,130 +0,0 @@
1 -@using System.Globalization;  
2 -@using VRH.Log4Pro.MultiLanguageManager;  
3 -@using Vrh.Web.Membership.Areas.UserAdministration.Models;  
4 -  
5 -@model DetailsViewModel  
6 -  
7 -@{  
8 - IHtmlString passwordTranslationText = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.Password)));  
9 - IHtmlString lastModifyTranslationText = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.LastModify)));  
10 - string newPasswordTranslationText = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.NewPassword));  
11 - IHtmlString generateNewPasswordTranslationText = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.GenerateNewPassword)));  
12 -  
13 - IHtmlString labelLocked = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.Locked)));  
14 - IHtmlString labelPwSecQuestion = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.PasswordSecurityQuestion)) + ":");  
15 -  
16 - string linkDetails = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.Common.Details));  
17 - string linkUsersRoles = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroups));  
18 -  
19 - IHtmlString titleGenerateAndSend = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.GenerateAndSendPasswordToUser)));  
20 -  
21 - ViewBag.Title = Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.WUser))) + ": " + Model.DisplayName + " [" + Html.Raw(MultiLanguageManager.GetTranslation(DetailsViewModel.GetStatusWordCode(Model.Status))) + "]";  
22 -  
23 - string pwAction = "Password";  
24 -}  
25 -  
26 -@section Styles {  
27 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
28 -}  
29 -  
30 -@if (TempData["MvcMembershipMessage"] != null)  
31 -{  
32 - @section Scripts {  
33 - <script type="text/javascript">  
34 - alert('@Html.Raw(TempData["MvcMembershipMessage"])');  
35 - </script>  
36 - }  
37 -}  
38 -  
39 -<div class="card">  
40 - <div class="card-header">  
41 - <h1 class="card-title mvcMembership">@ViewBag.Title</h1>  
42 - </div>  
43 - <div class="card-body">  
44 -  
45 - <ul class="mvcMembership-tabs">  
46 - <li>@Html.ActionLink(linkDetails, "Details", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }, null)</li>  
47 - <li>@passwordTranslationText</li>  
48 - @if (Model.IsRolesEnabled)  
49 - {  
50 - <li>@Html.ActionLink(linkUsersRoles, "UsersRoles", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }, null)</li>  
51 - }  
52 - </ul>  
53 -  
54 - <h3 class="mvcMembership">@passwordTranslationText</h3>  
55 - <div class="mvcMembership-password">  
56 - @if (Model.User.IsLockedOut)  
57 - {  
58 - <p>@(labelLocked): @Model.User.LastLockoutDate.ToString("yyyy MM dd, h:mm:ss", CultureInfo.InvariantCulture)</p>  
59 - using (Html.BeginForm("Unlock", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }))  
60 - {  
61 - <input type="submit" class="btn btn-success" style="max-width:40em;" value="@(labelLocked)" />  
62 - }  
63 - }  
64 - else  
65 - {  
66 -  
67 - if (Model.User.LastPasswordChangedDate == Model.User.CreationDate)  
68 - {  
69 - <dl class="mvcMembership">  
70 - <dt>@lastModifyTranslationText:</dt>  
71 - <dd><em>@Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.Never)))</em></dd>  
72 - </dl>  
73 - }  
74 - else  
75 - {  
76 - <dl class="mvcMembership">  
77 - <dt>@lastModifyTranslationText:</dt>  
78 - @*<dd>@Model.User.LastPasswordChangedDate.ToString("MMMM dd, yyyy h:mm:ss tt", CultureInfo.InvariantCulture)</dd>*@  
79 - <dd>@Model.User.LastPasswordChangedDate.ToString("yyyy MM dd, h:mm:ss", CultureInfo.InvariantCulture)</dd>  
80 - </dl>  
81 - }  
82 -  
83 - if (Model.CanResetPassword && Model.RequirePasswordQuestionAnswerToResetPassword)  
84 - {  
85 - using (Html.BeginForm("ResetPasswordWithAnswer", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }))  
86 - {  
87 - <ul class="mvcMembership-tabs">  
88 - <li>@Html.ActionLink(newPasswordTranslationText, pwAction, WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey, tabPage = 1 }, null)</li>  
89 - <li>@generateNewPasswordTranslationText</li>  
90 - </ul>  
91 - <p>  
92 - <dl class="mvcMembership">  
93 - <dt>@(labelPwSecQuestion)</dt>  
94 - @if (string.IsNullOrEmpty(Model.User.PasswordQuestion) || string.IsNullOrEmpty(Model.User.PasswordQuestion.Trim()))  
95 - {  
96 - <dd><em>@Html.Raw(MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.User.PasswordSecurityQuestionNotDefined)))</em></dd>  
97 - }  
98 - else  
99 - {  
100 - <dd>@Model.User.PasswordQuestion</dd>  
101 - }  
102 - </dl>  
103 - </p>  
104 - <p>  
105 - <label for="answer">  
106 - @(labelPwSecQuestion)  
107 - @Html.TextBox("answer")  
108 - <input type="submit" class="btn btn-success" style="max-width:40em;" value="@(titleGenerateAndSend)" />  
109 - </label>  
110 - </p>  
111 - }  
112 - }  
113 - else if (Model.CanResetPassword)  
114 - {  
115 - <ul class="mvcMembership-tabs">  
116 - <li>@Html.ActionLink(newPasswordTranslationText, pwAction, WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey, tabPage = 1 }, null)</li>  
117 - <li>@generateNewPasswordTranslationText</li>  
118 - </ul>  
119 -  
120 - using (Html.BeginForm("ResetPassword", WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }))  
121 - {  
122 - <input type="submit" class="btn btn-success" style="max-width:40em;" value="@(titleGenerateAndSend)" />  
123 - }  
124 - }  
125 -  
126 - }  
127 - </div>  
128 -  
129 - </div>  
130 -</div>  
131 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/Role.cshtml deleted
@@ -1,60 +0,0 @@ @@ -1,60 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - UsersToUserRoleGroups - Role.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@using VRH.Log4Pro.MultiLanguageManager;  
7 -@model Vrh.Web.Membership.Areas.UserAdministration.Models.RoleViewModel  
8 -  
9 -@{  
10 - string frm = Model.Trans(typeof(WordCodes.MvcMembership.Role.Title));  
11 - ViewBag.Title = Html.Raw(String.Format(frm, Model.Role));  
12 -}  
13 -  
14 -@section Styles {  
15 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
16 -}  
17 -  
18 -<div class="card">  
19 - <div class="card-header">  
20 - <h1 class="card-title">@ViewBag.Title</h1>  
21 - </div>  
22 - <div class="card-body">  
23 - @if (Model.Users.Count() > 0)  
24 - {  
25 - <ul class="list-group" style="max-width:50%;min-width:30rem;">  
26 - @foreach (var key in Model.Users.Keys)  
27 - {  
28 - var user = Model.Users[key];  
29 - <li class="list-group-item d-flex justify-content-between align-items-center py-0 bg-dark" style="border-color:black;">  
30 - @if (user == null)  
31 - {  
32 - <span>@key <em>(@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Deleted))))</em></span>  
33 - <span>@((new RoleService()).GetRoleDescription(key))</span>  
34 - }  
35 - else  
36 - {  
37 - @Html.ActionLink(user.UserName, "Details", new { id = user.ProviderUserKey }, new { @class = "text-light" })  
38 -  
39 - if (Model.Role != Constants.ROLE_ADMINISTRATOR || user.UserName != Constants.USERNAME_ADMINISTRATOR)  
40 - { // Az alapértelmezett felhasználót nem lehet kivenni az  
41 - using (Html.BeginForm("RemoveFromRoleOnRolePage", WebConst.CONTROLLER_UA, new { id = user.ProviderUserKey, role = Model.Role }))  
42 - {  
43 - <input type="submit"  
44 - class="btn btn-warning btn-sm my-1 py-0"  
45 - style="line-height:1.1;"  
46 - value="@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.RemoveFromRoleGroup)))" />  
47 - }  
48 - }  
49 - }  
50 - </li>  
51 - }  
52 - </ul>  
53 - }  
54 - else  
55 - {  
56 - <p>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.NoUserInRoleGroup)))</p>  
57 - }  
58 - @*@Html.ActionLink("Vissza", "Roles", "UserAdministration", new { area = "UserAdministration" }, null)*@  
59 - </div>  
60 -</div>  
61 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/Roles.cshtml deleted
@@ -1,78 +0,0 @@ @@ -1,78 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - UsersToUserRoleGroups - Roles.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@using Vrh.Web.Common.Lib  
7 -@using Vrh.Web.Membership.Areas.UserAdministration.Models  
8 -  
9 -@model IndexViewModel  
10 -  
11 -@{  
12 - var labelNewRole = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.NewRole)) + ":");  
13 -  
14 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.ManyToMany.Roles)));  
15 - string labelUserManager = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Users));  
16 - string labelUTURG = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.UsersToRoleGroups));  
17 - string labelRTURG = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.RolesToRoleGroups));  
18 - string labelRoles = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Roles));  
19 -}  
20 -  
21 -@section Styles {  
22 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
23 -}  
24 -  
25 -@if (Model.IsRolesEnabled)  
26 -{  
27 -<div class="card">  
28 - <div class="card-header">  
29 - @UserManagementHtmlHelper.AddHeader(Html, Ajax, Url, Model, ViewBag.Title.ToString()  
30 - , new List<UserManagementHtmlHelper.DisableThisButton> { UserManagementHtmlHelper.DisableThisButton.Roles }  
31 - )  
32 - </div>  
33 - <div class="card-body">  
34 - <div class="row">  
35 - <div class="col-lg-6">  
36 - @using (Html.BeginForm("CreateRole", WebConst.CONTROLLER_UA, FormMethod.Post, new { @class = "form-inline" }))  
37 - {  
38 - <div class="form-group">  
39 - <label for="id">@(labelNewRole)</label>  
40 - @Html.TextBox("id", null, new { @class = "form-control mx-2" })  
41 - </div>  
42 - <button type="submit" class="btn btn-success">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Create)))</button>  
43 - }  
44 - </div>  
45 - </div>  
46 - <div class="row">  
47 - <div class="col-lg-12">  
48 - <table style="border: 1px solid black">  
49 - @if (Model.Roles.Count() > 0)  
50 - {  
51 - foreach (var role in Model.Roles)  
52 - {  
53 - <tr style="border: 1px solid black;border-color:black;">  
54 - <td class="text-light" style="border: 1px solid black">@role</td>  
55 - <td style="border: 1px solid black">@((new RoleService()).GetRoleDescription(role))</td>  
56 - <td style="border: 1px solid black">  
57 - @if (role != Constants.ROLE_ADMINISTRATOR)  
58 - {  
59 - using (Html.BeginForm("DeleteRole", WebConst.CONTROLLER_UA, new { roleid = role }))  
60 - {  
61 - <input type="submit" class="btn btn-danger btn-sm my-1 py-0" style="line-height:1.1;"  
62 - value="@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.Common.Delete)))" />  
63 - }  
64 - }  
65 - </td>  
66 - </tr>  
67 - }  
68 - }  
69 - else  
70 - {  
71 - <tr><td>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.NoRoles))) </td></tr>  
72 - }  
73 - </table>  
74 - </div>  
75 - </div> <!-- class="row" -->  
76 - </div> <!-- class="card-body" -->  
77 -</div> <!-- class="card" -->  
78 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/SearchUser.cshtml deleted
@@ -1,45 +0,0 @@ @@ -1,45 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - UserAdministration - SearchUser.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@model Vrh.Web.Membership.Areas.UserAdministration.Models.IndexViewModel  
7 -  
8 -@{  
9 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserManagement)));  
10 -}  
11 -  
12 -@section Styles {  
13 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
14 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "PagedList.css")" rel="stylesheet" type="text/css" />  
15 -}  
16 -  
17 -@if (!Model.IsRolesEnabled)  
18 -{  
19 - <p class="mvcMembership-warning">  
20 - WARNING: Your Role Provider is currently disabled - any user may currently visit  
21 - this page.<br />  
22 - Change &lt;roleManager enabled="false"&gt; to &lt;roleManager enabled="true"&gt;  
23 - in your web.config file.  
24 - </p>  
25 -}  
26 -<div class="card">  
27 - <div class="card-header">  
28 - <h1 class="card-title mvcMembership">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.SearchUser)))</h1>  
29 - </div>  
30 - <div class="card-body">  
31 - <form method="get" class="form-inline mvcMembership-searchForm">  
32 - <div class="form-group mb-2">  
33 - <label for="search" class="mr-2">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.UserNameOrEmailAddress)))</label>  
34 - <input type="text" name="search" value="@Model.Search" class="form-control mr-2" />  
35 - </div>  
36 - <button type="submit" class="btn btn-success mb-2">@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.Search)))</button>  
37 - </form>  
38 - <div class="mvcMembership">  
39 - @if (Model.Users.Count == 0)  
40 - {  
41 - <p>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.NoSuchUser)))</p>  
42 - }  
43 - </div>  
44 - </div>  
45 -</div>  
46 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UserAdministration/UsersRoles.cshtml deleted
@@ -1,49 +0,0 @@ @@ -1,49 +0,0 @@
1 -@using Vrh.Web.Membership.Areas.UserAdministration.Models  
2 -  
3 -@model DetailsViewModel  
4 -  
5 -@{  
6 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.User.WUser))) + ": " + Model.DisplayName + " [" + Html.Raw(Model.Trans(DetailsViewModel.GetStatusWordCode(Model.Status))) + "]";  
7 -}  
8 -  
9 -@section Styles {  
10 - <link href="@Url.Content(WebConst.AREA_CONTENTPATH + "MvcMembership.css")" rel="stylesheet" type="text/css" />  
11 -}  
12 -<script src="~/Scripts/jquery-ui-1.13.2.min.js"></script>"  
13 -  
14 -<div class="card">  
15 - <div class="card-header">  
16 - <h1 class="card-title mvcMembership">@ViewBag.Title</h1>  
17 - </div>  
18 - <div class="card-body">  
19 -  
20 - <ul class="mvcMembership-tabs">  
21 - <li>@Html.ActionLink(Model.Trans(typeof(WordCodes.MvcMembership.Common.Details)), WebConst.Actions.UA_DETAILS, WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey }, null)</li>  
22 - <li>@Html.ActionLink(Model.Trans(typeof(WordCodes.MvcMembership.User.Password)), WebConst.Actions.UA_PASSWORD, WebConst.CONTROLLER_UA, new { id = Model.User.ProviderUserKey, tabPage = 1 }, null)</li>  
23 - <li>@Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroups)))</li>  
24 - </ul>  
25 -  
26 - @*<h3 class="mvcMembership">Szerepkörök</h3>  
27 - <div class="mvcMembership-userRoles">  
28 - <ul class="mvcMembership">  
29 - @foreach(var role in Model.Roles){  
30 - <li>  
31 - @Html.ActionLink(role.Key, "Role", new { id = role.Key }, new { @class = role.Value ? "userIsInRole" : "userIsNotInRole" })  
32 - @if(role.Value){  
33 - using(Html.BeginForm("RemoveFromRole", "UserAdministration", new{id = Model.User.ProviderUserKey, role = role.Key})){  
34 - <input type="submit" value="Eltávolítás ebbõl a szerepkörbõl" />  
35 - }  
36 - }else{  
37 - using(Html.BeginForm("AddToRole", "UserAdministration", new{id = Model.User.ProviderUserKey, role = role.Key})){  
38 - <input type="submit" value="Hozzáadás ehhez a szerepkörhöz" />  
39 - }  
40 - }  
41 - </li>  
42 - }  
43 - </ul>  
44 - </div>*@  
45 -  
46 - @Html.Partial("../UsersToUserRoleGroups/_UsersToUserRoleGroups", new ViewDataDictionary() { { "id", Model.User.ProviderUserKey } })  
47 -  
48 - </div>  
49 -</div>  
50 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UsersToUserRoleGroups/Index.cshtml deleted
@@ -1,28 +0,0 @@ @@ -1,28 +0,0 @@
1 -@*  
2 - -----------------------------------------  
3 - UsersToUserRoleGroups - Index.cshtml  
4 - -----------------------------------------  
5 -*@  
6 -@using Vrh.Web.Common.Lib;  
7 -  
8 -@model CommonModel  
9 -  
10 -@{  
11 - ViewBag.Title = Html.Raw(Model.Trans(typeof(WordCodes.MvcMembership.ManyToMany.BindRoleGroupsAndUsers)));  
12 - //Layout = "~/Views/Shared/_Layout.cshtml";  
13 -  
14 - string labelUserManager = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Users));  
15 - string labelRTURG = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.RolesToRoleGroups));  
16 - string labelRoles = Model.Trans(typeof(WordCodes.MvcMembership.Labels.Button.Roles));  
17 -}  
18 -<script src="~/Scripts/jquery-ui-1.13.2.min.js"></script>"  
19 -<div class="card">  
20 - <div class="card-header">  
21 - @UserManagementHtmlHelper.AddHeader(Html, Ajax, Url, Model, ViewBag.Title.ToString()  
22 - , new List<UserManagementHtmlHelper.DisableThisButton> { UserManagementHtmlHelper.DisableThisButton.UsersToUserRoleGroups }  
23 - )  
24 - </div>  
25 - <div class="card-body">  
26 - @Html.Partial("_UsersToUserRoleGroups")  
27 - </div>  
28 -</div>  
29 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/UsersToUserRoleGroups/_UsersToUserRoleGroups.cshtml deleted
@@ -1,22 +0,0 @@ @@ -1,22 +0,0 @@
1 -@using VRH.Log4Pro.MultiLanguageManager;  
2 -@using Vrh.Web.Membership.Areas.UAManyToMany.Models;  
3 -  
4 -<div>  
5 -@{  
6 - string areaName = "UAManyToMany";  
7 - string ctrlName = areaName;  
8 - if (Session["MTM"] != null)  
9 - {  
10 - Session["MTM"] = null;  
11 - }  
12 - UAManyToManySessionModel mtmSession = new UAManyToManySessionModel();  
13 - mtmSession.DefaultListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroups));  
14 - mtmSession.DefaultSelectedListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.UsersInSelectedRoleGroup));  
15 - mtmSession.DefaultAvailableListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.UsersNotInSelectedRoleGroup));  
16 - mtmSession.ListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.Users));  
17 - mtmSession.SelectedListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroupsInSelectedUser));  
18 - mtmSession.AvailableListItemsHeader = MultiLanguageManager.GetTranslation(typeof(WordCodes.MvcMembership.ManyToMany.RoleGroupsNotInSelectedUser));  
19 - Session["MTM"] = mtmSession;  
20 - Html.RenderAction("ManyToMany", ctrlName, new { area = areaName, name = "UsersToUserRoleGroups", id = ViewData["id"] != null ? ViewData["id"] : null, isDefault = ViewData["id"] != null ? false : true });  
21 -}  
22 -</div>  
23 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/UserAdministration/Views/_ViewStart.cshtml deleted
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -@using Vrh.Web.Common.Lib;  
2 -@{  
3 - //Layout = "~/Areas/Menu/Views/Layout/_Layout.cshtml";  
4 - Layout = WebCommon.Layout;  
5 -}  
Vrh.Web.Reporting/Areas/UserAdministration/Views/web.config deleted
@@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
1 -<?xml version="1.0"?>  
2 -  
3 -<configuration>  
4 - <configSections>  
5 - <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
6 - <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />  
7 - <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />  
8 - </sectionGroup>  
9 - </configSections>  
10 -  
11 - <system.web.webPages.razor>  
12 - <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.5.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />  
13 - <pages pageBaseType="System.Web.Mvc.WebViewPage">  
14 - <namespaces>  
15 - <add namespace="System.Web.Mvc" />  
16 - <add namespace="System.Web.Mvc.Ajax" />  
17 - <add namespace="System.Web.Mvc.Html" />  
18 - <add namespace="System.Web.Routing" />  
19 - <add namespace="System.Web.Optimization" />  
20 - <add namespace="Vrh.Web.Membership" />  
21 - <add namespace="Vrh.Membership" />  
22 - </namespaces>  
23 - </pages>  
24 - </system.web.webPages.razor>  
25 -  
26 - <appSettings>  
27 - <add key="webpages:Enabled" value="false" />  
28 - </appSettings>  
29 -  
30 - <system.webServer>  
31 - <handlers>  
32 - <remove name="BlockViewHandler"/>  
33 - <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />  
34 - </handlers>  
35 - </system.webServer>  
36 -</configuration>  
37 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Areas/WebForm/Views/WebForm/Inputs.cshtml
@@ -515,61 +515,61 @@ @@ -515,61 +515,61 @@
515 console.log(thisfn + 'PING'); 515 console.log(thisfn + 'PING');
516 516
517 @foreach (var item in Model.Form.Inputs.Where(x => x.InputType == Vrh.WebForm.InputType.EnumList 517 @foreach (var item in Model.Form.Inputs.Where(x => x.InputType == Vrh.WebForm.InputType.EnumList
518 - || x.InputType == Vrh.WebForm.InputType.DATList  
519 - || x.InputType == Vrh.WebForm.InputType.SQLList  
520 - || x.InputType == Vrh.WebForm.InputType.XMLList  
521 - )  
522 - )  
523 - {  
524 - ListType listtype = ListType.Single;  
525 - string[] fltr = { "", "", "" };  
526 - string geturl = "";  
527 - if (item.InputType == Vrh.WebForm.InputType.EnumList)  
528 - {  
529 - listtype = item.EnumList.Type;  
530 - }  
531 - else if (item.InputType == Vrh.WebForm.InputType.DATList)  
532 - {  
533 - listtype = item.DATList.Type;  
534 - fltr[0] = item.DATList.Filter1;  
535 - fltr[1] = item.DATList.Filter2;  
536 - fltr[2] = item.DATList.Filter3; 518 + || x.InputType == Vrh.WebForm.InputType.DATList
  519 + || x.InputType == Vrh.WebForm.InputType.SQLList
  520 + || x.InputType == Vrh.WebForm.InputType.XMLList
  521 + )
  522 + )
  523 + {
  524 + ListType listtype = ListType.Single;
  525 + string[] fltr = { "", "", "" };
  526 + string geturl = "";
  527 + if (item.InputType == Vrh.WebForm.InputType.EnumList)
  528 + {
  529 + listtype = item.EnumList.Type;
  530 + }
  531 + else if (item.InputType == Vrh.WebForm.InputType.DATList)
  532 + {
  533 + listtype = item.DATList.Type;
  534 + fltr[0] = item.DATList.Filter1;
  535 + fltr[1] = item.DATList.Filter2;
  536 + fltr[2] = item.DATList.Filter3;
537 537
538 - geturl = item.DATList.Url.GetUrl();  
539 - }  
540 - else if (item.InputType == Vrh.WebForm.InputType.SQLList)  
541 - {  
542 - listtype = item.SQLList.Type;  
543 - fltr[0] = item.SQLList.Filter1;  
544 - fltr[1] = item.SQLList.Filter2;  
545 - fltr[2] = item.SQLList.Filter3;  
546 - }  
547 - else if (item.InputType == Vrh.WebForm.InputType.XMLList)  
548 - {  
549 - listtype = item.XMLList.Type;  
550 - } 538 + geturl = item.DATList.Url.GetUrl();
  539 + }
  540 + else if (item.InputType == Vrh.WebForm.InputType.SQLList)
  541 + {
  542 + listtype = item.SQLList.Type;
  543 + fltr[0] = item.SQLList.Filter1;
  544 + fltr[1] = item.SQLList.Filter2;
  545 + fltr[2] = item.SQLList.Filter3;
  546 + }
  547 + else if (item.InputType == Vrh.WebForm.InputType.XMLList)
  548 + {
  549 + listtype = item.XMLList.Type;
  550 + }
551 551
552 - if (geturl == "")  
553 - {  
554 - geturl = Url.Action("GetSelectList", "WebForm", new {  
555 - area = "WebForm",  
556 - xml = Model.XmlConnectionString,  
557 - sform = Model.Form.Name,  
558 - inputname = item.Name,  
559 - });  
560 - geturl += "&query=@filter";  
561 - geturl += String.IsNullOrEmpty(fltr[0]) ? "" : "&filter1=@filter1";  
562 - geturl += String.IsNullOrEmpty(fltr[1]) ? "" : "&filter2=@filter2";  
563 - geturl += String.IsNullOrEmpty(fltr[2]) ? "" : "&filter3=@filter3";  
564 - } 552 + if (geturl == "")
  553 + {
  554 + geturl = Url.Action("GetSelectList", "WebForm", new {
  555 + area = "WebForm",
  556 + xml = Model.XmlConnectionString,
  557 + sform = Model.Form.Name,
  558 + inputname = item.Name,
  559 + });
  560 + geturl += "&query=@filter";
  561 + geturl += String.IsNullOrEmpty(fltr[0]) ? "" : "&filter1=@filter1";
  562 + geturl += String.IsNullOrEmpty(fltr[1]) ? "" : "&filter2=@filter2";
  563 + geturl += String.IsNullOrEmpty(fltr[2]) ? "" : "&filter3=@filter3";
  564 + }
565 565
566 - var geturlraw = Html.Raw(Url.Content(geturl));  
567 - System.Diagnostics.Debug.WriteLine("_Inputs.cshtml-ready: geturl={0}, geturlraw={1}", geturl, geturlraw); 566 + var geturlraw = Html.Raw(Url.Content(geturl.Replace(@"\", @"\\")));
  567 + System.Diagnostics.Debug.WriteLine("_Inputs.cshtml-ready: geturl={0}, geturlraw={1}", geturl, geturlraw);
568 568
569 - string listid = item.Name + "SelectedName";  
570 - string targetid = item.Name;  
571 - if (listtype == ListType.Single || listtype == ListType.SingleListOnly)  
572 - { 569 + string listid = item.Name + "SelectedName";
  570 + string targetid = item.Name;
  571 + if (listtype == ListType.Single || listtype == ListType.SingleListOnly)
  572 + {
573 <text>MyAutoCompInit('@(listid)', '@(targetid)', '@(geturlraw)', '@fltr[0]', '@fltr[1]', '@fltr[2]', false);</text> 573 <text>MyAutoCompInit('@(listid)', '@(targetid)', '@(geturlraw)', '@fltr[0]', '@fltr[1]', '@fltr[2]', false);</text>
574 if (item.InputType == Vrh.WebForm.InputType.DATList && !String.IsNullOrEmpty(item.Value)) 574 if (item.InputType == Vrh.WebForm.InputType.DATList && !String.IsNullOrEmpty(item.Value))
575 { //DATList és van DefaultValue, akkor meg kell hívni a listakészítő akciót, hogy megkapjuk a kiválasztott értéket 575 { //DATList és van DefaultValue, akkor meg kell hívni a listakészítő akciót, hogy megkapjuk a kiválasztott értéket
Vrh.Web.Reporting/Areas/WebForm/Views/WebForm/WebForm.cshtml
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 @if (Model.Form != null) 12 @if (Model.Form != null)
13 { 13 {
14 <link href="@Url.Content("~/Areas/WebForm/Content/autocomplete.css")" rel="stylesheet" type="text/css" /> 14 <link href="@Url.Content("~/Areas/WebForm/Content/autocomplete.css")" rel="stylesheet" type="text/css" />
15 - <script src="@Url.Content("~/Areas/WebForm/Scripts/jquery-ui-1.12.1.min.js")" type="text/javascript"></script> 15 + <script src="@Url.Content("~/Areas/WebForm/Scripts/jquery-ui-1.13.2.min.js")" type="text/javascript"></script>
16 if (Model.ViewMode == ViewModes.Mobile) 16 if (Model.ViewMode == ViewModes.Mobile)
17 { 17 {
18 @*http://demos.jquerymobile.com/1.4.5*@ 18 @*http://demos.jquerymobile.com/1.4.5*@
Vrh.Web.Reporting/Areas/iSchedulerReport/Views/iSchedulerReport/Editor.cshtml
@@ -170,7 +170,7 @@ @@ -170,7 +170,7 @@
170 @Html.Partial("~/Areas/iSchedulerReport/Views/Shared/ValidationSummary.cshtml") 170 @Html.Partial("~/Areas/iSchedulerReport/Views/Shared/ValidationSummary.cshtml")
171 </div> 171 </div>
172 172
173 -<script src="~/Scripts/jquery-ui-1.12.1.min.js"></script> 173 +<script src="~/Scripts/jquery-ui-1.13.2.min.js"></script>
174 <script src="~/Areas/iSchedulerReport/Scripts/Editor.js"></script> 174 <script src="~/Areas/iSchedulerReport/Scripts/Editor.js"></script>
175 <script type="text/javascript"> 175 <script type="text/javascript">
176 function EditorConstantsInit() { // A scriptek számára szükséges constans értékek, melyek a Html.Helper segítségével készülnek 176 function EditorConstantsInit() { // A scriptek számára szükséges constans értékek, melyek a Html.Helper segítségével készülnek
Vrh.Web.Reporting/Content/PagedList.css deleted
@@ -1,166 +0,0 @@ @@ -1,166 +0,0 @@
1 -.pagination {  
2 - display: inline-block;  
3 - padding-left: 0;  
4 - margin: 20px 0;  
5 - border-radius: 4px;  
6 -}  
7 -  
8 -.pagination > li {  
9 - display: inline;  
10 -}  
11 -  
12 -.pagination > li > a,  
13 -.pagination > li > span {  
14 - position: relative;  
15 - float: left;  
16 - padding: 6px 12px;  
17 - margin-left: -1px;  
18 - line-height: 1.428571429;  
19 - text-decoration: none;  
20 - background-color: #ffffff;  
21 - border: 1px solid #dddddd;  
22 -}  
23 -  
24 -.pagination > li:first-child > a,  
25 -.pagination > li:first-child > span {  
26 - margin-left: 0;  
27 - border-bottom-left-radius: 4px;  
28 - border-top-left-radius: 4px;  
29 -}  
30 -  
31 -.pagination > li:last-child > a,  
32 -.pagination > li:last-child > span {  
33 - border-top-right-radius: 4px;  
34 - border-bottom-right-radius: 4px;  
35 -}  
36 -  
37 -.pagination > li > a:hover,  
38 -.pagination > li > span:hover,  
39 -.pagination > li > a:focus,  
40 -.pagination > li > span:focus {  
41 - background-color: #eeeeee;  
42 -}  
43 -  
44 -.pagination > .active > a,  
45 -.pagination > .active > span,  
46 -.pagination > .active > a:hover,  
47 -.pagination > .active > span:hover,  
48 -.pagination > .active > a:focus,  
49 -.pagination > .active > span:focus {  
50 - z-index: 2;  
51 - color: #ffffff;  
52 - cursor: default;  
53 - background-color: #428bca;  
54 - border-color: #428bca;  
55 -}  
56 -  
57 -.pagination > .disabled > span,  
58 -.pagination > .disabled > a,  
59 -.pagination > .disabled > a:hover,  
60 -.pagination > .disabled > a:focus {  
61 - color: #999999;  
62 - cursor: not-allowed;  
63 - background-color: #ffffff;  
64 - border-color: #dddddd;  
65 -}  
66 -  
67 -.pagination-lg > li > a,  
68 -.pagination-lg > li > span {  
69 - padding: 10px 16px;  
70 - font-size: 18px;  
71 -}  
72 -  
73 -.pagination-lg > li:first-child > a,  
74 -.pagination-lg > li:first-child > span {  
75 - border-bottom-left-radius: 6px;  
76 - border-top-left-radius: 6px;  
77 -}  
78 -  
79 -.pagination-lg > li:last-child > a,  
80 -.pagination-lg > li:last-child > span {  
81 - border-top-right-radius: 6px;  
82 - border-bottom-right-radius: 6px;  
83 -}  
84 -  
85 -.pagination-sm > li > a,  
86 -.pagination-sm > li > span {  
87 - padding: 5px 10px;  
88 - font-size: 12px;  
89 -}  
90 -  
91 -.pagination-sm > li:first-child > a,  
92 -.pagination-sm > li:first-child > span {  
93 - border-bottom-left-radius: 3px;  
94 - border-top-left-radius: 3px;  
95 -}  
96 -  
97 -.pagination-sm > li:last-child > a,  
98 -.pagination-sm > li:last-child > span {  
99 - border-top-right-radius: 3px;  
100 - border-bottom-right-radius: 3px;  
101 -}  
102 -  
103 -.pager {  
104 - padding-left: 0;  
105 - margin: 20px 0;  
106 - text-align: center;  
107 - list-style: none;  
108 -}  
109 -  
110 -.pager:before,  
111 -.pager:after {  
112 - display: table;  
113 - content: " ";  
114 -}  
115 -  
116 -.pager:after {  
117 - clear: both;  
118 -}  
119 -  
120 -.pager:before,  
121 -.pager:after {  
122 - display: table;  
123 - content: " ";  
124 -}  
125 -  
126 -.pager:after {  
127 - clear: both;  
128 -}  
129 -  
130 -.pager li {  
131 - display: inline;  
132 -}  
133 -  
134 -.pager li > a,  
135 -.pager li > span {  
136 - display: inline-block;  
137 - padding: 5px 14px;  
138 - background-color: #ffffff;  
139 - border: 1px solid #dddddd;  
140 - border-radius: 15px;  
141 -}  
142 -  
143 -.pager li > a:hover,  
144 -.pager li > a:focus {  
145 - text-decoration: none;  
146 - background-color: #eeeeee;  
147 -}  
148 -  
149 -.pager .next > a,  
150 -.pager .next > span {  
151 - float: right;  
152 -}  
153 -  
154 -.pager .previous > a,  
155 -.pager .previous > span {  
156 - float: left;  
157 -}  
158 -  
159 -.pager .disabled > a,  
160 -.pager .disabled > a:hover,  
161 -.pager .disabled > a:focus,  
162 -.pager .disabled > span {  
163 - color: #999999;  
164 - cursor: not-allowed;  
165 - background-color: #ffffff;  
166 -}  
167 \ No newline at end of file 0 \ No newline at end of file
Vrh.Web.Reporting/Vrh.NugetModuls.Documentations/Vrh.Web.Membership/ReadMe.md deleted
@@ -1,695 +0,0 @@ @@ -1,695 +0,0 @@
1 -# Vrh.Web.Membership - Log4Pro felhasználó és jogosultság kezelés  
2 -> Fejlesztve és tesztelve **4.5.1** .NET framework alatt. Más framework támogatása további tesztelés függvénye.  
3 -  
4 -A csomag form alapú hitelesítést tartalmaz a felhasználók számára szerep és szerepkör kezeléssel.  
5 -  
6 -## Főbb összetevők  
7 -* **[Fontos tudnivalók](##Fontos-tudnival-k)**: A modul használatával és telepítésével kapcsolatos fontos  
8 -információk. Olyan alapinformációk, melyek az elinduálshoz vagy megértéshez lényegesek.  
9 -  
10 - > * [Telepítés](###Telepites) A csomag telepítésével kapcsolatos információk.  
11 - > * [Beépített felhasználó](###Beepitett-felhasznalo) Beépített felhasználóval kapcsolatos információk.  
12 -  
13 -* **[Felhasználó és jogosultság kezelés](##Felhasznalo-es-jogosultsag-kezeles)**: Elsődleges felhasználókkal és jogosultságaikkal  
14 -kapcsolatos szolgáltatások.  
15 -  
16 - > * [PasswordService](###PasswordService): Jelszavakkal kapcsolatos szolgáltatások.  
17 - > * [RoleService](###RoleService): Elsődleges felhasználók szerepeivel kapcsolatos szolgáltatások.  
18 - > * [RoleGroupService](###RoleGroupService): Elsődleges felhasználók szerepköreivel kapcsolatos szolgáltatások.  
19 - > * [UserService](###UserService): Elsődleges felhasználók kezelése.  
20 -  
21 -* **[Másodlagos felhasználók](##Masodlagos-felhasznalok)**: A másodlagos felhasználókkal kapcsolatos információk.  
22 -  
23 - > * [SecondaryFunctionService](###SecondaryFunctionService): A másodlagos felhasználókat csoportosító funkciók kezelése.  
24 - > * [SecondaryLoginService](###SecondaryLoginService): A másodlagos bejelentkezések nyilvántartása és azzal kapcsolatos szolgáltatások.  
25 - > * [SecondaryUserService](###SecondaryUserService): A másodlagos felhasználók kezelése és egyéb szolgáltatások.  
26 -  
27 -* **[Adatbázis](##Adatbazis)**: Modul adatbázis összetevőinek leírása.  
28 -  
29 -## Fontos tudnivalók  
30 -### Telepítés  
31 -A komponens feltelepíti minden függőségét. Ha mégsem, akkor gyorsan be kell tenni  
32 -a függőségek közé.  
33 -  
34 -A hitelesítés miatt a Web.config-ot is módosítja a csomag az alábbiakkal.  
35 -Ez a tartalom található a "web.config.transform" fájlban:  
36 -```xml  
37 -<configuration>  
38 -  
39 - <appSettings>  
40 - <add key="enableSimpleMembership" value="false" />  
41 - <add key="autoFormsAuthentication" value="false" />  
42 - </appSettings>  
43 -  
44 - <connectionStrings>  
45 -  
46 - <add name="VrhWebMembership" connectionString="data source=(local)\SQLEXPRESS;initial catalog=ReelCheck;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />  
47 -  
48 - </connectionStrings>  
49 -  
50 - <system.web>  
51 -  
52 - <authentication mode="Forms">  
53 - <forms loginUrl="~/" timeout="2880" />  
54 - </authentication>  
55 -  
56 - <membership defaultProvider="DefaultMembershipProvider">  
57 - <providers>  
58 - <add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="VrhWebMembership" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" passwordCompatMode="Framework20" />  
59 - </providers>  
60 - </membership>  
61 -  
62 - <roleManager enabled="true" defaultProvider="DefaultRoleProvider">  
63 - <providers>  
64 - <add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="VrhWebMembership" applicationName="/" />  
65 - </providers>  
66 - </roleManager>  
67 -  
68 - </system.web>  
69 -  
70 -</configuration>  
71 -```  
72 -> **Ha már szerepel "VrhWebMembership" nevű [connectionString] elem, akkor  
73 -> az egyiket törölni kell a telepítés után.**  
74 -  
75 -### Beépített felhasználó  
76 -Ha üres, vagy olyan adatbázist talál a megadott kapcsolaton, ahol nem létezik még  
77 -az **Administrator** nevű szerep, akkor létrehozza az **Administrator** szerepet  
78 -és szerepkört. A szerepre azért van szükség, mert csak olyan felhasználó használhatja  
79 -a komponens akcióit, amelyik rendelkezik ezzel a szereppel.  
80 -  
81 -Ha még nincs egyetlen felhasználó sem, vagy van, de nem létezik a beépített felhasználó,  
82 -akkor létrehoz egy kezdeti felhasználót az alábbi névvel és jelszóval:  
83 -* Felhasználó név: **Admin**  
84 -* Jelszó: **Admin123**  
85 -  
86 -A jelszó természetesen megváltoztatható.  
87 -  
88 -## Felhasználó és jogosultság kezelés  
89 -### PasswordService  
90 -A ```MembershipUser``` típus jelszóval kapcsolatos szolgáltatásait nyújtó osztály.  
91 -Megvalósítja az ```Vrh.Web.Membership.IPasswordService```, és a ```System.IDispose``` interface-t.  
92 -A leírásban a szöveg végén "(i)" jelzi, ha az adott elem egy interface megvalósítás része.  
93 -Az osztály a ```Vrh.Web.TranslationBase``` osztály kiterjesztése, az ahhoz  
94 -tartozó összetevők végén "(t)" olvasható.  
95 -  
96 -Tulajdonság|Típus|Leírás  
97 -:----|:----  
98 -Context|```DAL.MembershipContext```|A példányosításkor létrejött DBContext a közvetlen elérésekhez.  
99 -LCID|```string```|A környezetben érvényes nyelvi kód.(t)  
100 -  
101 -Metódusok|Leírás  
102 -:----|:----  
103 -```void ChangePassword(MembershipUser user, string newPassword)```|Jelszó megváltoztatása az új jelszó beállításával.(i)  
104 -```void ChangePassword(MembershipUser user, string oldPassword, string newPassword)```|Jelszó megváltoztatása a régi jelszó ellenőrzésével.(i)  
105 -```void Dispose()```|IDispose interface által elvárt metódus megvalósítása.(i)  
106 -```string ResetPassword(MembershipUser user)```|Beállítja a felhasználó jelszavát egy új, automatikusan létrehozott jelszóra.(i)  
107 -```string ResetPassword(MembershipUser user, string passwordAnswer)```|Beállítja a felhasználó jelszavát egy új, automatikusan létrehozott jelszóra. Továbbá beállít egy új jelszó emlékeztetőt.(i)  
108 -```string Trans(Type wordCode)```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében.(t)  
109 -```string Trans(string wordCode, string defaultTrans = ""```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében. Ha nincs érvényes fordítás, akkor a defaultTrans lesz az értéke.(t)  
110 -```string TransFormat(Type wordCodeType, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
111 -```string TransFormat(string wordCode, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
112 -```void Unlock(MembershipUser user)```|Törli a felhasználó zárolt állapotát.(i)  
113 -  
114 -### RoleService  
115 -A DefaultRoleProvider szolgáltatásai nyújtó osztály.  
116 -Megvalósítja az ```Vrh.Web.Membership.IRoleService```, és a ```System.IDispose``` interface-t.  
117 -A leírásban a szöveg végén "(i)" jelzi, ha az adott elem egy interface megvalósítás része.  
118 -Az osztály a ```Vrh.Web.TranslationBase``` osztály kiterjesztése, az ahhoz  
119 -tartozó összetevők végén "(t)" olvasható.  
120 -  
121 -Tulajdonság|Típus|Leírás  
122 -:----|:----  
123 -All|```List<string>```|Egy lista a web.config-ban megadott alkalmazásnév összes szerepéről.  
124 -Enabled|```bool```|Annak jelzése, hogy használható-e a szerepkezelő.  
125 -LCID|```string```|A környezetben érvényes nyelvi kód.(t)  
126 -  
127 -Metódusok|Leírás  
128 -:----|:----  
129 -```void AddToRole(MembershipUser user, string roleName)```|A user-ben megadott felhasználó hozzárendelése a roleName-ben megadott szerephez.(i)  
130 -```void AddUsersToRoles(List<string> userNameList, List<string> roleNameList)```|A userNameList-ben megadott felhasználók hozzárendelése a roleNameList-ben megadott szerepekhez.  
131 -```void Create(string roleName)```|Szerep hozzáadása a web.config-ban megadott alkalmazásnév szerepeihez.(i)  
132 -```void Delete(string roleName)```|Szerep törlése a web.config-ban megadott alkalmazásnév szerepeiből.(i)  
133 -```void Dispose()```|IDispose interface által elvárt metódus megvalósítása.(i)  
134 -```IEnumerable<string> FindAll()```|Létrehoz egy listát a web.config-ban megadott alkalmazásnév összes szerepéről.(i)  
135 -```IEnumerable<string> FindByUser(MembershipUser user)```|Létrehoz egy szerepneveket tartalmazó listát, amelyben a user-ben megadott felhasználó összes szerepe van benne.(i)  
136 -```IEnumerable<string> FindByUserName(string userName)```|Létrehoz egy szerep neveket tartalmazó listát, amelyben userName-ben megadott nevű felhasználó összes szerepe van benne.(i)  
137 -```IEnumerable<string> FindUserNamesByRole(string roleName)```|Létrehoz egy felhasználó neveket tartalmazó listát, amelyben roleName-ben megadott nevű szerep összes felhasználója neve található.(i)  
138 -```bool IsInRole(bool IsInRole(string userName, string roleName))```|Annak jelzése, hogy a userName-ben megadott nevű felhasználó rendelkezik-e a roleName-ben megadott nevű szereppel.  
139 -```bool IsInRole(MembershipUser user, string roleName)```|Annak jelzése, hogy a user-ben megadott felhasználó rendelkezik-e a roleName-ben megadott nevű szereppel.(i)  
140 -```void RemoveFromAllRoles(MembershipUser user)```|A user-ben megadott felhasználó törlése az összes szerepből.(i)  
141 -```void RemoveFromRole(MembershipUser user, string roleName)```|A user-ben megadott felhasználó törlése a roleName-ben megadott szerepből.(i)  
142 -```void RemoveUsersFromRoles(List<string> userNameList, List<string> roleNameList)```|A userNameList-ben megadott felhasználók törlése a roleNameList-ben megadott szerepekből. Ezzel a metódussal a beépített "Administrator" szerepkörből nem törlődnek a felhasználók.(i)  
143 -```string Trans(Type wordCode)```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében.(t)  
144 -```string Trans(string wordCode, string defaultTrans = ""```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében. Ha nincs érvényes fordítás, akkor a defaultTrans lesz az értéke.(t)  
145 -```string TransFormat(Type wordCodeType, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
146 -```string TransFormat(string wordCode, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
147 -  
148 -### RoleGroupService  
149 -Szerepkörökkel kapcsolatos szolgáltatások.  
150 -A ```DAL.RoleGroup``` típus kezelését támogató osztály. Megvalósítja az  
151 -```Vrh.Web.Common.Lib.IManage```, és a ```System.IDispose``` interface-t.  
152 -A leírásban a szöveg végén "(i)" jelzi, ha az adott elem egy interface megvalósítás része.  
153 -A "DAL" a Vrh.Web.Membership.DAL névteret jelképezi, ahol a modul adatszerkezetei  
154 -találhatók. Az osztály a ```Vrh.Web.TranslationBase``` osztály kiterjesztése, az ahhoz  
155 -tartozó összetevők végén "(t)" olvasható.  
156 -  
157 -Tulajdonság|Típus|Leírás  
158 -:----|:----  
159 -All|```List<DAL.SecondaryFunction>```|A tábla összes adatát vissza adja egy listában.(i)  
160 -Context|```DAL.MembershipContext```|A példányosításkor létrejött DBContext a közvetlen elérésekhez.  
161 -LCID|```string```|A környezetben érvényes nyelvi kód.(t)  
162 -  
163 -Metódusok|Leírás  
164 -:----|:----  
165 -```void void Create(DAL.RoleGroup roleGroup)```|Szerepkör létrehozása.(i)  
166 -```void Delete(int id)```|Szerepkör törlése az egyedi azonosítója megadásával. A szerepkörhöz tartozó összerendelések is megszűnnek!(i)  
167 -```void Delete(string name)```|Szerepkör törlése az egyedi név megadásával. A szerepkörhöz tartozó összerendelések is megszűnnek!(i)  
168 -```void Dispose()```|IDispose interface által elvárt metódus megvalósítása.(i)  
169 -```DAL.RoleGroup Get(int id)```|Szerepkör lekérése az egyedi azonosítója alapján.(i)  
170 -```DAL.RoleGroup Get(string name)```|Szerepkör lekérése az egyedi neve alapján.(i)  
171 -```string Trans(Type wordCode)```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében.(t)  
172 -```string Trans(string wordCode, string defaultTrans = ""```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében. Ha nincs érvényes fordítás, akkor a defaultTrans lesz az értéke.(t)  
173 -```string TransFormat(Type wordCodeType, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
174 -```string TransFormat(string wordCode, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
175 -```void Update(DAL.RoleGroup roleGroup)```|Szerepkör módosítása a típus megadásával.(i)  
176 -  
177 -### UserService  
178 -Felhasználó kezelését támogató szolgáltatások.  
179 -Lehetőleg csak ezen osztály metódusait használjuk karbantartás közben.  
180 -A DefaultMembershipProvider szolgáltatásait nyújtó osztály.  
181 -Megvalósítja az ```Vrh.Web.Membership.IUserService```, és a ```System.IDispose``` interface-t.  
182 -A leírásban a szöveg végén "(i)" jelzi, ha az adott elem egy interface megvalósítás része.  
183 -Az osztály a ```Vrh.Web.TranslationBase``` osztály kiterjesztése, az ahhoz  
184 -tartozó összetevők végén "(t)" olvasható.  
185 -  
186 -Tulajdonság|Típus|Leírás  
187 -:----|:----  
188 -Context|```DAL.MembershipContext```|A példányosításkor létrejött DBContext a közvetlen elérésekhez.  
189 -LCID|```string```|A környezetben érvényes nyelvi kód.(t)  
190 -TotalUsers|```int```|Az adatbázisban szereplő összes felhasználó számával tér vissza.(i)  
191 -UsersOnline|```int```| Az alkalmazáshoz éppen hozzáférő felhasználók számát adja meg. Ahol a ```LastActivityDate``` kisebb, mint a mostani időpont csökkentve a ```UserIsOnlineTimeWindow``` beállítás értékével.(i)  
192 -  
193 -Metódusok|Leírás  
194 -:----|:----  
195 -```List<MembershipUser> All(bool isWithoutTemporaryUser = true)```|Az összes felhasználót tartalmazó listát ad vissza.(i)  
196 -```public MembershipUser Create(string username, string email, string comment, string password, string confirmPassword, bool isApproved)```|Felhasználó létrehozása a paraméterlistában felsorolt paraméterek megadásával.(i)  
197 -```void Delete(MembershipUser user)```|Felhasználó törlése. A felhasználóval kapcsolatos egyéb adatok is törlődnek.(i)  
198 -```void Dispose()```|IDispose interface által elvárt metódus megvalósítása.(i)  
199 -```MembershipUser Get(string userName)```|Egy felhasználó adatainak lekérése a neve alapján úgy, hogy az nem számít aktivitásnak a felhasználónál. Vagyis a ```LastActivityDate``` nem változik.(i)  
200 -```MembershipUser Get(object providerUserKey)```|Egy felhasználó adatainak lekérése az egyedi azonosítója alapján úgy, hogy az nem számít aktivitásnak a felhasználónál. Vagyis a ```LastActivityDate``` nem változik.(i)  
201 -```MembershipUser Touch(MembershipUser user)```|Egy felhasználó adatainak lekérése az objektuma alapján úgy, hogy az aktivitásnak számít a felhasználónál. Vagyis a ```LastActivityDate``` megváltozik.(i)  
202 -```MembershipUser Touch(string userName)```|Egy felhasználó adatainak lekérése a neve alapján úgy, hogy az aktivitásnak számít a felhasználónál. Vagyis a ```LastActivityDate``` megváltozik.(i)  
203 -```MembershipUser Touch(object providerUserKey)```|Egy felhasználó adatainak lekérése az egyedi azonosítója alapján úgy, hogy az aktivitásnak számít a felhasználónál. Vagyis a ```LastActivityDate``` megváltozik.(i)  
204 -```void Update(MembershipUser user)```|Felhasználó adatainak módosítása.(i)  
205 -  
206 -## Másodlagos felhasználók  
207 -### SecondaryFunctionService  
208 -A ```DAL.SecondaryFunction``` típus kezelését támogató osztály. Megvalósítja az  
209 -```Vrh.Web.Common.Lib.IManage```, és a ```System.IDispose``` interface-t.  
210 -A leírásban a szöveg végén "(i)" jelzi, ha az adott elem egy interface megvalósítás része.  
211 -A "DAL" a Vrh.Web.Membership.DAL névteret jelképezi, ahol a modul adatszerkezetei  
212 -találhatók. Az osztály a ```Vrh.Web.TranslationBase``` osztály kiterjesztése, az ahhoz  
213 -tartozó összetevők végén "(t)" olvasható.  
214 -  
215 -Tulajdonság|Típus|Leírás  
216 -:----|:----  
217 -All|```List<DAL.SecondaryFunction>```|A tábla összes adatát vissza adja egy listában.(i)  
218 -Context|```DAL.MembershipContext```|A példányosításkor létrejött DBContext a közvetlen elérésekhez.  
219 -LCID|```string```|A környezetben érvényes nyelvi kód.(t)  
220 -  
221 -Metódusok|Leírás  
222 -:----|:----  
223 -```void Create(DAL.SecondaryFunction secondaryFunction)```|Funkció létrehozása.(i)  
224 -```void Delete(int id)```|Funkció törlése az egyedi azonosítója megadásával. A funkcióhoz tartozó összes másodlagos bejelentkezés is törlődik!(i)  
225 -```void Delete(string name)```|Funkció törlése az egyedi név megadásával. A funkcióhoz tartozó összes másodlagos bejelentkezés is törlődik!(i)  
226 -```void Dispose()```|IDispose interface által elvárt metódus megvalósítása.(i)  
227 -```DAL.SecondaryFunction Get(int id)```|Funkció lekérése az egyedi azonosítója alapján.(i)  
228 -```DAL.SecondaryFunction Get(string name)```|Funkció lekérése az egyedi neve alapján.(i)  
229 -```string Trans(Type wordCode)```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében.(t)  
230 -```string Trans(string wordCode, string defaultTrans = ""```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében. Ha nincs érvényes fordítás, akkor a defaultTrans lesz az értéke.(t)  
231 -```string TransFormat(Type wordCodeType, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
232 -```string TransFormat(string wordCode, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
233 -```void Update(DAL.SecondaryFunction secondaryFunction)```|Funkció módosítása a típus megadásával.(i)  
234 -  
235 -Ajánlott az Xml dokumentáció tanulmányozása is, mert az apróbb változások ott lesznek követhetőek az  
236 -IntelliSense-en keresztül.  
237 -  
238 -### SecondaryLoginService  
239 -Másodlagos felhasználók bejelentkezéseinek nyilvántartása.  
240 -Másképpen a ```DAL.SecondaryLogin``` típus kezelését támogató osztály. Megvalósítja az  
241 -a ```System.IDispose``` interface-t. Az osztály a ```Vrh.Web.TranslationBase``` osztály kiterjesztése, az ahhoz  
242 -tartozó összetevők végén "(t)" olvasható.  
243 -A "DAL" a Vrh.Web.Membership.DAL névteret jelképezi, ahol a modul adatszerkezetei  
244 -találhatók.  
245 -Alapvető szabály, hogy egy adott célon csak 1 bejelentkezése lehet egy másodlagos felhasználónak.  
246 -  
247 -Tulajdonság|Típus|Leírás  
248 -:----|:----  
249 -All|```List<DAL.SecondaryLogin>```|A nyilvántartásban lévő összes bejelentkezés listája, függetlenül a lejárattól. A lista rendezetlen.  
250 -AllowMultipleLogin|```bool```|Engedélyezett-e egy célon több bejelentkezés (másik másodlagos felhasználó). Alapértelmezett értéke: igen  
251 -Context|```DAL.MembershipContext```|A példányosításkor létrejött DBContext a közvetlen elérésekhez.  
252 -ExpirationTime|```int```|Egy bejelentkezés lejárati ideje másodpercben. Alapértelmezett értéke: 600 (10 perc). Az expirationTime nélküli metódusok ezt az értéket használják.  
253 -Function|```DAL.SecondaryFunction```|A bejelentkezés nyilvántartás melyik funkcióhoz tartozik.  
254 -LCID|```string```|A környezetben érvényes nyelvi kód.(t)  
255 -TargetKey|```string```|A cél, amihez a bejelentkezés tartozik. Alapértelmezett értéke: null. A targetKey nélküli metódusok ezt az értéket használják.  
256 -  
257 -Metódus|Leírás  
258 -:----|:----  
259 -```void Dispose()```|IDispose interface által elvárt metódus megvalósítása.(i)  
260 -```DAL.SecondaryLogin Get(string secondaryUserName, string targetKey)```|Egy bejelentkezés keresése / lekérése. Megvizsgálja, hogy az adott célon a megadott névvel létezik-e bejelentkezés, ha nem akkor null-lal tér vissza.  
261 -```DAL.SecondaryLogin Get(int secondaryUserId, string targetKey)```|Egy bejelentkezés keresése / lekérése. Megvizsgálja, hogy az adott célon a megadott azonosítóval létezik-e bejelentkezés, ha nem akkor null-lal tér vissza.  
262 -```DAL.SecondaryUser GetSecondaryUser(string secondaryUserName)```|Egy másodlagos felhasználó rekord lekérése a példányosításkor megadott funkció és a secondaryUserName paraméterben megadott név alapján.  
263 -```bool IsExpired(string secondaryUserName), string targetKey, int expirationTime)```|Igaz, ha a secondaryUserName másodlagos felhasználó targetKey célon lévő bejelentkezés utolsó aktivitása óta már letelt az expirationTime-ban megadott idő.  
264 -```bool IsExpired(string secondaryUserName), string targetKey)```|Igaz, ha a secondaryUserName másodlagos felhasználó targetKey célon lévő bejelentkezés utolsó aktivitása óta már letelt az osztályban beállított ExpirationTime tulajdonságban beállított idő.  
265 -```bool IsExpired(string secondaryUserName)```|Igaz, ha a secondaryUserName másodlagos felhasználó TargetKey tulajdonság szerinti célon lévő bejelentkezés utolsó aktivitása óta már letelt az osztályban beállított ExpirationTime tulajdonságban beállított idő.  
266 -```bool IsExpiredAll(string targetKey, int expirationTime)```|Ha a targetKey célon lévő összes bejelentkezésnél az utolsó aktivitás óta eltelt expirationTime másodperc, akkor igaz értékkel tér vissza.  
267 -```bool IsExpiredAll(string targetKey)```|Ha a targetKey célon lévő összes bejelentkezésnél az utolsó aktivitás óta eltelt a beállított ExpirationTime másodperc, akkor igaz értékkel tér vissza.  
268 -```bool IsInRole(string name, string roleList)```|A másodlagos felhasználó elsődleges felhasználója rendelkezik-e valamelyik megadott szereppel. A roleList paraméter szerepnév vagy nevek listája vesszővel elválasztva.  
269 -```DAL.SecondaryLogin LazyLogin(string secondaryUserName, string targetKey)```|Bejelentkezés végrehajtása a jelszó ellenőrzése nélkül. Ha létezik már a bejelentkezés, akkor a LoginTime és a LastActivityTime frissítése.  
270 -```DAL.SecondaryLogin LazyLogin(string secondaryUserName)```|Bejelentkezés végrehajtása a jelszó ellenőrzése nélkül a beállított TargetKey alapján. Ha létezik már a bejelentkezés, akkor a LoginTime és a LastActivityTime frissítése.  
271 -```DAL.SecondaryLogin LoggedIn(string targetKey)```|A targetKey paraméterben megadott célon lévő legrégebben létrejött bejelentkezés.  
272 -```DAL.SecondaryLogin LoggedIn()```|Az osztályban beállított TargetKey paraméterben megadott célon lévő legrégebben létrejött bejelentkezés.  
273 -```List<DAL.SecondaryLogin> LoggedIns(string targetKey)```|A targetKey paraméterben megadott célon lévő összes bejelentkezés listája. A lista rendezetlen.  
274 -```List<DAL.SecondaryLogin> LoggedIns()```|Az osztályban beállított TargetKey paraméterben megadott célon lévő összes bejelentkezés listája. A lista rendezetlen.  
275 -```DAL.SecondaryLogin Login(string secondaryUserName, string secondaryUserPassword, string targetKey)```|Bejelentkezés végrehajtása. Ha létezik már a bejelentkezés, akkor a LoginTime és a LastActivityTime frissítése.  
276 -```DAL.SecondaryLogin Login(string secondaryUserName, string secondaryUserPassword)```|Bejelentkezés végrehajtása a beállított TargetKey alapján. Ha létezik már a bejelentkezés, akkor a LoginTime és a LastActivityTime frissítése.  
277 -```void Logout(DAL.SecondaryLogin secondaryLogin)```|A secondaryLogin paraméterben megadott bejelentkezés törlése.  
278 -```void Logout(string targetKey)```|A secondaryUserName nevű másodlagos felhasználó targetKey célon lévő bejelentkezésének törlése.  
279 -```void Logout(DAL.SecondaryLogin secondaryLogin)```|A targetKey célon lévő összes bejelentkezés törlése.  
280 -```void Logout()```|Az osztályban beállítot TargetKey célon lévő összes bejelentkezés törlése.  
281 -```void LogoutAll()```|Az osztály létrehozásakor megadott funkció alatti összes bejelentkezés törlése.  
282 -```void Touch(DAL.SecondaryLogin secondaryLogin)```|Az utolsó aktivitás idejének frissítése a megadott secondaryLogin-ban.  
283 -```void Touch(string secondaryUserName, string targetKey)```|Az utolsó aktivitás idejének frissítése a megadott targetKey célon lévő secondaryUserName nevű felhasználó bejelentkezésénél.  
284 -```void Touch(string targetKey)```|Az utolsó aktivitás idejének frissítése a megadott targetKey célon lévő összes bejelentkezésnél.  
285 -```string Trans(Type wordCode)```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében.(t)  
286 -```string Trans(string wordCode, string defaultTrans = "")```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében. Ha nincs érvényes fordítás, akkor a defaultTrans lesz az értéke.(t)  
287 -```string TransFormat(Type wordCodeType, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
288 -```string TransFormat(string wordCode, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
289 -```bool Validate(string name, string password)```|Ellenőrzés, hogy a példányosításkor megadott funkción a megadott néven és jelszóval létezik-e másodlagos felhasználó.  
290 -  
291 -### SecondaryUserService  
292 -A ```DAL.SecondaryUser``` típus kezelését támogató osztály. Megvalósítja az  
293 -```Vrh.Web.Common.Lib.IManage```, és a ```System.IDispose``` interface-t.  
294 -Az osztály a ```Vrh.Web.TranslationBase``` osztály kiterjesztése, az ahhoz  
295 -tartozó összetevők végén "(t)" olvasható.  
296 -A "DAL" a Vrh.Web.Membership.DAL névteret jelképezi, ahol a modul adatszerkezetei  
297 -találhatók.  
298 -  
299 -Tulajdonság|Típus|Leírás  
300 -:----|:----  
301 -All|```List<DAL.SecondaryUser>```|A tábla összes adatát vissza adja egy listában.(i)  
302 -FieldNameForTheLastException|```string```|Kivétel létrehozásakor jelzi, melyik mező miatt történt a kivétel. Ha null az értéke, akkor nem mezőhöz köthető a kivétel létrehozása.  
303 -Context|```DAL.MembershipContext```|A példányosításkor létrejött DBContext a közvetlen elérésekhez.  
304 -LCID|```string```|A környezetben érvényes nyelvi kód.(t)  
305 -  
306 -Metódus|Leírás  
307 -:----|:----  
308 -```void Create(DAL.SecondaryUser secondaryUser)```|Másodlagos felhasználó létrehozása.(i)  
309 -```void Delete(int id)```|Másodlagos felhasználó törlése az egyedi azonosítója megadásával.(i)  
310 -```void Delete(string name)```|Másodlagos felhasználó törlése a név megadásával. Ha több azonos nevű van, más funkcióknál, azokat is törli. Ha nem talál egy törlendőt sem, akkor nem tesz semmit.(i)  
311 -```void Delete(string functionName, string name)```|Másodlagos felhasználó törlése a funkció nevének és a bejelentkezés nevének megadásával.  
312 -```DAL.SecondaryUser Get(int id)```|Másodlagos felhasználó lekérése az egyedi azonosítója alapján.(i)  
313 -```DAL.SecondaryUser Get(string name)```|Másodlagos felhasználó lekérése a név alapján. Ha több azonos nevű van más funkcióknál, akkor az elsőt fogja eredményezni.(i)  
314 -```DAL.SecondaryUser Get(string functionName, string name)```|Másodlagos felhasználó lekérése a funkció és a másodlagos bejelentkezés neve alapján.  
315 -```bool IsInRole(string functionName, string name, string roleList)```|A másodlagos felhasználó elsődleges felhasználója rendelkezik-e valamelyik megadott szereppel. A roleList paraméter szerepnév vagy nevek listája vesszővel elválasztva.  
316 -```string Trans(Type wordCode)```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében.(t)  
317 -```string Trans(string wordCode, string defaultTrans = ""```|```MultiLanguageManager.GetTranslation``` meghívása a fordítás megkönnyítése érdekében. Ha nincs érvényes fordítás, akkor a defaultTrans lesz az értéke.(t)  
318 -```string TransFormat(Type wordCodeType, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
319 -```string TransFormat(string wordCode, params object[] pars)```|```MultiLanguageManager.GetTranslation``` meghívása a pars behelyettesítésével.(t)  
320 -```void Update(DAL.SecondaryUser secondaryUser)```|Másodlagos felhasználó módosítása a típus megadásával.(i)  
321 -```bool Validate(string functionName, string name, string password)```|Ellenőrzés, hogy az adott funkción és néven és jelszóval létezik-e másodlagos felhasználó.  
322 -  
323 -****  
324 -  
325 -## Adatbázis  
326 -### RoleGroups tábla  
327 -Szerepkörök táblázata.  
328 -  
329 -Oszlop|Típus|Leírás  
330 -:----|:----  
331 -Id|```int```|Szerepkör egyedi azonosítója.  
332 -Name|```string```|Szerepkör egyedi megnevezése.  
333 -  
334 -### RoleGroupRoles tábla  
335 -Szerepkörök és szerepek összerendelése.  
336 -  
337 -Oszlop|Típus|Leírás  
338 -:----|:----  
339 -RoleGroupId|```int```|Szerepkör egyedi azonosítója.  
340 -RoleId|```Guid```|Szerep egyedi azonosítója.  
341 -  
342 -### RoleGroupUsers tábla  
343 -Szerepkörök és felhasználók összerendelése.  
344 -  
345 -Oszlop|Típus|Leírás  
346 -:----|:----  
347 -RoleGroupId|```int```|Szerepkör egyedi azonosítója.  
348 -UserId|```Guid```|Felhasználó egyedi azonosítója.  
349 -  
350 -### SecondaryFunctions tábla  
351 -Lehetséges funkciókat tartalmazó táblázat, mely funkciókhoz  
352 -tartozhat a másodlagos felhasználó.  
353 -  
354 -Oszlop|Típus|Leírás  
355 -:----|:----  
356 -Id|```int```|A funkció egyedi azonosítója.  
357 -Name|```string```|A funkció egyedi megnevezése.  
358 -  
359 -### SecondaryLogins tábla  
360 -Másodlagos felhasználók bejelentkezéseit nyilvántartó táblázat.  
361 -Egy másodlagos felhasználónak egy bejelentkezése tartozhat egy célhoz.  
362 -Vagyis a UserID+TargetKey együtt egyedi kulcsot alkot.  
363 -  
364 -Oszlop|Típus|Leírás  
365 -:----|:----  
366 -Id|```int```|A bejelentkezés belső egyedi azonosítója.  
367 -SecondaryUserId|```int```|Másodlagos felhasználó azonosítója, akinek a nevében történt a bejelentkezés.  
368 -TargetKey|```string```|A bejelentkezéshez tartozó azonosító. Értelmezése: Mi célból történt a bejelentkezés? MaxLength(20)  
369 -LoginTime|```DateTime```|Bejelentkezés időpontja.  
370 -LastActivityTime|```DateTime```|A legutóbbi aktivitás időpontja.  
371 -  
372 -### SecondaryUsers tábla  
373 -  
374 -Oszlop|Típus|Leírás  
375 -:----|:----  
376 -Id|```int```|Másodlagos felhasználó belső egyedi azonosítója.  
377 -UserId|```Guid```|Az elsődleges felhasználó egyedi azonosítója a dbo.Users táblából. Ő hozzá tartozik a másodlagos felhasználó.  
378 -SecondaryFunctionId|```int```|Melyik funkcióhoz tartozik a másodlagos felhasználó.  
379 -Name|```string```|Másodlagos felhasználó neve.  
380 -Password|```string```|Másodlagos felhasználó jelszava.  
381 -Active|```bool```|Másodlagos felhasználó érvényes-e jelenleg.  
382 -  
383 -### UserSupplements tábla  
384 -A DefaultMembershipProvider 'User' táblájában nem szabad változtatásokat eszközölni  
385 -a jövőbeni esetleges Microsoft fejlesztések miatt.  
386 -Ez a tábla arra való, hogy a felhasználóra vonatkozó egyéb kiegészítő adatokat  
387 -legyen hol tárolni.  
388 -Ha nincsenek a felhasználónak kiegészítő adatai akkor nem lesz itt rekordja.  
389 -  
390 -Oszlop|Típus|Leírás  
391 -:----|:----  
392 -UserId|```Guid```|A felhasználó egyedi azonosítója a 'User' táblából. Itt is csak 1 db azonosító lehet.  
393 -IsTemporary|```bool```|Annak jelzése, hogy a felhasználó ideiglenesen létrehozott felhasználó. Ha igaz, akkor ideiglenes, egyébként hamis. Ha nem létezik a felhasználónak itt rekordja, akkor nem ideiglenes felhasználó.  
394 -  
395 -  
396 -***  
397 -### Version History of Vrh.Web.Membership:  
398 -#### 4.8.4 (2023.08.18) Patch:  
399 -- A jquery-ui frissítésekor a hivatkozásokat is át kell írni a megfelelő helyeken. Ez elmaradt, és emiatt nem működtek bizonyos funkciók (pl. szerep és szerepkörök összerendelése). Ennek a javítása történ.  
400 -#### 4.8.3 Patch (2023.08.01, nuget):  
401 -#### 4.8.2 Patch (2023.05.24, nuget):  
402 -- AutoLogout.js-ben javítás  
403 -#### 4.8.1 Patch (2022.12.19, nuget):  
404 -- áttérés a VRH.Common 3.0-ra  
405 -#### 4.8.0 Compatible change (2022.12.19, nuget):  
406 -#### 4.7.0 Compatible change (2022.12.19, nuget):  
407 -- automatikus kijelentkezéshez szükséges egyes dolgok igazítása  
408 -#### 4.6.1 (2022.10.29) Patch:  
409 -- Frissítés a Vrh.Web.Common.Lib 2.18.1 változatára  
410 -#### 4.6.0 (2022.10.21) Compatible change:  
411 -- NoUserLoggedIn page-re átirányítás megoldása  
412 -#### 4.5.1 (2022.10.04) Patch:  
413 -#### 4.5.0 (2022.09.30) Compatible change:  
414 -- role description beillesztése a felületre  
415 -#### 4.4.3 (2022.08.29) Patches:  
416 -- Frissítés a Font.Awesome 5.15.4 változatára.  
417 -- Frissítés a jQuery.UI.Combined 1.13.2 változatára.  
418 -- Frissítés a jQuery.Validation 1.19.5 változatára.  
419 -- Frissítés a Microsoft.AspNet.Mvc 5.2.9 változatára.  
420 -- Frissítés a Microsoft.AspNet.Razor 3.2.9 változatára.  
421 -- Frissítés a Microsoft.AspNet.WebPages 3.2.9 változatára.  
422 -- Frissítés a Microsoft.AspNet.WebPages.Data 3.2.9 változatára.  
423 -- Frissítés a Microsoft.AspNet.WebPages.WebData 3.2.9 változatára.  
424 -- Frissítés a Microsoft.jQuery.Unobtrusive.Validation 4.0.0 változatára.  
425 -- Frissítés a Microsoft.Web.Infrastructure 2.0.0 változatára.  
426 -- Frissítés a Moment.js 2.29.4 változatára.  
427 -- Frissítés a Vrh.Web.Common.Lib 2.10.1 változatára  
428 -- Frissítés a VRH.MultiLanguagemanager 3.20.1 változatára.  
429 -#### 4.4.2 Patch (nuget 2022.06.27):  
430 -#### 4.4.1 Patch (nuget 2022.06.16):  
431 -#### 4.4.0 Compatible change (nuget 2022.06.15):  
432 -- A bejelentkezett user neve elmentésre kerül cookie-ként - egyenlőre csak kísérleti jelleggel  
433 -#### 4.3.5 Patches (nuget 2021.11.05):  
434 -- ManyToMany controller konstruktorában a loader exception kezelésének javítása (hogy végre látszódjék a hibaüzenetben, hogy mi a nyavaja baja van...)  
435 -#### 4.3.4 (2021.08.29) Patches:  
436 -- Javitás a UserAdministration/SecondaryUser/Editor.cshtml-ben egy nem létező állandóra hivatkozás miatt.  
437 -- Frissítés a jQuery 3.6.0 változatára.  
438 -- Frissítés a Newtonsoft.Json 13.0.1 változatára.  
439 -- Frissítés a VRH.Common 2.21.3 változatára  
440 -- Frissítés a Vrh.Web.Common.Lib 2.9.0 változatára  
441 -- Frissítés a Vrh.XmlProcessing 1.29.0 változatára  
442 -- Frissítés a VRH.MultiLanguagemanager 3.18.1 változatára.  
443 -- Frissítés a Vrh.Membership 3.4.4 változatára.  
444 -### 4.3.3 Patch(2021.03.08, nuget)  
445 -### 4.3.2 Patch(2021.03.08, nuget)  
446 -- Change password nyomógomb a loginout képernyőre  
447 -### 4.3.1 Patches (2021.03.05, nuget)  
448 -### 4.3.0 Patches (2021.03.05, nuget)  
449 -- A lapok fejlécének egységesítése  
450 -#### 4.2.1 (2021.02.17) Patches:  
451 -- A bekerült linkek tartalmazták a fejlesztő gépen használt szerver nevet. Javítva lettek relatív linkekre.  
452 -- Az ablakok méretézésénél a linkek "kiúsztak" a képből. Beállításra került egy méret érzékeny tördelés.  
453 -- A Vrh.Membership.Constants.cs-ből átkerültek a csak a web felületen használatos állandók a WebConst.cs-be.  
454 -- Visszaállás a bootstrap 4.6.0 változatára  
455 -- Frissítés a Bootbox.JS 5.5.2 változatára  
456 -- Frissítése a Font.Awesome 5.15.2 változatára  
457 -- Frissítése a jQuery.Validation 1.19.3 változatára  
458 -- Frissítése a Microsoft.jQuery.Unobtrusive.Validation 3.2.12 változatára  
459 -- Frissítés a VRH.Common 2.21.1 változatára  
460 -- Frissítés a Vrh.Web.Common.Lib 2.6.3 változatára  
461 -- Frissítés a Vrh.XmlProcessing 1.26.1 változatára  
462 -#### 4.2.0 (2020.12.15) Compatible changes:  
463 -- Minden Index és Manager view fejlécébe bekerült a többit elérő link, és az ehhez kapcsolatos szókódok bekerültek ide.  
464 -#### 4.0.5-4.0.7 (2020.07.08) Patches:  
465 -- Szókódok hiányzó fordításainak pótlása  
466 -- beépülők frissítése  
467 -#### 4.0.4 (2020.04.15) Patches:  
468 -- Frissítés a Vrh.Web.Common.Lib 2.5.6 változatára.  
469 -- Frissítés a Vrh.Membership 4.0.1 változatára.  
470 -#### 4.0.3 (2020.03.23) Patches:  
471 -- Frissítés a Font.Awesome 5.12.0 változatára.  
472 -- Frissítés a popper.js 1.16.1 változatára.  
473 -#### 4.0.2 (2020.03.20) Patches:  
474 -- referenciák javítása  
475 -#### 4.0.1 (2020.03.20) Patches:  
476 -- referenciák rendezése  
477 -#### 4.0.0 (2020.03.20) Incompatible changes:  
478 -- Vrh.Membership nuget csomagba kerültek az alap .net-es egységek, a webes összetevők maradtak  
479 -  
480 -  
481 -  
482 -### Version History of Vrh.Membership:  
483 -#### 4.11.0 Compatible change (2022.10.21)  
484 -- Log4ProAuthorization osztály eltávolítása (áthelyezve a WebTools modulba).  
485 -Ez az osztály csak legutóbb került bele, sehol nincs használatban,  
486 -ezért ilyen a verziószámozás...  
487 -#### 4.10.0 (2022.10.21) Compatible change:  
488 -- First user neve és password-je is Administrator-ra változott  
489 -#### 4.9.0 (2022.10.13) Compatible change  
490 -#### 4.8.0 (2022.10.12) Compatible change  
491 -#### 4.7.0 (2022.10.05) Compatible change  
492 -#### 4.6.2-10 (2022.10.04) Patches:  
493 -#### 4.6.1 (2022.09.30) Patches:  
494 -#### 4.6.0 (2022.09.30) Compatible change:  
495 -- a role description-ök kezeléséhez szükséges metódusok hozzáadása:GetRoleWordCode,GetRoleDescription,Create(string,Type)  
496 -#### 4.5.0 (2022.09.23) Compatible change:  
497 -- SecondaryLoginService kapott egy olyan konstruktort, amiben lehet kérni a hivatkozott funkció létrehozását, ha az még nem létezne.  
498 -#### 4.4.0 (2022.08.29) Compatible change:  
499 -- A PasswordService kiegészült egy GetHash nevű metódussal, amely a  
500 -megadott felhasználó jelszavának hash értékével tér vissza.  
501 -- Frissítés a Microsoft.AspNet.Mvc 5.2.9 változatára.  
502 -- Frissítés a Microsoft.AspNet.Razor 3.2.9 változatára.  
503 -- Frissítés a Microsoft.AspNet.WebPages 3.2.9 változatára.  
504 -- Frissítés a Microsoft.Web.Infrastructure 2.0.0 változatára.  
505 -- Frissítés a VRH.MultiLanguagemanager 3.20.1 változatára.  
506 -#### 4.3.4 (2021.08.29) Patches:  
507 -- Frissítés a Newtonsoft.Json 13.0.1 változatára.  
508 -- Frissítés a VRH.Common 2.21.3 változatára  
509 -- Frissítés a Vrh.Web.Common.Lib 2.9.0 változatára  
510 -- Frissítés a Vrh.XmlProcessing 1.29.0 változatára  
511 -- Frissítés a VRH.MultiLanguagemanager 3.18.1 változatára.  
512 -#### 4.3.3 Patch(2021.03.10, nuget)  
513 -- Vrh.Web.Providers függőség hozzáadása, hogy a telepítéskor vigye ezt a csomagot is  
514 -#### 4.3.2 Patch(2021.03.08, nuget)  
515 -- Change password nyomógombbal (a loginout képernyőre) kapcsolatos szókód és egyebek  
516 -#### 4.3.1 Patch(2021.03.05, nuget)  
517 -#### 4.3.0 Compatible change(2021.03.05, nuget)  
518 -- szókódok változtatása  
519 -#### 4.2.1 Patches:  
520 -- Frissítés a VRH.Common 2.21.1 változatára  
521 -- Frissítés a Vrh.XmlProcessing 1.26.1 változatára  
522 -#### 4.2.1 (2021.02.17) Patches:  
523 -- A Constants.cs-ből törölve lettek a csak a web felületen használatos állandók.  
524 -- Frissítés a VRH.Common 2.21.1 változatára  
525 -- Frissítés a Vrh.XmlProcessing 1.26.1 változatára  
526 -#### 4.2.0 (2020.12.15) Compatible changes:  
527 -- Minden Index és Manager view fejlécébe bekerült a többit elérő link, és az ehhez kapcsolatos szókódok bekerültek ide.  
528 -#### 4.1.1 (2020.11.13) Patches:  
529 -- Modulnév adat hozzáadása a szókódokhoz  
530 -#### 4.1.0 (2020.11.12) Patches:  
531 -- Beépülők frissítése  
532 -#### 4.0.4 (2020.07.10) Patches:  
533 -- Egy hiányzó szókód pótlása  
534 -#### 4.0.2-4.0.3 (2020.07.08) Patches:  
535 -- Szókódok hiányzó fordításainak pótlása  
536 -- beépülők frissítése  
537 -#### 4.0.1 (2020.04.15) Patches:  
538 -- Vrh.Web.Common.Lib függőség megszüntetése.  
539 -- A csomagkészítés dolgai a "for NuGet packaging" mappába kerültek.  
540 -- Frissítés a VRH.Common 2.13.2 változatára.  
541 -- Frissítés a VRH.MultiLanguagemanager 3.12.0 változatára.  
542 -- Frissítés a Vrh.XmlProcessing 1.18.2 változatára.  
543 -#### 4.0.0 (2020.03.20) Incompatible changes:  
544 -- Vrh.Membership nuget csomagba kerültek az alap .net-es egységek, a webes összetevők maradtak.  
545 -  
546 -## Version History:  
547 -#### 3.13.0 (2019.12.03) Compatible changes - debug:  
548 -- Átállás a Vrh.Web.Providers 2.0.1 használatára.  
549 -  
550 -#### 3.12.0 (2019.12.02) Compatible changes - debug:  
551 -- UserAdministration/Account/LoginRole akció megvalósítása.  
552 -- Frissítés a Bootbox.JS 5.2.0 változatára.  
553 -- Frissítés a bootstrap 4.4.1 változatára.  
554 -- Frissítés a Font.Awesome 5.11.2 változatára.  
555 -- Frissítés a jQuery.Validation 1.19.1 változatára.  
556 -- Frissítés a Newtonsoft.Json 12.0.3 változatára.  
557 -- Frissítés a VRH.Common 2.10.0 változatára.  
558 -- Frissítés a VRH.Log4Pro.MultiLanguageManager 3.8.3 változatára.  
559 -- Frissítés a Vrh.Web.Common.Lib 2.4.0 változatára.  
560 -- Frissítés a Vrh.XmlProcessing 1.12.0 változatára.  
561 -  
562 -#### 3.11.2 (2019.09.18) Patches - debug:  
563 -- UserAdministrationController.GetUserList javítása, hogy kezelje az autocomplete kereső karaktereit.  
564 -- UserAdministrationController.GetRoleList javítása, hogy kezelje az autocomplete kereső karaktereit.  
565 -  
566 -#### 3.11.1 (2019.08.12) Compatible changes - debug:  
567 -- RoleService.Assignemnts metódus hozzáadva  
568 -- IUserService, IRolesService interfész kibővítve ezekkel a metódusokkal  
569 -  
570 -#### 3.11.0 (2019.08.09) Compatible changes - debug:  
571 -- UserService.GetUserList metódus hozzáadva  
572 -  
573 -#### 3.10.0 (2019.06.19) Compatible changes - debug:  
574 -- Mostantól a modul a "VRH.Membership:SQL_connectionString" nevű kapcsolati sztringet keresi a paraméter nélkül hívott MembershipContext példányosítás esetén.  
575 -- Az előbbi érték felülírható a MembershipContext.ConnectionStringName static tulajdonság beállításával.  
576 -- Frissítés a VRH.Log4Pro.MultiLanguageManager 3.5.2 változatára.  
577 -- Frissítés a Vrh.Web.Common.Lib 2.1.1 változatára.  
578 -- Frissítés a Vrh.XmlProcessing 1.3.0 változatára.  
579 -  
580 -#### 3.9.0 (2019.06.14) Compatible changes - debug:  
581 -- Frissítés a VRH.Log4Pro.MultiLanguageManager 3.5.1 változatára.  
582 -- Frissítés a Vrh.Web.Common.Lib 2.1.0 változatára.  
583 -- Frissítés a Vrh.XmlProcessing 1.1.0 változatára.  
584 -  
585 -#### 3.8.0 (2019.05.14) Compatible changes - debug:  
586 -- Átállás a Vrh.Web.Common.Lib 2.0.0 változatára.  
587 -- Vrh.XmlProcessing 1.0.0 hozzáadása.  
588 -- Vrh.Common 2.3.0 hozzáadása.  
589 -- Frissítés a VRH.Log4Pro.MultiLanguageManager 3.4.0 változatára.  
590 -- Frissítés a Microsoft.AspNet.WebPages.Data 3.2.7 változatára.  
591 -- Frissítés a Microsoft.AspNet.WebPages.WebData 3.2.7 változatára.  
592 -- Frissítés a WebActivatorEx 2.2.0 változatára.  
593 -- Frissítés a WebGrease 1.6.0 változatára.  
594 -- Frissítés a Font.Awesome 5.8.1 változatára.  
595 -- Frissítés a jQuery 3.4.1 változatára.  
596 -- RolesToUserRoleGroups felületen a dialóg ablakok "Mégse" gombjának stílusjavítása.  
597 -- Felhasználó kezelés felületen az "Utoljára aktív" oszlop kiírásainak javítása.  
598 -  
599 -#### 3.7.2 (2019.04.04) Patches - debug:  
600 -- Database.SetInitializer meghívása a MembershipContext példány létrehozásakor.  
601 -  
602 -#### 3.7.1 (2019.04.03) Patches - debug:  
603 -- SecondaryLogin LazyLogin javítás.  
604 -  
605 -#### 3.7.0 (2019.04.03) Compatible changes - debug:  
606 -- SecondaryLogin "int TargetId" mező módosítása "string TargetKey"-re.  
607 -- SecondaryLoginService módosítása a fenti mező változása miatt.  
608 -- Dokumentáció módosítása.  
609 -  
610 -#### 3.6.0 (2019.03.27) Compatible changes - debug:  
611 -- SecondaryLogin átnevezése SecondaryUser-re, és a másodlagos bejelentkezés helyett a  
612 -másodlagos felhasználó fogalom bevezetése.  
613 -- A SecondaryLoginService új neve SecondaryUserService.  
614 -- A SecondaryUserService osztály újabb metódusokkal bővült.  
615 -- Másodlagos bejelentkezések nyilvántartásának megvalósítása a SecondaryLoginService  
616 -osztály létrehozásával.  
617 -- Dokumentáció bővítése, pontosítása.  
618 -  
619 -#### 3.5.0 (2019.03.11) Compatible changes - debug:  
620 -- DataTier féle adatkezelés (vele a projekt is) megszűnt  
621 -- Entity Framwork 6.2 Code First bevezetése a Lib projekt DAL mappájában.  
622 -- DefaultMembershipProvider-en kívűli táblák külön sémába (UAdmin) helyezve.  
623 -- Új tábla és mezőnevek (RoleGroups, RoleGroupRoles, RoleGroupUsers)  
624 -- Másodlagos bejelentkezések kezelése. (Táblák: SecondaryLogins, SecondaryFunctions)  
625 -- Ideiglenes felhasználók elkülönítése. (Tábla: UserSupplements)  
626 -- Ideiglenes felhasználók bejelentkezéskori vizsgálata (törlése) a UserSupplements tábla alapján.  
627 -- VrhWebMembership_Connections.xml nem szükséges a továbbiakban.  
628 -- SecondaryFunctionService osztály elkészítése. A felület is ennek szolgáltatásait használja.  
629 -- SevondaryLoginService osztály elkészítése. A web felület is ezt használja.  
630 -- AspNetMembershipProviderWrapper osztály átnevezése UserService-re.  
631 -- AspNetRoleProviderWrapper osztály átnevezése RoleService-re.  
632 -- PasswordService osztály létrehozása, kikerült a UserService osztályból.  
633 -- RoleGroupService osztály létrehozása a szerepkörök kezelésére.  
634 -- A régi felületen sem lehet már közvetlen kivenni egy felhasználót egy szerep alól.  
635 -- Frissítés a Vrh.Web.Common.Lib 1.18.0 változatára.  
636 -- Frissítés a Moment.js 2.24.0 változatára.  
637 -- Frissítés a Microsoft.AspNet.Mvc 5.2.7 változatára.  
638 -- Frissítés a Microsoft.jQuery.Unobtrusive.Ajax 3.2.6 változatára.  
639 -- Frissítés a Microsoft.jQuery.Unobtrusive.Validation 3.2.11 változatára.  
640 -  
641 -#### 3.4.1 (2019.02.12) Patches - debug:  
642 -- Megváltozott az ideiglenes felhasználónév képzés algoritmusa.  
643 -- A bejelentkezési gombot csak a folyamatok végeztével lehet újra megnyomni.  
644 -- Bejelentkezéskor törli a "WebReq_" prefixxel 5 napnál régebben létrehozott  
645 - ideiglenes felhasználókat.  
646 -  
647 -#### 3.4.0 (2019.01.30) Compatible changes - debug:  
648 -- Közvetlen bejelentkezés (DirectAuthentication) megvalósítása.  
649 -- Frissítés a VRH.Log4Pro.MultiLanguageManager 3.1.0 változatára.  
650 -- Frissítés a Vrh.Web.Common.Lib 1.17.0 változatára.  
651 -  
652 -#### 3.3.0 (2018.11.07) Compatible changes - debug:  
653 -- Az XML-ben a WebReq típusnál a RequestTemplate elemben lett egy FromServer attribútum.  
654 -Alapértelmezett értéke: false. Ha true, akkor a szervertől megy a kérés a távoli loginhoz.  
655 -  
656 -#### 3.2.0 (2018.10.10) Compatible changes - debug:  
657 -- Összes korábbi Login és Logout akció megszűnt.  
658 -- Új "Login" akció: Be vagy kijelentkezési felületet nyomógombbal aszerint, hogy van-e érvényes  
659 -autentikáció vagy nincs. Vagy ablakban vagy beágyazva használható fel.  
660 -- Új "Logout" akció: Csak ablakban hívható, ami csak akkor jelenik meg, ha valami megakadályozza a  
661 -kijelentkezést.  
662 -- Membership.xml paraméterfájl bevezetése, amelyre az új akciók épülnek.  
663 -  
664 -#### 3.1.3 (2018.09.14) Patches - debug:  
665 -- A loginJSON akció most már jó üzenetet ad vissza, ha nem sikeres a belépés.  
666 -- A "card-primary" osztálynév törlések is megtörténtek, mivel olyan nem is létezik.  
667 -- Míg nem betonbiztos, addig debug csomagok készülnek.  
668 -- Frissítés a VRH.Log4Pro.MultiLanguageManager 3.0.0 változatára.  
669 -- Frissítés a Vrh.Web.Common.Lib 1.12.0 változatára.  
670 -- Frissítés a Microsoft.AspNet.Mvc 5.2.6 változatára.  
671 -- Frissítés a Font.Awesome 5.3.1 változatára  
672 -  
673 -#### 3.1.2 (2018.08.29) Patches:  
674 -- UserAdministration/UserAdministration Index.cshtml-en az  
675 -"Új felhasználó létrehozása" link Bootstrap succes gombra formázva  
676 -- Csak Release configra buildeljen nugetet  
677 -  
678 -#### 3.1.1 (2018.08.14) Patches - debug  
679 -- Szerepek (Roles) lapon a lista sötét háttérben világos betűvel, és piros nyomógombbal.  
680 -- A hivatkozás pedig működik a Vrh.Web.Menu alatt is.  
681 -  
682 -#### 3.1.0 (2018.08.09) Compatible changes - debug  
683 -- LoginJSON és LogoutJSON post akciók létrehozása az AccountController-ben.  
684 -  
685 -#### 3.0.1 (2018.05.10) Compatible changes - debug  
686 -- A ManyToMany integrálása a forrásba. Ezzel megszűnt az MvcContrib függőség.  
687 -- A legtöbb helyen a gombok és inputok bootstrap-es stílusokra támaszkodnak.  
688 -- Futási időben létrejönnek a szükséges táblák. Létrehozza az "Administrator"  
689 -szerepet és "Admin" felhasználót.  
690 -- Még fejlődik ezért csak a verzió 3. jegye módosult.  
691 -  
692 -#### 3.0.0 (2018.04.24) Initial version  
693 -1. Az új összetevőkhöz átalakított változat. Nem kompatibilis a kisebb verziókkal.  
694 -  
695 -  
Vrh.Web.Reporting/Vrh.Web.Reporting.csproj
@@ -296,17 +296,14 @@ @@ -296,17 +296,14 @@
296 <Reference Include="Vrh.Logger, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL"> 296 <Reference Include="Vrh.Logger, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
297 <HintPath>..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll</HintPath> 297 <HintPath>..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll</HintPath>
298 </Reference> 298 </Reference>
299 - <Reference Include="Vrh.Membership, Version=4.13.0.0, Culture=neutral, processorArchitecture=MSIL">  
300 - <HintPath>..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll</HintPath> 299 + <Reference Include="Vrh.Membership, Version=4.14.0.0, Culture=neutral, processorArchitecture=MSIL">
  300 + <HintPath>..\packages\Vrh.Membership.4.14.0\lib\net451\Vrh.Membership.dll</HintPath>
301 </Reference> 301 </Reference>
302 <Reference Include="Vrh.Web.Common.Lib, Version=2.20.3.0, Culture=neutral, processorArchitecture=MSIL"> 302 <Reference Include="Vrh.Web.Common.Lib, Version=2.20.3.0, Culture=neutral, processorArchitecture=MSIL">
303 <HintPath>..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll</HintPath> 303 <HintPath>..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll</HintPath>
304 </Reference> 304 </Reference>
305 - <Reference Include="Vrh.Web.FileManager.Lib, Version=1.6.0.0, Culture=neutral, processorArchitecture=MSIL">  
306 - <HintPath>..\packages\Vrh.Web.FileManager.1.6.0\lib\net462\Vrh.Web.FileManager.Lib.dll</HintPath>  
307 - </Reference>  
308 - <Reference Include="Vrh.Web.Membership.Lib, Version=4.11.0.0, Culture=neutral, processorArchitecture=MSIL">  
309 - <HintPath>..\packages\Vrh.Web.Membership.4.11.0\lib\net451\Vrh.Web.Membership.Lib.dll</HintPath> 305 + <Reference Include="Vrh.Web.FileManager.Lib, Version=1.7.0.0, Culture=neutral, processorArchitecture=MSIL">
  306 + <HintPath>..\packages\Vrh.Web.FileManager.1.7.0\lib\net462\Vrh.Web.FileManager.Lib.dll</HintPath>
310 </Reference> 307 </Reference>
311 <Reference Include="Vrh.Web.Menu.Lib, Version=1.29.0.0, Culture=neutral, processorArchitecture=MSIL"> 308 <Reference Include="Vrh.Web.Menu.Lib, Version=1.29.0.0, Culture=neutral, processorArchitecture=MSIL">
312 <HintPath>..\packages\Vrh.Web.Menu.1.29.0\lib\net451\Vrh.Web.Menu.Lib.dll</HintPath> 309 <HintPath>..\packages\Vrh.Web.Menu.1.29.0\lib\net451\Vrh.Web.Menu.Lib.dll</HintPath>
@@ -314,8 +311,8 @@ @@ -314,8 +311,8 @@
314 <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL"> 311 <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL">
315 <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll</HintPath> 312 <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll</HintPath>
316 </Reference> 313 </Reference>
317 - <Reference Include="Vrh.WebForm.Lib, Version=2.8.0.0, Culture=neutral, processorArchitecture=MSIL">  
318 - <HintPath>..\packages\Vrh.WebForm.2.8.0\lib\net462\Vrh.WebForm.Lib.dll</HintPath> 314 + <Reference Include="Vrh.WebForm.Lib, Version=2.8.2.0, Culture=neutral, processorArchitecture=MSIL">
  315 + <HintPath>..\packages\Vrh.WebForm.2.8.2\lib\net462\Vrh.WebForm.Lib.dll</HintPath>
319 </Reference> 316 </Reference>
320 <Reference Include="Vrh.XmlProcessing, Version=2.0.7.0, Culture=neutral, processorArchitecture=MSIL"> 317 <Reference Include="Vrh.XmlProcessing, Version=2.0.7.0, Culture=neutral, processorArchitecture=MSIL">
321 <HintPath>..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll</HintPath> 318 <HintPath>..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll</HintPath>
@@ -407,19 +404,6 @@ @@ -407,19 +404,6 @@
407 <Content Include="Areas\Menu\Scripts\MenuCommon.js" /> 404 <Content Include="Areas\Menu\Scripts\MenuCommon.js" />
408 <Content Include="Areas\Menu\Scripts\TouchScreen.js" /> 405 <Content Include="Areas\Menu\Scripts\TouchScreen.js" />
409 <Content Include="Areas\OneReport\ReportViewerWebForm.aspx" /> 406 <Content Include="Areas\OneReport\ReportViewerWebForm.aspx" />
410 - <Content Include="Areas\UAManyToMany\Content\UAManyToMany.css" />  
411 - <Content Include="Areas\UAManyToMany\Scripts\UAManyToMany.js" />  
412 - <Content Include="Areas\UAManyToMany\Scripts\UAManyToMany_ESLINTszerintDEúgynemmegy.js" />  
413 - <Content Include="Areas\UserAdministration\Content\menu.png" />  
414 - <Content Include="Areas\UserAdministration\Content\MvcMembership.css" />  
415 - <Content Include="Areas\UserAdministration\Content\PagedList.css" />  
416 - <Content Include="Areas\UserAdministration\Content\SecondaryUser.css" />  
417 - <Content Include="Areas\UserAdministration\Content\UserManager.css" />  
418 - <Content Include="Areas\UserAdministration\Scripts\LogInOut.js" />  
419 - <Content Include="Areas\UserAdministration\Scripts\LogoutOnly.js" />  
420 - <Content Include="Areas\UserAdministration\Scripts\RolesToUserRoleGroupsDialog.js" />  
421 - <Content Include="Areas\UserAdministration\Scripts\SecondaryUser.js" />  
422 - <Content Include="Areas\UserAdministration\Scripts\UserManager.js" />  
423 <Content Include="Areas\WebForm\Content\autocomplete.css" /> 407 <Content Include="Areas\WebForm\Content\autocomplete.css" />
424 <Content Include="Areas\WebForm\Content\bootstrap-datetimepicker.css" /> 408 <Content Include="Areas\WebForm\Content\bootstrap-datetimepicker.css" />
425 <Content Include="Areas\WebForm\Content\bootstrap-datetimepicker.min.css" /> 409 <Content Include="Areas\WebForm\Content\bootstrap-datetimepicker.min.css" />
@@ -615,7 +599,6 @@ @@ -615,7 +599,6 @@
615 </Content> 599 </Content>
616 <Content Include="Content\Log4Pro_Base.css" /> 600 <Content Include="Content\Log4Pro_Base.css" />
617 <Content Include="Content\Log4Pro_Base.min.css" /> 601 <Content Include="Content\Log4Pro_Base.min.css" />
618 - <Content Include="Content\PagedList.css" />  
619 <Content Include="Content\regular.css" /> 602 <Content Include="Content\regular.css" />
620 <Content Include="Content\regular.min.css" /> 603 <Content Include="Content\regular.min.css" />
621 <Content Include="Content\Site.css" /> 604 <Content Include="Content\Site.css" />
@@ -687,57 +670,6 @@ @@ -687,57 +670,6 @@
687 <Content Include="Areas\WebTools\Views\_LayoutNoMenu.cshtml" /> 670 <Content Include="Areas\WebTools\Views\_LayoutNoMenu.cshtml" />
688 <Content Include="Areas\WebTools\Views\web.config" /> 671 <Content Include="Areas\WebTools\Views\web.config" />
689 <Content Include="Areas\WebTools\Views\UserIsNotAuthenticated.cshtml" /> 672 <Content Include="Areas\WebTools\Views\UserIsNotAuthenticated.cshtml" />
690 - <Content Include="Areas\FileManager\Views\_ViewStart.cshtml" />  
691 - <Content Include="Areas\FileManager\Views\web.config" />  
692 - <Content Include="Areas\FileManager\Views\FileManager\Index.cshtml" />  
693 - <Content Include="Areas\FileManager\Views\FileManager\Error.cshtml" />  
694 - <Content Include="Areas\UserAdministration\Views\_ViewStart.cshtml" />  
695 - <Content Include="Areas\UserAdministration\Views\web.config" />  
696 - <Content Include="Areas\UserAdministration\Views\User\Roles.cshtml" />  
697 - <Content Include="Areas\UserAdministration\Views\User\RoleGroups.cshtml" />  
698 - <Content Include="Areas\UserAdministration\Views\User\PasswordRenewal.cshtml" />  
699 - <Content Include="Areas\UserAdministration\Views\User\Manager.cshtml" />  
700 - <Content Include="Areas\UserAdministration\Views\User\EditorWithLayout.cshtml" />  
701 - <Content Include="Areas\UserAdministration\Views\User\Editor.cshtml" />  
702 - <Content Include="Areas\UserAdministration\Views\UsersToUserRoleGroups\_UsersToUserRoleGroups.cshtml" />  
703 - <Content Include="Areas\UserAdministration\Views\UsersToUserRoleGroups\Index.cshtml" />  
704 - <Content Include="Areas\UserAdministration\Views\UserAdministration\UsersRoles.cshtml" />  
705 - <Content Include="Areas\UserAdministration\Views\UserAdministration\SearchUser.cshtml" />  
706 - <Content Include="Areas\UserAdministration\Views\UserAdministration\Roles.cshtml" />  
707 - <Content Include="Areas\UserAdministration\Views\UserAdministration\Role.cshtml" />  
708 - <Content Include="Areas\UserAdministration\Views\UserAdministration\Password2.cshtml" />  
709 - <Content Include="Areas\UserAdministration\Views\UserAdministration\Password.cshtml" />  
710 - <Content Include="Areas\UserAdministration\Views\UserAdministration\Index.cshtml" />  
711 - <Content Include="Areas\UserAdministration\Views\UserAdministration\Details.cshtml" />  
712 - <Content Include="Areas\UserAdministration\Views\UserAdministration\CreateUser.cshtml" />  
713 - <Content Include="Areas\UserAdministration\Views\Shared\ValidationSummary.cshtml" />  
714 - <Content Include="Areas\UserAdministration\Views\Shared\ErrorList.cshtml" />  
715 - <Content Include="Areas\UserAdministration\Views\SecondaryUser\SecondaryFunction.cshtml" />  
716 - <Content Include="Areas\UserAdministration\Views\SecondaryUser\Manager.cshtml" />  
717 - <Content Include="Areas\UserAdministration\Views\SecondaryUser\Editor.cshtml" />  
718 - <Content Include="Areas\UserAdministration\Views\RolesToUsers\_RolesToUsers.cshtml" />  
719 - <Content Include="Areas\UserAdministration\Views\RolesToUsers\Index.cshtml" />  
720 - <Content Include="Areas\UserAdministration\Views\RolesToUserRoleGroups\_RolesToUserRoleGroups.cshtml" />  
721 - <Content Include="Areas\UserAdministration\Views\RolesToUserRoleGroups\_NewUserRoleGroupForm.cshtml" />  
722 - <Content Include="Areas\UserAdministration\Views\RolesToUserRoleGroups\_EditUserRoleGroupForm.cshtml" />  
723 - <Content Include="Areas\UserAdministration\Views\RolesToUserRoleGroups\_DeleteUserRoleGroupForm.cshtml" />  
724 - <Content Include="Areas\UserAdministration\Views\RolesToUserRoleGroups\Index.cshtml" />  
725 - <Content Include="Areas\UserAdministration\Views\Account\_SetPasswordPartial.cshtml" />  
726 - <Content Include="Areas\UserAdministration\Views\Account\_RemoveExternalLoginsPartial.cshtml" />  
727 - <Content Include="Areas\UserAdministration\Views\Account\_ExternalLoginsListPartial.cshtml" />  
728 - <Content Include="Areas\UserAdministration\Views\Account\_ChangePasswordPartial.cshtml" />  
729 - <Content Include="Areas\UserAdministration\Views\Account\Register.cshtml" />  
730 - <Content Include="Areas\UserAdministration\Views\Account\Manage.cshtml" />  
731 - <Content Include="Areas\UserAdministration\Views\Account\LogoutOnly.cshtml" />  
732 - <Content Include="Areas\UserAdministration\Views\Account\LoginPage.cshtml" />  
733 - <Content Include="Areas\UserAdministration\Views\Account\LogInOut.cshtml" />  
734 - <Content Include="Areas\UserAdministration\Views\Account\ExternalLoginFailure.cshtml" />  
735 - <Content Include="Areas\UserAdministration\Views\Account\ExternalLoginConfirmation.cshtml" />  
736 - <Content Include="Areas\UserAdministration\Views\Account\DirectAuthentication.cshtml" />  
737 - <Content Include="Areas\UAManyToMany\Views\web.config" />  
738 - <Content Include="Areas\UAManyToMany\Views\UAManyToMany\_MultiSelectLists.cshtml" />  
739 - <Content Include="Areas\UAManyToMany\Views\UAManyToMany\_Main.cshtml" />  
740 - <Content Include="Areas\UAManyToMany\Views\UAManyToMany\ManyToMany.cshtml" />  
741 <Content Include="Areas\Menu\Views\_ViewStart.cshtml" /> 673 <Content Include="Areas\Menu\Views\_ViewStart.cshtml" />
742 <Content Include="Areas\Menu\Views\web.config" /> 674 <Content Include="Areas\Menu\Views\web.config" />
743 <Content Include="Areas\Menu\Views\Shared\ErrorList.cshtml" /> 675 <Content Include="Areas\Menu\Views\Shared\ErrorList.cshtml" />
@@ -762,6 +694,10 @@ @@ -762,6 +694,10 @@
762 <Content Include="Areas\WebForm\Views\WebForm\CurrentInput.cshtml" /> 694 <Content Include="Areas\WebForm\Views\WebForm\CurrentInput.cshtml" />
763 <Content Include="Areas\WebForm\Views\web.config" /> 695 <Content Include="Areas\WebForm\Views\web.config" />
764 <Content Include="Areas\WebForm\Views\Shared\WebFormError.cshtml" /> 696 <Content Include="Areas\WebForm\Views\Shared\WebFormError.cshtml" />
  697 + <Content Include="Areas\FileManager\Views\_ViewStart.cshtml" />
  698 + <Content Include="Areas\FileManager\Views\web.config" />
  699 + <Content Include="Areas\FileManager\Views\FileManager\Index.cshtml" />
  700 + <Content Include="Areas\FileManager\Views\FileManager\Error.cshtml" />
765 <None Include="LogConfig.xml"> 701 <None Include="LogConfig.xml">
766 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 702 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
767 </None> 703 </None>
@@ -1218,7 +1154,6 @@ @@ -1218,7 +1154,6 @@
1218 <Content Include="Vrh.NugetModuls.Documentations\Vrh.Logger\ReadMe.md" /> 1154 <Content Include="Vrh.NugetModuls.Documentations\Vrh.Logger\ReadMe.md" />
1219 <None Include="Vrh.NugetModuls.Documentations\Vrh.Web.Common.Lib\ReadMe.md" /> 1155 <None Include="Vrh.NugetModuls.Documentations\Vrh.Web.Common.Lib\ReadMe.md" />
1220 <None Include="Vrh.NugetModuls.Documentations\Vrh.Web.FileManager\ReadMe.md" /> 1156 <None Include="Vrh.NugetModuls.Documentations\Vrh.Web.FileManager\ReadMe.md" />
1221 - <None Include="Vrh.NugetModuls.Documentations\Vrh.Web.Membership\ReadMe.md" />  
1222 <None Include="Vrh.NugetModuls.Documentations\Vrh.Web.Menu\ReadMe.md" /> 1157 <None Include="Vrh.NugetModuls.Documentations\Vrh.Web.Menu\ReadMe.md" />
1223 <None Include="Vrh.NugetModuls.Documentations\Vrh.WebForm\ReadMe.md" /> 1158 <None Include="Vrh.NugetModuls.Documentations\Vrh.WebForm\ReadMe.md" />
1224 <None Include="XmlParser.xml"> 1159 <None Include="XmlParser.xml">
@@ -1275,6 +1210,9 @@ @@ -1275,6 +1210,9 @@
1275 <ItemGroup> 1210 <ItemGroup>
1276 <TypeScriptCompile Include="Scripts\index.d.ts" /> 1211 <TypeScriptCompile Include="Scripts\index.d.ts" />
1277 </ItemGroup> 1212 </ItemGroup>
  1213 + <ItemGroup>
  1214 + <Folder Include="Areas\UserAdministration\Scripts\" />
  1215 + </ItemGroup>
1278 <PropertyGroup> 1216 <PropertyGroup>
1279 <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> 1217 <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
1280 <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> 1218 <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
Vrh.Web.Reporting/Web.config
@@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
22 22
23 <add key="HangfireBootstrapper:disableautostart" value="false" /> 23 <add key="HangfireBootstrapper:disableautostart" value="false" />
24 <add key="HangfireBootstrapper:dbconnectionstring" value="MAINDBLOG4PRO" /> 24 <add key="HangfireBootstrapper:dbconnectionstring" value="MAINDBLOG4PRO" />
25 - <add key="enableSimpleMembership" value="false" /><add key="autoFormsAuthentication" value="false" /></appSettings> 25 + </appSettings>
26 <system.serviceModel> 26 <system.serviceModel>
27 <client configSource="WCFClients.config" /> 27 <client configSource="WCFClients.config" />
28 <services configSource="WCFServices.config" /> 28 <services configSource="WCFServices.config" />
@@ -41,10 +41,10 @@ @@ -41,10 +41,10 @@
41 <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" /> 41 <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
42 </providers> 42 </providers>
43 </sessionState> 43 </sessionState>
44 - <membership configSource="system.web.membership.config"/>  
45 - <roleManager configSource="system.web.roleManager.config"/>  
46 - <identity configSource="WebIdentity.config"/>  
47 - <authentication configSource="system.web.authentication.config"/> 44 + <membership configSource="system.web.membership.config" />
  45 + <roleManager configSource="system.web.roleManager.config" />
  46 + <identity configSource="WebIdentity.config" />
  47 + <authentication configSource="system.web.authentication.config" />
48 </system.web> 48 </system.web>
49 <runtime> 49 <runtime>
50 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 50 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
Vrh.Web.Reporting/packages.config
@@ -106,13 +106,12 @@ @@ -106,13 +106,12 @@
106 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net461" /> 106 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net461" />
107 <package id="VRH.Log4Pro.WebTools" version="1.12.5" targetFramework="net462" /> 107 <package id="VRH.Log4Pro.WebTools" version="1.12.5" targetFramework="net462" />
108 <package id="Vrh.Logger" version="3.1.0" targetFramework="net462" /> 108 <package id="Vrh.Logger" version="3.1.0" targetFramework="net462" />
109 - <package id="Vrh.Membership" version="4.13.0" targetFramework="net462" /> 109 + <package id="Vrh.Membership" version="4.14.0" targetFramework="net462" />
110 <package id="Vrh.Web.Common.Lib" version="2.20.3" targetFramework="net462" /> 110 <package id="Vrh.Web.Common.Lib" version="2.20.3" targetFramework="net462" />
111 - <package id="Vrh.Web.FileManager" version="1.6.0" targetFramework="net462" />  
112 - <package id="Vrh.Web.Membership" version="4.11.0" targetFramework="net462" /> 111 + <package id="Vrh.Web.FileManager" version="1.7.0" targetFramework="net462" />
113 <package id="Vrh.Web.Menu" version="1.29.0" targetFramework="net462" /> 112 <package id="Vrh.Web.Menu" version="1.29.0" targetFramework="net462" />
114 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" /> 113 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" />
115 - <package id="Vrh.WebForm" version="2.8.0" targetFramework="net462" /> 114 + <package id="Vrh.WebForm" version="2.8.2" targetFramework="net462" />
116 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" /> 115 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" />
117 <package id="WebActivatorEx" version="2.2.0" targetFramework="net45" /> 116 <package id="WebActivatorEx" version="2.2.0" targetFramework="net45" />
118 <package id="WebGrease" version="1.6.0" targetFramework="net451" /> 117 <package id="WebGrease" version="1.6.0" targetFramework="net451" />
Vrh.Web.iScheduler.Lib/Areas/iScheduler/iSchedulerAreaRegistration.cs
@@ -84,7 +84,7 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler @@ -84,7 +84,7 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler
84 84
85 bundles.Add(new ScriptBundle(SchConst.BUNDLES_SCRIPT_FOR_EDITOR).Include( 85 bundles.Add(new ScriptBundle(SchConst.BUNDLES_SCRIPT_FOR_EDITOR).Include(
86 "~/Scripts/moment-with-locales.min.js", 86 "~/Scripts/moment-with-locales.min.js",
87 - "~/Scripts/jquery-ui-1.12.1.min.js", 87 + "~/Scripts/jquery-ui-1.13.2.min.js",
88 string.Concat(scriptsPrefix, "bootstrap-datetimepicker.min.js"), 88 string.Concat(scriptsPrefix, "bootstrap-datetimepicker.min.js"),
89 string.Concat(scriptsPrefix, "Editor.js") 89 string.Concat(scriptsPrefix, "Editor.js")
90 )); 90 ));
@@ -99,7 +99,7 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler @@ -99,7 +99,7 @@ namespace Vrh.Web.iScheduler.Areas.iScheduler
99 99
100 bundles.Add(new ScriptBundle(SchConst.BUNDLES_SCRIPT_FOR_MANAGERCALENDAR).Include( 100 bundles.Add(new ScriptBundle(SchConst.BUNDLES_SCRIPT_FOR_MANAGERCALENDAR).Include(
101 "~/Scripts/moment-with-locales.min.js", 101 "~/Scripts/moment-with-locales.min.js",
102 - "~/Scripts/jquery-ui-1.12.1.min.js", 102 + "~/Scripts/jquery-ui-1.13.2.min.js",
103 "~/Scripts/fullcalendar.min.js", 103 "~/Scripts/fullcalendar.min.js",
104 string.Concat(scriptsPrefix, "bootstrap-toggle.js") 104 string.Concat(scriptsPrefix, "bootstrap-toggle.js")
105 )); 105 ));
Vrh.Web.iScheduler.Lib/Vrh.Web.iScheduler.Lib.csproj
@@ -259,8 +259,8 @@ @@ -259,8 +259,8 @@
259 <Reference Include="VRH.Log4Pro.MultiLanguageManager, Version=3.21.3.0, Culture=neutral, processorArchitecture=MSIL"> 259 <Reference Include="VRH.Log4Pro.MultiLanguageManager, Version=3.21.3.0, Culture=neutral, processorArchitecture=MSIL">
260 <HintPath>..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll</HintPath> 260 <HintPath>..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll</HintPath>
261 </Reference> 261 </Reference>
262 - <Reference Include="Vrh.Membership, Version=4.13.0.0, Culture=neutral, processorArchitecture=MSIL">  
263 - <HintPath>..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll</HintPath> 262 + <Reference Include="Vrh.Membership, Version=4.14.0.0, Culture=neutral, processorArchitecture=MSIL">
  263 + <HintPath>..\packages\Vrh.Membership.4.14.0\lib\net451\Vrh.Membership.dll</HintPath>
264 </Reference> 264 </Reference>
265 <Reference Include="Vrh.Web.Common.Lib, Version=2.20.3.0, Culture=neutral, processorArchitecture=MSIL"> 265 <Reference Include="Vrh.Web.Common.Lib, Version=2.20.3.0, Culture=neutral, processorArchitecture=MSIL">
266 <HintPath>..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll</HintPath> 266 <HintPath>..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll</HintPath>
Vrh.Web.iScheduler.Lib/packages.config
@@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
59 <package id="System.ValueTuple" version="4.5.0" targetFramework="net461" /> 59 <package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
60 <package id="VRH.Common" version="3.0.0" targetFramework="net461" /> 60 <package id="VRH.Common" version="3.0.0" targetFramework="net461" />
61 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net461" /> 61 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net461" />
62 - <package id="Vrh.Membership" version="4.13.0" targetFramework="net462" /> 62 + <package id="Vrh.Membership" version="4.14.0" targetFramework="net462" />
63 <package id="Vrh.Web.Common.Lib" version="2.20.3" targetFramework="net462" /> 63 <package id="Vrh.Web.Common.Lib" version="2.20.3" targetFramework="net462" />
64 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" /> 64 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" />
65 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" /> 65 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" />
Vrh.Web.iScheduler.Report.Lib/Vrh.Web.iScheduler.Report.Lib.csproj
@@ -113,8 +113,8 @@ @@ -113,8 +113,8 @@
113 <Reference Include="VRH.Log4Pro.MultiLanguageManager, Version=3.21.3.0, Culture=neutral, processorArchitecture=MSIL"> 113 <Reference Include="VRH.Log4Pro.MultiLanguageManager, Version=3.21.3.0, Culture=neutral, processorArchitecture=MSIL">
114 <HintPath>..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll</HintPath> 114 <HintPath>..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll</HintPath>
115 </Reference> 115 </Reference>
116 - <Reference Include="Vrh.Membership, Version=4.13.0.0, Culture=neutral, processorArchitecture=MSIL">  
117 - <HintPath>..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll</HintPath> 116 + <Reference Include="Vrh.Membership, Version=4.14.0.0, Culture=neutral, processorArchitecture=MSIL">
  117 + <HintPath>..\packages\Vrh.Membership.4.14.0\lib\net451\Vrh.Membership.dll</HintPath>
118 </Reference> 118 </Reference>
119 <Reference Include="Vrh.Web.Common.Lib, Version=2.20.3.0, Culture=neutral, processorArchitecture=MSIL"> 119 <Reference Include="Vrh.Web.Common.Lib, Version=2.20.3.0, Culture=neutral, processorArchitecture=MSIL">
120 <HintPath>..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll</HintPath> 120 <HintPath>..\packages\Vrh.Web.Common.Lib.2.20.3\lib\net451\Vrh.Web.Common.Lib.dll</HintPath>
Vrh.Web.iScheduler.Report.Lib/packages.config
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 <package id="PagedList.Mvc" version="4.5.0.0" targetFramework="net451" /> 14 <package id="PagedList.Mvc" version="4.5.0.0" targetFramework="net451" />
15 <package id="VRH.Common" version="3.0.0" targetFramework="net451" /> 15 <package id="VRH.Common" version="3.0.0" targetFramework="net451" />
16 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net451" /> 16 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net451" />
17 - <package id="Vrh.Membership" version="4.13.0" targetFramework="net462" /> 17 + <package id="Vrh.Membership" version="4.14.0" targetFramework="net462" />
18 <package id="Vrh.Web.Common.Lib" version="2.20.3" targetFramework="net462" /> 18 <package id="Vrh.Web.Common.Lib" version="2.20.3" targetFramework="net462" />
19 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" /> 19 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" />
20 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" /> 20 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" />
Vrh.iScheduler.Report/Vrh.iScheduler.Report.csproj
@@ -111,8 +111,8 @@ @@ -111,8 +111,8 @@
111 <Reference Include="VRH.Log4Pro.MultiLanguageManager, Version=3.21.3.0, Culture=neutral, processorArchitecture=MSIL"> 111 <Reference Include="VRH.Log4Pro.MultiLanguageManager, Version=3.21.3.0, Culture=neutral, processorArchitecture=MSIL">
112 <HintPath>..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll</HintPath> 112 <HintPath>..\packages\VRH.Log4Pro.MultiLanguageManager.3.21.3\lib\net45\VRH.Log4Pro.MultiLanguageManager.dll</HintPath>
113 </Reference> 113 </Reference>
114 - <Reference Include="Vrh.Membership, Version=4.13.0.0, Culture=neutral, processorArchitecture=MSIL">  
115 - <HintPath>..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll</HintPath> 114 + <Reference Include="Vrh.Membership, Version=4.14.0.0, Culture=neutral, processorArchitecture=MSIL">
  115 + <HintPath>..\packages\Vrh.Membership.4.14.0\lib\net451\Vrh.Membership.dll</HintPath>
116 </Reference> 116 </Reference>
117 <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL"> 117 <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL">
118 <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll</HintPath> 118 <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll</HintPath>
Vrh.iScheduler.Report/packages.config
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 <package id="PagedList.Mvc" version="4.5.0.0" targetFramework="net451" /> 14 <package id="PagedList.Mvc" version="4.5.0.0" targetFramework="net451" />
15 <package id="VRH.Common" version="3.0.0" targetFramework="net451" /> 15 <package id="VRH.Common" version="3.0.0" targetFramework="net451" />
16 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net451" /> 16 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net451" />
17 - <package id="Vrh.Membership" version="4.13.0" targetFramework="net462" /> 17 + <package id="Vrh.Membership" version="4.14.0" targetFramework="net462" />
18 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" /> 18 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" />
19 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" /> 19 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" />
20 </packages> 20 </packages>
21 \ No newline at end of file 21 \ No newline at end of file
Vrh.iScheduler/Vrh.iScheduler.csproj
@@ -127,8 +127,8 @@ @@ -127,8 +127,8 @@
127 <Reference Include="Vrh.Logger, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL"> 127 <Reference Include="Vrh.Logger, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
128 <HintPath>..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll</HintPath> 128 <HintPath>..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll</HintPath>
129 </Reference> 129 </Reference>
130 - <Reference Include="Vrh.Membership, Version=4.13.0.0, Culture=neutral, processorArchitecture=MSIL">  
131 - <HintPath>..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll</HintPath> 130 + <Reference Include="Vrh.Membership, Version=4.14.0.0, Culture=neutral, processorArchitecture=MSIL">
  131 + <HintPath>..\packages\Vrh.Membership.4.14.0\lib\net451\Vrh.Membership.dll</HintPath>
132 </Reference> 132 </Reference>
133 <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL"> 133 <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL">
134 <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll</HintPath> 134 <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net451\Vrh.Web.Providers.dll</HintPath>
Vrh.iScheduler/packages.config
@@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
21 <package id="VRH.Common" version="3.0.0" targetFramework="net451" /> 21 <package id="VRH.Common" version="3.0.0" targetFramework="net451" />
22 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net451" /> 22 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net451" />
23 <package id="Vrh.Logger" version="3.1.0" targetFramework="net462" /> 23 <package id="Vrh.Logger" version="3.1.0" targetFramework="net462" />
24 - <package id="Vrh.Membership" version="4.13.0" targetFramework="net462" /> 24 + <package id="Vrh.Membership" version="4.14.0" targetFramework="net462" />
25 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" /> 25 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" />
26 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" /> 26 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" />
27 </packages> 27 </packages>
28 \ No newline at end of file 28 \ No newline at end of file
iSchedulerMonitor/iSchedulerMonitor.ACPlugin.csproj
@@ -121,8 +121,8 @@ @@ -121,8 +121,8 @@
121 <Reference Include="Vrh.Logger, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL"> 121 <Reference Include="Vrh.Logger, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
122 <HintPath>..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll</HintPath> 122 <HintPath>..\packages\Vrh.Logger.3.1.0\lib\net451\Vrh.Logger.dll</HintPath>
123 </Reference> 123 </Reference>
124 - <Reference Include="Vrh.Membership, Version=4.13.0.0, Culture=neutral, processorArchitecture=MSIL">  
125 - <HintPath>..\packages\Vrh.Membership.4.13.0\lib\net451\Vrh.Membership.dll</HintPath> 124 + <Reference Include="Vrh.Membership, Version=4.14.0.0, Culture=neutral, processorArchitecture=MSIL">
  125 + <HintPath>..\packages\Vrh.Membership.4.14.0\lib\net451\Vrh.Membership.dll</HintPath>
126 </Reference> 126 </Reference>
127 <Reference Include="VRH.Mockable.TimeProvider, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> 127 <Reference Include="VRH.Mockable.TimeProvider, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
128 <HintPath>..\packages\VRH.Mockable.TimeProvider.1.0.0\lib\net45\VRH.Mockable.TimeProvider.dll</HintPath> 128 <HintPath>..\packages\VRH.Mockable.TimeProvider.1.0.0\lib\net45\VRH.Mockable.TimeProvider.dll</HintPath>
iSchedulerMonitor/packages.config
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 <package id="VRH.Common" version="3.0.0" targetFramework="net451" /> 17 <package id="VRH.Common" version="3.0.0" targetFramework="net451" />
18 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net451" /> 18 <package id="VRH.Log4Pro.MultiLanguageManager" version="3.21.3" targetFramework="net451" />
19 <package id="Vrh.Logger" version="3.1.0" targetFramework="net462" /> 19 <package id="Vrh.Logger" version="3.1.0" targetFramework="net462" />
20 - <package id="Vrh.Membership" version="4.13.0" targetFramework="net462" /> 20 + <package id="Vrh.Membership" version="4.14.0" targetFramework="net462" />
21 <package id="VRH.Mockable.TimeProvider" version="1.0.0" targetFramework="net45" /> 21 <package id="VRH.Mockable.TimeProvider" version="1.0.0" targetFramework="net45" />
22 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" /> 22 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net451" requireReinstallation="true" />
23 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" /> 23 <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net462" />