Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non database items #22

Closed
netwrkx opened this issue Jul 2, 2020 · 1 comment
Closed

non database items #22

netwrkx opened this issue Jul 2, 2020 · 1 comment

Comments

@netwrkx
Copy link

netwrkx commented Jul 2, 2020

is this package applicable for non database item like reading files & rendering files from storage:disk.
i'm trying to read zipped files from storage

        $disk = Storage::disk('path to disk');

        $files = $disk->files(str_replace(' ', '-', config('backup.name')));
        $item = [];

        foreach ($files as $k => $f) {
            if (substr($f, -4) == '.zip' && $disk->exists($f)) {
                $item[] = [
                    'file_path'               => $f,
                    'file_name'               => str_replace(str_replace(' ', '-', config('backup.backup.name')).'/', '', $f),
                    'file_size_byte'          => $disk->size($f),
                    'last_modified_timestamp' => $disk->lastModified($f),
                ];
            }
        }

        $item = array_reverse($item);

        return view('backend.backup.index', compact('item'));
@netwrkx
Copy link
Author

netwrkx commented Jul 2, 2020

Fixed it but I had to create a table for backup and followed the sample on the readme

@netwrkx netwrkx closed this as completed Jul 2, 2020
lrljoe added a commit that referenced this issue Mar 30, 2023
* Restrict AppliedFilters to only return non-empty

At the moment, a filter will be considered "applied" if it has any value, including the default value.  This causes the Pills to appear with a blank value.

* Moving to withValues to make more sense

* Initial Commit

* Add variable to Filter.php

* Filter LabelID (#32)

* Amended to removing formatting adjustments

Adding ID to Label

Update toolbar.blade.php

Adding new line at EOF

* Update toolbar.blade.php

Adding ID to Wrapper

* Amended to removing formatting adjustments

Adding ID to Label

Adding ID to Wrapper

Adding new line at EOF

Update toolbar.blade.php

Adding ID to Wrapper

* Update toolbar.blade.php

Adds IDs to Filter Labels
Adds IDs to Filter Wrappers
Restores removed EOF newline

* Restoring New Line at EOF

* Child open attribute (#35)

* Adding childElementOpen attr for all toolbar items.

* Adjusting Toolbar to remove errant formatting

* Fix styling

---------

Co-authored-by: lrljoe <[email protected]>

* Set filter pill custom blade (#33)

* Initial Commit

* Add variable to Filter.php

* Get applied filters   only non empty (#34)

* Restrict AppliedFilters to only return non-empty

At the moment, a filter will be considered "applied" if it has any value, including the default value.  This causes the Pills to appear with a blank value.

* Moving to withValues to make more sense

* Set filter row colspan (#36)

* Adding Custom Slug option (#21)

Adding new methods & test

Adding documentation

* Filter label (#22)

* Amended to removing formatting adjustments

Adding ID to Label

Update toolbar.blade.php

Adding new line at EOF

* Update toolbar.blade.php

Adding ID to Wrapper

* Amended to removing formatting adjustments

Adding ID to Label

Adding ID to Wrapper

Adding new line at EOF

Update toolbar.blade.php

Adding ID to Wrapper

* Update toolbar.blade.php

Adds IDs to Filter Labels
Adds IDs to Filter Wrappers
Restores removed EOF newline

* Restoring New Line at EOF

* Adding Filter Custom Pills blade option (#23)

* Adding Filter Custom Pills blade option

* Removing formatting changes

* Get applied filters   only non empty (#24)

* Restrict AppliedFilters to only return non-empty

At the moment, a filter will be considered "applied" if it has any value, including the default value.  This causes the Pills to appear with a blank value.

* Moving to withValues to make more sense

* Child open attribute (#25)

* Adding childElementOpen attr for all toolbar items.

* Adjusting Toolbar to remove errant formatting

* Fix styling

---------

Co-authored-by: lrljoe <[email protected]>

* Adding getAdditionalSelectRaws (#26)

Using selectRaw rather than directly using DB

Referencing DB directly rather than a use

Fix styling

Fixing test

Restoring workflows

Removing automated on-push

Setting up configuration elements, documentation

Adding parameterised capability

* Update composer.json

* Update run-tests.yml

* Fix doc types (#27)

* Update toolbar.blade.php

* Update Filter.php

* Update FilterHelpers.php

* Fix styling

* Update FilterConfiguration.php

* Fix styling

* Initial DocType Fixes

* Fix styling

* PHPDoc FIxes

* Toolbar Blade Fixes for Pagination

* Fix styling

* Removing non-nullable return

* Fixing DocType issues

* Reverting minor tweaks due to PHPUnit failures

* Removing PHPStan

* Additional PHPDoc Fixes

* Fixes for PHPDocTypes

* Fix styling

---------

Co-authored-by: lrljoe <[email protected]>

* Update composer.json

* Custom pill views (#29)

* Adding Filter Custom Pills blade option

* Removing formatting changes

* Initial Commit

* Fix styling

* Fix for errant line end

* Fix styling

* Minor Tweaks

* Remove ParaTest for this branch

* Restore Run-tests for this branch

* Remove CustomFilterPil

* Reverting Numerous Changes to Doctypes - Branches

* Fix Mistaken Branch merge

* More remediation to remove branch merges

* Fix styling

* More removals of branch merge

* Adding SlideDownRow and SlideDownColspan Tests

* Fix styling

* Restoring original workflow

* Restoring CS FIxer

---------

Co-authored-by: lrljoe <[email protected]>

* Adding test for get/set custom pills

* Fix styling

* Update Test

* Initial Commit add filterPosition to header/footer

* Fix styling

* Move Labels to Blades & CustomFilterLabels

* Move Labels to Blades & CustomFilterLabels

* Fix styling

* Add swapping for slidedown/popover for BS4/5

* Fix styling

* Custom filter labels (#39)

* Move Labels to Blades & CustomFilterLabels

* Move Labels to Blades & CustomFilterLabels

* Fix styling

* Add swapping for slidedown/popover for BS4/5

* Fix styling

---------

Co-authored-by: lrljoe <[email protected]>

* Fix styling

* Extra Tests

* Fix styling

* Removing duplicate method

* Fix styling

* Test Fixes - TypeHinting

* Remove Protected Property

* Property Fixes

* Row/Colspan - move to string|int

* Doc Updates

---------

Co-authored-by: lrljoe <[email protected]>
lrljoe added a commit that referenced this issue Aug 25, 2023
migrating all wire:keys to $tableName prefix
Major Change - TextFilter no longer receives the full component to the blade.  Initially appears to make a significant improvement to speed, but it may just be on my end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant