Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opcodesio/log-viewer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.19.0
Choose a base ref
...
head repository: opcodesio/log-viewer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.20.0
Choose a head ref
  • 14 commits
  • 20 files changed
  • 2 contributors

Commits on Sep 11, 2025

  1. 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.02s
    yakoffka committed Sep 11, 2025
    Configuration menu
    Copy the full SHA
    132fc68 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2025

  1. 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 available
    yakoffka committed Oct 10, 2025
    Configuration menu
    Copy the full SHA
    85a0e23 View commit details
    Browse the repository at this point in the history
  2. 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
    yakoffka committed Oct 10, 2025
    Configuration menu
    Copy the full SHA
    f2c6de6 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2025

  1. Merge pull request #472 from yakoffka/feature/adding_alphabetical_fil…

    …e_sorting
    
    Adding alphabetical file sorting
    arukompas authored Oct 17, 2025
    Configuration menu
    Copy the full SHA
    2140b51 View commit details
    Browse the repository at this point in the history
  2. 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.
    arukompas committed Oct 17, 2025
    Configuration menu
    Copy the full SHA
    415e15a View commit details
    Browse the repository at this point in the history
  3. 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.
    arukompas committed Oct 17, 2025
    Configuration menu
    Copy the full SHA
    d36c899 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #475 from opcodesio/fix/logfilecollection-sorting-…

    …mutation
    
    Fix LogFileCollection sorting to use idiomatic Laravel .all() method
    arukompas authored Oct 17, 2025
    Configuration menu
    Copy the full SHA
    30a281e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6eedba0 View commit details
    Browse the repository at this point in the history
  6. 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
    arukompas committed Oct 17, 2025
    Configuration menu
    Copy the full SHA
    5825a58 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #476 from opcodesio/refactor/file-and-folder-sorting

    Replace magic strings with enums in sorting logic
    arukompas authored Oct 17, 2025
    Configuration menu
    Copy the full SHA
    4d526de View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    985c36e View commit details
    Browse the repository at this point in the history
  9. Merge pull request #477 from opcodesio/refactor/remove-redundant-file…

    …-sorting
    
    Remove redundant file sorting in FoldersController
    arukompas authored Oct 17, 2025
    Configuration menu
    Copy the full SHA
    011c3cd View commit details
    Browse the repository at this point in the history
  10. 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.
    arukompas committed Oct 17, 2025
    Configuration menu
    Copy the full SHA
    94dfc1b View commit details
    Browse the repository at this point in the history
  11. Merge pull request #478 from opcodesio/refactor/unified-sorting-method

    Add unified sortUsing() method to simplify sorting logic
    arukompas authored Oct 17, 2025
    Configuration menu
    Copy the full SHA
    3d04bda View commit details
    Browse the repository at this point in the history
Loading