diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index e2fc78e..68cc8b4 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,19 +1,39 @@ # Changelog -## v1.0.0 +All notable changes to this project will be documented in this file. -### Added or Changed -- Added this changelog file :D -- Initial Release of Post.e +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -### Removed -- N/A +## [1.2.0] - 2024-05-01 + +### Fixed + +- This CHANGELOG file. + +### Changed + +- Update to README. + - Add stored procedure for Device testing. + +## [1.1.0] - 2023-11-23 -## v1.1.0 +### Changed -### Added or Changed - Updated Post.e designs - Updated README and repo structure to conform to the [Personal Repository Guidelines (PRG)](https://github.com/scottgriv/PRG-Personal-Repository-Guidelines) system. ### Removed -- VERSION file \ No newline at end of file + +- VERSION file + +## [1.0.0] - 2023-02-05 + +### Added + +- Added this changelog file :D +- Initial Release of Post.e + +[1.2.0]: https://github.com/scottgriv/Post.e/compare/v1.1.0...v1.2.0 +[1.1.0]: https://github.com/scottgriv/Post.e/compare/v1.0.0...v1.1.0 +[1.0.0]: https://github.com/scottgriv/Post.e/releases/tag/v1.0.0 diff --git a/.gitignore b/.gitignore index f15765b..79856f4 100644 --- a/.gitignore +++ b/.gitignore @@ -57,4 +57,46 @@ Icon? Post.e.code-workspace /server/languages/rs/target /server/languages/rs/Cargo.lock -*.xcuserstate \ No newline at end of file +*.xcuserstate + +# Xcode +*.pbxuser +*.mode1v3 +xcuserdata/ +project.xcworkspace/ +*.xccheckout +*.xcscmblueprint + +# Derived data +DerivedData/ + +# Build products +build/ +*.o +*.dSYM.zip +*.dSYM/ + +# CocoaPods +Pods/ +Podfile.lock + +# Carthage +Carthage/ +Carthage/Build + +# Swift Package Manager +.build/ +.swiftpm/xcode/package.xcworkspace +.swiftpm/xcode/xcuserdata/ + +# Other files and settings +*.moved-aside +*.xcuserstate +!default.xcconfig +*.xcconfig +.idea/ +*.swp +*.swo +*.DS_Store +*.AppleDouble +*.LS diff --git a/README.md b/README.md index 47c6b61..44e4e45 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ Here are some definitions to help you understand the terminology used in this do ## Getting Started -- Download the application from here, Github. +- Download the application from here, GitHub. - Place the `server` file on your web server. - Ensure you have the proper language frameworks and versions installed to integrate **Post.e** with. - See [Programming Languages](#programming-languages) above for the current list of version numbers. @@ -106,7 +106,6 @@ Here are some definitions to help you understand the terminology used in this do - Ensure the proper ports are open for your `localhost` web server and database. - Run the **Post.e** app in `Xcode` located in the `mobile/ios` folder. - Wait for the required packages to download in Swift Package Manager (SPM). - - Change your scheme to `Post.e-Test` to view Profile ID and Post ID values in the Tableview. - **Post.e** was tested with the following devices/simulators: - iPhone 14 Pro Max - iPhone 14 Plus @@ -120,11 +119,25 @@ Here are some definitions to help you understand the terminology used in this do - If you're using the empty database, you will have to build up the app database by registering new users. - Click Login! Enjoy! +> [!IMPORTANT] +> In the `Constants.m` file there is a `#TARGET_IPHONE_SIMULATOR` env variable. If you're using the Simulator, **Post.e.** will point towards your `localhost` / `127.0.0.1` server. +> If you're using a Device, you'll need to explicitly declare your laptop/server's IP on your network in the `#else` block. Make sure you swap `your_server_ip_address` with your server's IP address and keep the rest of the path the same. +> If you're using a Device and the `post.e_demo` database, you will also have to update the paths located in the database tables to point correctly to the demo photos and attachments by calling a stored procedure called `p_update_urls('fromIP', 'toIP')`, see the example code block below. + +``` +CALL p_update_urls('localhost', 'your_server_ip_address') +// or +CALL p_update_urls('127.0.0.1', 'your_server_ip_address') +``` + > [!NOTE] -> All of the demo accounts in the database use the password above. +> All of the demo accounts in the database use thesame password mentioned above. > Passwords are hashed using `SHA512` and `Salted`. > The demo accounts consist of quotes from famous individuals that have inspired me through their works and words. +> [!TIP] +> Change your scheme to `Post.e-Test` to view Profile ID and Post ID values in the tableview for debugging purposes. + ## What's Inside? Below is a list of the main files and folders in this repository and their specific purposes: diff --git a/mobile/ios/Post.e.xcodeproj/project.pbxproj b/mobile/ios/Post.e.xcodeproj/project.pbxproj index c23e5cc..695bf7d 100644 --- a/mobile/ios/Post.e.xcodeproj/project.pbxproj +++ b/mobile/ios/Post.e.xcodeproj/project.pbxproj @@ -1291,7 +1291,7 @@ ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1.1.0; + CURRENT_PROJECT_VERSION = 1.2.0; DEVELOPMENT_TEAM = 8927FZ78V3; GENERATE_INFOPLIST_FILE = YES; "INFOPLIST_FILE[sdk=*]" = "Post.e_Watch WatchKit Extension/Info.plist"; @@ -1305,7 +1305,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.1.0; + MARKETING_VERSION = 1.2.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.Post-e.watchkitapp"; @@ -1329,7 +1329,7 @@ ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1.1.0; + CURRENT_PROJECT_VERSION = 1.2.0; DEVELOPMENT_TEAM = 8927FZ78V3; GENERATE_INFOPLIST_FILE = YES; "INFOPLIST_FILE[sdk=*]" = "Post.e_Watch WatchKit Extension/Info.plist"; @@ -1343,7 +1343,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.1.0; + MARKETING_VERSION = 1.2.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.Post-e.watchkitapp"; @@ -1373,7 +1373,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.2.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.Post-eTests"; @@ -1401,7 +1401,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.2.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.Post-eTests"; @@ -1547,7 +1547,7 @@ CLANG_USE_OPTIMIZATION_PROFILE = NO; CODE_SIGN_ENTITLEMENTS = Post.e/Post.e.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1.1.0; + CURRENT_PROJECT_VERSION = 1.2.0; DEVELOPMENT_TEAM = 8927FZ78V3; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Post.e/Supporting Files/Post.e-Prefix.pch"; @@ -1570,7 +1570,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1.0; + MARKETING_VERSION = 1.2.0; ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.Post-e"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1599,7 +1599,7 @@ CLANG_USE_OPTIMIZATION_PROFILE = NO; CODE_SIGN_ENTITLEMENTS = Post.e/Post.e.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1.1.0; + CURRENT_PROJECT_VERSION = 1.2.0; DEVELOPMENT_TEAM = 8927FZ78V3; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Post.e/Supporting Files/Post.e-Prefix.pch"; @@ -1621,7 +1621,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1.0; + MARKETING_VERSION = 1.2.0; ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.Post-e"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/mobile/ios/Post.e.xcodeproj/project.xcworkspace/xcuserdata/scottgrivner.xcuserdatad/UserInterfaceState.xcuserstate b/mobile/ios/Post.e.xcodeproj/project.xcworkspace/xcuserdata/scottgrivner.xcuserdatad/UserInterfaceState.xcuserstate index e7ef25d..275c8a7 100644 Binary files a/mobile/ios/Post.e.xcodeproj/project.xcworkspace/xcuserdata/scottgrivner.xcuserdatad/UserInterfaceState.xcuserstate and b/mobile/ios/Post.e.xcodeproj/project.xcworkspace/xcuserdata/scottgrivner.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/mobile/ios/Post.e/Main Files/Singletons/Constants/Constants.m b/mobile/ios/Post.e/Main Files/Singletons/Constants/Constants.m index fbd246e..4b107ec 100644 --- a/mobile/ios/Post.e/Main Files/Singletons/Constants/Constants.m +++ b/mobile/ios/Post.e/Main Files/Singletons/Constants/Constants.m @@ -17,8 +17,8 @@ @implementation Constants NSString * const baseURL = @"http://localhost/Post.e/server"; #else NSString * const baseURL = @"http://your_server_ip_address/Post.e/server"; -//Ex. http://10.0.1.2/Post.e -//Ex. http://192.168.0.2/Post.e +//Ex. http://10.0.1.2/Post.e/server +//Ex. http://192.168.0.2/Post.e/server #endif //Server Files diff --git a/mobile/ios/Post.e/Main Files/en.lproj/Main.strings b/mobile/ios/Post.e/Main Files/en.lproj/Main.strings index 37f7ea5..1024a76 100644 --- a/mobile/ios/Post.e/Main Files/en.lproj/Main.strings +++ b/mobile/ios/Post.e/Main Files/en.lproj/Main.strings @@ -98,8 +98,8 @@ /* Class = "UIButton"; normalTitle = " "; ObjectID = "W5w-dc-etd"; */ "W5w-dc-etd.normalTitle" = " "; -/* Class = "UILabel"; text = "Post.e v1.1.0"; ObjectID = "Ww9-T2-hCf"; */ -"Ww9-T2-hCf.text" = "Post.e v1.1.0"; +/* Class = "UILabel"; text = "Post.e v1.2.0"; ObjectID = "Ww9-T2-hCf"; */ +"Ww9-T2-hCf.text" = "Post.e v1.2.0"; /* Class = "UITextField"; placeholder = "Username"; ObjectID = "XCy-Hg-gMR"; */ "XCy-Hg-gMR.placeholder" = "Username"; diff --git a/mobile/ios/Post.e/Main Files/ru.lproj/Main.strings b/mobile/ios/Post.e/Main Files/ru.lproj/Main.strings index 60d9d62..ed15ba9 100644 --- a/mobile/ios/Post.e/Main Files/ru.lproj/Main.strings +++ b/mobile/ios/Post.e/Main Files/ru.lproj/Main.strings @@ -98,8 +98,8 @@ /* Class = "UIButton"; normalTitle = " "; ObjectID = "W5w-dc-etd"; */ "W5w-dc-etd.normalTitle" = " "; -/* Class = "UILabel"; text = "Post.e v1.1.0"; ObjectID = "Ww9-T2-hCf"; */ -"Ww9-T2-hCf.text" = "Post.e v1.1.0"; +/* Class = "UILabel"; text = "Post.e v1.2.0"; ObjectID = "Ww9-T2-hCf"; */ +"Ww9-T2-hCf.text" = "Post.e v1.2.0"; /* Class = "UITextField"; placeholder = "Username"; ObjectID = "XCy-Hg-gMR"; */ "XCy-Hg-gMR.placeholder" = "Имя пользователя";