Multi Store Android(v2.8) Version Released

Tags:

 

Change Logs

– Fix for shipping countries logic ( Api )
– Language Configuration Modified to use Database instead of language file (backend)
– Backend setting as New Feature to use Database instead of ps_config file(backend)
– Name Validation at Product Attribute Detail Edit case (backend)
– sending email with SMTP email
– when user delete, all the related tables will delete (backend)
– user id added to noti register and unregister ( Api )
– admin profile view fix ( backend)

 

Backend Effected Files

– application/core/API_Controller.php
– application/language/english/ps_lang.php
– application/config/autoload.php
– application/config/config.php
– application/config/ps_config.php
– application/controllers/Main.php
– application/controllers/backend/Notis.php
– application/controllers/backend/Transactions.php
– application/controllers/rest/Users.php
– application/core/BE_Controller.php
– application/core/My_Model.php
– application/helpers/ps_helper.php
– application/helpers/ps_mail_helper.php
– application/language/english/index.html
– application/language/english/ps_lang.php
– application/libraries/PS_Delete.php
– application/libraries/PS_Mail.php
– application/models/Module.php
– application/views/backend/abouts/entry_form.php
– application/views/backend/attributedetails/entry_form.php
– application/views/backend/attributes/entry_form.php
– application/views/backend/blogs/entry_form.php
– application/views/backend/blogs/list.php
– application/views/backend/blogs/list_script.php
– application/views/backend/categories/entry_form.php
– application/views/backend/categories/list.php
– application/views/backend/categories/list_script.php
– application/views/backend/cities/entry_form.php
– application/views/backend/cities/list.php
– application/views/backend/cities/list_script.php
– application/views/backend/collections/entry_form.php
– application/views/backend/collections/list.php
– application/views/backend/collections/list_script.php
– application/views/backend/comments/entry_form.php
– application/views/backend/components/favicon_upload_modal.php
– application/views/backend/components/sidebar_logo_upload.php
– application/views/backend/countries/list.php
– application/views/backend/countries/list_script.php
– application/views/backend/coupons/list.php
– application/views/backend/coupons/list_script.php
– application/views/backend/discounts/entry_form.php
– application/views/backend/discounts/list.php
– application/views/backend/discounts/list_script.php
– application/views/backend/partials/header.php
– application/views/backend/partials/shop_nav.php
– application/views/backend/partials/sidebar.php
– application/views/backend/popularcategories/entry_form.php
– application/views/backend/products/entry_form.php
– application/views/backend/products/list.php
– application/views/backend/products/list_script.php
– application/views/backend/products/search_form.php
– application/views/backend/profile/entry_form.php
– application/views/backend/registered_users/entry_form.php
– application/views/backend/shipping_zones/entry_form.php
– application/views/backend/shipping_zones/list.php
– application/views/backend/shipping_zones/list_script.php
– application/views/backend/shippings/list.php
– application/views/backend/shippings/list_script.php
– application/views/backend/shops/entry_form.php
– application/views/backend/shops/list.php
– application/views/backend/shopusers/entry_form.php
– application/views/backend/subcategories/entry_form.php
– application/views/backend/subcategories/list.php
– application/views/backend/subcategories/list_script.php
– application/views/backend/system_users/entry_form.php
– application/views/backend/tags/entry_form.php
– application/views/backend/tags/list.php
– application/views/backend/zones/entry_form.php
– application/views/backend/zones/list.php
– application/views/backend/zones/list_script.php
– application/controllers/backend/Attributedetails.php
– uploads/shopping-cart1.png
– application/controllers/backend/Backend_configs.php
– application/controllers/backend/Language_strings.php
– application/controllers/backend/Languages.php
– application/models/Backend_config.php
– application/models/Language.php
– application/models/Language_string.php
– application/views/backend/backend_configs/
– application/views/backend/components/delete_language_modal.php
– application/views/backend/components/warning_confirm_modal.php
– application/views/backend/language_strings/
– application/views/backend/languages/
– uploads/login_background.png
– uploads/thumbnail/login_background.png
– application/controllers/backend/Backend_configs.php
– application/helpers/ps_helper.php
– application/libraries/PS_Mail.php
– application/views/backend/backend_configs/entry_form.php
– application/views/backend/components/summary_shop_panel.php
– application/views/backend/partials/breadcrumb.php
– application/views/backend/partials/breadcrumb_attribute.php
– application/views/backend/partials/nav.php
– application/views/backend/registered_users/list.php
– application/views/backend/system_users/list.php
– application/models/Touch.php
– application/models/Transactioncount.php
– application/models/Transactiondetail.php
– application/models/User.php
– application\controllers\rest\Notis.php
– application/controllers/backend/Profile.php

– application/models/Notitoken.php

SQL

CREATE TABLE mk_language ( id VARCHAR(255) NOT NULL , symbol VARCHAR(50) NOT NULL , name VARCHAR(255) NOT NULL , status TINYINT(1) NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;

CREATE TABLE multi_store.mk_language_string ( id VARCHAR(255) NOT NULL , language_id VARCHAR(255) NOT NULL , `key` VARCHAR(255) NOT NULL , value VARCHAR(255) NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;

ALTER TABLE core_modules ADD module_lang_key VARCHAR(255) NOT NULL AFTER module_desc;

ALTER TABLE `core_menu_groups` ADD `group_lang_key` VARCHAR(255) NOT NULL AFTER `group_icon`;

CREATE TABLE `core_backend_config` ( `id` varchar(255) NOT NULL,`sender_name` varchar(255) NOT NULL,`sender_email` varchar(255) NOT NULL, `receive_email` varchar(255) NOT NULL, `fcm_api_key` varchar(255) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ALTER TABLE `core_backend_config` ADD PRIMARY KEY (`id`);

INSERT INTO `core_backend_config` (`id`, `sender_name`, `sender_email`, `receive_email`, `fcm_api_key`) VALUES ('be1', 'Team PS', 'admin@panacea-soft.com', 'teamps.is.cool@gmail.com', 'AIzaSyBSVKk7S3AIO20az0CzX9wkmb8Z_DCJ7Wo');

UPDATE `core_modules` SET `module_lang_key` = 'cat_module' WHERE `core_modules`.`module_id` = 1;
UPDATE `core_modules` SET `module_lang_key` = 'system_user_module' WHERE `core_modules`.`module_id` = 4;
UPDATE `core_modules` SET `module_lang_key` = 'analytics_module' WHERE `core_modules`.`module_id` = 8;
UPDATE `core_modules` SET `module_lang_key` = 'subcat_module' WHERE `core_modules`.`module_id` = 10;
UPDATE `core_modules` SET `module_lang_key` = 'discount_module' WHERE `core_modules`.`module_id` = 11;
UPDATE `core_modules` SET `module_lang_key` = 'blog_module' WHERE `core_modules`.`module_id` = 12;
UPDATE `core_modules` SET `module_lang_key` = 'product_module' WHERE `core_modules`.`module_id` = 13;
UPDATE `core_modules` SET `module_lang_key` = 'collection_module' WHERE `core_modules`.`module_id` = 14;
UPDATE `core_modules` SET `module_lang_key` = 'multiple_upload_module' WHERE `core_modules`.`module_id` = 15;
UPDATE `core_modules` SET `module_lang_key` = 'comments_module' WHERE `core_modules`.`module_id` = 18;
UPDATE `core_modules` SET `module_lang_key` = 'like_module' WHERE `core_modules`.`module_id` = 19;
UPDATE `core_modules` SET `module_lang_key` = 'favourites_module' WHERE `core_modules`.`module_id` = 21;
UPDATE `core_modules` SET `module_lang_key` = 'transaction_module' WHERE `core_modules`.`module_id` = 22;
UPDATE `core_modules` SET `module_lang_key` = 'popular_prd_module' WHERE `core_modules`.`module_id` = 23;
UPDATE `core_modules` SET `module_lang_key` = 'popular_cat_module' WHERE `core_modules`.`module_id` = 25;
UPDATE `core_modules` SET `module_lang_key` = 'rate_prd_module' WHERE `core_modules`.`module_id` = 27;
UPDATE `core_modules` SET `module_lang_key` = 'coupon_dis_module' WHERE `core_modules`.`module_id` = 28;
UPDATE `core_modules` SET `module_lang_key` = 'shipping_module' WHERE `core_modules`.`module_id` = 29;
UPDATE `core_modules` SET `module_lang_key` = 'countries_module' WHERE `core_modules`.`module_id` = 30;
UPDATE `core_modules` SET `module_lang_key` = 'cities_module' WHERE `core_modules`.`module_id` = 31;
UPDATE `core_modules` SET `module_lang_key` = 'zone_module' WHERE `core_modules`.`module_id` = 32;
UPDATE `core_modules` SET `module_lang_key` = 'shipping_zone_module' WHERE `core_modules`.`module_id` = 33;

UPDATE `core_menu_groups` SET `group_lang_key` = 'entry_group' WHERE `core_menu_groups`.`group_id` = 1;
UPDATE `core_menu_groups` SET `group_lang_key` = 'user_feedback_group' WHERE `core_menu_groups`.`group_id` = 2;
UPDATE `core_menu_groups` SET `group_lang_key` = 'user_mang_groups' WHERE `core_menu_groups`.`group_id` = 3;
UPDATE `core_menu_groups` SET `group_lang_key` = 'reports_group' WHERE `core_menu_groups`.`group_id` = 5;

ALTER TABLE `core_backend_config` ADD `smtp_enable` TINYINT(1) NOT NULL AFTER `fcm_api_key`;
ALTER TABLE `core_backend_config` ADD `smtp_host` VARCHAR(255) NOT NULL AFTER `smtp_enable`;
ALTER TABLE `core_backend_config` ADD `smtp_port` VARCHAR(255) NOT NULL AFTER `smtp_host`;
ALTER TABLE `core_backend_config` ADD `smtp_user` VARCHAR(255) NOT NULL AFTER `smtp_port`;
ALTER TABLE `core_backend_config` ADD `smtp_pass` VARCHAR(255) NOT NULL AFTER `smtp_user`;

UPDATE `core_backend_config` SET `smtp_enable` = '1', `smtp_host` = 'ssl://smtp.dreamhost.com', `smtp_port` = '587', `smtp_user` = 'sender@blog.panacea-soft.com', `smtp_pass` = '12345678' WHERE `core_backend_config`.`id` = 'be1'

ALTER TABLE mk_push_notification_tokens ADD user_id VARCHAR(255) NOT NULL AFTER os_type;

 

Android Change Log
– Fixed notification on/off issue
– Fixed attribute selection

 

Android Changes
updated : app/build.gradle
updated : app/src/main/java/com/panaceasoft/psmultistore/Config.java
updated : app/src/main/java/com/panaceasoft/psmultistore/MainActivity.java
updated : app/src/main/java/com/panaceasoft/psmultistore/api/PSApiService.java
updated : app/src/main/java/com/panaceasoft/psmultistore/db/PSCoreDb.java
updated : app/src/main/java/com/panaceasoft/psmultistore/repository/aboutus/AboutUsRepository.java
updated : app/src/main/java/com/panaceasoft/psmultistore/repository/common/NotificationTask.java
updated : app/src/main/java/com/panaceasoft/psmultistore/ui/common/NotificationTaskHandler.java
updated : app/src/main/java/com/panaceasoft/psmultistore/ui/notification/setting/NotificationSettingFragment.java
updated : app/src/main/java/com/panaceasoft/psmultistore/ui/product/detail/ProductDetailFragment.java
updated : app/src/main/java/com/panaceasoft/psmultistore/viewmodel/common/NotificationViewModel.java
updated : app/src/main/res/values-ar/strings.xml
updated : app/src/main/res/values-de/strings.xml
updated : app/src/main/res/values-es/strings.xml
updated : app/src/main/res/values-fr/strings.xml
updated : app/src/main/res/values-hi-rIN/strings.xml
updated : app/src/main/res/values-in/strings.xml
updated : app/src/main/res/values-it/strings.xml
updated : app/src/main/res/values-ja/strings.xml
updated : app/src/main/res/values-ko/strings.xml
updated : app/src/main/res/values-ms/strings.xml
updated : app/src/main/res/values-pt/strings.xml
updated : app/src/main/res/values-ru/strings.xml
updated : app/src/main/res/values-th/strings.xml
updated : app/src/main/res/values-tr/strings.xml
updated : app/src/main/res/values-zh/strings.xml
updated : app/src/main/res/values/strings.xml