Skip to content

Commit

Permalink
Fix - Delete profile picture file from directory when removed while u…
Browse files Browse the repository at this point in the history
…pdating profile
  • Loading branch information
iamprazol committed Oct 10, 2023
1 parent a8aeee3 commit 64b1275
Show file tree
Hide file tree
Showing 29 changed files with 23,295 additions and 65 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* Fix - Send password reset not working on prevent core login.
* Fix - Select All button not working while adding endpoints as menu.
* Fix - WPML compatibilty for validation message for duplicate added.
* Fix - Delete profile picture file from directory when removed while updating profile.

= 3.0.4 - 04/09/2023
* Feature - Cloudflare turnstile captcha integration.
Expand Down
51 changes: 50 additions & 1 deletion assets/css/activation-rtl.css
Original file line number Diff line number Diff line change
@@ -1 +1,50 @@
.user-registration-message{overflow:hidden;position:relative;border-right-color:#2ea2cc!important}.user-registration-message.error{border-right-color:#ff4f55!important}.user-registration-message.error p{max-width:1000px}.user-registration-message a.button-primary,.user-registration-message a.button-secondary{text-decoration:none!important}.user-registration-message a.user-registration-message-close{position:absolute;top:0;left:0;padding:10px 21px 10px 15px;font-size:13px;line-height:1.23076923;text-decoration:none}.user-registration-message a.user-registration-message-close:before{position:absolute;top:8px;right:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}
/**
* activation.scss
* Styles applied to elements displayed on activation
*/
/**
* Imports
*/
/**
* Variables
*/
/**
* Grid breakpoints
*
* Define the minimum dimensions at which your layout will change,
* adapting to different screen sizes, for use in media queries.
**/
/**
* Grid containers
*
* Define the maximum width of `.ur-container` for different screen sizes.
* scss-docs-start container-max-widths
**/
/**
* Styling begins
*/
.user-registration-message {
overflow: hidden;
position: relative;
border-right-color: #2ea2cc !important; }
.user-registration-message.error {
border-right-color: #ff4f55 !important; }
.user-registration-message.error p {
max-width: 1000px; }
.user-registration-message a.button-primary,
.user-registration-message a.button-secondary {
text-decoration: none !important; }
.user-registration-message a.user-registration-message-close {
position: absolute;
top: 0;
left: 0;
padding: 10px 21px 10px 15px;
font-size: 13px;
line-height: 1.23076923;
text-decoration: none; }
.user-registration-message a.user-registration-message-close:before {
position: absolute;
top: 8px;
right: 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out; }
51 changes: 50 additions & 1 deletion assets/css/activation.css
Original file line number Diff line number Diff line change
@@ -1 +1,50 @@
.user-registration-message{overflow:hidden;position:relative;border-left-color:#2ea2cc!important}.user-registration-message.error{border-left-color:#ff4f55!important}.user-registration-message.error p{max-width:1000px}.user-registration-message a.button-primary,.user-registration-message a.button-secondary{text-decoration:none!important}.user-registration-message a.user-registration-message-close{position:absolute;top:0;right:0;padding:10px 15px 10px 21px;font-size:13px;line-height:1.23076923;text-decoration:none}.user-registration-message a.user-registration-message-close:before{position:absolute;top:8px;left:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}
/**
* activation.scss
* Styles applied to elements displayed on activation
*/
/**
* Imports
*/
/**
* Variables
*/
/**
* Grid breakpoints
*
* Define the minimum dimensions at which your layout will change,
* adapting to different screen sizes, for use in media queries.
**/
/**
* Grid containers
*
* Define the maximum width of `.ur-container` for different screen sizes.
* scss-docs-start container-max-widths
**/
/**
* Styling begins
*/
.user-registration-message {
overflow: hidden;
position: relative;
border-left-color: #2ea2cc !important; }
.user-registration-message.error {
border-left-color: #ff4f55 !important; }
.user-registration-message.error p {
max-width: 1000px; }
.user-registration-message a.button-primary,
.user-registration-message a.button-secondary {
text-decoration: none !important; }
.user-registration-message a.user-registration-message-close {
position: absolute;
top: 0;
right: 0;
padding: 10px 15px 10px 21px;
font-size: 13px;
line-height: 1.23076923;
text-decoration: none; }
.user-registration-message a.user-registration-message-close:before {
position: absolute;
top: 8px;
left: 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out; }
7,824 changes: 7,823 additions & 1 deletion assets/css/admin-rtl.css

Large diffs are not rendered by default.

7,824 changes: 7,823 additions & 1 deletion assets/css/admin.css

Large diffs are not rendered by default.

37 changes: 36 additions & 1 deletion assets/css/dashboard-rtl.css
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
.ur-dashboard-widget .ur-logo-wrap{align-items:center;display:flex;margin-bottom:12px}.ur-dashboard-widget .ur-logo-wrap .ur-plugin-info{display:flex;flex-direction:column;font-size:14px;font-weight:600;margin-right:15px}.ur-dashboard-widget .ur-logo-wrap .ur-plugin-info .ur-version{font-size:12px;font-weight:400}.ur-dashboard-widget .ur-dashboard-widget-forms .components-select-control__input{min-width:250px}.ur-dashboard-widget-statictics{margin-right:-12px;margin-left:-12px;margin-top:12px;border-top:1px solid #eee}.ur-dashboard-widget-statictics ul{display:flex;flex-wrap:wrap;margin-bottom:0}.ur-dashboard-widget-statictics ul li{flex:1;font-weight:600;text-align:center;border-left:1px solid #eee}.ur-dashboard-widget-statictics ul li:last-child{border-left:none}
/**
* User Registration Activity on Dashboard
*/
.ur-dashboard-widget .ur-logo-wrap {
align-items: center;
display: flex;
margin-bottom: 12px; }
.ur-dashboard-widget .ur-logo-wrap .ur-plugin-info {
display: flex;
flex-direction: column;
font-size: 14px;
font-weight: 600;
margin-right: 15px; }
.ur-dashboard-widget .ur-logo-wrap .ur-plugin-info .ur-version {
font-size: 12px;
font-weight: normal; }

.ur-dashboard-widget .ur-dashboard-widget-forms .components-select-control__input {
min-width: 250px; }

.ur-dashboard-widget-statictics {
margin-right: -12px;
margin-left: -12px;
margin-top: 12px;
border-top: 1px solid #eeeeee; }
.ur-dashboard-widget-statictics ul {
display: flex;
flex-wrap: wrap;
margin-bottom: 0; }
.ur-dashboard-widget-statictics ul li {
flex: 1;
font-weight: 600;
text-align: center;
border-left: 1px solid #eeeeee; }
.ur-dashboard-widget-statictics ul li:last-child {
border-left: none; }
37 changes: 36 additions & 1 deletion assets/css/dashboard.css
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
.ur-dashboard-widget .ur-logo-wrap{align-items:center;display:flex;margin-bottom:12px}.ur-dashboard-widget .ur-logo-wrap .ur-plugin-info{display:flex;flex-direction:column;font-size:14px;font-weight:600;margin-left:15px}.ur-dashboard-widget .ur-logo-wrap .ur-plugin-info .ur-version{font-size:12px;font-weight:400}.ur-dashboard-widget .ur-dashboard-widget-forms .components-select-control__input{min-width:250px}.ur-dashboard-widget-statictics{margin-left:-12px;margin-right:-12px;margin-top:12px;border-top:1px solid #eee}.ur-dashboard-widget-statictics ul{display:flex;flex-wrap:wrap;margin-bottom:0}.ur-dashboard-widget-statictics ul li{flex:1;font-weight:600;text-align:center;border-right:1px solid #eee}.ur-dashboard-widget-statictics ul li:last-child{border-right:none}
/**
* User Registration Activity on Dashboard
*/
.ur-dashboard-widget .ur-logo-wrap {
align-items: center;
display: flex;
margin-bottom: 12px; }
.ur-dashboard-widget .ur-logo-wrap .ur-plugin-info {
display: flex;
flex-direction: column;
font-size: 14px;
font-weight: 600;
margin-left: 15px; }
.ur-dashboard-widget .ur-logo-wrap .ur-plugin-info .ur-version {
font-size: 12px;
font-weight: normal; }

.ur-dashboard-widget .ur-dashboard-widget-forms .components-select-control__input {
min-width: 250px; }

.ur-dashboard-widget-statictics {
margin-left: -12px;
margin-right: -12px;
margin-top: 12px;
border-top: 1px solid #eeeeee; }
.ur-dashboard-widget-statictics ul {
display: flex;
flex-wrap: wrap;
margin-bottom: 0; }
.ur-dashboard-widget-statictics ul li {
flex: 1;
font-weight: 600;
text-align: center;
border-right: 1px solid #eeeeee; }
.ur-dashboard-widget-statictics ul li:last-child {
border-right: none; }
101 changes: 100 additions & 1 deletion assets/css/deactivation-feedback-rtl.css
Original file line number Diff line number Diff line change
@@ -1 +1,100 @@
#ur-deactivate-feedback-popup-wrapper{position:fixed;height:100%;width:100%;bottom:0;right:0;background-color:rgba(0,0,0,.8);z-index:99999;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:none;height:calc(100vh - 32px)}#ur-deactivate-feedback-popup-wrapper.active{display:block}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner{max-width:760px;background-color:#fff;position:absolute;border-radius:3px;box-shadow:-2px 8px 23px 3px rgba(0,0,0,.2);overflow:hidden;margin:0 auto;right:0;left:0;top:50%;-ms-transform:translateY(-50%);transform:translateY(-50%)}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header{display:flex;align-items:center;justify-content:space-between;padding:1em;border-bottom:1px solid #cdd0d8}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header__logo-wrap{display:flex;align-items:center}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header__logo-wrap .ur-deactivate-feedback-popup-header__logo-icon{margin-left:16px;padding-left:16px;border-left:1px solid #cdd0d8}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header__logo-wrap .ur-deactivate-feedback-popup-header__logo-icon svg{display:block;fill:#7e3bd0;width:24px;height:24px}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header__logo-wrap .ur-deactivate-feedback-popup-header-title{font-size:1.1em;font-weight:600}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .close-deactivate-feedback-popup{cursor:pointer}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-caption{font-size:1em;margin-bottom:10px;font-weight:600}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-form{padding:20px;text-align:right;font-size:15px;color:#495157;line-height:2}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-form input[type=text]{width:calc(100% - 20px);outline:0;max-width:100%;margin-right:20px;display:none}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-form input[type=radio]:checked+label+input[type=text]{display:block}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-footer{padding:8px 16px;overflow:hidden;display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:5px 0}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-footer button.submit{background-color:#475bb2;color:#fff;padding:8px 16px;border-radius:4px;border:none;cursor:pointer;float:left}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-footer button.submit:hover{background-color:#38488e}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-footer a.skip{color:#a4afb7;background:0 0;float:right;width:auto;border:none;cursor:pointer}#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .consent{font-size:12px;color:#8f8f8f;background:0 0;width:auto;border:none}
#ur-deactivate-feedback-popup-wrapper {
position: fixed;
height: 100%;
width: 100%;
bottom: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.8);
z-index: 99999;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
display: none;
height: calc(100vh - 32px); }
#ur-deactivate-feedback-popup-wrapper.active {
display: block; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner {
max-width: 760px;
background-color: #fff;
position: absolute;
border-radius: 3px;
box-shadow: -2px 8px 23px 3px rgba(0, 0, 0, 0.2);
overflow: hidden;
margin: 0 auto;
right: 0;
left: 0;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%); }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1em;
border-bottom: 1px solid #cdd0d8; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header__logo-wrap {
display: flex;
align-items: center; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header__logo-wrap .ur-deactivate-feedback-popup-header__logo-icon {
margin-left: 16px;
padding-left: 16px;
border-left: 1px solid #cdd0d8; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header__logo-wrap .ur-deactivate-feedback-popup-header__logo-icon svg {
display: block;
fill: #7e3bd0;
width: 24px;
height: 24px; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-header__logo-wrap .ur-deactivate-feedback-popup-header-title {
font-size: 1.1em;
font-weight: 600; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .close-deactivate-feedback-popup {
cursor: pointer; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-caption {
font-size: 1em;
margin-bottom: 10px;
font-weight: 600; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-form {
padding: 20px;
text-align: right;
font-size: 15px;
color: #495157;
line-height: 2; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-form input[type="text"] {
width: calc(100% - 20px);
outline: none;
max-width: 100%;
margin-right: 20px;
display: none; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-form input[type="radio"]:checked + label + input[type="text"] {
display: block; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-footer {
padding: 8px 16px;
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 12px;
padding: 5px 0; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-footer button.submit {
background-color: #475bb2;
color: white;
padding: 8px 16px;
border-radius: 4px;
border: none;
cursor: pointer;
float: left; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-footer button.submit:hover {
background-color: #38488e; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .ur-deactivate-feedback-popup-form-footer a.skip {
color: #a4afb7;
background: none;
float: right;
width: auto;
border: none;
cursor: pointer; }
#ur-deactivate-feedback-popup-wrapper .ur-deactivate-feedback-popup-inner .consent {
font-size: 12px;
color: #8f8f8f;
background: none;
width: auto;
border: none; }
Loading

0 comments on commit 64b1275

Please sign in to comment.