Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test #360

Closed
wants to merge 231 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
795050c
Rename ----------------------------------.md to CONTENT_CONTRIBUTE_TE…
Dec 8, 2020
d0cb029
Merge remote-tracking branch 'origin/develope' into develope
Dec 8, 2020
86712a0
Add email template [ugly but working] (#13)
Dec 11, 2020
cdec2e1
Update issue templates
Dec 11, 2020
1d33c36
Update issue templates
Dec 14, 2020
37e247f
Update issue templates
Dec 14, 2020
928b624
Add template engine + Fix texts in main site
Dec 14, 2020
cb52657
Delete sample.html
Dec 14, 2020
9a6a549
Create CNAME
Dec 16, 2020
1985718
Delete CNAME
Dec 16, 2020
f405ed7
Create CNAME
Dec 16, 2020
e47f787
Add signup link
Dec 21, 2020
1d289e2
Add og meta tags
Dec 21, 2020
47460f8
Add mailer (#24)
Dec 28, 2020
3662845
Update CONTENT_CONTRIBUTE_TEMPLATE.md
Dec 28, 2020
bb5f301
--
Dec 28, 2020
4df325c
Update main.php
Dec 28, 2020
251c6c6
Check empty env
Dec 28, 2020
f2b8a02
Fix bug: replace To with BCC (#36)
Dec 31, 2020
5e08caa
--
Dec 31, 2020
288af29
Add test list (#40)
Dec 31, 2020
c119801
Add temporary texts (#41)
Dec 31, 2020
e568206
Update CONTENT_CONTRIBUTE_TEMPLATE.md
Dec 31, 2020
68a2ddf
Fix bug: duplicate usernames (#43)
Dec 31, 2020
d1237a6
Fix bug: getContactsFromList limited to 50 email
Dec 31, 2020
73a6d6d
Add custom html element (#51)
Jan 5, 2021
ada750d
Update issue templates
Jan 7, 2021
b0e478d
Fix smtp limitation (#58)
Jan 7, 2021
950b342
Change brand name to "SoftwareTalks"
Jan 10, 2021
17f642d
Remove unnecessary uppercase in styles
Jan 10, 2021
64b4b15
Add GitHub actions (#60)
Jan 11, 2021
d559bfa
Update main.php
Jan 13, 2021
5a8e109
Update main.php
Jan 13, 2021
0e1904a
Add newsletter number (#65)
Jan 13, 2021
84322a4
Fix newsletter number spaces in string
Jan 13, 2021
03fd063
Undo and fix previous commit
Jan 13, 2021
4125c34
Use campaign instead of SMTP (#82)
Jan 27, 2021
1f949a1
Add readme (#84)
Jan 28, 2021
09b5c6f
Add badges
Jan 28, 2021
e623dc5
Update staging.yaml
Jan 28, 2021
5f0d7bc
Update production.yaml
Jan 28, 2021
60a8bd6
Update README.md
Jan 28, 2021
2695df7
Update index.html
Jan 28, 2021
bd46a29
Remove unsubscribe link
Jan 28, 2021
58b9c21
Update BOTTOM_CONTENT_HTML.txt
Feb 4, 2021
508c92f
Update TOP_CONTENT_HTML.txt
Feb 4, 2021
3c3b6c8
Add all archives (#110)
Feb 18, 2021
35c11fb
Add archive: newsletter number 8
Feb 28, 2021
b7c21e5
Add rules discussion link
Feb 28, 2021
1752956
Change design (#120)
Mar 1, 2021
95cf7bb
Add contribute link in email template
Mar 1, 2021
c9c7329
compressed background images (#122)
TheYahya Mar 2, 2021
132c4cf
Change typedjs configs
Mar 4, 2021
15cbad4
Add modal for signup + Update contribute section contents
Mar 4, 2021
8169eef
Update subscribers counter
Mar 4, 2021
bd7c5a1
Update subscribers counter
Mar 4, 2021
bca5cd9
ویرایش متن بخش‌هایی از سایت و تمپلیت ایمیلی (#134)
Mar 5, 2021
c5e1eb1
Remove emoji-css cdn + Restore subscribers section + Add title
Mar 5, 2021
a3ac5a8
Add archive (num 9)
Mar 5, 2021
3dd7a0a
Update subscribers counter
Mar 12, 2021
717cb97
Add archive (num 10)
Mar 18, 2021
8c45807
Update README.md
Mar 28, 2021
1373440
Update README.md
Mar 28, 2021
4c364ad
Update README.md
Mar 28, 2021
df392f9
Update README.md
Mar 28, 2021
f874900
Update README.md
Mar 28, 2021
1909814
Update README.md
Mar 28, 2021
06a0b5a
Update README.md
Mar 28, 2021
d5e2a68
Add issues statistics (#150)
Mar 28, 2021
e350868
Update index.html
Mar 28, 2021
cbf007e
Update README.md
Mar 30, 2021
db4d8eb
Update README.md
Mar 30, 2021
8e79d08
Update subscribers counter
Mar 30, 2021
5c3a7b1
Upgrade font version to V5 (#153)
Mar 30, 2021
5d97091
Add comment system (#155)
Mar 31, 2021
24279ab
Update subscribers counter
Mar 31, 2021
b61abd6
Update subscribers counter
Apr 1, 2021
673e2cc
Fix 1400 bug, close #161
Apr 8, 2021
4cf95f9
Update subscribers counter
Apr 8, 2021
6fd104b
Generate copy-and-paste ready outputs for contributors section (#165)
Apr 13, 2021
b8575db
Update contributors section
Apr 13, 2021
bbefeaf
Update subscribers counter
Apr 13, 2021
a90e685
Update contributors section
Apr 15, 2021
949313c
Update subscribers counter
Apr 15, 2021
492f80f
Create LICENSE (close #173)
Apr 20, 2021
3b699d2
Update subscribers counter
Apr 20, 2021
5ed6cd7
Add archive num11
Apr 20, 2021
f991d7c
Fix wrong newsletter number bug (temporary solution)
Apr 23, 2021
9b6e347
--
Apr 23, 2021
e7ef216
--
Apr 23, 2021
aa3e3fd
--
Apr 23, 2021
0b92625
--
Apr 23, 2021
008e330
--
Apr 23, 2021
d912026
--
Apr 23, 2021
1f15fb4
--
Apr 23, 2021
6182fbe
Update contributors section
Apr 23, 2021
819f7f5
Add archive (num 12)
Apr 23, 2021
e764016
Merge branch 'main' of github.com:softwaretalks/newsletter into main
Apr 23, 2021
57c2004
Update subscribers counter
Apr 23, 2021
9450af7
Create DOCKER_COMMANDS.md
Apr 25, 2021
b7f2eb6
Update DOCKER_COMMANDS.md
Apr 25, 2021
f2f84f9
Update subscriber counters
Apr 26, 2021
c3b6f7f
Update contributors section
Apr 30, 2021
90d47a4
Update subscriber counters
Apr 30, 2021
62545b1
Update subscriber counter
Apr 30, 2021
3117248
Update subscriber counter
May 1, 2021
cfcf4d0
Update contributors section
May 8, 2021
386b6d5
Update subscriber counter
May 13, 2021
401d550
--
May 13, 2021
2031793
Update contributors section
May 13, 2021
5975436
Add archive (13,14,15)
May 18, 2021
d223c21
Update contributors section
May 18, 2021
5bfeb5d
Update subscriber counter
May 18, 2021
b8be6a9
Update contributors section
May 20, 2021
b2af9f2
Add dockerfile
May 22, 2021
69197dc
Merge branch 'main' of github.com:softwaretalks/newsletter into main
May 22, 2021
e1c1ae5
Fix docker command
May 22, 2021
b0e299f
Update subscriber counter
May 27, 2021
5ee6123
Update contributors section
May 27, 2021
1302a15
Delete CNAME
May 30, 2021
aa791b2
Create CNAME
May 30, 2021
7f83432
Update subscriber counter
May 30, 2021
15bbf14
Add archive (16, 17)
May 30, 2021
3214d3c
Update contributors section
Jun 3, 2021
d46ccb4
Alpine: am i joke to you? [Change baseimage from ubuntu to alpine]
Jun 3, 2021
800e0dd
یک‌سری اصلاحات (#229)
Jun 10, 2021
3ac678e
Add archive (num 18)
Jun 10, 2021
943ed62
Due to a mistake in merging from @kokabi1365, I comitated index.html …
Jun 10, 2021
98e8478
Update contributors section
Jun 10, 2021
67de5e8
Update subscriber counter
ohmydevops Jun 10, 2021
4311eb2
Update index.html
ohmydevops Jun 10, 2021
82d6994
Update README.md
ohmydevops Jun 12, 2021
7dcb37f
Update README.md
ohmydevops Jun 12, 2021
5b7e921
Update contributors section
ohmydevops Jun 24, 2021
f5a209b
Update README.md
ohmydevops Jun 24, 2021
9e8f810
حذفِ نقطهٔ توپرِ کنارِ عنوانِ مطلب در تمپلیتِ ایمیلی (#237)
Jul 1, 2021
c6095be
Update DOCKER_COMMANDS.md
ohmydevops Jul 1, 2021
c861f5f
Update contributors section
ohmydevops Jul 1, 2021
9fe77d0
Update contributors section
ohmydevops Jul 8, 2021
5883ecf
Update subscriber counter
ohmydevops Jul 10, 2021
90cf06d
Increase space between emoji and text
ohmydevops Jul 10, 2021
0bb1d55
Update index.html
ohmydevops Jul 10, 2021
9eeeff2
Add archives (19, 20, 21, 22, 23)
ohmydevops Jul 10, 2021
5b4e14d
Remove unnecessary links
ohmydevops Jul 10, 2021
39873f4
Add robots.txt
ohmydevops Jul 10, 2021
389a5ec
Fix wrong dates (This is what happens when we just copy and paste)
ohmydevops Jul 10, 2021
67d6b2c
Remove unnecessary colon
ohmydevops Jul 10, 2021
9a9ff1a
Update issue templates
ohmydevops Jul 13, 2021
a0641b1
Update subscribers counter
ohmydevops Jul 13, 2021
762d487
Update contributors section
ohmydevops Jul 15, 2021
7c6b334
Create test-archive.yaml
ohmydevops Jul 16, 2021
3d63dad
Update test-archive.yaml
ohmydevops Jul 16, 2021
14147f8
Add archive automation (#272)
ohmydevops Jul 16, 2021
04c832a
Delete num24.html
ohmydevops Jul 17, 2021
1404805
Update subscribers counter
ohmydevops Jul 18, 2021
76016eb
Add files via upload
ohmydevops Jul 18, 2021
f347437
Delete screenshot.png
ohmydevops Jul 18, 2021
706e5f2
Add files via upload
ohmydevops Jul 18, 2021
60de8e9
Add YouTube link to README
ohmydevops Jul 18, 2021
9e4765f
Update README.md
ohmydevops Jul 18, 2021
e9931a1
Add emoji (Yesterday was a emoji day)
ohmydevops Jul 18, 2021
03f53db
Update README.md
ohmydevops Jul 18, 2021
f595d89
Update README.md
ohmydevops Jul 18, 2021
d753e2e
Add youtube video about newsletter
ohmydevops Jul 20, 2021
2b9c9a1
Update subscribers counter
ohmydevops Jul 21, 2021
79e9de0
Add Archive
ohmydevops Jul 22, 2021
982a313
Update contributors section + add archvie 24, 25
ohmydevops Jul 22, 2021
9b7df42
بهبود ساختار کد خبرنامه (#277)
ohmydevops Jul 22, 2021
209525b
Delete DOCKER_COMMANDS.md
ohmydevops Jul 22, 2021
b92ca13
More meaningful error
ohmydevops Jul 24, 2021
a0f1784
trying to survive :muscle:
ohmydevops Jul 25, 2021
22ed8eb
Add cover image to README.md
ohmydevops Jul 25, 2021
bf2f40a
Update README.md
ohmydevops Jul 25, 2021
110ad28
Remove comment section
ohmydevops Jul 25, 2021
278ff5e
Add send time to index.html
ohmydevops Jul 25, 2021
7a1bafd
Fix Dockerfile
ohmydevops Jul 25, 2021
5eba647
Update CNAME
ohmydevops Jul 25, 2021
8c72b1b
Update CNAME
ohmydevops Jul 25, 2021
2047c9f
به امید روزهای بهتر ...
ohmydevops Jul 28, 2021
a657ccf
Merge branch 'main' of github.com:softwaretalks/newsletter into main
ohmydevops Jul 28, 2021
7355ff3
به امید روزهای بهتر ... :black_heart:
ohmydevops Jul 28, 2021
421dc35
Update subscribers counter
ohmydevops Jul 29, 2021
7b95e5b
Add Archive
ohmydevops Jul 29, 2021
af09f70
Add archive (num 26)
ohmydevops Jul 29, 2021
92a7504
Update contributors section
ohmydevops Jul 29, 2021
d754f67
Fix statistics script
ohmydevops Jul 29, 2021
9122478
Reduce loading speed
ohmydevops Aug 1, 2021
12f380a
Add Archive
ohmydevops Aug 5, 2021
b73fcf7
Add archive (num 27)
ohmydevops Aug 5, 2021
994c0b0
Update contributors section
ohmydevops Aug 5, 2021
565a5e7
Add Archive
ohmydevops Aug 12, 2021
2c4bad5
Add archive (num 28)
ohmydevops Aug 13, 2021
f1234a3
Update contributors section
ohmydevops Aug 13, 2021
439e20a
--
ohmydevops Aug 26, 2021
92f76ec
Add Archive
ohmydevops Aug 26, 2021
6e8a0a6
Update contributors section
ohmydevops Aug 26, 2021
62d3239
Update subscribers counter
ohmydevops Aug 26, 2021
47d360f
Add archive (num 29)
ohmydevops Aug 26, 2021
5e5c843
Add Archive
ohmydevops Sep 3, 2021
fa1a6da
Add archive (num 30)
ohmydevops Sep 3, 2021
83d24e0
Update subscribers counter
ohmydevops Sep 3, 2021
8c87d5b
افزودن قالب ارسال ایمیل تیره - ویژ‌ه‌نامه کرونا (#322)
amirshnll Sep 16, 2021
5d728f2
Fix envs bug (TOP_CONTENT_HTML_DARK)
ohmydevops Sep 16, 2021
e4a6d30
Fix envs in github actions file (TOP_CONTENT_HTML_DARK)
ohmydevops Sep 16, 2021
07e22fe
enhance background color width
ohmydevops Sep 16, 2021
05df11e
--
ohmydevops Sep 16, 2021
dce5f50
Fix Semi-Space
ohmydevops Sep 16, 2021
c6d34c8
Fix dark theme for mail clients
ohmydevops Sep 17, 2021
6a58632
Add Archive
ohmydevops Sep 17, 2021
49b1f79
Add Archive
ohmydevops Sep 17, 2021
c3cba63
Update index.html (add archive 31)
ohmydevops Sep 19, 2021
0c4879e
Add Archive
ohmydevops Sep 24, 2021
b30088a
Add archive (num 32)
ohmydevops Sep 24, 2021
9c6f0cf
Update contributors section
ohmydevops Sep 26, 2021
8696193
بازطراحیِ جزئیِ لوگو (#330)
Sep 30, 2021
5bfa7ba
Add Archive
ohmydevops Oct 9, 2021
596c578
Add archive (num 35)
ohmydevops Oct 9, 2021
71be079
Add Archive
ohmydevops Oct 16, 2021
6aa1201
Add archive (num 36)
ohmydevops Oct 16, 2021
ed1e588
Update counter.php
ohmydevops Oct 30, 2021
1b76177
Add Archive
ohmydevops Oct 30, 2021
68d1cdc
Big update
ohmydevops Oct 30, 2021
8a26404
Update contributors section
ohmydevops Oct 30, 2021
5ddc9be
Feature/php8.0 (#353)
ohmydevops Nov 1, 2021
53cb609
Add Archive
ohmydevops Nov 6, 2021
09018b8
Add archive link (num 38)
ohmydevops Nov 6, 2021
9b98288
Update contributors section
ohmydevops Nov 6, 2021
584e7be
Fix/check-isProduction-env-from-outside-of-modules (#357)
ohmydevops Nov 6, 2021
c6b24b3
Add basic test for contributors section
ohmydevops Nov 6, 2021
9f2baaa
--
ohmydevops Nov 6, 2021
a23a0b6
change file name
ohmydevops Nov 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.idea/
.idea_modules/

**/vendor/**

.git
.github
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/CONTENT_CONTRIBUTE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: قالب مشارکت در تهیه محتوای خبرنامه
about: برای مشارکت در محتوای هفتگی خبرنامه، کافیست اطلاعات پست خود را وارد تمپلیت
کنید.
title: عنوان مطلب را اینجا نیز وارد کنید | ترجیحا فارسی
labels: content
assignees: Hameds, ohmydevops

---

##### نام و نام‌خانوادگی شما
userFullName: ""

##### عنوان محتوا
postTitle: ""

##### خلاصه‌ای حداکثر ۲ الی ۳ خطی درباره مضمون محتوا
postDescription: ""

##### لینک محتوا
postLink: ""
53 changes: 53 additions & 0 deletions .github/workflows/production.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: "♨️ Send email - Production"

on:
workflow_dispatch:

jobs:
send-email-for-all-users:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
tools: composer:v2

- name: Install Composer dependencies
run: |
cd src
composer install --no-progress --optimize-autoloader --quiet

- name: Import BOTTOM_CONTENT_HTML and TOP_CONTENT_HTML into env
shell: bash
run: |
cd src
echo "BOTTOM_CONTENT_HTML=$(cat BOTTOM_CONTENT_HTML.txt)" >> $GITHUB_ENV
echo "TOP_CONTENT_HTML=$(cat TOP_CONTENT_HTML.txt)" >> $GITHUB_ENV

- name: Run script
run: php src/send_newsletter.php
env:
PAKAT_SMTP_USERNAME: ${{ secrets.PAKAT_SMTP_USERNAME }}
PAKAT_SMTP_PASSWORD: ${{ secrets.PAKAT_SMTP_PASSWORD }}
PAKAT_API_KEY: ${{ secrets.PAKAT_API_KEY }}
BOTTOM_CONTENT_HTML: ${{ env.BOTTOM_CONTENT_HTML }}
TOP_CONTENT_HTML: ${{ env.TOP_CONTENT_HTML }}
SEND_ENV: "production"
IS_DARK: "false"

- name: Commit Archive file
run: |
git config --local user.email "[email protected]"
git config --local user.name "ohmydevops"
git add -A
git commit -m "Add Archive"

- name: Push Archive file
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
53 changes: 53 additions & 0 deletions .github/workflows/production_dark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: "♨️ Send email dark - Production"

on:
workflow_dispatch:

jobs:
send-email-for-all-users:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
tools: composer:v2

- name: Install Composer dependencies
run: |
cd src
composer install --no-progress --optimize-autoloader --quiet

- name: Import BOTTOM_CONTENT_HTML_DARK and TOP_CONTENT_HTML_DARK into env
shell: bash
run: |
cd src
echo "BOTTOM_CONTENT_HTML_DARK=$(cat BOTTOM_CONTENT_HTML_DARK.txt)" >> $GITHUB_ENV
echo "TOP_CONTENT_HTML_DARK=$(cat TOP_CONTENT_HTML_DARK.txt)" >> $GITHUB_ENV

- name: Run script
run: php src/send_newsletter.php
env:
PAKAT_SMTP_USERNAME: ${{ secrets.PAKAT_SMTP_USERNAME }}
PAKAT_SMTP_PASSWORD: ${{ secrets.PAKAT_SMTP_PASSWORD }}
PAKAT_API_KEY: ${{ secrets.PAKAT_API_KEY }}
BOTTOM_CONTENT_HTML_DARK: ${{ env.BOTTOM_CONTENT_HTML_DARK }}
TOP_CONTENT_HTML_DARK: ${{ env.TOP_CONTENT_HTML_DARK }}
SEND_ENV: "production"
IS_DARK: "true"

- name: Commit Archive file
run: |
git config --local user.email "[email protected]"
git config --local user.name "ohmydevops"
git add -A
git commit -m "Add Archive"

- name: Push Archive file
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
40 changes: 40 additions & 0 deletions .github/workflows/staging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "🍊 Send email - Test"

on:
workflow_dispatch:

jobs:
send-email-for-test-users:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
tools: composer:v2

- name: Install Composer dependencies
run: |
cd src
composer install --no-progress --optimize-autoloader --quiet

- name: Import BOTTOM_CONTENT_HTML and TOP_CONTENT_HTML into env
shell: bash
run: |
cd src
echo "BOTTOM_CONTENT_HTML=$(cat BOTTOM_CONTENT_HTML.txt)" >> $GITHUB_ENV
echo "TOP_CONTENT_HTML=$(cat TOP_CONTENT_HTML.txt)" >> $GITHUB_ENV

- name: Run script
run: php src/send_newsletter.php
env:
PAKAT_SMTP_USERNAME: ${{ secrets.PAKAT_SMTP_USERNAME }}
PAKAT_SMTP_PASSWORD: ${{ secrets.PAKAT_SMTP_PASSWORD }}
PAKAT_API_KEY: ${{ secrets.PAKAT_API_KEY }}
BOTTOM_CONTENT_HTML: ${{ env.BOTTOM_CONTENT_HTML }}
TOP_CONTENT_HTML: ${{ env.TOP_CONTENT_HTML }}
SEND_ENV: "test"
IS_DARK: "false"
40 changes: 40 additions & 0 deletions .github/workflows/staging_dark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "🍊 Send email dark - Test"

on:
workflow_dispatch:

jobs:
send-email-for-test-users:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
tools: composer:v2

- name: Install Composer dependencies
run: |
cd src
composer install --no-progress --optimize-autoloader --quiet

- name: Import BOTTOM_CONTENT_HTML_DARK and TOP_CONTENT_HTML_DARK into env
shell: bash
run: |
cd src
echo "BOTTOM_CONTENT_HTML_DARK=$(cat BOTTOM_CONTENT_HTML_DARK.txt)" >> $GITHUB_ENV
echo "TOP_CONTENT_HTML_DARK=$(cat TOP_CONTENT_HTML_DARK.txt)" >> $GITHUB_ENV

- name: Run script
run: php src/send_newsletter.php
env:
PAKAT_SMTP_USERNAME: ${{ secrets.PAKAT_SMTP_USERNAME }}
PAKAT_SMTP_PASSWORD: ${{ secrets.PAKAT_SMTP_PASSWORD }}
PAKAT_API_KEY: ${{ secrets.PAKAT_API_KEY }}
BOTTOM_CONTENT_HTML_DARK: ${{ env.BOTTOM_CONTENT_HTML_DARK }}
TOP_CONTENT_HTML_DARK: ${{ env.TOP_CONTENT_HTML_DARK }}
SEND_ENV: "test"
IS_DARK: "true"
40 changes: 2 additions & 38 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,11 @@
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
.idea/

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

Expand Down Expand Up @@ -70,4 +34,4 @@ fabric.properties
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

/vendor/
**/vendor/**
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
newsletter.softwaretalks.ir
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM php:8.0-cli-alpine

RUN apk add --update --no-cache zip libzip-dev icu-dev
RUN docker-php-ext-install zip
RUN docker-php-ext-install intl

RUN curl -sS https://getcomposer.org/installer | php -- --version=2.0.9 --install-dir=/usr/local/bin --filename=composer

COPY . /app/newsletter
WORKDIR /app/newsletter

RUN cd src && composer install

ENTRYPOINT ["php"]
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Software Talks

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
78 changes: 78 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
![♨️ Send email - Production](https://github.com/softwaretalks/newsletter/workflows/%E2%99%A8%EF%B8%8F%20Send%20email%20-%20Production/badge.svg)
<div dir='rtl'>

<div align="center">
<img src="https://raw.githubusercontent.com/softwaretalks/newsletter/main/images/SoftwareTalks.jpg" alt="cover">
</div>

ما مهندسایِ نرم‌افزار و علاقه‌مندانِ کامپیوتر هرازگاهی با مطالبِ جالبی برخورد می‌کنیم که می‌تونه به دردِ بقیه هم بخوره. **خبرنامهٔ نرم‌افزاریِ SoftwareTalks** جایی برای اشتراکِ این مطالبه. در حال حاضر هر پنجشنبه خبرنامه ارسال میشود.

وبسایت خبرنامه: [مشاهده ↗️](https://newsletter.softwaretalks.ir)

آرشیو خبرنامه: [مشاهده ↗️](https://newsletter.softwaretalks.ir/#archive)

توضیحات فنی نحوه کارکردن خبرنامه: [مشاهده ↗️](https://virgool.io/@ohmydevops/%DA%86%D8%B1%D8%AE%D9%88%D9%86%D8%AF%D9%86-%D8%AE%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87-softwaretalks-%D8%A8%D8%A7-%DA%AF%DB%8C%D8%AA%D9%87%D8%A7%D8%A8-mgq8ktpi561g)

---

در ویدیوی پایین، درباره چرایی ایجاد خبرنامه صحبت کردیم. همچنین اگر تا‌به‌حال تجربه استفاده از گیتهاب را نداشته‌اید، نحوه مشارکت در محتوای خبرنامه رو توضیح دادیم. برای تماشا ویدیو روی تصویر زیر کلیک کنید:

<div align="center">
<a target='_blank' href="https://youtu.be/H17FfYRCaRE"><img src="https://raw.githubusercontent.com/softwaretalks/newsletter/main/screenshot.png" alt="Youtube cover"></a>
</div>

## مشارکت‌کنندگان به ترتیب تعداد پست‌های ارسالی

برای مشاهده تعداد پست‌های هر کاربر، کافیست که ماوس :computer_mouse: یا موشواره :mouse: خود را روی تصویر مربوطه نگه‌دارید.

<a href='https://github.com/ohmydevops'><img src='https://avatars.githubusercontent.com/u/21690865?v=4&s=50' width='50' alt='ohmydevops' title='50'></a>
<a href='https://github.com/Hameds'><img src='https://avatars.githubusercontent.com/u/1385656?v=4&s=50' width='50' alt='Hameds' title='35'></a>
<a href='https://github.com/hassan-shahbazi'><img src='https://avatars.githubusercontent.com/u/11143939?v=4&s=50' width='50' alt='hassan-shahbazi' title='20'></a>
<a href='https://github.com/amirshnll'><img src='https://avatars.githubusercontent.com/u/30009591?v=4&s=50' width='50' alt='amirshnll' title='19'></a>
<a href='https://github.com/Rahmanism'><img src='https://avatars.githubusercontent.com/u/3217094?v=4&s=50' width='50' alt='Rahmanism' title='10'></a>
<a href='https://github.com/ghost'><img src='https://avatars.githubusercontent.com/u/10137?v=4&s=50' width='50' alt='ghost' title='8'></a>
<a href='https://github.com/mokarchi'><img src='https://avatars.githubusercontent.com/u/40722257?v=4&s=50' width='50' alt='mokarchi' title='6'></a>
<a href='https://github.com/royapakzad'><img src='https://avatars.githubusercontent.com/u/17077104?v=4&s=50' width='50' alt='royapakzad' title='6'></a>
<a href='https://github.com/alinaseri07'><img src='https://avatars.githubusercontent.com/u/9638804?v=4&s=50' width='50' alt='alinaseri07' title='5'></a>
<a href='https://github.com/AliKarbasiCom'><img src='https://avatars.githubusercontent.com/u/32021321?v=4&s=50' width='50' alt='AliKarbasiCom' title='4'></a>
<a href='https://github.com/ariaieboy'><img src='https://avatars.githubusercontent.com/u/15873972?v=4&s=50' width='50' alt='ariaieboy' title='4'></a>
<a href='https://github.com/vahidfathi'><img src='https://avatars.githubusercontent.com/u/26998056?v=4&s=50' width='50' alt='vahidfathi' title='4'></a>
<a href='https://github.com/afzouni'><img src='https://avatars.githubusercontent.com/u/7107254?v=4&s=50' width='50' alt='afzouni' title='4'></a>
<a href='https://github.com/ashkanRmk'><img src='https://avatars.githubusercontent.com/u/19786593?v=4&s=50' width='50' alt='ashkanRmk' title='4'></a>
<a href='https://github.com/pykello'><img src='https://avatars.githubusercontent.com/u/628106?v=4&s=50' width='50' alt='pykello' title='3'></a>
<a href='https://github.com/s-alielyasi'><img src='https://avatars.githubusercontent.com/u/45078910?v=4&s=50' width='50' alt='s-alielyasi' title='3'></a>
<a href='https://github.com/VahidNaderi'><img src='https://avatars.githubusercontent.com/u/3517756?v=4&s=50' width='50' alt='VahidNaderi' title='3'></a>
<a href='https://github.com/SirwanAfifi'><img src='https://avatars.githubusercontent.com/u/5256416?v=4&s=50' width='50' alt='SirwanAfifi' title='3'></a>
<a href='https://github.com/mahdiAkhi'><img src='https://avatars.githubusercontent.com/u/63173352?v=4&s=50' width='50' alt='mahdiAkhi' title='2'></a>
<a href='https://github.com/anvaari'><img src='https://avatars.githubusercontent.com/u/39170783?v=4&s=50' width='50' alt='anvaari' title='2'></a>
<a href='https://github.com/numb95'><img src='https://avatars.githubusercontent.com/u/1831847?v=4&s=50' width='50' alt='numb95' title='2'></a>
<a href='https://github.com/DearRude'><img src='https://avatars.githubusercontent.com/u/30749142?v=4&s=50' width='50' alt='DearRude' title='2'></a>
<a href='https://github.com/kokabi1365'><img src='https://avatars.githubusercontent.com/u/44271870?v=4&s=50' width='50' alt='kokabi1365' title='2'></a>
<a href='https://github.com/irnb'><img src='https://avatars.githubusercontent.com/u/41897852?v=4&s=50' width='50' alt='irnb' title='2'></a>
<a href='https://github.com/asadise'><img src='https://avatars.githubusercontent.com/u/21277743?v=4&s=50' width='50' alt='asadise' title='2'></a>
<a href='https://github.com/amirmojiry'><img src='https://avatars.githubusercontent.com/u/15340704?v=4&s=50' width='50' alt='amirmojiry' title='2'></a>
<a href='https://github.com/omidpakdel'><img src='https://avatars.githubusercontent.com/u/44576068?v=4&s=50' width='50' alt='omidpakdel' title='1'></a>
<a href='https://github.com/majidganji'><img src='https://avatars.githubusercontent.com/u/14252202?v=4&s=50' width='50' alt='majidganji' title='1'></a>
<a href='https://github.com/slashsbin'><img src='https://avatars.githubusercontent.com/u/1018207?v=4&s=50' width='50' alt='slashsbin' title='1'></a>
<a href='https://github.com/Aliiior'><img src='https://avatars.githubusercontent.com/u/68147016?v=4&s=50' width='50' alt='Aliiior' title='1'></a>
<a href='https://github.com/Mvahedii'><img src='https://avatars.githubusercontent.com/u/43504442?v=4&s=50' width='50' alt='Mvahedii' title='1'></a>
<a href='https://github.com/hhosseinioun'><img src='https://avatars.githubusercontent.com/u/652403?v=4&s=50' width='50' alt='hhosseinioun' title='1'></a>
<a href='https://github.com/mayazdi'><img src='https://avatars.githubusercontent.com/u/37179598?v=4&s=50' width='50' alt='mayazdi' title='1'></a>
<a href='https://github.com/hamedsj'><img src='https://avatars.githubusercontent.com/u/17751865?v=4&s=50' width='50' alt='hamedsj' title='1'></a>
<a href='https://github.com/Gnkalk'><img src='https://avatars.githubusercontent.com/u/74614163?v=4&s=50' width='50' alt='Gnkalk' title='1'></a>
<a href='https://github.com/mohas'><img src='https://avatars.githubusercontent.com/u/1816728?v=4&s=50' width='50' alt='mohas' title='1'></a>
<a href='https://github.com/Cinorid'><img src='https://avatars.githubusercontent.com/u/10947730?v=4&s=50' width='50' alt='Cinorid' title='1'></a>
<a href='https://github.com/ShakibHabibi'><img src='https://avatars.githubusercontent.com/u/21985865?v=4&s=50' width='50' alt='ShakibHabibi' title='1'></a>
<a href='https://github.com/alirezasalehizadeh'><img src='https://avatars.githubusercontent.com/u/66994089?v=4&s=50' width='50' alt='alirezasalehizadeh' title='1'></a>
<a href='https://github.com/itshaadi'><img src='https://avatars.githubusercontent.com/u/10201704?v=4&s=50' width='50' alt='itshaadi' title='1'></a>
<a href='https://github.com/vghaderi'><img src='https://avatars.githubusercontent.com/u/18378689?v=4&s=50' width='50' alt='vghaderi' title='1'></a>
<a href='https://github.com/iamvee'><img src='https://avatars.githubusercontent.com/u/14985408?v=4&s=50' width='50' alt='iamvee' title='1'></a>
<a href='https://github.com/xhdix'><img src='https://avatars.githubusercontent.com/u/12384263?v=4&s=50' width='50' alt='xhdix' title='1'></a>
<a href='https://github.com/markpash'><img src='https://avatars.githubusercontent.com/u/6353129?v=4&s=50' width='50' alt='markpash' title='1'></a>
<a href='https://github.com/rashid2003'><img src='https://avatars.githubusercontent.com/u/31435017?v=4&s=50' width='50' alt='rashid2003' title='1'></a>
<a href='https://github.com/hnaseri1990'><img src='https://avatars.githubusercontent.com/u/30145970?v=4&s=50' width='50' alt='hnaseri1990' title='1'></a>
<a href='https://github.com/mahdithejedi'><img src='https://avatars.githubusercontent.com/u/38344455?v=4&s=50' width='50' alt='mahdithejedi' title='1'></a>
<a href='https://github.com/mrmmg'><img src='https://avatars.githubusercontent.com/u/30490118?v=4&s=50' width='50' alt='mrmmg' title='1'></a>
<a href='https://github.com/m2-farzan'><img src='https://avatars.githubusercontent.com/u/26688819?v=4&s=50' width='50' alt='m2-farzan' title='1'></a>

</div>
Loading