mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 15:05:56 +03:00
[PR #62] [CLOSED] Introduce Controllers #151
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/HaschekSolutions/pictshare/pull/62
Author: @birkett
Created: 6/25/2018
Status: ❌ Closed
Base:
master← Head:refactoring3📝 Commits (10+)
7ea14ceCS fixer, PSR2.46c1bccRefactor the filters.81b43d9Update README for PHP7 requirement.b713e9eFilter fixes.d4a950aClean up the Backblaze class.3649ebeIntroduced StorageProviders. Start cleaning up tools.78198feLocalStorageProvider.1e706e3Added RotateFilter, removed old /classes/.9fe664aAdded Autoloader and FileSizeFormatter. Cleanup.b17b5fbTests.📊 Changes
79 files changed (+8421 additions, -2938 deletions)
View changed files
📝
.gitignore(+7 -1)➕
Classes/Autoloader.php(+50 -0)➕
Classes/Configuration.php(+102 -0)➕
Classes/Exceptions/ClassNotFoundException.php(+20 -0)➕
Classes/Exceptions/ConfigDefaultMissingException.php(+20 -0)➕
Classes/Exceptions/MethodNotAllowedException.php(+20 -0)➕
Classes/FileSizeFormatter.php(+39 -0)➕
Classes/FilterFactory.php(+71 -0)➕
Classes/Filters/AbstractFilter.php(+110 -0)➕
Classes/Filters/AquaFilter.php(+48 -0)➕
Classes/Filters/BlurFilter.php(+115 -0)➕
Classes/Filters/BoostFilter.php(+45 -0)➕
Classes/Filters/BrightnessFilter.php(+36 -0)➕
Classes/Filters/BubblesFilter.php(+81 -0)➕
Classes/Filters/ColorizeFilter.php(+72 -0)➕
Classes/Filters/ContrastFilter.php(+36 -0)➕
Classes/Filters/CoolFilter.php(+41 -0)➕
Classes/Filters/EdgeDetectFilter.php(+26 -0)➕
Classes/Filters/EmbossFilter.php(+46 -0)➕
Classes/Filters/FilterInterface.php(+54 -0)...and 59 more files
📄 Description
This PR introduces controllers.
Code from core.php and pictsharemodel.php has been moved into the controllers (and AbstractController where it's shared between controllers).
This also adds:
There should be no breaking changes in this PR. Using PHP 7.0 all over now, so no going back.
As per normal with these PR's - a full test is needed before merging. Unit tests are going to help with this.
(branched from #61 - linking to #57)
Dev notes for the future:
Classes/, Controllers/, Models/ will eventually move into src/*
Tests eventually rename to tests
Web assets and servable content move into public/*
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.