-
Notifications
You must be signed in to change notification settings - Fork 78
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
368 changed files
with
17,411 additions
and
40,932 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
# Maintain dependencies for Composer | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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 |
---|---|---|
|
@@ -3,3 +3,7 @@ includes/htmlarea | |
includes/settings.php | ||
.DS_Store | ||
mysql-data | ||
*.sha | ||
vendor | ||
*.orig | ||
*.save |
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,146 @@ | ||
# Makefile for copying files downloaded using composer into the proper location | ||
# for use with WebCalendar. | ||
# We onlt copy the min number of files required from the vendor directory. | ||
# Also, compute the SHA hash to use with the integrity tag. | ||
# We don't want WebCalendar releases to bundle every single file in the vendor directory. | ||
# Also, composer dependency management sucks at asset management. | ||
|
||
PHPMAILER_DIR = includes/classes/phpmailer | ||
PHPMAILER_VENDOR_DIR = vendor/phpmailer/phpmailer/src | ||
|
||
BOOTSTRAP_ICON_DIR = images/bootstrap-icons | ||
BOOTSTRAP_ICON_VENDOR_DIR = vendor/twbs/bootstrap-icons/icons | ||
|
||
_DEFAULT: _phpmailer includes/load_assets.php \ | ||
_ICONS | ||
|
||
_phpmailer: $(PHPMAILER_DIR)/PHPMailer.php \ | ||
$(PHPMAILER_DIR)/Exception.php \ | ||
$(PHPMAILER_DIR)/OAuth.php \ | ||
$(PHPMAILER_DIR)/POP3.php \ | ||
$(PHPMAILER_DIR)/SMTP.php | ||
|
||
$(PHPMAILER_DIR)/PHPMailer.php: $(PHPMAILER_VENDOR_DIR)/PHPMailer.php | ||
cp $< $@ | ||
|
||
$(PHPMAILER_DIR)/Exception.php: $(PHPMAILER_VENDOR_DIR)/Exception.php | ||
cp $< $@ | ||
|
||
$(PHPMAILER_DIR)/OAuth.php: $(PHPMAILER_VENDOR_DIR)/OAuth.php | ||
cp $< $@ | ||
|
||
$(PHPMAILER_DIR)/POP3.php: $(PHPMAILER_VENDOR_DIR)/POP3.php | ||
cp $< $@ | ||
|
||
$(PHPMAILER_DIR)/SMTP.php: $(PHPMAILER_VENDOR_DIR)/SMTP.php | ||
cp $< $@ | ||
|
||
_ICONS: \ | ||
$(BOOTSTRAP_ICON_DIR)/printer.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/search.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/arrow-right-circle.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/arrow-left-circle.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/arrow-up-short.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/arrow-down-short.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/plus-circle.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/rss-fill.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/circle-fill.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/exclamation-triangle-fill.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/question-circle-fill.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/arrow-90deg-up.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/dash-circle.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/check-circle.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/trash.svg \ | ||
$(BOOTSTRAP_ICON_DIR)/key-fill.svg | ||
|
||
$(BOOTSTRAP_ICON_DIR)/printer.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/printer.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/search.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/search.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/arrow-right-circle.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/arrow-right-circle.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/arrow-left-circle.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/arrow-left-circle.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/arrow-up-short.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/arrow-up-short.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/arrow-down-short.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/arrow-down-short.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/plus-circle.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/plus-circle.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/rss-fill.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/rss-fill.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/circle-fill.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/circle-fill.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/exclamation-triangle-fill.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/exclamation-triangle-fill.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/question-circle-fill.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/question-circle-fill.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/arrow-90deg-up.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/arrow-90deg-up.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/dash-circle.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/dash-circle.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/check-circle.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/check-circle.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/trash.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/trash.svg | ||
cp $< $@ | ||
|
||
$(BOOTSTRAP_ICON_DIR)/key-fill.svg: $(BOOTSTRAP_ICON_VENDOR_DIR)/key-fill.svg | ||
cp $< $@ | ||
|
||
includes/load_assets.php: \ | ||
pub/bootstrap.min.css \ | ||
pub/bootstrap.min.css.sha \ | ||
pub/bootstrap.bundle.min.js \ | ||
pub/bootstrap.bundle.min.js.sha \ | ||
pub/jquery.min.js \ | ||
pub/jquery.min.js.sha | ||
echo '<?php' > $@ | ||
echo '// Auto-generated by make. Do not hand-edit.' >> $@ | ||
echo '// See Makefile in source for details..' >> $@ | ||
echo -n '// Last updated: ' >> $@ | ||
date >> $@ | ||
echo "XASSETS =" | tr X '\044' >> $@ | ||
echo -n ' _<link rel="stylesheet" href="pub/bootstrap.min.css" integrity="sha384-' | tr _ '\047' >> $@ | ||
cat pub/bootstrap.min.css.sha | tr -d '\012' >> $@ | ||
echo '">_ .' | tr _ '\047' >> $@ | ||
echo -n ' _<script src="pub/jquery.min.js" integrity="sha384-' | tr _ '\047' >> $@ | ||
cat pub/jquery.min.js.sha | tr -d '\012' >> $@ | ||
echo '"></script>_ .' | tr _ '\047' >> $@ | ||
echo -n ' _<script src="pub/bootstrap.bundle.min.js" integrity="sha384-' | tr _ '\047' >> $@ | ||
cat pub/bootstrap.bundle.min.js.sha | tr -d '\012' >> $@ | ||
echo '"></script>_ .' | tr _ '\047' >> $@ | ||
echo ' "\\n";' >> $@ | ||
echo '?>' >> $@ | ||
|
||
pub/bootstrap.min.css: vendor/twbs/bootstrap/dist/css/bootstrap.min.css | ||
cp $< $@ | ||
|
||
pub/bootstrap.min.css.sha: pub/bootstrap.min.css | ||
sha384sum $< | head -c 96 | xxd -r -p | base64 > $@ | ||
|
||
pub/bootstrap.bundle.min.js: vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js | ||
cp $< $@ | ||
|
||
pub/bootstrap.bundle.min.js.sha: pub/bootstrap.bundle.min.js | ||
sha384sum $< | head -c 96 | xxd -r -p | base64 > $@ | ||
|
||
pub/jquery.min.js: vendor/components/jquery/jquery.min.js | ||
cp $< $@ | ||
|
||
pub/jquery.min.js.sha: pub/jquery.min.js | ||
sha384sum $< | head -c 96 | xxd -r -p | base64 > $@ | ||
|
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,5 @@ | ||
# WebCalendar Security | ||
|
||
## Reporting Security Concerns | ||
|
||
Contact the project using the [email protected] email address. |
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
Oops, something went wrong.