Giter Site home page Giter Site logo

support's Introduction

Support Component for Orchestra Platform

Support Component includes a basic set of classes required by Orchestra Platform. The idea behind it is similar to what is Illuminate\Support to Laravel 5 Framework.

tests Latest Stable Version Total Downloads Latest Unstable Version License Coverage Status

Version Compatibility

Laravel Support
5.5.x 3.5.x
5.6.x 3.6.x
5.7.x 3.7.x
5.8.x 3.8.x
6.x 4.x
7.x 5.x
8.x 6.x
9.x 7.x

Installation

To install through composer, run the following command from terminal:

composer require "orchestra/support"

support's People

Contributors

ahmadshah avatar crynobone avatar flynsarmy avatar ipalaus avatar maxerism avatar mustafaaloko avatar stevebauman avatar wisepotato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

support's Issues

Theme problem

I created theme in /public/themes/tds/theme.json

  1. /public/themes/tds/frontend
    a) what should I do if i want theme story cms, etc (all frontend)?
  2. /public/themes/tds/backend

and now i have question what should I do if i want theme it?

[Insight] Unused use statement should be avoided - in src/โ€ฆ/Traits/ControllerResponseTrait.php, line 3

in src/Support/Traits/ControllerResponseTrait.php, line 3

The class Illuminate\Support\Facades\App is declared but never used. You should remove the use statement.

<?php namespace Orchestra\Support\Traits;

use Illuminate\Support\Facades\App;
use Orchestra\Support\Facades\Messages;
use Illuminate\Support\Facades\Redirect;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

Posted from SensioLabsInsight

[Possible Exploit] Sort by/direction

http://yoursite.local/admin/users?order_by=**password**&direction=asc

Happily sorts my users according to password

 public function sortable($orderByKey = 'order_by', $directionKey = 'direction', $orderColumns = [])

This is still backward compatible with all of orchestra, because all internal presenters use:$table->sortable() as far as I know

I would much rather use:

$table->sortable(['fullname', 'email'], $orderBykey, $directionKey)

I believe sorting by password is not.. favourable.. open to exploits

Abstract rules to Orchestra\Support\Validator\Rules.

Using Illuminate\Support\Fluent cause a few issue with reason release. Need to come up with a solid solution for this.

  • Should be able to iterator.
  • Should be able to assign using $rules['name'][]
  • Should be able to reset/flush value, or all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.