A package for building Admin-Interfaces that help maintaining the data of your applications

Overview

Build Status Total Downloads Latest Stable Version License

A package for building Admin-Interfaces that help maintaining the data of your applications. It provides an intuitive interface and the tools needed to manage your project's Users, Models and free Forms for Pages, Settings etc.

Join us on our discord chanel.

Official Documentation

Read the Docs and learn how to build your custom Admin panel. Use your knowledge about Laravel standards and do much work in little time.

Contributing

We are happy that you are considering about contributing to the project. Checkout the contribution guide on litstack.io. The contribution guide can be found in the litstack documentation. Contributions of any kind welcome!

License

The package is an open-sourced software licensed under the MIT license.

Comments
  • Use repeatable outside of block

    Use repeatable outside of block

    Hi, I'm wondering if it's possible to use repeatable outside of block field. Consider the following design:

    image

    I'd like to enable the user to configure what the text of "shop our garments" button should be and where it should link to. I can make a ButtonRepeatable that extends from Fields/Block/Repeatable. In ButtonRepeatable I will ask for "button_text" field and "button_link" field. Then ideally in the config I want to do something like this:

    public function show(CrudShow $page)
        {
            $page->card(function($form) {
                $form->input('title'); // Basic text input field.
                $form->button('button_1'); // My ButtonRepeatable field.
                $form->button('button_2'); // My ButtonRepeatable field.
    
                // Alternative syntax:
                $form->repeatable('button_1', ButtonRepeatable::class);
            });
        }
    

    Not sure if this is already possible.. Maybe there is a work around to enable this?

    opened by albertpratomo 13
  • Use custom vue component as CRUD field and save data

    Use custom vue component as CRUD field and save data

    image

    Hi, I managed to make a custom Vue component that display a Google Map in the show page of my CRUD model. I want to use the data inside this Vue component to update my model.

    Questions:

    1. Is it possible to include this data when "Save" button on top right is clicked? Or do I have to make my own axios request?
    2. If 1 is possible, how do I update the controller that will process the sent data and update the database?

    Suggestion:

    1. When creating this custom component, I had to use <fj-base-field> component to achieve the same form-group look as the other fields. I think it would be nice if in my CrudConfig.php, I can do something like $form->component('input-google-map')->title('Address');, and then my custom component would be wrapped inside <fj-base-field> and the label is shown.

    Much thanks!

    documentation enhancement 
    opened by albertpratomo 12
  • Error on relation column

    Error on relation column

    Hello,

    I just started a site with your project.

    I created a model (Frequency) with two relations: a Many to Many to link cities and a One to Many to link a radio.

    I would like to display the name of the linked radio in the table, but I have the following error.

    Return value of Fjord\Crud\CrudColumnBuilder::component() must implement interface Fjord\Contracts\Page\Column, null returned

    I put the code concerned below.

    app/Models/Frequency.php

    <?php
    
    namespace App\Models;
    
    use Illuminate\Database\Eloquent\Model;
    use Fjord\Crud\Models\Traits\TrackEdits;
    
    class Frequency extends Model
    {
    	use TrackEdits;
    
    	/**
    	 * Fillable attributes
    	 *
    	 * @var array
    	 */
    	protected $fillable = [
    		'frequency', 'active', 'radio_id'
    	];
    
    	protected $casts = [
    		'active' => 'boolean'
    	];
    
    	public function cities() {
    		return $this->belongsToMany('App\Models\City');
    	}
    
    	public function radio() {
    		return $this->belongsTo('App\Models\Radio');
    	}
    }
    
    

    app/Models/Radio.php

    <?php
    
    namespace App\Models;
    
    use Illuminate\Database\Eloquent\Model;
    use Fjord\Crud\Models\Traits\TrackEdits;
    use Spatie\MediaLibrary\HasMedia as HasMediaContract;
    use Fjord\Crud\Models\Traits\HasMedia;
    use Fjord\Crud\Models\Traits\Sluggable;
    
    class Radio extends Model implements HasMediaContract
    {
    	use TrackEdits, HasMedia, Sluggable;
    
    	[...]
    
    	public function frequencies() {
    		return $this->hasMany('App\Models\Frequency');
    	}
    }
    
    

    fjord/app/Config/Crud/FrequencyConfig.php

    <?php
    
    namespace FjordApp\Config\Crud;
    
    use Fjord\Crud\CrudShow;
    use Fjord\Crud\CrudIndex;
    use Fjord\Crud\Config\CrudConfig;
    use Illuminate\Support\Str;
    
    use App\Models\Frequency;
    use App\Models\Radio;
    use FjordApp\Controllers\Crud\FrequencyController;
    
    class FrequencyConfig extends CrudConfig
    {
    	[...]
    
    	/**
    	 * Build index page.
    	 *
    	 * @param Fjord\Crud\CrudIndex $page
    	 * @return void
    	 */
    	public function index(CrudIndex $page)
    	{
    		// Expand html container to full width.
    		$page->expand(false);
    
    		$page->table(function ($table) {
    			$table->col('Fréquence')->value('{frequency}')->sortBy('frequency');
    
    			$table->relation('Radio')
    				->related('radio') // Relation name.
    				->value('{name}') // Related attribute to be displayed.
    				->routePrefix(
    					Crud::config(Radio::class)->route_prefix
    				);
    		})
    			->sortByDefault('id.desc')
    			->search('frequency')
    			->sortBy([
    				'id.desc' => __f('fj.sort_new_to_old'),
    				'id.asc' => __f('fj.sort_old_to_new'),
    			])
    			->width(12);
    	}
    
    	[...]
    }
    
    

    I also give you the stack trace of the error.

    Can you help me solve the problem?

    thank you, Deniz.

    bug 
    opened by Dezodev 9
  • Parse LitFormModel to simple array

    Parse LitFormModel to simple array

    Hi, I want to use Litstack with Inertia. The idea is using Form and passing it as page prop in the vue component.

    I got it working, but the passed page prop is too complex:

    {
      "sections": [],
      "id": 1,
      "config_type": "Lit\\Config\\Form\\Pages\\HomeConfig",
      "form_type": "show",
      "collection": "pages",
      "form_name": "home",
      "value": {
        "sections": []
      },
      "order_column": null,
      "created_at": "2020-11-25T11:06:40.000000Z",
      "updated_at": "2020-11-25T11:06:53.000000Z",
      "translation": {
        "en": {
          "title": "Holaaaa",
          "body": "&lt;p&gt;yes sir&lt;/p&gt;"
        }
      },
      "translations": [
        {
          "id": 1,
          "lit_form_id": 1,
          "locale": "en",
          "value": {
            "title": "Holaaaa",
            "body": "&lt;p&gt;yes sir&lt;/p&gt;"
          }
        }
      ],
      "media": []
    }
    

    Ideally what I would like would be:

    {
       sections: [],
       title: "Holaaaa",
       body: "&lt;p&gt;yes sir&lt;/p&gt;"
    }
    

    Is there already a solution for this? Or do you have a suggestion how to achieve this?

    opened by albertpratomo 7
  • No navigation entry preset with name

    No navigation entry preset with name "user.user" found.

    When installing on a clean copy of Laravel, it is not possible to log into /admin, if you forcibly go to /admin/login and log in as an administrator, then a similar error appears.

    opened by noukentosh 7
  • Navigation Preset issue

    Navigation Preset issue

    Hello, recently i get default preset error from freshly installed app. error link is : https://flareapp.io/share/x7KV0JPR

    This error occur after 2.3v

    "No navigation entry preset with name "user.user" found." Thanks.

    opened by oguzoztas 7
  • Multiple Crud Forms

    Multiple Crud Forms

    This pr adds support for multiple forms within one Crud.

    There will be a route for every method that gets the Ignite\Curd\CrudShow class as the first parameter. The method name will be the slug. Except for the show method, this is reached directly without slug.

    The routes for the following example would be:

    • admin/posts Showing the page configured in Page::index.
    • admin/posts/1 Showing the page configured in Page::show.
    • admin/posts/1/foo Showing the page configured in Page::foo.
    class PostConfig extends CrudConfig
    {
        public function routePrefix()
        {
            return "posts";
        }
    
        public function index(CrudIndex $page)
        {
            //
        }
    
        public function show(CrudShow $page)
        {
            //
        }
    
       public function foo(CrudShow $page)
        {
            //
        }
    }
    

    Redirect To The Correct Form From Index Table

    You may want to redirect the user, when clicking on the index table item, to a certain form depending on the model. This can be achived by specifying returning this form in the getFormNameFor method in your crud config:

    The following example would redirect the user to the foo form, whenever the type attribute equals foo, otherwise the default form is used:

    /**
     * Get the form name for the given Model.
     *
     * @param  Model  $model
     * @return string
     */
    public function getFormNameFor($model)
    {
        if ($model->type == 'foo') {
            return 'foo';
        }
    
        return 'show';
    }
    

    Create/Update Only

    You may now use a form for updating or creating only.

    Whenever the method requires the Ignite\Crud\CrudShow class there will be a route to both the update and create view. However when the classes Ignite\Crud\CrudCreate or Ignite\Crud\CrudUpdate are type hinted. Only the associated routes will be present.

    Create Only

    use Ignite\Crud\CrudCreate;
    
    public function show(CrudCreate $page)
    {
        //
    }
    

    Update Only

    use Ignite\Crud\CrudUpdate;
    
    public function show(CrudUpdate $page)
    {
        //
    }
    
    opened by cbl 6
  • Add resource method to LitFormModel

    Add resource method to LitFormModel

    Related to issue #97: Add fieldsToArray method to LitFormModel.

    I need some help. I want to create a unit test for the fieldsToArray method.

    The idea is to create an Ignite\Crud\Models\Form instance, fill it with some fields and value, then make a snapshot of the return value of fieldsToArray.

    However, I'm not sure what is the easiest way to fill the form with fields? I can't find a similar test that has this setup or something in TestSupport that can help this.

    Originally I'd like to unit test the LitFormModel class itself, but it's an abstract class so might be even harder to instantiate and fill with fields.

    Some suggestion will be appreciated. 😄

    enhancement 
    opened by albertpratomo 6
  • GitLab-CI Pipeline Error with PHPUnit

    GitLab-CI Pipeline Error with PHPUnit

    Hi, I try to build/test/deploy a project through gitlab-ci pipeline, the following is my .gitlab-ci.yml:

    stages:

    • build
    • test
    • deploy
    image: hitalos/laravel:latest
    services:
      - mysql:5
    
    variables:
      MYSQL_DATABASE: "____"
      MYSQL_ROOT_PASSWORD: "____"
    
    composer:
      stage: build
      # cache:
      #   key: ${CI_COMMIT_REF_SLUG}-composer
      #   paths:
      #     - vendor/
      script:
          - composer install --prefer-dist --no-ansi --no-interaction --no-progress --no-scripts
          - cp .env.example .env
      artifacts:
        expire_in: 30 mins
        paths:
          - vendor/
          - fjord/
          - .env
    
    phpunit:
      stage: test
      dependencies:
        - composer
      script:
        - php artisan key:generate
        - php artisan fjord:install
        - php artisan migrate --force
        - phpunit --coverage-text --colors=never
    
    publish:
      stage: deploy
      image: ubuntu
      only:
        - master
      script:
        - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
        - eval $(ssh-agent -s)
        - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
        - mkdir -p ~/.ssh
        - chmod 700 ~/.ssh
        - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
       # shortened because not relevant
    

    test-case is the following: public function testBasicTest() { $response = $this->get('/'); dump($response->content()); $response->assertStatus(200); } (dump is only here to understand whats happening, normally test result is 200 != 500)

    and routes/web.php is the following (shortened): use Fjord\Support\Facades\Form; Route::get('/', function () { return view('welcome')->with([ 'data' => Form::load('pages', 'home') ]); });

    So i get the following error: Illuminate\Contracts\Container\BindingResolutionException: Target class [fjord.form] does not exist. in file /builds/gooze/ostfjord/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 807

    opened by makakken 6
  • manyRelations not deletable

    manyRelations not deletable

    There seems to be a problem when using manyRelations in forms. When I open the form page in the backend that has a manyRelation I get the error "Call to undefined method App\Models\TeamMember::lit_relations()". Also it seems to be possible to set a relation (it shows up in the frontend and in the database) but the set relations are not shown in the backends preview and they are not deletable in the backend. You would have to delete the relation by hand in the database.

    opened by Chrissle28 5
  • Is it possible to disable some configs routes and presets?

    Is it possible to disable some configs routes and presets?

    What if I don't need permissions, how would I disable the preseted nav and links created by the package? The package could have a Lit::disableRoutes(); to use inside the RouteServiceProvider, or at least a way to modify parameters, so a sugestion would be include all Config files that are used inside the publish, so they could be overwritten.

    opened by GustavoFenilli 5
  • Bump express from 4.17.1 to 4.18.2

    Bump express from 4.17.1 to 4.18.2

    Bumps express from 4.17.1 to 4.18.2.

    Release notes

    Sourced from express's releases.

    4.18.2

    4.18.1

    • Fix hanging on large stack of sync routes

    4.18.0

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.18.2 / 2022-10-08

    4.18.1 / 2022-04-29

    • Fix hanging on large stack of sync routes

    4.18.0 / 2022-04-25

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump qs from 6.5.2 to 6.5.3

    Bump qs from 6.5.2 to 6.5.3

    Bumps qs from 6.5.2 to 6.5.3.

    Changelog

    Sourced from qs's changelog.

    6.5.3

    • [Fix] parse: ignore __proto__ keys (#428)
    • [Fix] utils.merge: avoid a crash with a null target and a truthy non-array source
    • [Fix] correctly parse nested arrays
    • [Fix] stringify: fix a crash with strictNullHandling and a custom filter/serializeDate (#279)
    • [Fix] utils: merge: fix crash when source is a truthy primitive & no options are provided
    • [Fix] when parseArrays is false, properly handle keys ending in []
    • [Fix] fix for an impossible situation: when the formatter is called with a non-string value
    • [Fix] utils.merge: avoid a crash with a null target and an array source
    • [Refactor] utils: reduce observable [[Get]]s
    • [Refactor] use cached Array.isArray
    • [Refactor] stringify: Avoid arr = arr.concat(...), push to the existing instance (#269)
    • [Refactor] parse: only need to reassign the var once
    • [Robustness] stringify: avoid relying on a global undefined (#427)
    • [readme] remove travis badge; add github actions/codecov badges; update URLs
    • [Docs] Clean up license text so it’s properly detected as BSD-3-Clause
    • [Docs] Clarify the need for "arrayLimit" option
    • [meta] fix README.md (#399)
    • [meta] add FUNDING.yml
    • [actions] backport actions from main
    • [Tests] always use String(x) over x.toString()
    • [Tests] remove nonexistent tape option
    • [Dev Deps] backport from main
    Commits
    • 298bfa5 v6.5.3
    • ed0f5dc [Fix] parse: ignore __proto__ keys (#428)
    • 691e739 [Robustness] stringify: avoid relying on a global undefined (#427)
    • 1072d57 [readme] remove travis badge; add github actions/codecov badges; update URLs
    • 12ac1c4 [meta] fix README.md (#399)
    • 0338716 [actions] backport actions from main
    • 5639c20 Clean up license text so it’s properly detected as BSD-3-Clause
    • 51b8a0b add FUNDING.yml
    • 45f6759 [Fix] fix for an impossible situation: when the formatter is called with a no...
    • f814a7f [Dev Deps] backport from main
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump decode-uri-component from 0.2.0 to 0.2.2

    Bump decode-uri-component from 0.2.0 to 0.2.2

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump engine.io and socket.io

    Bump engine.io and socket.io

    Bumps engine.io and socket.io. These dependencies needed to be updated together. Updates engine.io from 3.5.0 to 3.6.1

    Release notes

    Sourced from engine.io's releases.

    3.6.1

    :warning: This release contains an important security fix :warning:

    A malicious client could send a specially crafted HTTP request, triggering an uncaught exception and killing the Node.js process:

    Error: read ECONNRESET
        at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
    Emitted 'error' event on Socket instance at:
        at emitErrorNT (internal/streams/destroy.js:106:8)
        at emitErrorCloseNT (internal/streams/destroy.js:74:3)
        at processTicksAndRejections (internal/process/task_queues.js:80:21) {
      errno: -104,
      code: 'ECONNRESET',
      syscall: 'read'
    }
    

    Please upgrade as soon as possible.

    Bug Fixes

    • catch errors when destroying invalid upgrades (83c4071)

    3.6.0

    Bug Fixes

    • add extension in the package.json main entry (#608) (3ad0567)
    • do not reset the ping timer after upgrade (1f5d469)

    Features

    • decrease the default value of maxHttpBufferSize (58e274c)

    This change reduces the default value from 100 mb to a more sane 1 mb.

    This helps protect the server against denial of service attacks by malicious clients sending huge amounts of data.

    See also: https://github.com/advisories/GHSA-j4f2-536g-r55m

    • increase the default value of pingTimeout (f55a79a)

    Links

    ... (truncated)

    Changelog

    Sourced from engine.io's changelog.

    3.6.1 (2022-11-20)

    :warning: This release contains an important security fix :warning:

    A malicious client could send a specially crafted HTTP request, triggering an uncaught exception and killing the Node.js process:

    Error: read ECONNRESET
        at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
    Emitted 'error' event on Socket instance at:
        at emitErrorNT (internal/streams/destroy.js:106:8)
        at emitErrorCloseNT (internal/streams/destroy.js:74:3)
        at processTicksAndRejections (internal/process/task_queues.js:80:21) {
      errno: -104,
      code: 'ECONNRESET',
      syscall: 'read'
    }
    

    Please upgrade as soon as possible.

    Bug Fixes

    • catch errors when destroying invalid upgrades (83c4071)

    6.2.1 (2022-11-20)

    :warning: This release contains an important security fix :warning:

    A malicious client could send a specially crafted HTTP request, triggering an uncaught exception and killing the Node.js process:

    Error: read ECONNRESET
        at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
    Emitted 'error' event on Socket instance at:
        at emitErrorNT (internal/streams/destroy.js:106:8)
        at emitErrorCloseNT (internal/streams/destroy.js:74:3)
        at processTicksAndRejections (internal/process/task_queues.js:80:21) {
      errno: -104,
      code: 'ECONNRESET',
      syscall: 'read'
    }
    

    Please upgrade as soon as possible.

    Bug Fixes

    ... (truncated)

    Commits
    • 67a3a87 chore(release): 3.6.1
    • 83c4071 fix: catch errors when destroying invalid upgrades
    • f62f265 chore(release): 3.6.0
    • f55a79a feat: increase the default value of pingTimeout
    • 1f5d469 fix: do not reset the ping timer after upgrade
    • 3ad0567 fix: add extension in the package.json main entry (#608)
    • 58e274c feat: decrease the default value of maxHttpBufferSize
    • See full diff in compare view

    Updates socket.io from 2.4.1 to 2.5.0

    Release notes

    Sourced from socket.io's releases.

    2.5.0

    :warning: WARNING :warning:

    The default value of the maxHttpBufferSize option has been decreased from 100 MB to 1 MB, in order to prevent attacks by denial of service.

    Security advisory: https://github.com/advisories/GHSA-j4f2-536g-r55m

    Bug Fixes

    • fix race condition in dynamic namespaces (05e1278)
    • ignore packet received after disconnection (22d4bdf)
    • only set 'connected' to true after middleware execution (226cc16)
    • prevent the socket from joining a room after disconnection (f223178)

    Links:

    Changelog

    Sourced from socket.io's changelog.

    2.5.0 (2022-06-26)

    Bug Fixes

    • fix race condition in dynamic namespaces (05e1278)
    • ignore packet received after disconnection (22d4bdf)
    • only set 'connected' to true after middleware execution (226cc16)
    • prevent the socket from joining a room after disconnection (f223178)

    4.5.1 (2022-05-17)

    Bug Fixes

    • forward the local flag to the adapter when using fetchSockets() (30430f0)
    • typings: add HTTPS server to accepted types (#4351) (9b43c91)

    4.5.0 (2022-04-23)

    Bug Fixes

    • typings: ensure compatibility with TypeScript 3.x (#4259) (02c87a8)

    Features

    • add support for catch-all listeners for outgoing packets (531104d)

    This is similar to onAny(), but for outgoing packets.

    Syntax:

    socket.onAnyOutgoing((event, ...args) => {
      console.log(event);
    });
    
    • broadcast and expect multiple acks (8b20457)

    Syntax:

    io.timeout(1000).emit("some-event", (err, responses) => {
    </tr></table> 
    

    ... (truncated)

    Commits
    • baa6804 chore(release): 2.5.0
    • f223178 fix: prevent the socket from joining a room after disconnection
    • 226cc16 fix: only set 'connected' to true after middleware execution
    • 05e1278 fix: fix race condition in dynamic namespaces
    • 22d4bdf fix: ignore packet received after disconnection
    • dfded53 chore: update engine.io version to 3.6.0
    • See full diff in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Is it still under development or has it been discontinued?

    Is it still under development or has it been discontinued?

    Hello,

    I saw that the last commit is already a few months old, and there are some pulls without being merged, even pull of package updates, I wanted to know if the project is still active.

    opened by moskoweb 1
  • Bump minimatch from 3.0.4 to 3.1.2

    Bump minimatch from 3.0.4 to 3.1.2

    Bumps minimatch from 3.0.4 to 3.1.2.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Releases(v3.7.26)
Owner
Litstack is a powerfull framework for lightning fast creation of Laravel Admin Panels
null
Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Note: This package is only used by Backpack v3. Starting with Backpack v4, everything this package does is included in Backpack/CRUD - one package to

Backpack for Laravel 845 Nov 29, 2022
LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like Advanced CRUD Generation, Module Manager, Backups and many more.

LaraAdmin 1.0 LaraAdmin is a Open source CRM for quick-start Admin based applications with features like Advanced CRUD Generation, Schema Manager and

Dwij IT Solutions 1.5k Dec 29, 2022
⚡️ This package provides a wonderful PHP skeleton to start building your next package idea.

This package provides a wonderful PHP Skeleton to start building your next package idea. Requires PHP 8.0+ ⚡️ Create your package using Composer: comp

Nuno Maduro 383 Dec 20, 2022
Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE

Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Backpack for Laravel 845 Nov 29, 2022
Mazer is a Admin Dashboard Template that can help you develop faster. We bring Mazer with Laravel starter project.

Mazer is a Admin Dashboard Template that can help you develop faster. We bring Mazer with Laravel starter project. It's completely free and you can use it in your projects.

Saugi 118 Dec 20, 2022
Littlelink admin is an admin panel for littlelink that provides you a website similar linktree.

⚙️ LittleLink Admin LittleLink Admin is an admin panel for littlelink that provides you a website similar linktree. ?? Features creating a link page w

Khashayar Zavosh 70 Oct 29, 2022
Littlelink admin is an admin panel for littlelink that provides you a website similar linktree.

LittleLink Admin is an admin panel for littlelink that provides you a website similar linktree.

Khashayar Zavosh 70 Oct 29, 2022
Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel.

Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel. Transform the WordPress admin screens into beautiful, clear overviews.

Codepress 67 Dec 14, 2022
Admin One is simple, beautiful and free Laravel admin dashboard (built with Vue.js, Bulma & Buefy).

Admin One — Free Laravel Vue Bulma Dashboard Admin One is simple, beautiful and free Laravel admin dashboard (built with Vue.js, Bulma & Buefy). Built

Viktor Kuzhelny 136 Dec 27, 2022
A @laravel based RAD platform for back-office applications, admin/user panels, and dashboards.

For the full documentation, visit orchid.software. Introduction Orchid is a free Laravel package that abstracts standard business logic and allows cod

Laravel Orchid 3.4k Jan 1, 2023
Laravel CRUD Generator This Generator package provides various generators like CRUD, API, Controller, Model, Migration, View for your painless development of your applications.

Laravel CRUD Generator This Generator package provides various generators like CRUD, API, Controller, Model, Migration, View for your painless develop

AppzCoder 1.3k Jan 2, 2023
Wave - The Software as a Service Starter Kit, designed to help you build the SAAS of your dreams 🚀 💰

Introduction Wave is a Software as a Service Starter Kit that can help you build your next great idea ?? . Wave is built with Laravel, Voyager, Tailwi

null 4.2k Jan 4, 2023
Someline Starter is a PHP framework for quick building Web Apps and Restful APIs, with modern PHP design pattern foundation.

Someline Starter PHP Framework Tested and used in production by Someline Inc. Someline Starter is a PHP framework for quick building Web Apps and Rest

Someline 844 Nov 17, 2022
PHP Framework for building scalable API's on top of Laravel.

Apiato Build scalable API's faster | With PHP 7.2.5 and Laravel 7.0 Apiato is a framework for building scalable and testable API-Centric Applications

Apiato 2.8k Dec 29, 2022
PHP Framework for building scalable API's on top of Laravel.

Apiato Build scalable API's faster | With PHP 7.2.5 and Laravel 7.0 Apiato is a framework for building scalable and testable API-Centric Applications

Apiato 2.8k Dec 31, 2022
Textpattern-plugin-template - A template for building plugins for Textpattern CMS.

Plugin template for Textpattern CMS Developer documentation Refer to the Textpattern plugin development documentation, and notably the Plugin template

Textpattern CMS 17 Apr 17, 2022
Building Student Management CRUD with LARAVEL VUE and INERTIA

Building Student Management CRUD with LARAVEL VUE and INERTIA. the amazing thing about I got by combining these technologies is we ca build single page application or SPA .

Tauseed 3 Apr 4, 2022
dcat-admin's extension that was build in one package by vue

Dcat Admin Extension 此扩展为大合一扩展,以后使用vue3构建的组件都将合并在一起 演示地址 demo: http://dcat.weiwait.cn (admin:admin) 依赖扩展 freyo/flysystem-qcloud-cos-v5 overtrue/larave

null 7 Dec 3, 2022
A Laravel admin panel which is creating CRUD for your application automatically.

Adds a zero configuration Admin Panel to your Laravel Application Installation You can install the package via composer: composer require max-hutschen

42coders 10 Aug 24, 2022