Skip to content
Open

v1 #2

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
cfbab31
Update README.md
jasny May 9, 2018
9cd8be1
Update README.md
jasny Sep 30, 2019
e290ec6
fixed compatiblity problem: getallheaders undefined (#112)
Oct 5, 2019
4eb9479
Implement initializeSession method, implements #113 (#114)
rubenstolk May 7, 2020
53e8227
Version 0.4 WIP
jasny Jul 15, 2020
7282968
Broker v0.4
jasny Sep 1, 2020
d1281d7
Update README
jasny Sep 8, 2020
141dac7
Cookies interface for SSO broker.
jasny Sep 8, 2020
a5867c6
Fixed AJAX demo
jasny Sep 9, 2020
43e4ff6
AJAX demo with latest jQuery and milligram instead of Bootstrap.
jasny Sep 14, 2020
61fabc5
Added logging for SSO Server.
jasny Sep 14, 2020
0158583
Put full URL with script name in env var (for demo).
jasny Sep 14, 2020
6069cab
Fixes for PHPStan
jasny Sep 15, 2020
b1dc9ea
Use any `ArrayAccess` object to store token instead of specifically c…
jasny Sep 15, 2020
9a203b9
Configured allowed domains for broker.
jasny Sep 18, 2020
8f93e33
Return verification code to prevent session hijacking using the attac…
jasny Sep 18, 2020
0327c8e
Unit tests for Server class.
jasny Sep 25, 2020
e189814
Broker unit tests + fixes
jasny Oct 5, 2020
b1adc65
Added demo test
jasny Oct 5, 2020
cabf9d7
Make PHPStan happy
jasny Oct 5, 2020
f3f6fc9
Fix CI on Travis
jasny Oct 5, 2020
a51c4bf
Scrutinize
jasny Oct 5, 2020
cdb56c5
Update README.md
jasny Oct 5, 2020
c6240eb
In demo, check that JSONP callback is a valid function name.
jasny Nov 3, 2020
4b44fec
Allow CORS for attach request.
jasny Nov 3, 2020
75f2489
fixed wrong setcookies() arguments order
madsnow Nov 19, 2020
2d8a200
Merge branch 'cookie-fix'
jasny Nov 20, 2020
c435abe
Update README.md
jasny Nov 20, 2020
16a4cf1
Use samesite=None for session cookie by default.
jasny Dec 9, 2020
e1594bf
Test using GitHub actions
jasny Dec 10, 2020
ec5b855
GitHub actions don't run against lowest
jasny Dec 10, 2020
d439287
Update README.md
jasny Dec 16, 2020
b690757
Update jasny/phpunit-extension
jasny Dec 17, 2020
ac491ab
Update GitHub action
jasny Dec 17, 2020
b2d2694
Fixup GitHub actions
jasny Dec 17, 2020
c563d97
Update README.md
jasny Jan 31, 2021
9010ea3
Add secure to session cookie (#132)
MrSwiss Mar 3, 2021
5dbebb1
Fixed typo in README (#135)
nishat-propertyloop Jun 13, 2021
1fd9d60
remove header string type
CasperLaiTW May 14, 2021
77e5934
Merge pull request #136 from CasperLaiTW/master
jasny Jul 27, 2021
b644392
Fixed typo in README
mazraara Mar 5, 2022
c44ab81
Merge pull request #141 from mazraara/patch-1
jasny Mar 16, 2022
fb4f091
Composer accept any version of psr/log. Fixes #142
jasny Apr 30, 2022
69cc85b
Update README.md
jasny Jan 24, 2023
9469117
Update README.md
jasny Jan 24, 2023
e6fdbc1
feat: add compatible with php 8
aldinokemal Jul 28, 2023
32fd030
feat: update scrutinizer
aldinokemal Jul 31, 2023
2095cfc
feat: change php version
aldinokemal Jul 31, 2023
7504a16
Set minimal PHP version to 8.0
jasny Aug 9, 2023
ef9f917
Merge pull request #149 from aldinokemal/feat/compatible-php-8
jasny Aug 9, 2023
372dcd1
feat: update version to *
aldinokemal Aug 14, 2023
1bc1619
Merge pull request #150 from aldinokemal/feat/update-psr-version
jasny Aug 15, 2023
e96dbdf
Update README.md
gurubobnz Feb 11, 2024
e806f50
Merge pull request #156 from gurubobnz/patch-1
jasny Feb 13, 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
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/demo export-ignore
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/phpcs.xml.dist export-ignore
/phpstan.neon export-ignore
/README.md export-ignore
47 changes: 47 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: PHP

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- php: 8.0
- php: 8.1
- php: 8.2
coverage: '--coverage --coverage-xml'
name: PHP ${{ matrix.php }}

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 10

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug

- name: Validate composer.json
run: composer validate

- name: Install dependencies
run: composer update --prefer-dist --no-progress --no-suggest

- name: Run Codeception
run: vendor/bin/codecept run ${{ matrix.coverage }}

- name: Upload coverage to Scrutinizer
if: ${{ matrix.coverage }}
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: "--format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ tests/_output/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
/tests/_support/_generated/
.idea
24 changes: 24 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#language: php
checks:
php: true
filter:
excluded_paths:
- tests
build:
nodes:
analysis:
environment:
php: 8.2
postgresql: false
redis: false
mongodb: false
tests:
override:
- phpcs-run src
-
command: vendor/bin/phpstan analyze --error-format=checkstyle | sed '/^\s*$/d' > phpstan-checkstyle.xml
analysis:
file: phpstan-checkstyle.xml
format: 'general-checkstyle'
- php-scrutinizer-run

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2017 Arnold Daniels
Copyright (c) 2020 Arnold Daniels

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
Loading