]> BookStack Code Mirror - bookstack/commit
Reviewed adding IP recording to activity & audit log
authorDan Brown <redacted>
Sun, 26 Sep 2021 16:18:12 +0000 (17:18 +0100)
committerDan Brown <redacted>
Sun, 26 Sep 2021 16:18:12 +0000 (17:18 +0100)
commit887a79f130f7994cd2b5633218ca8eadddf55af7
treef52bc99c11623a2cae0a539e416d3fd6868c24f6
parent8972f7b21297fff01a79e7ebd15f227711250cea
Reviewed adding IP recording to activity & audit log

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.
.env.example.complete
app/Actions/ActivityService.php
database/migrations/2021_09_26_044614_add_activities_ip_column.php [moved from database/migrations/2021_08_21_044614_add_column_ip_into_activities.php with 80% similarity]
resources/lang/en/settings.php
resources/views/settings/audit.blade.php
tests/AuditLogTest.php