[PR #39] [CLOSED] Improvements and fixes #139

Closed
opened 2026-02-25 23:40:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/HaschekSolutions/pictshare/pull/39
Author: @Bushyasta
Created: 12/6/2017
Status: Closed

Base: masterHead: master


📝 Commits (10+)

  • 42c646c Adding 'develop' branch and .gitignore
  • 97ab7a4 Adding composer.json and 'phpdotenv' package
  • ffeb547 Applying PSR-2 coding style; general architectural changes
  • 1e8e841 Further structural changes; adding docblock comments; fixes
  • 0169b87 Adding Config class; minor fixes
  • 0fbbf79 Cleanup and refactoring
  • 0f19d46 Changed configuration; added IoC (DIC); switched to templates
  • e0aa91b Added ImageFactory; fixes related to Image as dependency
  • 26fc16b Added TODO file
  • c298c69 Cleanup 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.

## 📋 Pull Request Information **Original PR:** https://github.com/HaschekSolutions/pictshare/pull/39 **Author:** [@Bushyasta](https://github.com/Bushyasta) **Created:** 12/6/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`42c646c`](https://github.com/HaschekSolutions/pictshare/commit/42c646c86cbc3ac9ec1d630f3f36ff557425b8b5) Adding 'develop' branch and .gitignore - [`97ab7a4`](https://github.com/HaschekSolutions/pictshare/commit/97ab7a4b693267557d005e00662f1a82a6b966ee) Adding composer.json and 'phpdotenv' package - [`ffeb547`](https://github.com/HaschekSolutions/pictshare/commit/ffeb5478cd29412112b57cd028ef8bfbc7f08c93) Applying PSR-2 coding style; general architectural changes - [`1e8e841`](https://github.com/HaschekSolutions/pictshare/commit/1e8e84166a0558623b4fd4600b4e060f802d8182) Further structural changes; adding docblock comments; fixes - [`0169b87`](https://github.com/HaschekSolutions/pictshare/commit/0169b878968cc454ab316957b64e5632f3d4767a) Adding Config class; minor fixes - [`0fbbf79`](https://github.com/HaschekSolutions/pictshare/commit/0fbbf7920f9a3083675559025144534c5a1e61bd) Cleanup and refactoring - [`0f19d46`](https://github.com/HaschekSolutions/pictshare/commit/0f19d4642a88a9a7899abedfe7458eaac3db4a14) Changed configuration; added IoC (DIC); switched to templates - [`e0aa91b`](https://github.com/HaschekSolutions/pictshare/commit/e0aa91bcf2300c0e1cc3ac24408c9c0525d49f74) Added ImageFactory; fixes related to Image as dependency - [`26fc16b`](https://github.com/HaschekSolutions/pictshare/commit/26fc16beca7f6b987e97cffb6faea0f32ebe3b32) Added TODO file - [`c298c69`](https://github.com/HaschekSolutions/pictshare/commit/c298c6918cd171808614e18c4e65462d50f43845) Cleanup and decoupling ### 📊 Changes **63 files changed** (+5399 additions, -2377 deletions) <details> <summary>View changed files</summary> ➕ `.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_ </details> ### 📄 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'). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:40:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#139
No description provided.