-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit dce11f7
Showing
41 changed files
with
681 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/.idea | ||
/.vscode | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## [Unreleased] | ||
|
||
## [0.1.0] - 2023-08-28 | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2023 Matt | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
# Forest Admin agent PHP | ||
|
||
|
||
Forest Admin provides an off-the-shelf administration panel based on a highly-extensible API plugged into your application. | ||
|
||
This project has been designed with scalability in mind to fit requirements from small projects to mature companies. | ||
|
||
## Who Uses Forest Admin | ||
|
||
- [Apartmentlist](https://www.apartmentlist.com) | ||
- [Carbon Health](https://carbonhealth.com) | ||
- [Ebanx](https://www.ebanx.com) | ||
- [First circle](https://www.firstcircle.ph) | ||
- [Forest Admin](https://www.forestadmin.com) of course :-) | ||
- [Heetch](https://www.heetch.com) | ||
- [Lunchr](https://www.lunchr.co) | ||
- [Pillow](https://www.pillow.com) | ||
- [Qonto](https://www.qonto.eu) | ||
- [Shadow](https://shadow.tech) | ||
- And hundreds more… | ||
|
||
## Getting started | ||
|
||
[https://docs.forestadmin.com/documentation/how-tos/setup/install](https://docs.forestadmin.com/documentation/how-tos/setup/install) | ||
|
||
## Documentation | ||
|
||
[https://docs.forestadmin.com/documentation/](https://docs.forestadmin.com/documentation/) | ||
|
||
## How it works | ||
|
||
<p align="center" style="margin: 60px 0"> | ||
<img width="100%" src="https://forest-assets.s3.amazonaws.com/Github+README+assets/howitworks.png" alt="Howitworks"> | ||
</p> | ||
|
||
Forest Admin consists of two components: | ||
|
||
- The Admin Frontend is the user interface where you'll manage your data and configuration. | ||
- The Admin Backend API hosted on your servers where you can find and extend your data models and all the business logic (routes, actions, …) related to your admin panel. | ||
|
||
The Forest Admin package (aka Forest Liana) introspects all your data model | ||
and dynamically generates the Admin API hosted on your servers. The Forest Admin | ||
interface is a web application that handles communication between the admin | ||
user and your application data through the Admin API. | ||
|
||
## Features | ||
|
||
### CRUD | ||
|
||
All of your CRUD operations are natively supported. The API automatically | ||
supports your data models' validation and allows you to easily extend or | ||
override any API routes' with your very own custom logic. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/crud.jpeg" alt="CRUD"> | ||
|
||
### Search & Filters | ||
|
||
Forest Admin has a built-in search allowing you to run basic queries to | ||
retrieve your application's data. Set advanced filters based on fields and | ||
relationships to handle complex search use cases. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/search+filters.jpeg" alt="Search and Filters"> | ||
|
||
### Sorting & Pagination | ||
|
||
Sorting and pagination features are natively handled by the Admin API. We're | ||
continuously optimizing how queries are run in order to display results faster | ||
and reduce the load of your servers. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/sorting+pagination.jpeg" alt="Sorting and Pagination"> | ||
|
||
### Custom action | ||
|
||
A custom action is a button which allows you to trigger an API call to execute | ||
a custom logic. With virtually no limitations, you can extend the way you | ||
manipulate data and trigger actions (e.g. refund a customer, apply a coupon, | ||
ban a user, etc.) | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/custom+actions.jpeg" alt="Custom action"> | ||
|
||
### Export | ||
|
||
Sometimes you need to export your data to a good old fashioned CSV. Yes, we | ||
know this can come in handy sometimes :-) | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/exports.jpeg" alt="Export"> | ||
|
||
### Segments | ||
|
||
Get in app access to a subset of your application data by doing a basic search | ||
or typing an SQL query or implementing an API route. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/segments.jpeg" alt="Segments"> | ||
|
||
### Dashboards | ||
|
||
Forest Admin is able to tap into your actual data to chart out your metrics | ||
using a simple UI panel, a SQL query or a custom API call. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/dashboards.jpeg" alt="Dashboard"> | ||
|
||
### WYSIWYG | ||
|
||
The WYSIWYG interface saves you a tremendous amount of frontend development | ||
time using drag'n'drop as well as advanced widgets to build customizable views. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/wysiwyg.jpeg" alt="WYSIWYG"> | ||
|
||
### Custom HTML/JS/CSS | ||
|
||
Code your own views using JS, HTML, and CSS to display your application data in | ||
a more appropriate way (e.g. Kanban, Map, Calendar, Gallery, etc.). | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/smart+views.jpeg" alt="Custom views"> | ||
|
||
### Team-based permissions | ||
|
||
Without any lines of code, manage directly from the UI who has access or can | ||
act on which data using a team-based permission system. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/teams.jpeg" alt="Team based permissions"> | ||
|
||
### Third-party integrations | ||
|
||
Leverage data from third-party services by reconciling it with your | ||
application’s data and providing it directly to your Admin Panel. All your | ||
actions can be performed at the same place, bringing additional intelligence to | ||
your Admin Panel and ensuring consistency. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/integrations.jpeg" alt="Third-party integrations"> | ||
|
||
### Notes & Comments | ||
|
||
Assign your teammates to specific tasks, leave a note or simply comment a | ||
record, thereby simplifying collaboration all across your organization. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/notes+comments.jpeg" alt="Notes and Comments"> | ||
|
||
### Activity logs | ||
|
||
Monitor each action executed and follow the trail of modification on any data | ||
with an extensive activity log system. | ||
|
||
<img src="https://forest-assets.s3.amazonaws.com/Github+README+assets/activity+logs.jpeg" alt="Activity logs"> | ||
|
||
## How to contribute | ||
|
||
This repository is officially maintained by Forest Admin. | ||
We're always happy to get contributions for other fellow lumberjacks. | ||
All contributions will be reviewed by Forest Admin's team before being merged into main. | ||
|
||
Here is the contribution workflow: | ||
|
||
1. **Fork** the repo on GitHub | ||
2. **Clone** the project to your own machine | ||
3. **Commit** changes to your own branch | ||
4. **Push** your work back up to your fork | ||
5. Submit a **Pull request** so that we can review your changes | ||
|
||
Please ensure that the **tests** are passing before submitting any pull request. | ||
|
||
## Community | ||
|
||
👇 Join our Developers community for support and more | ||
|
||
[](https://community.forestadmin.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Security Policy | ||
|
||
## Reporting a Vulnerability | ||
|
||
To report a security vulnerability, please use the [Forest Admin security email](mailto:[email protected]). | ||
|
||
Our technical team will consider your request carefully. | ||
|
||
If the vulnerability report is accepted, Forest Admin will: | ||
- work on a fix of the current version with the highest priority, | ||
- let you know as soon as a new patched version is published. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/.bundle/ | ||
/.yardoc | ||
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
/pkg/ | ||
/spec/reports/ | ||
/tmp/ | ||
|
||
# rspec failure tracking | ||
.rspec_status | ||
|
||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--format documentation | ||
--color | ||
--require spec_helper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
require: | ||
- rubocop-performance | ||
- rubocop-rspec | ||
|
||
AllCops: | ||
TargetRubyVersion: 3.0 | ||
NewCops: enable | ||
|
||
# Offense count: 8 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: always, always_true, never | ||
Style/FrozenStringLiteralComment: | ||
Exclude: | ||
- 'Gemfile' | ||
- 'Rakefile' | ||
- 'agent.gemspec' | ||
- 'bin/console' | ||
- 'lib/agent.rb' | ||
- 'lib/agent/version.rb' | ||
- 'spec/agent_spec.rb' | ||
- 'spec/spec_helper.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: literals, strict | ||
Style/MutableConstant: | ||
Exclude: | ||
- 'lib/agent/version.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. | ||
# SupportedStyles: single_quotes, double_quotes | ||
Style/StringLiterals: | ||
Enabled: true | ||
EnforcedStyle: double_quotes | ||
Exclude: | ||
- 'Gemfile' | ||
|
||
Style/StringLiteralsInInterpolation: | ||
Enabled: true | ||
EnforcedStyle: double_quotes | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: WordRegex. | ||
# SupportedStyles: percent, brackets | ||
Style/WordArray: | ||
EnforcedStyle: percent | ||
MinSize: 3 | ||
|
||
Layout/LineLength: | ||
Max: 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## [Unreleased] | ||
|
||
## [0.1.0] - 2023-08-28 | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
source "https://rubygems.org" | ||
|
||
gemspec | ||
|
||
group :development, :test do | ||
// | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2023 Matt | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Agent | ||
|
||
TODO: Delete this and the text below, and describe your gem | ||
|
||
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/agent_ruby`. To experiment with that code, run `bin/console` for an interactive prompt. | ||
|
||
## Installation | ||
|
||
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org. | ||
|
||
Install the gem and add to the application's Gemfile by executing: | ||
|
||
$ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG | ||
|
||
If bundler is not being used to manage dependencies, install the gem by executing: | ||
|
||
$ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG | ||
|
||
## Usage | ||
|
||
TODO: Write usage instructions here | ||
|
||
## Development | ||
|
||
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. | ||
|
||
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org). | ||
|
||
## Contributing | ||
|
||
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/agent_ruby. | ||
|
||
## License | ||
|
||
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
require "rubocop/rake_task" | ||
|
||
RuboCop::RakeTask.new | ||
|
||
task default: %i[spec rubocop] |
Oops, something went wrong.