mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 23:15:51 +03:00
[PR #39] [CLOSED] Improvements and fixes #139
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#139
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/39
Author: @Bushyasta
Created: 12/6/2017
Status: ❌ Closed
Base:
master← Head:master📝 Commits (10+)
42c646cAdding 'develop' branch and .gitignore97ab7a4Adding composer.json and 'phpdotenv' packageffeb547Applying PSR-2 coding style; general architectural changes1e8e841Further structural changes; adding docblock comments; fixes0169b87Adding Config class; minor fixes0fbbf79Cleanup and refactoring0f19d46Changed configuration; added IoC (DIC); switched to templatese0aa91bAdded ImageFactory; fixes related to Image as dependency26fc16bAdded TODO filec298c69Cleanup and decoupling📊 Changes
63 files changed (+5399 additions, -2377 deletions)
View changed files
➕
.env.example(+39 -0)➕
.gitignore(+4 -0)📝
README.md(+151 -44)➕
TODO(+7 -0)➕
app/Application.php(+186 -0)➕
app/Config/Config.php(+113 -0)➕
app/Config/ConfigInterface.php(+39 -0)➕
app/Controllers/BackendController.php(+60 -0)➕
app/Controllers/CliController.php(+43 -0)➕
app/Controllers/IndexController.php(+81 -0)➕
app/Models/Model.php(+44 -0)➕
app/Models/PictshareModel.php(+1276 -0)➕
app/Providers/ServiceProvider.php(+151 -0)➕
app/Support/Database.php(+143 -0)➕
app/Support/File.php(+352 -0)➕
app/Support/MIMEType.php(+170 -0)➕
app/Support/Str.php(+111 -0)➕
app/Support/Translator.php(+79 -0)➕
app/Support/Utils.php(+103 -0)➕
app/Transformers/Filter.php(+266 -0)...and 43 more files
📄 Description
Cleaned up and refactored the application (PSR-2, better file/class/folder structure, support for .env configuration, etc.). Added some useful new features like possibility to define filename and sub-directory for file being uploaded, support for multiple file types, etc.. All of the changes are backwards compatible and there is no need to change anything when updating from older version (beside running 'composer install').
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.