Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
4e1b70f
Create date picker base
frankdekker Aug 18, 2024
a575746
Add relative date gui
frankdekker Aug 18, 2024
f3e74aa
Add emit change to relative date picker
frankdekker Aug 19, 2024
7a2559a
Add absolute and now date picker
frankdekker Aug 19, 2024
2067fca
Add date month calendar
frankdekker Aug 19, 2024
4a37ddb
Update packages
frankdekker Aug 20, 2024
db901ef
Add absolute date picker
frankdekker Aug 21, 2024
4b78031
Add absolute date picker controls
frankdekker Aug 21, 2024
81ba1a0
Add absolute date picker controls
frankdekker Aug 22, 2024
2b8438d
Add time picker
frankdekker Aug 22, 2024
426dc9f
Add time select
frankdekker Aug 22, 2024
2177931
Add test for dates
frankdekker Aug 25, 2024
a0be018
Calculate days in month
frankdekker Aug 25, 2024
50d9e40
Add tests
frankdekker Aug 25, 2024
ab1a2ba
Add tests to Dates
frankdekker Aug 25, 2024
11e1539
Add tests
frankdekker Aug 25, 2024
8fa5089
Add github workflow
frankdekker Aug 25, 2024
283cbbc
Add validation to year input
frankdekker Aug 25, 2024
2d9c740
Make selected date editable
frankdekker Aug 25, 2024
6370bba
Fix layout
frankdekker Aug 25, 2024
c18378e
Show 2 datepickers
frankdekker Aug 25, 2024
c75bc36
Adjust visibility of the dropdown
frankdekker Aug 26, 2024
93f269a
Add date selection model
frankdekker Aug 26, 2024
342574c
Allow for the selected date format presentation in the gui
frankdekker Aug 26, 2024
2148819
Add date picker initial click
frankdekker Aug 26, 2024
0e52410
Merge branch 'refs/heads/master' into Add-date-range-picker
frankdekker Aug 30, 2024
935aa3a
Show date picker on start and end date
frankdekker Aug 30, 2024
b4119da
Add clear button
frankdekker Aug 30, 2024
809e898
Add apply
frankdekker Aug 30, 2024
52436b7
Add vmodels to search form
frankdekker Aug 30, 2024
441a378
Ensure datepicker active tab updates the selection date
frankdekker Sep 1, 2024
2d6b8f2
Ensure formatting remains correct
frankdekker Sep 1, 2024
97a76a5
Register relative date format
frankdekker Sep 1, 2024
54f426b
Add relative date format
frankdekker Sep 1, 2024
7f8a7da
Ensure parse format is correct
frankdekker Sep 1, 2024
2765ca7
Cleanup lose ends
frankdekker Sep 1, 2024
8e7bb8a
Add search query to search store
frankdekker Sep 1, 2024
712baff
Merge branch 'master' into Add-date-range-picker
frankdekker Dec 25, 2024
1bc2ea6
Merge master
frankdekker Dec 25, 2024
08bbdc8
Ensure date picker is loaded from value from url query parameter
frankdekker Dec 25, 2024
073ee45
Remove before and after search terms
frankdekker Dec 25, 2024
297fbb7
Remove before after filter from the frontend
frankdekker Dec 25, 2024
2363a55
Add support for date range filter
frankdekker Dec 25, 2024
e0eac36
Add support for date range filter in the backend
frankdekker Dec 25, 2024
23b7e47
Add support for date range filter in the backend
frankdekker Dec 25, 2024
c72e2fe
Add coverage
frankdekker Dec 25, 2024
0942195
Add coverage
frankdekker Dec 25, 2024
9a36d27
Add coverage
frankdekker Dec 25, 2024
e5eed10
Add coverage
frankdekker Dec 25, 2024
e04df3b
Add coverage
frankdekker Dec 25, 2024
b18cfa5
Add coverage
frankdekker Dec 25, 2024
405d23c
Fix code style
frankdekker Dec 25, 2024
446948e
Ensure relate date picker loads correct set
frankdekker Dec 25, 2024
542c7ce
Auto build assets [skip ci]
frankdekker Dec 25, 2024
a7cd438
Fix eslint issues
frankdekker Dec 25, 2024
ca81af4
Auto build assets [skip ci]
frankdekker Dec 25, 2024
84bf958
Fix eslint issues
frankdekker Dec 25, 2024
ebcdc2d
Auto build assets [skip ci]
frankdekker Dec 25, 2024
81b07ba
Update documentation
frankdekker Dec 25, 2024
3b7cbe8
Update documentation
frankdekker Dec 25, 2024
c6f979d
Revert "Remove before and after search terms"
frankdekker Dec 26, 2024
e35c676
Revert "Remove before and after search terms"
frankdekker Dec 26, 2024
54a5719
Update documentation
frankdekker Dec 26, 2024
b126283
Add deprecation tags
frankdekker Dec 26, 2024
f596d2c
Update github workflow
frankdekker Dec 26, 2024
4c8a363
Update github workflow
frankdekker Dec 26, 2024
0ff0214
Update documentation
frankdekker Dec 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 21.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x

- name: Install dependencies
run: cd frontend && npm install

- name: Run eslint
run: cd frontend && npm run lint

- name: Run tests
run: cd frontend && npm run test:unit

build-assets-check:
name: Build assets
runs-on: ubuntu-latest
Expand All @@ -109,10 +112,10 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Use Node.js 21.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x

- name: Install dependencies
run: cd frontend && npm install
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![License](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF)](https://php.net/)
[![Minimum Symfony Version](https://img.shields.io/badge/symfony-%3E%3D%206.0-brightgreen)](https://symfony.com/releases)
[![Vuejs](https://img.shields.io/badge/vuejs-3.4-brightgreen)](https://vuejs.org/)
[![Vuejs](https://img.shields.io/badge/vuejs-3.5-brightgreen)](https://vuejs.org/)
[![codecov](https://codecov.io/gh/frankdekker/symfony-log-viewer-bundle/branch/master/graph/badge.svg)](https://app.codecov.io/gh/frankdekker/symfony-log-viewer-bundle)
![Run tests](https://github.com/frankdekker/symfony-log-viewer-bundle/actions/workflows/test.yml/badge.svg)

Expand Down
6 changes: 6 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Upgrade migration guide

### Upgrade from 1.x to 2.x

- The `before:<date>` and `after:<date>` search terms were removed. Using date searches in combination with remote hosts is not compatible
from v2 to v1. Upgrade all remote hosts to v2 before upgrading the local host to v2. In v3 the date search terms will be removed.
2 changes: 1 addition & 1 deletion dev/docker/nodejs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:21
FROM node:22

WORKDIR /app/frontend

Expand Down
12 changes: 5 additions & 7 deletions docs/advanced-search-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ The search query allows for more fine-grained control over the search results. T

| Operator | Short | Description |
|---------------------------------------------|-------|---------------------------------------------------------------------------------|
| `before:<date>`,`before:"<date>"` | `b` | Show all logs messages that occur before the specified date. |
| `after:<date>`,`after:"<date>"` | `a` | Show all logs messages that occur after the specified date. |
| `severity:<pipe-separated-string>` | `s` | Show all logs messages that match the given severity/severities. |
| `channel:<pipe-separated-string>` | `c` | Show all logs messages that match the given channel(s). |
| `exclude:<word>`,`exclude:"<words>"` | `-` | Exclude the specific sentence from the results. Can be specified multiple times |
Expand All @@ -14,23 +12,23 @@ The search query allows for more fine-grained control over the search results. T

## Example

Search all log entries between `2020-01-01` and `2020-01-31`, for severity `warning` or `error`, in channel `app`
Search all log entries for severity `warning` or `error`, in channel `app`
excluding all entries that contain the word `"Controller"` and must include `"Exception"`.

```text
before:2020-01-31 after:2020-01-01 severity:warning|error channel:app exclude:Controller "Failed to read"
severity:warning|error channel:app exclude:Controller "Failed to read"
```

### In shorthand

```text
b:2020-01-31 a:2020-01-01 s:warning|error c:app -:Controller "Failed to read"
s:warning|error c:app -:Controller "Failed to read"
```

### Multiple exclusions

```text
before:2020-01-31 after:2020-01-01 exclude:Controller exclude:404
exclude:Controller exclude:404
```

### Handling whitespace
Expand All @@ -39,7 +37,7 @@ If you want to search for a sentence that contains whitespace, you can use doubl
word.

```text
before:"2020-01-31 23:59:59" after:"2020-01-01 00:00:00" exclude:"new IndexController" "Failed to read"
exclude:"new IndexController" "Failed to read"
```

### Searching context or extra
Expand Down
Loading
Loading