Implemented enhancements
- Create, change and remove clients of api
- Adds scopes to api calls which enables personalized rules of calls
Fixed bugs
- Fixin defect XDebug at Docker image for development
Refactoring
- Adjusts and fixes docker image for new base image php:7.4-fpm-alpine
Securtiy issues
- Sets 7.4 as minimum version for PHP
Security issues
- Updates composer library of "illuminate/database" to v6.20.14 and higher
- Sets 7.3 as minimum version for PHP
Implemented enhancements
- Removes dependency of hash from downloading composer library at Docker image
Fixed bugs
- Fixin defect Docker image for development
Fixed bugs
- Fixing running migration and seeding of docker development docker image
- Replaces sleeping by waiting of db container to run init of app
- Path fixing to load migration and seeding at ./phinx.php configuration file
- Actualize composer hash
- Minor wording at docs app/src/Helpers/HashHelper
Implemented enhancements
- Dockerize ShortrSlim
- Adds production image as Dockerfile and development image Dockerfile.dev via docker-compose
Minor enhancements
- Adapts
.travis.yml
adding PHP 7.4
Fixed bugs
- Fixing false countable type of database object with count() at ShortrController::redirectAction()
Implemented enhancements
- By no finding valid slug at database redirect request ot default site.
Minor enhancements
- Adapts
.travis.yml
removing PHP 7.0 and adding PHP 7.3
Implemented enhancements
- Add authorization via JWT token and set up middleware
slim-jwt-auth
- Authorization with POST request via
/auth
with username and password - Add
tokens
andusers
table - Add
\tests
for phpunit tests - Add code-sniffer for sticking PSR2 standard
Minor enhancements
- Add JSON_PRETTY_PRINT to response messages
Full Changelog
Implemented enhancements
- Using Phinx as database migration tool.
- Set up migration script for
shortr
table. - Remove sql script at
install\db\database.sql
Implemented enhancements
- Create ShortrSlim app in PHPSlim v3 environment.
- Default configured redirect if only baseUrl is set.
- Redirect to site if slug is given. If false slug given default redirect.
- Create new short url as far new slug is found.
- By same url return already existing slug
- Implement some validation check. Limited interval to create new short url per ip. Check if url scheme is valid.
- Add licence headers, README, and changelog.