From 5d9a3fd7fb8f2f9d0f592c89446824980c9841c6 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 14 Aug 2017 20:48:39 -0700 Subject: v1.4.5 (#174) * Update/kau (#125) * Update logger * Clean imports and bring back reactive libs * Update dependencies and make billing async * Misc (#128) * Update null * Attempt to improve transparent theme backgrounds * Update menu * Move injections to visible method and reduce offset * Update searchview and logging * Clean temp strings and add network states * Move console blacklist to web state * Change some logs to info * Move glide loader to onCreate (#135) * Remove commit number increments (#139) * Fix/misc (#140) * Add canadian locale to toLowerCase * Add try catch to JsAssets * Disable error throwing for bad search subject * Log more throwables quietly * Check internet connection before fetching username * Remove name check in frost notifications * Add activity lifecycle logger * Add rxjava to lib showcase * Move network checker to io thread (#150) * Update dependency * Blank * Feature/jsoup debugger (#152) * Create debugger * Update debugger content * Create debugging logic * Finalize and test debugger * Add reload listener * Fix/pro crash without play store (#155) * Update changelog * Check if iab service exists * Add checker before launching play store request * Separate strings * Enhancement/message notifications (#157) * Map message notifs to the headless html extractor * Update strings * Bring im notifs out of alpha * Update changelog * Remove confirmation dialog (#159) * Separate message notifications and add click intents (#171) * Separate message notifications and add click intent for group notifications * Add comments and finalize * Feature/scroll down on message thread (#172) * Add hook for scroll * Update changelog * Add custom navdrawer layout (#173) * Add faq for auto play * Update changelog * Fix page banner bg (#163) --- app/src/main/res/layout/material_drawer_header.xml | 119 +++++++++++++++++++++ app/src/main/res/values/strings.xml | 54 ++++------ app/src/main/res/values/strings_about.xml | 23 ---- app/src/main/res/values/strings_download.xml | 11 ++ app/src/main/res/values/strings_play_store.xml | 25 +++++ app/src/main/res/values/strings_pref_behaviour.xml | 4 + app/src/main/res/values/strings_pref_debug.xml | 14 +++ .../main/res/values/strings_pref_experimental.xml | 3 +- app/src/main/res/values/strings_pref_networks.xml | 4 + .../main/res/values/strings_pref_notifications.xml | 1 - app/src/main/res/values/strings_preferences.xml | 5 + app/src/main/res/values/strings_temp.xml | 6 -- app/src/main/res/values/strings_web_context.xml | 13 +++ app/src/main/res/xml/frost_changelog.xml | 18 +++- app/src/main/res/xml/frost_faq.xml | 8 ++ 15 files changed, 236 insertions(+), 72 deletions(-) create mode 100644 app/src/main/res/layout/material_drawer_header.xml delete mode 100644 app/src/main/res/values/strings_about.xml create mode 100644 app/src/main/res/values/strings_download.xml create mode 100644 app/src/main/res/values/strings_play_store.xml create mode 100644 app/src/main/res/values/strings_pref_debug.xml create mode 100644 app/src/main/res/values/strings_pref_networks.xml delete mode 100644 app/src/main/res/values/strings_temp.xml create mode 100644 app/src/main/res/values/strings_web_context.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/material_drawer_header.xml b/app/src/main/res/layout/material_drawer_header.xml new file mode 100644 index 00000000..21cd20a1 --- /dev/null +++ b/app/src/main/res/layout/material_drawer_header.xml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 412d5f34..85826588 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,7 +1,11 @@ pitchedapps@gmail.com + https://www.paypal.me/Allanw9 + PayPal com.pitchedapps.frost + + Feed Most Recent Top Stories @@ -23,6 +27,8 @@ Notes On This Day + + Getting everything ready… Welcome %s Select Facebook Account @@ -38,47 +44,23 @@ Feature Request Subject Share - Share Link - Debug Link - Frost for Facebook: Link Debug - Write here. Note that your link may contain private information, but I won\'t be able to see it as the post isn\'t public. The url will still help with debugging though. - If a link isn\'t loading properly, you can email me so I can help debug it. Clicking okay will open an email request - Open Link - Copy Link - Copy Text - Frost for Facebook: Image Link Debug Swipe right to go back to the previous window. Profile Picture - Custom [Pro] - Uh Oh - Reload - It seems like you are a pro user, but we couldn\'t find your purchasing info. If this error persists, please try clearing the Play Store cache and reinstalling the app. - It seems like app version can\'t purchase pro. Please reinstall from the play store if this is a persisting issue. - This is a pro feature, but this app doesn\'t seem to be installed from the Play Store. Please reinstall if this is an issue. - Something went wrong. Please try again later. - Thank you! - Thank you for your support! Enjoy the pro version. - Already Purchased - Looks like you\'ve already purchased %s. Enjoy! - Found Frost Pro! - Looks like you have frost pro! We\'ll reload the app so you can enjoy the awesome features! - Restoring purchases… - Purchases Restored - Frost Pro has been restored. Enjoy the features! - It seems like you don\'t have pro. If this is a persistent issue, contact me and attach your purchase receipt. - - Login failed; id not found - IAB query is still in progress New Message No text - Image downloaded - Image failed to download - Failed to share image - Downloading Video - Video Downloaded - Downloading File - File Downloaded + + + Frost is a fully themable, + fully functional alternative to the official Facebook app, made from scratch and proudly open sourced. + + Frost FAQ + + + + An error occurred in the html extraction. + The request has been cancelled. + The request has timed out. diff --git a/app/src/main/res/values/strings_about.xml b/app/src/main/res/values/strings_about.xml deleted file mode 100644 index 68590718..00000000 --- a/app/src/main/res/values/strings_about.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - Frost is a fully themable, - fully functional alternative to the official Facebook app, made from scratch and proudly open sourced. - - Frost FAQ - - Can you add feature xxx? - I\'m always opened to suggestions, - and if a feature will enhance your experience, I\'d like to hear it. - However, please consider taking a look at my - issue tracker - - I can\'t scroll horizontally in the webviews. - This is known since the viewpager takes priority for horizontal scrolling. - Frost has addressed this by allowing horizontal web scrolls if you tap and hold before scrolling. - - Can I get more frequent notifications? - I made the decision to prioritize battery life by using a newer job scheduler for Android. - This means that your framework picks the best time to fetch the notifications, and the lowest window is 15 minutes. - This is also why I don\'t require the wakelock permission - \ No newline at end of file diff --git a/app/src/main/res/values/strings_download.xml b/app/src/main/res/values/strings_download.xml new file mode 100644 index 00000000..383daf56 --- /dev/null +++ b/app/src/main/res/values/strings_download.xml @@ -0,0 +1,11 @@ + + + Image downloaded + Image failed to download + Failed to share image + + Downloading Video + Video Downloaded + Downloading File + File Downloaded + \ No newline at end of file diff --git a/app/src/main/res/values/strings_play_store.xml b/app/src/main/res/values/strings_play_store.xml new file mode 100644 index 00000000..8d37ee16 --- /dev/null +++ b/app/src/main/res/values/strings_play_store.xml @@ -0,0 +1,25 @@ + + + Found Frost Pro! + Looks like you have frost pro! We\'ll reload the app so you can enjoy the awesome features! + + Already Purchased + Looks like you\'ve already purchased %s. Enjoy! + Thank you for your support! Enjoy the pro version. + Something went wrong. Please try again later. + This is a pro feature, but this app doesn\'t seem to be installed from the Play Store. Please reinstall if this is an issue. + It seems like you are a pro user, but we couldn\'t find your purchasing info. If this error persists, please try clearing the Play Store cache and reinstalling the app. + It seems like this app version can\'t purchase pro. Please reinstall from the play store if this is a persistent issue. + \nIf you would like to donate without any additional features, you may do so through PayPal. + Thank you! + + Purchases Restored + Frost Pro has been restored. Enjoy the features! + It seems like you don\'t have pro. If this is a persistent issue, contact me and attach your purchase receipt. + + Restoring purchases… + + Custom [Pro] + Uh Oh + Reload + diff --git a/app/src/main/res/values/strings_pref_behaviour.xml b/app/src/main/res/values/strings_pref_behaviour.xml index 13924a2d..6563ef69 100644 --- a/app/src/main/res/values/strings_pref_behaviour.xml +++ b/app/src/main/res/values/strings_pref_behaviour.xml @@ -9,6 +9,10 @@ Swipe right from anywhere on the overlaying web to close the browser. If disabled, only swiping from the left edge will move it. Viewpager Swipe Allow swiping between the pages in the main view to switch tabs. By default, the swiping automatically stops when you long press on an item, such as the like button. Disabling this will prevent page swiping altogether. + Search Bar + Enable the search bar instead of a search overlay + Force Message Bottom + When loading a message thread, trigger a scroll to the bottom of the page rather than loading the page as is. Exit Confirmation Show confirmation dialog before exiting the app Analytics diff --git a/app/src/main/res/values/strings_pref_debug.xml b/app/src/main/res/values/strings_pref_debug.xml new file mode 100644 index 00000000..d65adf29 --- /dev/null +++ b/app/src/main/res/values/strings_pref_debug.xml @@ -0,0 +1,14 @@ + + + + Debugging section is enabled! Go back to settings. + + Though most private content is automatically removed in the report, some sensitive info may still be visible. + \nPlease have a look at the debug report before sending it. + \n\nClicking one of the options below will prepare an email response with the web page data. + + + Incomplete report + + Frost for Facebook: Debug Report + \ No newline at end of file diff --git a/app/src/main/res/values/strings_pref_experimental.xml b/app/src/main/res/values/strings_pref_experimental.xml index 0f545b3e..10c66f99 100644 --- a/app/src/main/res/values/strings_pref_experimental.xml +++ b/app/src/main/res/values/strings_pref_experimental.xml @@ -5,8 +5,7 @@ Experimental features may be unstable and may never make it to production. Use at your own risk, send feedback, and feel free to disable them if they don\'t work well. Experimental by Default Feeling risky or just want to help with debugging? Checking this will enable future experimental functions be default. - Search Bar - Enable the search bar instead of a search overlay + Verbose Logging Enable verbose logging to help with crash reports. Logging will only be sent once an error is encountered, so repeat the issue to notify the dev. This will automatically be disabled if the app restarts. Restart Frost diff --git a/app/src/main/res/values/strings_pref_networks.xml b/app/src/main/res/values/strings_pref_networks.xml new file mode 100644 index 00000000..29eca24a --- /dev/null +++ b/app/src/main/res/values/strings_pref_networks.xml @@ -0,0 +1,4 @@ + + Load images on metered network. + If a metered network is detected, Frost will automatically stop all images and videos from loading. + \ No newline at end of file diff --git a/app/src/main/res/values/strings_pref_notifications.xml b/app/src/main/res/values/strings_pref_notifications.xml index 00c30b57..3cd953f6 100644 --- a/app/src/main/res/values/strings_pref_notifications.xml +++ b/app/src/main/res/values/strings_pref_notifications.xml @@ -19,5 +19,4 @@ Notification vibration Notification lights - \ No newline at end of file diff --git a/app/src/main/res/values/strings_preferences.xml b/app/src/main/res/values/strings_preferences.xml index c2ba0b36..05335345 100644 --- a/app/src/main/res/values/strings_preferences.xml +++ b/app/src/main/res/values/strings_preferences.xml @@ -10,6 +10,9 @@ Behaviour Define how the app interacts in certain settings + Network + Define options that affect metered networks + Experimental Enable early access to potentially unstable features @@ -19,6 +22,8 @@ About Frost for Facebook Version, Credits, and FAQs + Frost Debugger + Send html data to help with debugging. Replay Introduction \ No newline at end of file diff --git a/app/src/main/res/values/strings_temp.xml b/app/src/main/res/values/strings_temp.xml deleted file mode 100644 index 526b102d..00000000 --- a/app/src/main/res/values/strings_temp.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - Frost now has an intro screen - Would you like to see it? You can always replay it under settings - - \ No newline at end of file diff --git a/app/src/main/res/values/strings_web_context.xml b/app/src/main/res/values/strings_web_context.xml new file mode 100644 index 00000000..3b93a202 --- /dev/null +++ b/app/src/main/res/values/strings_web_context.xml @@ -0,0 +1,13 @@ + + + + Share Link + Debug Link + Frost for Facebook: Link Debug + Write here. Note that your link may contain private information, but I won\'t be able to see it as the post isn\'t public. The url will still help with debugging though. + If a link isn\'t loading properly, you can email me so I can help debug it. Clicking okay will open an email request + Open Link + Copy Link + Copy Text + Frost for Facebook: Image Link Debug + \ No newline at end of file diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index e7681107..a1fedd42 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -11,19 +11,29 @@ - - - + + + + + + - + + + + + + + + diff --git a/app/src/main/res/xml/frost_faq.xml b/app/src/main/res/xml/frost_faq.xml index e46d2d50..1830ed33 100644 --- a/app/src/main/res/xml/frost_faq.xml +++ b/app/src/main/res/xml/frost_faq.xml @@ -14,4 +14,12 @@ + + + Go to menu → account settings → videos
and change it from there.]]>
+ + \ No newline at end of file -- cgit v1.2.3