Changeset 3145386
- Timestamp:
- 09/02/2024 01:25:19 PM (18 months ago)
- Location:
- constellation-client-portal
- Files:
-
- 132 added
- 1 deleted
- 5 edited
-
tags/1.8.11 (added)
-
tags/1.8.11/LICENSE.txt (added)
-
tags/1.8.11/README.txt (added)
-
tags/1.8.11/admin (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-admin.php (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-client-pages.php (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-company.php (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-core-authorization.php (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-core-file-checks.php (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-file.php (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-invoice.php (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-settings.php (added)
-
tags/1.8.11/admin/class-ars-constellation-client-portal-users.php (added)
-
tags/1.8.11/admin/css (added)
-
tags/1.8.11/admin/css/ars-constellation-client-portal-admin.css (added)
-
tags/1.8.11/admin/css/jquery-ui (added)
-
tags/1.8.11/admin/css/jquery-ui/1.11.1 (added)
-
tags/1.8.11/admin/css/jquery-ui/1.11.1/themes (added)
-
tags/1.8.11/admin/css/jquery-ui/1.11.1/themes/cupertino (added)
-
tags/1.8.11/admin/css/jquery-ui/1.11.1/themes/cupertino/jquery-ui.css (added)
-
tags/1.8.11/admin/css/select2.min.css (added)
-
tags/1.8.11/admin/index.php (added)
-
tags/1.8.11/admin/js (added)
-
tags/1.8.11/admin/js/ars-constellation-client-portal-admin.js (added)
-
tags/1.8.11/admin/js/i18n (added)
-
tags/1.8.11/admin/js/i18n/af.js (added)
-
tags/1.8.11/admin/js/i18n/ar.js (added)
-
tags/1.8.11/admin/js/i18n/az.js (added)
-
tags/1.8.11/admin/js/i18n/bg.js (added)
-
tags/1.8.11/admin/js/i18n/bs.js (added)
-
tags/1.8.11/admin/js/i18n/ca.js (added)
-
tags/1.8.11/admin/js/i18n/cs.js (added)
-
tags/1.8.11/admin/js/i18n/da.js (added)
-
tags/1.8.11/admin/js/i18n/de.js (added)
-
tags/1.8.11/admin/js/i18n/dsb.js (added)
-
tags/1.8.11/admin/js/i18n/el.js (added)
-
tags/1.8.11/admin/js/i18n/en.js (added)
-
tags/1.8.11/admin/js/i18n/es.js (added)
-
tags/1.8.11/admin/js/i18n/et.js (added)
-
tags/1.8.11/admin/js/i18n/eu.js (added)
-
tags/1.8.11/admin/js/i18n/fa.js (added)
-
tags/1.8.11/admin/js/i18n/fi.js (added)
-
tags/1.8.11/admin/js/i18n/fr.js (added)
-
tags/1.8.11/admin/js/i18n/gl.js (added)
-
tags/1.8.11/admin/js/i18n/he.js (added)
-
tags/1.8.11/admin/js/i18n/hi.js (added)
-
tags/1.8.11/admin/js/i18n/hr.js (added)
-
tags/1.8.11/admin/js/i18n/hsb.js (added)
-
tags/1.8.11/admin/js/i18n/hu.js (added)
-
tags/1.8.11/admin/js/i18n/hy.js (added)
-
tags/1.8.11/admin/js/i18n/id.js (added)
-
tags/1.8.11/admin/js/i18n/is.js (added)
-
tags/1.8.11/admin/js/i18n/it.js (added)
-
tags/1.8.11/admin/js/i18n/ja.js (added)
-
tags/1.8.11/admin/js/i18n/km.js (added)
-
tags/1.8.11/admin/js/i18n/ko.js (added)
-
tags/1.8.11/admin/js/i18n/lt.js (added)
-
tags/1.8.11/admin/js/i18n/lv.js (added)
-
tags/1.8.11/admin/js/i18n/mk.js (added)
-
tags/1.8.11/admin/js/i18n/ms.js (added)
-
tags/1.8.11/admin/js/i18n/nb.js (added)
-
tags/1.8.11/admin/js/i18n/nl.js (added)
-
tags/1.8.11/admin/js/i18n/pl.js (added)
-
tags/1.8.11/admin/js/i18n/ps.js (added)
-
tags/1.8.11/admin/js/i18n/pt-BR.js (added)
-
tags/1.8.11/admin/js/i18n/pt.js (added)
-
tags/1.8.11/admin/js/i18n/ro.js (added)
-
tags/1.8.11/admin/js/i18n/ru.js (added)
-
tags/1.8.11/admin/js/i18n/sk.js (added)
-
tags/1.8.11/admin/js/i18n/sl.js (added)
-
tags/1.8.11/admin/js/i18n/sr-Cyrl.js (added)
-
tags/1.8.11/admin/js/i18n/sr.js (added)
-
tags/1.8.11/admin/js/i18n/sv.js (added)
-
tags/1.8.11/admin/js/i18n/th.js (added)
-
tags/1.8.11/admin/js/i18n/tr.js (added)
-
tags/1.8.11/admin/js/i18n/uk.js (added)
-
tags/1.8.11/admin/js/i18n/vi.js (added)
-
tags/1.8.11/admin/js/i18n/zh-CN.js (added)
-
tags/1.8.11/admin/js/i18n/zh-TW.js (added)
-
tags/1.8.11/admin/js/select2.full.min.js (added)
-
tags/1.8.11/admin/js/select2.min.js (added)
-
tags/1.8.11/ars-constellation-client-portal.php (added)
-
tags/1.8.11/assets (added)
-
tags/1.8.11/assets/css (added)
-
tags/1.8.11/assets/css/font-awesome (added)
-
tags/1.8.11/assets/css/font-awesome/css (added)
-
tags/1.8.11/assets/css/font-awesome/css/all.css (added)
-
tags/1.8.11/assets/css/font-awesome/css/all.min.css (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-brands-400.eot (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-brands-400.svg (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-brands-400.ttf (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-brands-400.woff (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-brands-400.woff2 (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-regular-400.eot (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-regular-400.svg (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-regular-400.ttf (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-regular-400.woff (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-regular-400.woff2 (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-solid-900.eot (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-solid-900.svg (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-solid-900.ttf (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-solid-900.woff (added)
-
tags/1.8.11/assets/css/font-awesome/webfonts/fa-solid-900.woff2 (added)
-
tags/1.8.11/assets/img (added)
-
tags/1.8.11/assets/img/accp-full-logo.png (added)
-
tags/1.8.11/dev (added)
-
tags/1.8.11/includes (added)
-
tags/1.8.11/includes/ars-constellation-client-portal-install-uninstall.php (added)
-
tags/1.8.11/includes/class-ars-constellation-client-portal-activator.php (added)
-
tags/1.8.11/includes/class-ars-constellation-client-portal-deactivator.php (added)
-
tags/1.8.11/includes/class-ars-constellation-client-portal-i18n.php (added)
-
tags/1.8.11/includes/class-ars-constellation-client-portal-loader.php (added)
-
tags/1.8.11/includes/class-ars-constellation-client-portal-utility-functions.php (added)
-
tags/1.8.11/includes/class-ars-constellation-client-portal.php (added)
-
tags/1.8.11/includes/index.php (added)
-
tags/1.8.11/index.php (added)
-
tags/1.8.11/languages (added)
-
tags/1.8.11/languages/ars-constellation-client-portal.pot (added)
-
tags/1.8.11/public (added)
-
tags/1.8.11/public/assets (added)
-
tags/1.8.11/public/assets/index.php (added)
-
tags/1.8.11/public/class-ars-constellation-client-portal-public.php (added)
-
tags/1.8.11/public/css (added)
-
tags/1.8.11/public/css/ars-constellation-client-portal-list-shortcode-styles.css (added)
-
tags/1.8.11/public/css/ars-constellation-client-portal-public.css (added)
-
tags/1.8.11/public/index.php (added)
-
tags/1.8.11/public/js (added)
-
tags/1.8.11/public/js/ars-constellation-client-portal-public.js (added)
-
tags/1.8.11/public/shortcodes (added)
-
tags/1.8.11/public/shortcodes/class-ars-constellation-client-portal-list-shortcodes.php (added)
-
tags/1.8.11/uninstall.php (added)
-
tags/1.8.9 (deleted)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-ars-constellation-client-portal-admin.php (modified) (1 diff)
-
trunk/admin/class-ars-constellation-client-portal-company.php (modified) (4 diffs)
-
trunk/admin/js/ars-constellation-client-portal-admin.js (modified) (1 diff)
-
trunk/ars-constellation-client-portal.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
constellation-client-portal/trunk/README.txt
r3129432 r3145386 5 5 Requires at least: 6.0.0 6 6 Tested up to: 6.6 7 Stable tag: 1.8.1 07 Stable tag: 1.8.11 8 8 Requires PHP: 7.4 9 9 License: GPLv3 or later … … 210 210 211 211 == Changelog == 212 213 = 1.8.11 (Pro) - 2024-9-2 = 214 * Update: Made the company status row settings responsive. 215 * Update: Updated the company status row settings to make the default status rows read only. 216 * Update: Updated the company status functionality to restore the default statuses (active, pending, and inactive) on option save. 217 218 = 1.8.11 (Core) - 2024-9-2 = 219 * Update: Created new method for generating admin tooltips. 220 * Update: Code formatting updates. 221 * Improvement: Improved validation and checks in the assign-existing and generate-new company primary user AJAX functions. 212 222 213 223 = 1.8.10 (Pro) - 2024-8-1 = -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-admin.php
r3110365 r3145386 4059 4059 return $new_columns; 4060 4060 } 4061 4062 /** 4063 * Generate an admin tooltip. 4064 * 4065 * @param array $args - Array of args for the tooltip. 4066 * $args = array( 4067 * 'message' => $message, - the tooltip message - can contain HTML. 4068 * 'position => $message_position - the tooltip position - left, right, center. 4069 * ). 4070 * 4071 * @retrun string $html - The tooltip html. 4072 */ 4073 public function generate_wp_admin_tooltip( $args = array() ) { 4074 4075 $message = array_key_exists( 'message', $args ) ? $args['message'] : ' '; 4076 $message_position = array_key_exists( 'position', $args ) ? $args['position'] : 'center'; 4077 $position_class = 'accp-wp-admin-has-tooltip-' . esc_html( strtolower( trim( $message_position ) ) ); 4078 $additional_classes = array_key_exists( 'classes', $args ) ? ' ' . esc_html( strtolower( trim( $args['classes'] ) ) ) : ''; 4079 4080 $html = ''; 4081 4082 $html .= '<span class="accp-admin-tooltip-icon">i</span>'; 4083 4084 $html .= '<span class="accp-wp-admin-tooltip accp-wp-admin-tooltip-dark ' . esc_attr( $position_class ) . $additional_classes . '">' . wp_kses_post( $message ) . '</span>'; 4085 4086 return wp_kses_post( $html ); 4087 } 4061 4088 } //End ARS_Constellation_Client_Portal_Admin Class -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-company.php
r3088740 r3145386 814 814 815 815 ?> 816 </select> 816 </select> 817 817 <?php 818 819 $args = array( 820 'message' => 'Not seeing a user? Assign the user to this company in their WP user profile to display the user here.', 821 'position' => 'right', 822 ); 823 $user_select_tooltip = $this->admin->generate_wp_admin_tooltip( $args ); 824 825 echo wp_kses_post( $user_select_tooltip ); 818 826 819 827 } else { … … 1216 1224 } 1217 1225 1218 if ( ! is_admin() &&! current_user_can( 'manage_options' ) ) {1226 if ( ! is_admin() || ! current_user_can( 'manage_options' ) ) { 1219 1227 die(); 1220 1228 } … … 1236 1244 */ 1237 1245 public function accp_assign_existing_primary_user() { 1246 1247 if ( ! is_user_logged_in() || ! current_user_can( 'manage_options' ) ) { 1248 die(); 1249 } 1250 1251 if ( ! is_admin() ) { 1252 die(); 1253 } 1238 1254 1239 1255 if ( ! isset( $_POST['nonce'] ) ) { … … 1311 1327 */ 1312 1328 public function accp_create_and_assign_primary_user() { 1329 1330 if ( ! is_user_logged_in() || ! current_user_can( 'manage_options' ) ) { 1331 die(); 1332 } 1333 1334 if ( ! is_admin() ) { 1335 die(); 1336 } 1313 1337 1314 1338 if ( ! isset( $_POST['nonce'] ) ) { -
constellation-client-portal/trunk/admin/js/ars-constellation-client-portal-admin.js
r3088740 r3145386 835 835 836 836 837 function accp_assign_existing_primary_user_on_click() {838 839 $( '#accp-assign-existing-primary-user-btn').click(function (e) {837 function accp_assign_existing_primary_user_on_click() { 838 839 $( '#accp-assign-existing-primary-user-btn' ).click( function (e) { 840 840 841 841 e.preventDefault(); 842 842 843 if( $('#accp_assign_new_primary_user_select').val() && $('#accp_assign_new_primary_user_select').val() != 0){843 if( $( '#accp_assign_new_primary_user_select' ).val() && $( '#accp_assign_new_primary_user_select' ).val() != 0 ) { 844 844 845 845 var nonce = $(this).attr('data-nonce'); -
constellation-client-portal/trunk/ars-constellation-client-portal.php
r3129432 r3145386 7 7 * Plugin URI: https://adrianrodriguezstudios.com/constellation-client-portal/ 8 8 * Description: Create private pages for each of your clients, post private files, and protect your client files from unauthorized users and search engines. <strong>Important:</strong> All Site-level File Protection features will cease to function if the plugin is disabled or uninstalled. 9 * Version: 1.8.1 09 * Version: 1.8.11 10 10 * Author: ARS 11 11 * Author URI: https://adrianrodriguezstudios.com … … 57 57 */ 58 58 define('ACCP_PLUGIN_NAME', 'ARS_CONSTELLATION_CLIENT_PORTAL'); 59 define('ACCP_PLUGIN_VERSION', '1.8.1 0'); // Change the version in the header as well.59 define('ACCP_PLUGIN_VERSION', '1.8.11'); // Change the version in the header as well. 60 60 define( ACCP_PLUGIN_NAME, ACCP_PLUGIN_VERSION ); 61 61 define( 'ACCP_PLUGIN_FILE_NAME', __FILE__ );
Note: See TracChangeset
for help on using the changeset viewer.