-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
80 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,37 @@ | ||
------------------------------------------------------------------------ | ||
r761 | anrdaemon | 2018-03-12 18:31:02 +0300 (Mon, 12 Mar 2018) | 2 lines | ||
r987 | anrdaemon | 2019-02-24 22:38:16 +0300 (Sun, 24 Feb 2019) | 2 lines | ||
|
||
* Fix default parameters for Gallery::getUrl(). | ||
* Unnecessary whitespace changes. | ||
|
||
------------------------------------------------------------------------ | ||
r760 | anrdaemon | 2018-03-12 09:01:38 +0300 (Mon, 12 Mar 2018) | 2 lines | ||
r986 | anrdaemon | 2019-02-24 22:37:38 +0300 (Sun, 24 Feb 2019) | 3 lines | ||
|
||
* Correctly set HTTP response code. | ||
* Sorted out usage of iterators' classes. | ||
* Implement \IteratorAggregate instead of direct \Iterator. | ||
|
||
------------------------------------------------------------------------ | ||
r759 | anrdaemon | 2018-03-12 08:34:55 +0300 (Mon, 12 Mar 2018) | 2 lines | ||
r985 | anrdaemon | 2019-02-24 22:35:43 +0300 (Sun, 24 Feb 2019) | 2 lines | ||
|
||
+ index.sample: Added index link to show image pages. | ||
+ Explicitly list extensions used in the project. | ||
|
||
------------------------------------------------------------------------ | ||
r758 | anrdaemon | 2018-03-12 08:01:19 +0300 (Mon, 12 Mar 2018) | 2 lines | ||
r984 | anrdaemon | 2019-02-24 22:26:12 +0300 (Sun, 24 Feb 2019) | 2 lines | ||
|
||
+ Added example PHAR stub and compilation instructions. | ||
* Include correct configuration file regardless if running in PHP or PHAR mode. | ||
|
||
------------------------------------------------------------------------ | ||
r757 | anrdaemon | 2018-03-12 07:55:31 +0300 (Mon, 12 Mar 2018) | 2 lines | ||
r983 | anrdaemon | 2019-02-24 22:24:45 +0300 (Sun, 24 Feb 2019) | 2 lines | ||
|
||
* index.sample: Tweak built-in config activation case. | ||
+ Improve stub.php handling in Makefile. | ||
|
||
------------------------------------------------------------------------ | ||
r756 | anrdaemon | 2018-03-12 07:46:20 +0300 (Mon, 12 Mar 2018) | 2 lines | ||
r982 | anrdaemon | 2019-02-24 21:59:40 +0300 (Sun, 24 Feb 2019) | 2 lines | ||
|
||
* config.sample: More comments and better defaults. | ||
+ Sanitize config defaults. | ||
|
||
------------------------------------------------------------------------ | ||
r755 | anrdaemon | 2018-03-12 06:51:49 +0300 (Mon, 12 Mar 2018) | 4 lines | ||
r766 | anrdaemon | 2018-03-17 15:40:36 +0300 (Sat, 17 Mar 2018) | 2 lines | ||
|
||
* index.sample: Make index appropriate for use in PHAr as is. | ||
* index.sample: Tweak show image page CSS to combat text overlap. | ||
|
||
------------------------------------------------------------------------ | ||
r692 | anrdaemon | 2017-10-27 20:48:50 +0300 (Fri, 27 Oct 2017) | 2 lines | ||
|
||
* Update dev-master alias. | ||
+ Release building makefile. | ||
|
||
------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
SHELL := /bin/sh | ||
.SHELLFLAGS := -ec | ||
.ONESHELL: | ||
|
||
PHAR_FILES := index.php config.php Gallery.php | ||
|
||
clean: | ||
-rm index.php config.php stub.php mlg.phar | ||
|
||
release: release-phar | ||
|
||
release-phar: mlg.phar | ||
|
||
stub: stub.php | ||
|
||
%.php: %.sample.php | ||
cp "$<" "$@" | ||
|
||
stub.php: config.sample.php | ||
cp "config.sample.php" "stub.php" | ||
printf "\n%s" \ | ||
"require_once 'phar://' . __FILE__ . '/index.php';" "" \ | ||
"__HALT_COMPILER(); ?>" >> "stub.php" | ||
|
||
mlg.phar: stub.php $(PHAR_FILES) | ||
phar pack -f "$@" -c bzip2 -s $^ | ||
|
||
.PHONY: clean stub release ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters