Multi-City Android(v1.8) Version Released

 

Change Logs

– register login with phone (Api)
– Language Configuration Modified to use Database instead of language file (backend)
– Paid Item as New Feature (backend & api)
– Backend setting as New Feature to use Database instead of ps_config file(backend)
– Transaction history as New Feature (backend)
– Use ckeditor plugin with textarea in Blog (backend)
– Paid Config as New Feature (backend)
– choose default photo in gallery(backend)

 

Backend Effected Files

– application/views/backend/subcategories/search_form.php
– application/models/User.php
– application/config/autoload.php
– application/config/config.php
– application/language/english/index.html(deleted)
– application/language/english/ps_lang.php(deleted)
– application/config/ps_config.php
– application/controllers/Main.php
– application/controllers/backend/Notis.php
– application/controllers/rest/Items.php
– application/controllers/rest/Notis.php
– application/controllers/rest/Users.php
– application/core/API_Controller.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/ps_lang.php
– application/libraries/PS_Adapter.php
– application/libraries/PS_Mail.php
– application/models/Item.php
– application/models/Module.php
– application/views/backend/abouts/entry_form.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/cityusers/entry_form.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/feeds/entry_form.php
– application/views/backend/feeds/entry_form_script.php
– application/views/backend/feeds/list.php
– application/views/backend/feeds/list_script.php
– application/views/backend/item_reports/entry_form.php
– application/views/backend/items/entry_form.php
– application/views/backend/items/search_form.php
– application/views/backend/partials/city_nav.php
– application/views/backend/partials/footer.php
– application/views/backend/partials/header.php
– application/views/backend/partials/sidebar.php
– application/views/backend/popularcategories/entry_form.php
– application/views/backend/popularitems/entry_form.php
– application/views/backend/profile/entry_form.php
– application/views/backend/registered_users/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
– assets/backend/css/style.css
– application/controllers/backend/Backend_configs.php
– application/controllers/backend/Language_strings.php
– application/controllers/backend/Languages.php
– application/controllers/backend/Paid_configs.php
– application/controllers/backend/Paid_items.php
– application/controllers/backend/Transactions.php
– application/controllers/rest/Paid_items.php
– application/libraries/paypal/
– application/libraries/stripe_lib/
– application/models/Backend_config.php
– application/models/Language.php
– application/models/Language_string.php
– application/models/Paid_config.php
– application/models/Paid_item.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/
– application/views/backend/paid_configs/
– application/views/backend/paid_items/
– application/views/backend/transactions/
– uploads/cities_background.png
– uploads/thumbnail/cities_background.png
– application/libraries/UploadHandler.php
– application/models/Image.php
– application/views/backend/components/gallery.php
– application/views/backend/transactions/list.php
– assets/fileupload/jfileupload/css/jquery.fileupload-ui.css
– assets/fileupload/jfileupload/js/jquery.fileupload-ui.js

 

Backend Effected Files

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`;

 

SQL Change Log

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

CREATE TABLE multi_city.cities_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_city.cities_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

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', 'AIzaSyBFMRXy5NOBfPue3G7o9HYA_JZd6IZwmQE');

INSERT INTO core_modules (`module_id`, module_name, module_desc, module_lang_key, module_icon, ordering, is_show_on_menu, `group_id`) VALUES ('24', 'backend_configs', 'Backend Setting','backend_setting_module', '', '10', '1', '6')

INSERT INTO `core_modules` (`module_id`, `module_name`, `module_desc`, `module_lang_key`, `module_icon`, `ordering`, `is_show_on_menu`, `group_id`) VALUES ('25', 'paid_configs', 'Paid Configs', 'paid_config_module', '', '10', '1', '6')

CREATE TABLE `cities_paid_ads_config` ( `id` varchar(255) NOT NULL, `day` int(11) NOT NULL, `amount` varchar(50) NOT NULL, `currency_short_form` varchar(255) NOT NULL, `currency_symbol` varchar(255) NOT NULL, `paypal_environment` varchar(255) NOT NULL, `paypal_merchant_id` varchar(255) NOT NULL, `paypal_public_key` varchar(255) NOT NULL, `paypal_private_key` varchar(255) NOT NULL, `paypal_enabled` tinyint(1) NOT NULL DEFAULT 0, `stripe_publishable_key` varchar(255) NOT NULL, `stripe_secret_key` varchar(255) NOT NULL, `stripe_enabled` tinyint(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8

ALTER TABLE `cities_paid_ads_config` ADD PRIMARY KEY(`id`)

CREATE TABLE `cities_paid_items_history` ( `id` varchar(255) NOT NULL,`item_id` varchar(255) NOT NULL, `start_date` timestamp NOT NULL DEFAULT current_timestamp(),`end_date`timestamp NOT NULL DEFAULT current_timestamp(), `amount` varchar(50) NOT NULL,`payment_method` varchar(50) NOT NULL,`added_date` timestamp NOT NULL DEFAULT current_timestamp(), `added_user_id` varchar(255) NOT NULL,`updated_date` timestamp NOT NULL DEFAULT current_timestamp(),`updated_user_id` varchar(255) NOT NULL,`updated_flag` int(11) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8

ALTER TABLE `cities_paid_items_history` ADD PRIMARY KEY(`id`)

ALTER TABLE `cities_paid_items_history` ADD `start_timestamp` DOUBLE NOT NULL AFTER `start_date`

ALTER TABLE `cities_paid_items_history` ADD `trans_code` VARCHAR(50) NOT NULL AFTER `payment_method`

ALTER TABLE `cities_paid_items_history` ADD `status` TINYINT(1) NOT NULL AFTER `trans_code`

ALTER TABLE `cities_items` ADD `is_paid` TINYINT(1) NOT NULL AFTER `featured_date`;

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

INSERT INTO core_modules (`module_id`, module_name, module_desc, module_lang_key, module_icon, ordering, is_show_on_menu, `group_id`) VALUES ('26', 'paid_items', 'Paid Items','paid_item_module', '', '10', '1', '1')

INSERT INTO core_modules (`module_id`, module_name, module_desc, module_lang_key, module_icon, ordering, is_show_on_menu, `group_id`) VALUES ('30', 'transactions', 'Transactions History','transaction_module', '', '10', '1', '4')

ALTER TABLE `core_images` ADD `is_default` TINYINT(1) NOT NULL AFTER `img_desc`;

UPDATE `core_modules` SET `module_lang_key` = 'cat_module' WHERE `core_modules`.`module_id` = 1;
UPDATE `core_modules` SET `module_lang_key` = 'popular_item_module' WHERE `core_modules`.`module_id` = 2;
UPDATE `core_modules` SET `module_lang_key` = 'system_user_module' WHERE `core_modules`.`module_id` = 4;
UPDATE `core_modules` SET `module_lang_key` = 'popular_cat_module' WHERE `core_modules`.`module_id` = 5;
UPDATE `core_modules` SET `module_lang_key` = 'most_rate_item_module' WHERE `core_modules`.`module_id` = 6;
UPDATE `core_modules` SET `module_lang_key` = 'collection_module' WHERE `core_modules`.`module_id` = 7;
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` = 'new_feed_module' WHERE `core_modules`.`module_id` = 12;
UPDATE `core_modules` SET `module_lang_key` = 'item_module' WHERE `core_modules`.`module_id` = 13;
UPDATE `core_modules` SET `module_lang_key` = 'multiple_upload_module' WHERE `core_modules`.`module_id` = 14;
UPDATE `core_modules` SET `module_lang_key` = 'comments_module' WHERE `core_modules`.`module_id` = 18;
UPDATE `core_modules` SET `module_lang_key` = 'likes_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` = 'reported_item_module' WHERE `core_modules`.`module_id` = 22;
UPDATE `core_modules` SET `module_lang_key` = 'backend_setting_module' WHERE `core_modules`.`module_id` = 24;
UPDATE `core_modules` SET `module_lang_key` = 'paid_config_module' WHERE `core_modules`.`module_id` = 25;
UPDATE `core_modules` SET `module_lang_key` = 'paid_item_module' WHERE `core_modules`.`module_id` = 26;
UPDATE `core_modules` SET `module_lang_key` = 'transaction_module' WHERE `core_modules`.`module_id` = 27;

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_group' WHERE `core_menu_groups`.`group_id` = 3;
UPDATE `core_menu_groups` SET `group_lang_key` = 'reports_group' WHERE `core_menu_groups`.`group_id` = 4;

Android Change Logs
– Add Item Paid AD feature
– Add Phone Login feature
– Add Back to dashboard from menu feature
– Fix login background image Issue

Android Effected Files
updated : multi-city-android/app/build.gradle
updated : multi-city-android/app/src/main/AndroidManifest.xml
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/api/PSApiService.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/Config.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/db/PSCoreDb.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/di/AppModule.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/di/MainActivityModule.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/di/ViewModelModule.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/MainActivity.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/repository/item/ItemRepository.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/repository/user/UserRepository.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/common/NavigationController.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/adapter/ItemListAdapter.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/adapter/ItemPopularListAdapter.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/adapter/ItemVerticalListAdapter.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/detail/ItemFragment.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/history/UserHistoryListActivity.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/user/ProfileFragment.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/user/UserForgotPasswordFragment.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/user/UserLoginFragment.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/user/UserRegisterFragment.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/utils/Constants.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/utils/Utils.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/viewmodel/apploading/AppLoadingViewModel.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/viewmodel/user/UserViewModel.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/viewobject/holder/ItemParameterHolder.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/viewobject/Item.java
updated : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/viewobject/PSAppInfo.java
updated : multi-city-android/app/src/main/res/layout/fragment_item.xml
updated : multi-city-android/app/src/main/res/layout/fragment_profile.xml
updated : multi-city-android/app/src/main/res/layout/fragment_user_forgot_password.xml
updated : multi-city-android/app/src/main/res/layout/fragment_user_login.xml
updated : multi-city-android/app/src/main/res/layout/fragment_user_register.xml
updated : multi-city-android/app/src/main/res/layout/item_item_list_with_city_name.xml
updated : multi-city-android/app/src/main/res/layout/item_item_vertical_list_adapter.xml
updated : multi-city-android/app/src/main/res/layout/item_item_vertical_with_city_name.xml
updated : multi-city-android/app/src/main/res/menu/menu_drawer.xml
updated : multi-city-android/app/src/main/res/values-ar/strings.xml
updated : multi-city-android/app/src/main/res/values-de/strings.xml
updated : multi-city-android/app/src/main/res/values-es/strings.xml
updated : multi-city-android/app/src/main/res/values-fr/strings.xml
updated : multi-city-android/app/src/main/res/values-hi/strings.xml
updated : multi-city-android/app/src/main/res/values-in/strings.xml
updated : multi-city-android/app/src/main/res/values-it/strings.xml
updated : multi-city-android/app/src/main/res/values-ja/strings.xml
updated : multi-city-android/app/src/main/res/values-ko/strings.xml
updated : multi-city-android/app/src/main/res/values-ms/strings.xml
updated : multi-city-android/app/src/main/res/values-pt/strings.xml
updated : multi-city-android/app/src/main/res/values-ru/strings.xml
updated : multi-city-android/app/src/main/res/values-th/strings.xml
updated : multi-city-android/app/src/main/res/values-tr/strings.xml
updated : multi-city-android/app/src/main/res/values-zh/strings.xml
updated : multi-city-android/app/src/main/res/values/colors.xml
updated : multi-city-android/app/src/main/res/values/strings.xml

created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/db/ItemPaidHistoryDao.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/repository/itempaidhistory/ItemPaidHistoryRepository.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/repository/paypal/PaypalRepository.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/promote/adapter/ItemPromoteHorizontalListAdapter.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/promote/adapter/ItemPromoteVerticalListAdapter.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/promote/ItemPromoteActivity.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/promote/ItemPromoteFragment.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/item/promote/LoginUserPaidItemFragment.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/stripe/StripeActivity.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/stripe/StripeFragment.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/user/phonelogin/PhoneLoginActivity.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/user/phonelogin/PhoneLoginFragment.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/user/verifyphone/VerifyMobileActivity.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/ui/user/verifyphone/VerifyMobileFragment.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/viewmodel/ItemPaidHistoryViewModel/ItemPaidHistoryViewModel.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/viewmodel/paypal/PaypalViewModel.java
created : multi-city-android/app/src/main/java/com/panaceasoft/psmulticity/viewobject/ItemPaidHistory.java
created : multi-city-android/app/src/main/res/drawable-hdpi/baseline_promotion_color_74.png
created : multi-city-android/app/src/main/res/drawable-hdpi/baseline_show_sponsor.png
created : multi-city-android/app/src/main/res/drawable-hdpi/baseline_very_phone_icon.png
created : multi-city-android/app/src/main/res/drawable-mdpi/baseline_promotion_color_74.png
created : multi-city-android/app/src/main/res/drawable-mdpi/baseline_show_sponsor.png
created : multi-city-android/app/src/main/res/drawable-mdpi/baseline_very_phone_icon.png
created : multi-city-android/app/src/main/res/drawable-xhdpi/baseline_promotion_color_74.png
created : multi-city-android/app/src/main/res/drawable-xhdpi/baseline_show_sponsor.png
created : multi-city-android/app/src/main/res/drawable-xhdpi/baseline_very_phone_icon.png
created : multi-city-android/app/src/main/res/drawable-xxhdpi/baseline_promotion_color_74.png
created : multi-city-android/app/src/main/res/drawable-xxhdpi/baseline_show_sponsor.png
created : multi-city-android/app/src/main/res/drawable-xxhdpi/baseline_very_phone_icon.png
created : multi-city-android/app/src/main/res/drawable-xxxhdpi/baseline_promotion_color_74.png
created : multi-city-android/app/src/main/res/drawable-xxxhdpi/baseline_show_sponsor.png
created : multi-city-android/app/src/main/res/drawable-xxxhdpi/baseline_very_phone_icon.png
created : multi-city-android/app/src/main/res/drawable/circle_black.xml
created : multi-city-android/app/src/main/res/drawable/rounded_corner_global_transparent_shape_for_paid_ad.xml
created : multi-city-android/app/src/main/res/layout/activity_item_promote_entry.xml
created : multi-city-android/app/src/main/res/layout/activity_phone_login.xml
created : multi-city-android/app/src/main/res/layout/activity_stripe.xml
created : multi-city-android/app/src/main/res/layout/activity_verify_mobile.xml
created : multi-city-android/app/src/main/res/layout/fragment_item_promote_entry.xml
created : multi-city-android/app/src/main/res/layout/fragment_login_user_paid_item.xml
created : multi-city-android/app/src/main/res/layout/fragment_phone_login.xml
created : multi-city-android/app/src/main/res/layout/fragment_stripe.xml
created : multi-city-android/app/src/main/res/layout/fragment_verify_mobile.xml
created : multi-city-android/app/src/main/res/layout/item_promote_horizontal_with_user.xml
created : multi-city-android/app/src/main/res/layout/item_promote_vertical_with_user.xml