Commit graph

39 commits

Author SHA1 Message Date
Otavio Cordeiro
eaef589399 Select First Tag Suggestion using TAB 2025-12-28 09:36:46 +01:00
Otávio
4d95a7d40f Update README.md 2025-12-25 11:25:40 +01:00
Otávio Cordeiro
c9b6d624a2 Bump version to 1.4 2025-12-24 21:16:19 +01:00
Otávio Cordeiro
5e0ad765e1 Use user’s timezone for blog post time 2025-12-24 21:06:53 +01:00
Otávio Cordeiro
e1098916ab Update README with Ko-Fi link 2025-12-23 11:05:40 +01:00
Otavio Cordeiro
a97a1981e0 Bump version to 1.3 2025-12-22 22:58:22 +01:00
Otavio Cordeiro
833f9e920d Add new revamped drag-and-drop area 2025-12-22 22:43:10 +01:00
Otavio Cordeiro
07ea603267 Add SwiftUI Preview for picture drag-and-drop 2025-12-22 22:43:10 +01:00
Otavio Cordeiro
eedd369c37 Deleted stale tags before fetching new blog posts 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
c1aaf3af68 Update Ko-Fi URL with username instead of ID 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
3a86d153ea Handle line break in slugified() 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
8572716a73 Add StringSlugTests 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
5a2ebf5017 Add StringWeblogTests 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
c35418211d Add URLAddressTests 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
a52511547c Convert Foundation Extension Testst o Swift Testing 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
d4aa1f066f Update WeblogRequestFactory Tests 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
91435ff1ce Add Divider between Editor sections 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
793903352c Apply cosmetic changes to the editor layout 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
c837a2b788 Move window sizes to Scenes 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
ef2ab718d7 Add “Live with Tags” Preview 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
22956e834c Remove unnecessary method 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
1392ad0cc0 Add tag support to Weblog entries 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
d840caa026 Publish Weblog entry with the specified status 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
3365b19b8f Show the Weblog Entry Status in the Editor 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
958d410ddc Show status of weblog entry in list of posts 2025-12-22 11:31:33 +01:00
Otavio Cordeiro
e6d378dfef Add multiline support for Captions in Picture Upload and Editor windows 2025-12-21 14:54:21 +01:00
Otavio Cordeiro
17398e7dc0 Add GitHub Action to Run Unit Tests 2025-12-18 07:57:53 +01:00
Otavio Cordeiro
2aad39cf37 Add Test Targets to Scheme
This enables Command+U for running Unit Tests. It enables running tests
from the CLI as well, which is needed for running tests in CI.
2025-12-18 07:57:53 +01:00
Otavio Cordeiro
d54913af73 Bump version to 1.2 2025-12-17 22:39:05 +01:00
Otavio Cordeiro
d15f7a1be3 Improve dropzone when dragging an image from Finder 2025-12-17 22:30:54 +01:00
Otavio Cordeiro
f5a4bf476d Fix 401 error when publishing a new weblog entry
The add entry button in the toolbar wasn’t passing the selected address
to the lower layers. As result, Triton was making a network request to
create a new post without the address. In such cases, the API returns an
error, 401.

This commit ensures the address is getting passed down to the lower
layers before making the network request.
2025-12-17 21:56:35 +01:00
Otavio Cordeiro
1791cab97f Add GitHub Action for creating draft releases from tags
Implements automated draft release creation when version tags are
pushed.

The workflow:

- Triggers on tags matching the pattern [0-9]+.[0-9]+.[0-9]+
  (e.g., 1.0.0, 1.1.0)
- Finds all PRs merged since the previous tag using GitHub API
- Categorizes PRs into "fixes" (starting with Fix/Bugfix/Hotfix) and
  "other"
- Creates a draft release with formatted PR list including full URLs
- Leaves the release as draft for manual binary attachment before
  publishing
2025-12-17 18:33:37 +01:00
Otávio Cordeiro
561ec4e028 Bump version to 1.1 2025-12-17 13:53:25 +01:00
Otavio Cordeiro
853a1e1e8b Handle optional account name with "Anonymous" fallback
Make account name optional in API response and map nil/empty values to
"Anonymous" at the network boundary. This ensures users who haven't set
their name can remain anonymous while keeping the name non-optional in
domain and UI layers.

- Make AccountInformationResponse.Response.name optional (String?)
- Add mapping logic in AccountUpdateNetworkService to default nil/empty
  names to "Anonymous"
- Preserve non-optional String type in AccountResponse and
  Account models
- No changes required in UI or persistence layers
2025-12-17 13:39:39 +01:00
Otavio Cordeiro
9115e25017 Use .jpg extension for all image preview URLs
All preview images generated by the backend are JPEG format, regardless
of the original image format (e.g., foo.png -> foo.preview.jpg).

Updated the imagePreviewURL getter, its documentation, and all tests to
reflect this behavior.
2025-12-17 13:29:01 +01:00
Otavio Cordeiro
ba7c8fcef8 Update README to include information about Photo Library and Finder 2025-12-17 12:02:51 +01:00
Otavio Cordeiro
05e3920841 Add GitHub Actions workflow for PR checks
This workflow runs automated checks on pull requests to ensure code
quality:

- Builds the OMG project using xcodebuild with the OMG scheme
- Validates code formatting using swiftformat with the project's
  .swiftformat configuration
- Caches Swift Package Manager dependencies to optimize build times
- Runs on all pull requests targeting main and develop branches

The workflow helps maintain code quality and consistency by catching
build failures and formatting issues before code is merged.
2025-12-17 11:54:03 +01:00
Otávio
27f4998cdf Add Installation Instructions for Triton
Signed-off-by: Otavio Cordeiro <otaviocc@users.noreply.github.com>
2025-12-15 21:36:22 +01:00
Otávio
3e878667a1 Add Triton App
Signed-off-by: Otavio Cordeiro <otaviocc@users.noreply.github.com>
2025-12-15 20:39:07 +01:00