Releases: restarone/violet_rails
0.9.127
What's Changed
- [feature] install blazer by @donrestarone in #1664
global admins can now access Blazer, for running SQL queries for BI and Data Science purposes:
renders tables from your SQL:
Full Changelog: 0.9.126...0.9.127
0.9.126
What's changed
- basic implementation for email tracking opt-in by @donrestarone
opt in via subdomain settings
tracking pixel
UI
0.9.125
What's Changed
- [observability] print errors when page creation fails by @donrestarone in #1619
The problem:
detailed Errors are not showing on referrals.restarone.com
The solution
print detailed errors when page creation fails
Full Changelog: 0.9.124...0.9.125
0.9.124
What's Changed
- [Bug Fix] "tooltip is not a function" in analytics V2 by @alis-khadka in #1611
Addresses: #1609
- importing 'cable' in typical way from @hotwired/turbo-rails attempts to register "turbo-frame" element multiple times, we are now importing it in a Violet Rails specific way that does not interfere with custom implementations
Demo Clip
Screen.Recording.2023-09-19.at.9.19.42.AM.mov
Full Changelog: 0.9.123...0.9.124
0.9.123
What's Changed
- [feature] Video Rooms by @donrestarone in #1607
Video rooms
Addresses: #1598
Initialize your room from the Admin panel,
share the link with participants to join!
How does it work?
It works by peers streaming to, and from each other. For more details and to
learn about WebRTC, Signalling servers (TURN/STUN) and ICE candidates, see here: https://www.youtube.com/watch?v=WmR9IMUD_CY
guide: https://github.com/domchristie/webrtc-hotwire-rails
Todo's:
- ability for participants to mute audio / stop video
- fix flakiness in new participants connecting to already-joined peers (newly joined peers dont see existing participants until they refresh the page and join again)
- UI improvements, see: https://github.com/Alicunde/Videoconference-Dish-CSS-JS
Full Changelog: 0.9.122...0.9.123
0.9.122
What's Changed
- [feature] Calendar and icalendar meetings by @donrestarone in #1606
Calendar and Meetings
addresses: #1597
This release adds the ability for Violet to handle your calendar. Incoming emails with .ics attachments will automatically be added to your calendar as meetings.
Calendar UI
Outgoing Meeting request RSVP controls
todo:
- include .vcs file for outlook
- add validations to meeting model
further reading:
- icalendar syncing events: https://joshfrankel.me/blog/lemme-pencil-you-in-using-icalendar-and-rails-to-sync-calendar-events/
- all the options: https://blog.corsego.com/icalendar-ruby
- publish? https://stackoverflow.com/questions/55927263/what-does-icalendar-publish-method-do
- dealing with email client quirkyness when displaying RSVP buttons: https://stackoverflow.com/questions/66102584/when-i-add-method-request-to-icalendar-gmail-stops-recognizing-as-event
Full Changelog: 0.9.121...0.9.122
0.9.121
What's Changed
- [Plugin] Printify/Stripe integration by @alis-khadka @Pralish and @Ayon95 in #1593
Living Doc: #1562
Currency
Printify has two currency settings;
- catalog currency: This is the currency in which we can view different product prices in Printify's catalog.
- billing currency : This is the currency in which the shop owner will be charged by Printify.
We can find further details about it over Printify webpage. LINK 1, LINK 2
The Printify's products API does not provide any details regarding the currency
being used. It only returns the price in figures.
So, to overcome this barrier, we would have to manually set the currency
, which is being used or has been setup in Printify platform, in Violet-Rails end. It will be saved under a shop
api-resource's properties as below; TEST-NET LINK
This currency
information will be used to show the prices in products-listing, product-detail, cart and Stripe's checkout page.
Note: For now, we are using USD
currency over the test-net.
HOW TO RUN PRINTIFY PLUGIN INSTALER SCRIPT
Export variables
- cd to violet_rails root
Required Variables
export SHOP_NAME="Restarone"
export PRINTIFY_API_KEY="your api key"
Optional Variables
export STRIPE_SECRET_KEY="your stripe secret key"
export PRODUCTS_PAGE_SLUG="your products page url"
export BUSINESS_NAME="your business name in printify account"
Run Installer
In development
docker-compose run --rm -e SHOP_NAME -e PRINTIFY_API_KEY -e STRIPE_SECRET_KEY -e PRODUCTS_PAGE_SLUG -e BUSINESS_NAME solutions_app rails r ./plugins/installers/printify_stripe_e_commerce.rb
In production
rails r ./plugins/installers/printify_stripe_e_commerce.rb
In test server with dokku
dokku run -e SHOP_NAME -e PRINTIFY_API_KEY -e STRIPE_SECRET_KEY -e PRODUCTS_PAGE_SLUG -e BUSINESS_NAME <APP_NAME> rails r ./plugins/installers/printify_stripe_e_commerce.rb
Variables
SHOP_NAME:
Name of the printify shop you want to sync to violet rails.
PRINTIFY_API_KEY:
Screen.Recording.2023-05-23.at.10.49.13.PM.mov
STRIPE_SECRET_KEY:
Screen.Recording.2023-05-30.at.5.41.53.PM.mov
BUSINESS_NAME:
Business name in your printify account.
Screen.Recording.2023-05-30.at.5.45.03.PM.mov
PRODUCTS_PAGE_SLUG:
The url you want for your products list page. Default is 'products'
Screen.Recording.2023-05-30.at.5.46.52.PM.mov
STORE MANAGEMENT
How to hide product from the store:
Screen.Recording.2023-06-04.at.9.09.05.AM.mov
How to change who pays processing fees (Pass On to customer or Absorb Fees)
If pass_processing_fees_to_customer is set to true, the Convenience fee, ie. the stripe processing fee (2.9% + $0.30) and stripe tax collection charge (0.5% if sales tax enabled) will be passed to customers
Screen.Recording.2023-06-04.at.9.26.33.AM.mov
DEBUGGING
If any feature is not working, please check shop_logs
namespace. We store error logs there.
Stuck in publishing
state?
- Run sync_printify_products plugin
Screen.Recording.2023-06-05.at.6.59.29.AM.mov
How to check if Printify webhooks are created?
- On rails console
PRINTIFY_API_KEY="your api key"
PRINTIFY_HEADERS = {
"Content-Type" => 'application/json;charset=utf-8',
"Authorization" => "Bearer #{PRINTIFY_API_KEY}"
}
shop_id = ApiNamespace.friendly.find('shops').api_resources.first.properties['printify_shop_id']
response = HTTParty.get("https://api.printify.com/v1/shops/#{shop_id}/webhooks.json", headers: PRINTIFY_HEADERS)
JSON.parse(response.body)
Full Changelog: 0.9.120...0.9.121
0.9.120
What's Changed
- [feature] scaffold renderer at API Namespace creation by @donrestarone in #1592
addresses: #1588
Upon API Namespace creation, an index page (for rendering a list of entities) and show page (for rendering a specific entity by ID) are generated along with Snippets for rendering list and show views. For convenience, a breadcrumb navigation bar and creation form are included in the generated pages.
create a namespace with rendering enabled
auto generated index and show pages
rendered list view
rendered show view
Full Changelog: 0.9.119...0.9.120
0.9.119
What's Changed
- Email bug fixes august 2023 (#1581) by @donrestarone & @Pralish in #1582
The problem:
email preview showing full email message in email threads list view:
fixes,
- rendering overflow in email list view - list items are now a fixed size
- sorting when email threads are updated with new messages - threads with unread messages, or new thread show up at the top
Screen.Recording.2023-08-14.at.11.37.41.AM.mov
Full Changelog: 0.9.118...0.9.119