-
-
Notifications
You must be signed in to change notification settings - Fork 300
Comparing changes
Open a pull request
base repository: opcodesio/log-viewer
base: v3.19.0
head repository: opcodesio/log-viewer
compare: v3.20.0
- 14 commits
- 20 files changed
- 2 contributors
Commits on Sep 11, 2025
-
Adding alphabetical file sorting
- added configuration parameter 'log_sorting_method' - Method for sorting logs into directories - added dependence of sorting options on the parameter 'log_sorting_method': - with the value ModifiedTime - ['Newest first', 'Oldest first'] - with the value Alphabetical - ['From A to Z', 'From Z to A'] - supplemented sorting of files in routes 'log-viewer.folders' and 'log-viewer.files' - supplemented tests (Failed tests did not pass before the changes) docker compose run --rm php composer test Tests: 4 failed, 248 passed (815 assertions) Duration: 2.78s Random Order Seed: 1757604409 FAIL Tests\Unit\LogIndex\LogIndexTest ⨯ it compresses chunk if gzip is available 0.01s ⨯ it can save to the cache after building up the index FAIL Tests\Feature\LogFoldersControllerTest ⨯ it folders are sorted alphabetically descending when configured 0.03s ⨯ it can get the log files 0.02sConfiguration menu - View commit details
-
Copy full SHA for 132fc68 - Browse repository at this point
Copy the full SHA 132fc68View commit details
Commits on Oct 10, 2025
-
refactoring: renaming variables and configuration keys
- config('log-viewer.defaults.log_sorting_method') -> config('log-viewer.defaults.file_sorting_method') - key 'log_sort_by_time' -> 'files_sort_by_time' in IndexController - LogViewer.log_sort_by_time -> LogViewer.files_sort_by_time in FileList.vue docker compose run --rm php composer test Tests: 4 failed, 248 passed (815 assertions) Duration: 2.78s Random Order Seed: 1757604409 FAIL Tests\Feature\LogFoldersControllerTest ⨯ it can get the log files ⨯ it folders are sorted alphabetically descending when configured FAIL Tests\Unit\LogIndex\LogIndexTest ⨯ it can save to the cache after building up the index ⨯ it compresses chunk if gzip is availableConfiguration menu - View commit details
-
Copy full SHA for 85a0e23 - Browse repository at this point
Copy the full SHA 85a0e23View commit details -
fix: Sorting files in directories does not work when config('log-view…
…er.defaults.folder_sorting_method') === FolderSortingMethod::ModifiedTime - sort files within folders after sorting folders in FoldersController - writing additional tests docker compose run --rm php composer test Tests: 4 failed, 260 passed (827 assertions) Duration: 1.73s Random Order Seed: 1760137292 FAIL Tests\Feature\LogFoldersControllerTest ⨯ it can get the log files ⨯ it folders are sorted alphabetically descending when configured FAIL Tests\Unit\LogIndex\LogIndexTest ⨯ it compresses chunk if gzip is available ⨯ it can save to the cache after building up the index
Configuration menu - View commit details
-
Copy full SHA for f2c6de6 - Browse repository at this point
Copy the full SHA f2c6de6View commit details
Commits on Oct 17, 2025
-
Merge pull request #472 from yakoffka/feature/adding_alphabetical_fil…
…e_sorting Adding alphabetical file sorting
Configuration menu - View commit details
-
Copy full SHA for 2140b51 - Browse repository at this point
Copy the full SHA 2140b51View commit details -
Fix LogFileCollection sorting to use idiomatic Laravel .all() method
Replace .toArray() with .all() in sortByEarliestFirst() and sortByLatestFirst() to preserve Collection type consistency and maintain idiomatic Laravel patterns.
Configuration menu - View commit details
-
Copy full SHA for 415e15a - Browse repository at this point
Copy the full SHA 415e15aView commit details -
Use .all() consistently across all collection sorting methods
Update LogFileCollection and LogFolderCollection to use .all() instead of .toArray() in all sorting methods for idiomatic Laravel patterns and Collection type consistency.
Configuration menu - View commit details
-
Copy full SHA for d36c899 - Browse repository at this point
Copy the full SHA d36c899View commit details -
Merge pull request #475 from opcodesio/fix/logfilecollection-sorting-…
…mutation Fix LogFileCollection sorting to use idiomatic Laravel .all() method
Configuration menu - View commit details
-
Copy full SHA for 30a281e - Browse repository at this point
Copy the full SHA 30a281eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eedba0 - Browse repository at this point
Copy the full SHA 6eedba0View commit details -
Fix test compatibility with Pest 2.x
Remove describe() function which was introduced in Pest 3.7, replacing it with comments and flat it() declarations for backward compatibility with Pest 2.x
Configuration menu - View commit details
-
Copy full SHA for 5825a58 - Browse repository at this point
Copy the full SHA 5825a58View commit details -
Merge pull request #476 from opcodesio/refactor/file-and-folder-sorting
Replace magic strings with enums in sorting logic
Configuration menu - View commit details
-
Copy full SHA for 4d526de - Browse repository at this point
Copy the full SHA 4d526deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 985c36e - Browse repository at this point
Copy the full SHA 985c36eView commit details -
Merge pull request #477 from opcodesio/refactor/remove-redundant-file…
…-sorting Remove redundant file sorting in FoldersController
Configuration menu - View commit details
-
Copy full SHA for 011c3cd - Browse repository at this point
Copy the full SHA 011c3cdView commit details -
Add unified sortUsing() method to collections
Simplifies controller sorting logic by introducing a unified sortUsing(method, order) method. Existing sorting methods now delegate to this new method. No breaking changes.
Configuration menu - View commit details
-
Copy full SHA for 94dfc1b - Browse repository at this point
Copy the full SHA 94dfc1bView commit details -
Merge pull request #478 from opcodesio/refactor/unified-sorting-method
Add unified sortUsing() method to simplify sorting logic
Configuration menu - View commit details
-
Copy full SHA for 3d04bda - Browse repository at this point
Copy the full SHA 3d04bdaView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.19.0...v3.20.0