Multi-City Android(v1.9) Version Released

Tags:

Change Logs

– paid item order by issue fix
– sending email with SMTP email
– search by value at lang string
– read value from lang string
– name and symbol validation at languages
– payment enable added to appinfo ( Api )
– user id added to noti register and unregister ( Api )
– admin profile view fix ( backend )
– noti ago minus issue fix 9 backend )

 

Backend Effected files

– application/core/My_Model.php
– 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/models/Language_string.php
– application/views/backend/languages/list_script.php
– application/views/backend/partials/sidebar.php
– application/controllers/backend/Languages.php
– application/views/backend/components/summary_city_panel.php
– application/views/backend/languages/entry_form_script.php
– application\controllers\rest\Notis.php
– application/controllers/backend/Profile.php
– application/views/backend/profile/entry_form.php

 

SQL

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` = '0', `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 cities_push_notification_tokens ADD user_id VARCHAR(255) NOT NULL AFTER os_type;

 

Android Change Log
– Fixed notification on/off issue
– Added on/off for payment at Sponsors Submit

 

Android Changes
updated : app/build.gradle
updated : app/src/main/java/com/panaceasoft/psmulticity/Config.java
updated : app/src/main/java/com/panaceasoft/psmulticity/MainActivity.java
updated : app/src/main/java/com/panaceasoft/psmulticity/api/PSApiService.java
updated : app/src/main/java/com/panaceasoft/psmulticity/db/PSCoreDb.java
updated : app/src/main/java/com/panaceasoft/psmulticity/repository/aboutus/AboutUsRepository.java
updated : app/src/main/java/com/panaceasoft/psmulticity/repository/common/NotificationTask.java
updated : app/src/main/java/com/panaceasoft/psmulticity/ui/common/NotificationTaskHandler.java
updated : app/src/main/java/com/panaceasoft/psmulticity/ui/item/promote/ItemPromoteFragment.java
updated : app/src/main/java/com/panaceasoft/psmulticity/ui/notification/setting/NotificationSettingFragment.java
updated : app/src/main/java/com/panaceasoft/psmulticity/utils/Constants.java
updated : app/src/main/java/com/panaceasoft/psmulticity/viewmodel/common/NotificationViewModel.java
updated : app/src/main/java/com/panaceasoft/psmulticity/viewobject/PSAppInfo.java
updated : app/src/main/res/layout/fragment_item_promote_entry.xml

 

Additional Files for Small Bug Fix

– application/controllers/rest/Users.php
– application/libraries/PS_Delete.php
– application/models/Notitoken.php
– application/helpers/ps_mail_helper.php

 

SQL

ALTER TABLE `core_users` ADD `phone_id` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL AFTER `google_id`;

ALTER TABLE `core_users` ADD `phone_verify` TINYINT(1) NOT NULL AFTER `google_verify`;