Skip to content

Log ip address - #2936

Merged
ssddanbrown merged 5 commits into
BookStackApp:masterfrom
johnroyer:log-ip-address
Sep 26, 2021
Merged

ssddanbrown merged 5 commits into
BookStackApp:masterfrom
johnroyer:log-ip-address

Conversation

@johnroyer

@johnroyer johnroyer commented Sep 20, 2021

Copy link
Copy Markdown

IP is now saved into audit log. exist records without IP will shown as blank.

擷取選取區域_002

@johnroyer

Copy link
Copy Markdown
Author

related with issue #2936

@johnroyer

Copy link
Copy Markdown
Author

Coding style has been fixed.

ssddanbrown added a commit that referenced this pull request Sep 26, 2021
Review of #2936

- Added testing to cover
- Added APP_PROXIES to .env.example.complete with details.
- Renamed migration to better align the name and to set the migration
  date to fit with production deploy order.
- Removed index from IP column in migration since an index does not yet
  provide any value.
- Updated table header text label.
- Prevented IP recording when in demo mode.
@ssddanbrown
ssddanbrown merged commit 8972f7b into BookStackApp:master Sep 26, 2021
@ssddanbrown ssddanbrown added this to the v21.08.4 milestone Sep 26, 2021
@ssddanbrown

Copy link
Copy Markdown
Member

Thanks for this @johnroyer. Now merged to be part of the next patch release.

I followed this up with some changes and additions in 887a79f. Beware these changes may conflict with any environments you deployed your original branch to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants