Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
cf05d96
add pest test
digitlimit Apr 27, 2023
3b6611b
bug: fix namespace issues
digitlimit Apr 29, 2023
05e780f
bug: fix ci tests
digitlimit Apr 29, 2023
48480bf
bug: fix ci tests
digitlimit Apr 29, 2023
34618d0
bug: fix ci tests
digitlimit Apr 29, 2023
4ff1a79
create alert methods
digitlimit Apr 29, 2023
1db26af
fix tests
digitlimit Apr 30, 2023
7aa67de
fix tests
digitlimit Apr 30, 2023
6f17ecd
fix tests
digitlimit Apr 30, 2023
7216d97
add alert type
digitlimit Apr 30, 2023
89a6c7e
add type tests
digitlimit Apr 30, 2023
5b2b28e
update view
digitlimit Apr 30, 2023
82955ff
update composer
digitlimit Apr 30, 2023
0a68db3
fix component namespace
digitlimit Apr 30, 2023
b5e5227
fix component view namesapce
digitlimit Apr 30, 2023
c9a6759
update bar component
digitlimit Apr 30, 2023
5655824
refactor alert classes
digitlimit May 2, 2023
f87add7
fix session flash
digitlimit May 2, 2023
36f15c1
refactor alert classes
digitlimit May 6, 2023
2c2a8c1
improve alert modal
digitlimit May 7, 2023
e75de05
update notify
digitlimit May 8, 2023
59f85ed
update notify method
digitlimit May 9, 2023
f6c4724
add action to notify
digitlimit May 10, 2023
6c0d1bc
add support for laravel validation field error
digitlimit May 10, 2023
b47f621
fix field attributes
digitlimit May 11, 2023
c99523e
fix default key
digitlimit May 11, 2023
f969509
fix automated tests
digitlimit May 12, 2023
7a02c2d
add alert types tests
digitlimit May 12, 2023
f607d46
add tests
digitlimit May 13, 2023
728c49a
add tests
digitlimit May 13, 2023
2e5a1d9
add tests
digitlimit May 13, 2023
0dc3a0c
add tests
digitlimit May 14, 2023
3328165
fix nullable strings
digitlimit May 14, 2023
7949c80
fix named field
digitlimit May 14, 2023
c50078c
fix named field
digitlimit May 14, 2023
89977bd
fix tagged field
digitlimit May 14, 2023
b4e0883
fix field tests
digitlimit May 14, 2023
656f9b8
fix field tests
digitlimit May 14, 2023
1d9e628
add field validation errors tests
digitlimit May 14, 2023
3c1bc96
add modal view component test
digitlimit May 14, 2023
f3638b8
fix tests for modal
digitlimit May 15, 2023
d861ce7
fix tests for modal
digitlimit May 16, 2023
51141c1
add modal sizes tests
digitlimit May 16, 2023
fc1634c
add modal sizes tests
digitlimit May 16, 2023
f63ac67
add modal sizes tests
digitlimit May 16, 2023
c28ba82
add modal sizes tests
digitlimit May 16, 2023
95f1146
add tests
digitlimit May 17, 2023
bdecebf
add comments to properties and methods
digitlimit May 18, 2023
9f2f648
Create CODE_OF_CONDUCT.md
digitlimit May 18, 2023
fc74f4a
Merge pull request #23 from digitlimit/digitlimit-patch-1
digitlimit May 18, 2023
ffb2518
update documentation
digitlimit May 18, 2023
4e5f56a
update documentation
digitlimit May 18, 2023
0d60622
Added an alert logo
digitlimit May 18, 2023
2aa0b98
Update logo
digitlimit May 18, 2023
af3a7f0
add installation instruction to manual
digitlimit May 18, 2023
db22caa
Merge branch 'feature/laravel-10' of github.com:digitlimit/alert into…
digitlimit May 18, 2023
1aa5ab6
Add a screenshot showing sample output
digitlimit May 18, 2023
e46df73
Update README.md
digitlimit May 18, 2023
3d6368a
add installation instruction to manual
digitlimit May 18, 2023
9d26dbb
Merge branch 'feature/laravel-10' of github.com:digitlimit/alert into…
digitlimit May 18, 2023
2bfabe0
Apply fixes from StyleCI
digitlimit May 19, 2023
37609d4
Merge pull request #26 from digitlimit/analysis-6VAgkn
digitlimit May 19, 2023
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
44 changes: 24 additions & 20 deletions .github/workflows/alert.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,39 @@
name: Laravel
name: Testing

on:
push:
branches: [ "master" ]
branches: [ "master", "feature/laravel-10" ]
pull_request:
branches: [ "master" ]

permissions:
contents: read

jobs:
laravel-tests:
build:

runs-on: ubuntu-latest

steps:
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
with:
php-version: '8.0'
- uses: actions/checkout@v3
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Generate key
run: php artisan key:generate
- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Execute tests (Unit and Feature tests) via PHPUnit

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Execute tests
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: vendor/bin/phpunit
run: php vendor/bin/testbench package:test
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
Loading