violet_rails

an app engine for your business. Seamlessly implement business logic with a powerful API. Out of the box CMS, blog, forum and email functionality. Developer friendly & easily extendable for your next SaaS/XaaS project. Built with Rails 6, Devise, Sidekiq & PostgreSQL

MIT License

Stars
96
Committers
5

Bot releases are visible (Hide)

violet_rails - 0.9.85

Published by donrestarone almost 2 years ago

What's Changed

[feature] Web hook drive strategy

Addresses: https://github.com/restarone/violet_rails/issues/682

Api Keys:

https://user-images.githubusercontent.com/50227291/196992417-ab91ed2e-1514-4abf-9954-d44123542583.mov

Webhook:

https://user-images.githubusercontent.com/50227291/196992487-4c3c9593-4cb6-4b8c-8f7b-c6e22d9385a2.mov

The webhook's payload can be accessed as parameters[:request]['body'] in external api client.

Eg: https://github.com/restarone/violet_rails/pull/1167/files#diff-1aa9cadc4b4c76bf7ec3d7c0cf8d0da66be3ba87336bad4d32241c99d53aa6beR603-R623

    class ExternalApiModelExample
      def initialize(parameters)
        @external_api_client = parameters[:external_api_client]
        @request = parameters[:request]
      end
  
      def start
        if @request['body']['type'] == 'customer.created'
          resource = @external_api_client.api_namespace.api_resources.create(
            properties: {
              request_body: @request["body"]	
            }
          )
          render json: { result: resource } 
        end
      end

Custom webhook verification method:

https://user-images.githubusercontent.com/50227291/197921958-a06b85a8-7c7a-4e3b-afb9-889fe5c6e110.mov
Co-authored-by: Pralish Kayastha [email protected]
Co-authored-by: Pralish Kayastha [email protected]
Co-authored-by: Prashant Khadka [email protected]

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.84...0.9.85

violet_rails - 0.9.84

Published by donrestarone almost 2 years ago

What's Changed

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.83...0.9.84

violet_rails - 0.9.83

Published by donrestarone almost 2 years ago

What's Changed

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.82...0.9.83

violet_rails - 0.9.80

Published by donrestarone almost 2 years ago

What's Changed

[bug fix] Run Error API actions

Addresses: https://github.com/restarone/violet_rails/issues/985

Addresses: https://github.com/restarone/violet_rails/issues/1071

Demo:

https://user-images.githubusercontent.com/50227291/188673867-186d03e9-a8ec-4cb7-adb0-6a6483ba1cec.mov

https://user-images.githubusercontent.com/50227291/210391370-7d38a132-6d10-4cc4-85ed-d1eb14e088c8.mov

Since api resource is not saved due to any error, api action will keep track of user input with proper error message under

additional_data['api_resource']['properties'] and additional_data['api_resource']['errors']

Demo shows error message and user input being accessed by api_action

Demo fix dead set functionality

https://user-images.githubusercontent.com/50227291/189976658-e7c6fbe8-1f69-4740-9e98-98835a8fae26.mov

Demo showing error message in API

https://user-images.githubusercontent.com/50227291/196223270-e1d831f3-8403-43eb-84c2-d5419ea078d4.mov

Co-authored-by: Pralish Kayastha [email protected]
Co-authored-by: Pralish Kayastha [email protected]

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.79...0.9.80

violet_rails - 0.9.79

Published by donrestarone almost 2 years ago

violet_rails - 0.9.78

Published by donrestarone almost 2 years ago

What's Changed

Addresses: https://github.com/restarone/violet_rails/issues/1315

[feature] Uncategorized access should allow API Namespace creation

Demo

https://user-images.githubusercontent.com/25191509/209044452-9db5a0f7-8037-4561-bdf9-0f06c99a6508.mov

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.77...0.9.78

violet_rails - 0.9.77

Published by donrestarone almost 2 years ago

What's Changed

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.76...0.9.77

violet_rails - 0.9.76

Published by donrestarone almost 2 years ago

What's Changed

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.75...0.9.76

violet_rails - 0.9.75

Published by donrestarone almost 2 years ago

violet_rails - 0.9.74

Published by donrestarone almost 2 years ago

What's Changed

[bug fix] don't raise error when API Resource ID is bad

Addresses: https://github.com/restarone/violet_rails/issues/1278

Demo

https://user-images.githubusercontent.com/25191509/207099710-6da8a326-1109-4f10-9182-0b06c71c6393.mov

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.73...0.9.74

violet_rails - 0.9.73

Published by donrestarone almost 2 years ago

What's Changed

Addresses: https://github.com/restarone/violet_rails/issues/1242

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.72...0.9.73

violet_rails - 0.9.72

Published by donrestarone almost 2 years ago

What's Changed

[Bug Fix] generated documentation in API Namespace

Addresses: https://github.com/restarone/violet_rails/issues/1018

image

Co-authored-by: Prashant [email protected]

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.71...0.9.72

violet_rails - 0.9.71

Published by donrestarone almost 2 years ago

violet_rails - 0.9.70

Published by donrestarone almost 2 years ago

What's Changed

[feature] allow access to API by category

Addresses: https://github.com/restarone/violet_rails/issues/1075

Demo

https://user-images.githubusercontent.com/35935196/191496793-30d7e50f-7674-489f-bb30-699fa4ab02f6.mp4

https://user-images.githubusercontent.com/25191509/198866316-2d57a2de-2e33-42ab-ba74-c59eb59c08c0.mov

Co-authored-by: Prashant [email protected]
Co-authored-by: Prashant Khadka [email protected]
Co-authored-by: Prashant Khadka [email protected]
Co-authored-by: Prashant Khadka [email protected]

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.69...0.9.70

violet_rails - 0.9.69

Published by donrestarone almost 2 years ago

What's Changed

[CI] Job to delete all review apps

The code changes will delete the review-apps' folder on dokku EC2 instance if its folder still exists while cleaning up all review-apps.

Co-authored-by: Prashant Khadka [email protected]
Co-authored-by: Don Restarone [email protected]

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.68...0.9.69

violet_rails - 0.9.68

Published by donrestarone almost 2 years ago

What's Changed

[bug fix] can't search by name in API #index

Addresses: https://github.com/restarone/violet_rails/issues/1225

Demo

https://user-images.githubusercontent.com/25191509/201937978-4f162ef3-2b98-4ba1-9112-26e8ae53613e.mov

Co-authored-by: Prashant Khadka [email protected]
Co-authored-by: Prashant [email protected]

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.67...0.9.68

violet_rails - 0.9.67

Published by donrestarone almost 2 years ago

What's Changed

Addresses: https://github.com/restarone/violet_rails/issues/1269

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.66...0.9.67

violet_rails - 0.9.66

Published by donrestarone almost 2 years ago

What's Changed

Addresses: https://github.com/restarone/violet_rails/issues/1235

DEMO

to get cookie consent status, call endpoint:

YOUR_DOMAIN/cookies/fetch

https://user-images.githubusercontent.com/25191509/204212777-ab22c487-d0aa-458c-981d-6f951df7cb2a.mov

Co-authored-by: Prashant [email protected]

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.65...0.9.66

Badges
Extracted from project README
Brakeman Scan Heroku Deployments AWS EC2 Deployments
Related Projects