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 hidden (Show)

violet_rails - 0.9.24

Published by donrestarone about 2 years ago

What's Changed

[Bug Fix] Silent recaptcha with challenge if confidence is low

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

Demo Video

https://user-images.githubusercontent.com/25191509/182033120-061b7e9a-836c-4f72-8fe4-ed5da43083ac.mp4

IRL example

Nikean.org uses recaptcha V3 and present a challenge if bot-like behavior is detected.

https://user-images.githubusercontent.com/35935196/182044455-b7386aec-f2eb-4a93-b89b-a3906b81f6e1.mov

Co-authored-by: Prashant [email protected]

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.23...0.9.24

violet_rails - 0.9.23

Published by donrestarone about 2 years ago

What's Changed

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

Allow querying in REST API and GraphQL

Allows PARTIAL and EXACT match querying

REST API query demo

https://user-images.githubusercontent.com/35935196/180443733-61e75634-5f86-4777-a21f-7959a5cff734.mov

GQL API query demo

https://user-images.githubusercontent.com/35935196/180443718-721d97c9-f2ab-418e-af7f-23c3c5faa66e.mov

Sample queries

GraphQL

{ 
  apiNamespaces(slug: "support_request") { 
  	id 
    apiResources(properties: {
      product:{ option: "PARTIAL", value: "nikean" }
    }) {
      id
      properties
    }
	} 
}

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

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.22...0.9.23

violet_rails - 0.9.22

Published by donrestarone about 2 years ago

What's Changed

A feature and a bug fix

[feature] when form validations / recaptcha fail, persist form data for resubmission

No redirection on form submission failure

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

Demo:

https://user-images.githubusercontent.com/35935196/181828237-37c9093c-37fc-4046-ab50-1d53d2899423.mov

IRL example

When Recaptcha V2 expires (after the user solved it before filling out the form) and the user hits submit-- the form is preserved.

https://user-images.githubusercontent.com/35935196/182043285-e5514f0a-ce88-404b-a848-9c8d84f52400.mov

[bug fix] Recaptcha success handler activates Submit button of all forms on a page

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

Demo:

https://user-images.githubusercontent.com/35935196/181939556-880a9adf-b6b2-423c-9578-46e8837b651b.mov

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

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.21...0.9.22

violet_rails - 0.9.21

Published by donrestarone about 2 years ago

What's Changed

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.20...0.9.21

violet_rails - 0.9.20

Published by donrestarone about 2 years ago

What's Changed

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.19...0.9.20

violet_rails - 0.9.19

Published by donrestarone about 2 years ago

What's Changed

[feature] attach current_visit and current_user to created API Resource

Addresses: https://github.com/restarone/violet_rails/issues/900 by @Pralish

https://user-images.githubusercontent.com/35935196/180570997-d3ebd298-0972-4e01-9a36-9b44dfe2528d.mov

[feature] Render rich text or file content on a new line in API

Addresses #848 by @Ayon95

Capture

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.18...0.9.19

violet_rails - 0.9.18

Published by donrestarone about 2 years ago

What's Changed

[dev] add better seeds

resolves #628
Co-authored-by: Yuriy Yashkir [email protected]

[feature] show dynamic attributes in API Resources index table

resolves: https://github.com/restarone/violet_rails/issues/871

Demo:

https://user-images.githubusercontent.com/25191509/179969416-1d807c22-9c82-46d1-91b9-bc27bbdbce2c.mp4

Mobile

https://user-images.githubusercontent.com/25191509/180193220-563d3c31-352d-491c-91f1-c32ccfaa54ab.mp4

  • feat(): refactoring test case

  • feat(): make api-resources index table responsive

  • feat(): making table pagination fixed when the table is scrollable

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

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.17...0.9.18

violet_rails - 0.9.17

Published by donrestarone about 2 years ago

What's Changed

resolves: https://github.com/restarone/violet_rails/issues/527

Custom API Actions

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.16...0.9.17

violet_rails - 0.9.16

Published by donrestarone over 2 years ago

violet_rails - 0.9.15

Published by donrestarone over 2 years ago

What's Changed

We increased test coverage!

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.14...0.9.15

violet_rails - 0.9.14

Published by donrestarone over 2 years ago

What's Changed

ability to reference current_user and current_visit in API Actions

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

Demo

https://user-images.githubusercontent.com/25191509/178464446-6f296166-c7dd-4f36-a957-001231cd7b90.mp4

Email action

Screenshot from 2022-07-11 20-12-18
Screenshot from 2022-07-11 20-11-57

HTTP Action

Screenshot from 2022-07-11 17-57-56

example usage

Screenshot from 2022-07-11 17-58-10

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

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.13...0.9.14

violet_rails - 0.9.13

Published by donrestarone over 2 years ago

What's Changed

Allow dynamic segment in API redirect action

This feature allows Ruby evaluation in the redirect action so you can do conditional redirects and other fanciness:


How it works

The implicit return value of the evaluated statement should be a valid path in the application. As illustrated above, you can use an absolute path (like: '/', or a Rails route helper like dashboard_path)


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

Video demo

https://user-images.githubusercontent.com/35935196/178011977-82aab515-87b5-49a3-8591-f8ba3535d9eb.mp4

The evaluated output of the dynamic_url segment is saved in the lifecycle message

image

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

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.12...0.9.13

violet_rails - 0.9.12

Published by donrestarone over 2 years ago

[feature] ability to have an email signature + name in email

resolves: https://github.com/restarone/violet_rails/issues/767

Set name and signature for Email under App Settings

Screenshot from 2022-07-09 15-58-10

image

Name and signature are included in outgoing Email

image

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.11...0.9.12

violet_rails - 0.9.11

Published by donrestarone over 2 years ago

What's Changed

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.10...0.9.11

violet_rails - 0.9.10

Published by donrestarone over 2 years ago

What's Changed

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.9...0.9.10

violet_rails - 0.9.9

Published by donrestarone over 2 years ago

[feature] ability to toggle trix editor attachments

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

Demo Video

https://user-images.githubusercontent.com/35935196/176429682-a19cc7b7-f692-4f18-8bc9-7f95947fc9b2.mp4

challenges

Unchecked checkbox not passing false to params:
It took me some time to figure this out. In the end, I followed these reference for the workaround;

https://github.com/rails/rails/issues/5937
https://stackoverflow.com/questions/20379311/how-to-get-blank-checkboxes-to-pass-as-false-to-params/20380051#20380051

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.8...0.9.9

violet_rails - 0.9.8

Published by donrestarone over 2 years ago

What's Changed

🪄 Dynamic segments in API Actions 🦾

addresses: https://github.com/restarone/violet_rails/issues/653 & https://github.com/restarone/violet_rails/issues/652

upgrade path: https://github.com/restarone/violet_rails/issues/836

This change adds dynamic segments in Email and Web Request Actions in the API Namespace / API Actions sub-systems.

Feature Showcase

Dynamic Emails

Given a simple form like this:
Screenshot from 2022-07-03 14-27-25

an email action is defined:
Screenshot from 2022-07-03 14-24-27

the system will generate the following email message:
Screenshot from 2022-07-03 14-25-07

Dynamic HTTP requests

Now you have dynamic segments in the request URL

View evaluated work

Every API Action is tracked by Violet Rails, and you can see what the system did after it evaluated your code.

The above action resulted in the following email:

The same evaluation rules apply to HTTP actions, so you can see exactly what was sent to external systems -- for example:

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.7...0.9.8

violet_rails - 0.9.7

Published by donrestarone over 2 years ago

What's Changed

Various bug fixes

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.6...0.9.7

violet_rails - 0.9.6

Published by donrestarone over 2 years ago

What's Changed

[feature] export/import API Namespace with/without children in JSON format

image
Addresses: https://github.com/restarone/violet_rails/issues/679

Demo Video

https://user-images.githubusercontent.com/25191509/175818688-42dc5179-dce9-4b22-a657-888ead6b3490.mp4

Screenshots

image
image

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.5...0.9.6

violet_rails - 0.9.5

Published by donrestarone over 2 years ago

What's Changed

Violet is now iOS ready! 📱 🍎 🍏

As of this release every app/website built with Violet Rails can be turned into an iOS app with just 1 line of code 🪄 ✨

Automatic translation between your web app 🌎 and native app 📱

Your Violet Rails app will now transition seamlessly between web (left) and iOS (right)

Making your Violet Rails app iOS aware

replace {{ cms:snippet navbar }} and {{ cms:snippet footer }} with {{cms:helper render_smart_navbar}} and {{cms:helper render_smart_footer}}. These new functions will intelligently render navbar/footer as {{ cms:snippet navbar }} and {{ cms:snippet footer }} for web clients. We don't want to show web navigation on native clients (eg: iOS)

how the app looks

native navigation

web navbar is not shown, instead a system tray is shown at the bottom with relevant navigation buttons
Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 44 25

Blog

Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 44 29

Forum

Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 45 02
Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 45 05
Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 45 10

iOS client repository

As usual, our iOS app is open source 💯 👍
See it here: https://github.com/restarone/violet_rails_ios_client

Full Changelog: https://github.com/restarone/violet_rails/compare/0.9.4...0.9.5

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