Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Standardise modules #45

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
ci:
name: CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule')
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
with:
extra_jobs: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule')
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Keepalive
Expand Down
15 changes: 0 additions & 15 deletions .scrutinizer.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

10 changes: 4 additions & 6 deletions readme.md → README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# SilverStripe Auditor
# Silverstripe Auditor

[![CI](https://github.com/silverstripe/silverstripe-auditor/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-auditor/actions/workflows/ci.yml)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/silverstripe/silverstripe-auditor/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/silverstripe/silverstripe-auditor/?branch=master)
[![codecov](https://codecov.io/gh/silverstripe/silverstripe-auditor/branch/master/graph/badge.svg)](https://codecov.io/gh/silverstripe/silverstripe-auditor)
[![SilverStripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)

Auditor module installs a series of extension hooks into the Framework to monitor activity of authenticated users. Audit
trail is written into `LOG_AUTH` syslog facility through [Monolog](https://github.com/Seldaek/monolog/), and includes:
Expand All @@ -15,7 +13,7 @@ trail is written into `LOG_AUTH` syslog facility through [Monolog](https://githu

## Requirements

* SilverStripe ^4.0
* Silverstripe ^4.0
* Monolog ~1.11

## Installation
Expand All @@ -24,7 +22,7 @@ trail is written into `LOG_AUTH` syslog facility through [Monolog](https://githu
composer require silverstripe/auditor ^2.0
```

**Please note:** For a SilverStripe 3 compatible, please see [the 1.x release line](https://github.com/silverstripe/silverstripe-auditor/tree/1).
**Please note:** For a Silverstripe 3 compatible, please see [the 1.x release line](https://github.com/silverstripe/silverstripe-auditor/tree/1).

## Custom audit trail

Expand Down
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
<testsuites>
<testsuite name="Default">
Expand Down