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

LWT 2.0 #4

Open
wants to merge 601 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
601 commits
Select commit Hold shift + click to select a range
2b183d8
Version 1.6.0 (27-Jan-2016 22:29)
Jan 27, 2016
f3fc6c5
Version 1.6.0 (28-Jan-2016 12:03)
Jan 28, 2016
da816ab
Version 1.6.0 (28-Jan-2016 12:03)
Jan 28, 2016
d2e9f83
Version 1.6.0 (28-Jan-2016 12:38)
Jan 28, 2016
01af49e
Version 1.6.0 (28-Jan-2016 13:34)
Jan 28, 2016
8e1c7df
Version 1.6.0 PUBLISHED
Jan 28, 2016
8103318
Version 1.6.1 (29-Jan-2016 13:05)
Jan 29, 2016
4e6cf2c
Version 1.6.1 (29-Jan-2016 15:16)
Jan 29, 2016
d5e634d
Version 1.6.1 PUBLISHED
Feb 1, 2016
53c4323
v1.6.25: last upload corrected
andreask7 Feb 1, 2016
9e59547
v1.6.26: Some bugfixes: errors when emptying db and installing Demo d…
andreask7 Feb 9, 2016
e9934bb
v1.6.26: Some bugfixes: Demo Database updated, mysqli changes from or…
andreask7 Feb 11, 2016
f0078ed
v1.6.26: fixed error in demo db
andreask7 Feb 12, 2016
5fc2d48
v1.6.26: fixed error in demo db
andreask7 Feb 12, 2016
2fbbaed
v1.6.26: bugfix Sentence delimiter shown as word
andreask7 Feb 12, 2016
7cab202
v1.6.27: Bugfix: DB backup/import errors.
andreask7 Feb 21, 2016
5c1dd0f
v1.6.28: DB collation check added.
andreask7 Apr 7, 2016
e71dfce
v1.6.28: bugfix added unicode modifier to ajax_check_regexp
andreask7 Apr 7, 2016
b64a5b0
v1.6.28: bugfix: escaping '\' in function convert_regexp_to_sqlsyntax()
andreask7 Apr 8, 2016
ff788bf
v1.6.28: bugfix: escaping '\' in function convert_regexp_to_sqlsyntax()
andreask7 Apr 8, 2016
476a2cc
Merge branch 'master' of github.com:andreask7/lwt
andreask7 Apr 8, 2016
b34a2e5
v1.6.28: correct last commit
andreask7 Apr 8, 2016
bfea044
Bugfix: Negative/uncorrect WordCount in 'edit_texts_php'.
andreask7 Apr 12, 2016
c069a68
v1.6.29: Bugfix: ggl.php API doesn't work (Token generation fixed).
andreask7 Apr 21, 2016
6ec40a6
1.6.30 (July 28 2016):Bugfix: google translate API updated.
andreask7 Jul 28, 2016
841b41d
1.6.31 (October 03 2016): Bugfix: Multibyte character parsing fixed (…
andreask7 Oct 3, 2016
b83f87d
remove trailing spaces
pirtleshell Jan 16, 2017
ed92be2
add showlearningtranslations setting
pirtleshell Jan 16, 2017
45504c0
minify jq_pgm
pirtleshell Jan 16, 2017
b7088a7
remove more trailing space
pirtleshell Jan 16, 2017
01e7d69
setting hides/shows translation in reading frame
pirtleshell Jan 16, 2017
78489a6
plugins folder in gitignore
pirtleshell Jan 14, 2017
8e8710c
remove trailing spaces
pirtleshell Jan 16, 2017
4e3b73b
fetch text info from youtube video id
pirtleshell Jan 14, 2017
53dfc2a
markdown readme
pirtleshell Jan 16, 2017
b6bc3ff
fix typeError in google translate class (#1)
dhassanali Apr 8, 2018
e0ba996
add Dockerfile, docker-compose file, update README.md with instructio…
Apr 26, 2021
3f15073
use MAMP by default
chaosarium Jun 18, 2021
3066d26
disable dictionary url check
chaosarium Jun 18, 2021
2c5f553
fix bulk translate when translator is not google translate
chaosarium Jun 18, 2021
8a31895
add custom css
chaosarium Jun 18, 2021
4e8855f
update css
chaosarium Jun 18, 2021
ccb021c
use MAMP
chaosarium Jun 18, 2021
ae2d8f1
update readme
chaosarium Jun 18, 2021
3feac84
make frame thinner
chaosarium Jul 9, 2021
4f6da17
update style
chaosarium Jul 9, 2021
a6d32c4
remove broken tts
chaosarium Jul 24, 2021
c7ec8be
expand jq_pgm file for modification
chaosarium Aug 10, 2021
bed0689
apply log scale to status distribution chart
chaosarium Aug 10, 2021
c1398e8
clean up unused function
chaosarium Aug 10, 2021
ba1af8f
make cagalogue table bigger
chaosarium Aug 10, 2021
a1def9b
add known percent to table
chaosarium Aug 10, 2021
05574b5
clean up unused function
chaosarium Aug 10, 2021
59484ee
bring back unknown percent to table
chaosarium Aug 10, 2021
e4aeaed
fix decimal places for unknown percent
chaosarium Aug 10, 2021
fa99b47
Japanese with MeCaB is now clearly shown.
HugoFara Oct 31, 2021
a9db4be
Starting to document the code.
HugoFara Oct 31, 2021
8038741
Wrong documentation folder for GitHub Pages.
HugoFara Oct 31, 2021
879afbb
FIXED CRITICAL. Beginning of text-to-speech.
HugoFara Nov 1, 2021
34d136b
Text-to-speech is live!
HugoFara Nov 1, 2021
77613bd
Merge commit 'c9484ff41b9f267a5f8df34c9db42b5c380b83b1' into merge.
HugoFara Nov 3, 2021
020fcd4
Merge commit '0eeecba479035b0267586a7a18c1a20837cc119b' into merge
HugoFara Nov 3, 2021
b52d919
Merge commit 'ddcfa5c2127826a3b4201a5284308bf4b29f18e7' into merge
HugoFara Nov 3, 2021
ee56568
Merge commit '2946315d68beac7e5785828ff7140da3a6c51a2a' into merge.
HugoFara Nov 3, 2021
81b866c
Merge branch 'master' into merge.
HugoFara Nov 3, 2021
2d73702
Version 1.6.2 PUBLISHED
HugoFara Nov 3, 2021
8d1fe61
Version 1.6.3 PUBLISHED.
HugoFara Nov 3, 2021
e245876
Version 2.0.0 PUBLISHED.
HugoFara Nov 3, 2021
70f8229
Version 2.0.1 PUBLISHED
HugoFara Nov 3, 2021
07e3380
Version 2.0.2 PUBLISHED.
HugoFara Nov 4, 2021
24c91fe
Fixed issues in japanse parsing and sound bar.
HugoFara Nov 4, 2021
1a55f42
ERRORED! Merge branch 'official' into merge.
HugoFara Nov 6, 2021
63b07e6
Fixed the JavaScript errors on reading texts from last commit.
HugoFara Nov 6, 2021
f49e595
Simplified a bit of code.
HugoFara Nov 6, 2021
a7ad7a8
Merge branch 'dev'.
HugoFara Nov 6, 2021
9523b07
Integrating Composer
HugoFara Nov 6, 2021
ebfcd56
Automatic PHP code linting with PHP Codesniffer.
HugoFara Nov 6, 2021
b07e961
JavaScript linting.
HugoFara Nov 6, 2021
a563631
Merge branch 'master' into dev
HugoFara Nov 6, 2021
ab9810b
Mobile detect integrated by composer.
HugoFara Nov 6, 2021
d8bf488
Update issue templates
HugoFara Nov 7, 2021
df58e41
commonmark for Markdown→HTML automatic conversion.
HugoFara Nov 8, 2021
1420f0a
New iteration of PHP code sniffing.
HugoFara Nov 8, 2021
e7c76d6
Wrong link! ingo.php moved to info.php.
HugoFara Nov 8, 2021
ebf2fdb
Bug fixe about japanese parsing.
HugoFara Nov 8, 2021
9992e08
Added video player!
HugoFara Nov 9, 2021
25e8454
Primitive Makefile and automatic documentation.
HugoFara Nov 10, 2021
9955254
Important code refactor.
HugoFara Nov 10, 2021
9cadb5e
Second layer of files architecture refactor.
HugoFara Nov 10, 2021
ec9cb27
README reviewed and removed unlicense header.
HugoFara Nov 10, 2021
40184e0
Fixed do_text_header.php and select_lang_pair.
HugoFara Nov 10, 2021
eb6524c
Security check with psalm.
HugoFara Nov 12, 2021
5a2ffbd
Print link to GitHub when crashing.
HugoFara Nov 12, 2021
a93154d
Basic test suite with PHPUnit and composer.
HugoFara Nov 14, 2021
0310f31
Fixed bad identation in PHP Composer Action.
HugoFara Nov 14, 2021
7e1a2aa
Fixed: main menu not working.
HugoFara Nov 14, 2021
f1216c2
Synchronizing files between src/ and used versions
HugoFara Nov 14, 2021
7a0be94
Regenerated minified files.
HugoFara Nov 14, 2021
617d394
Fixed wrong version of jq_pgm.js.
HugoFara Nov 14, 2021
fbdc372
Code linting.
HugoFara Nov 14, 2021
7ccb333
Fixed links: Mobile_Detect.php and countuptimer.js
HugoFara Nov 14, 2021
159ea53
Moved AJAX.PHP file (broken commit) to inc/
HugoFara Nov 16, 2021
1feb495
Repared AJAX requests, moved Mobile Detect link.
HugoFara Nov 16, 2021
94d8198
Various bug fixes.
HugoFara Nov 24, 2021
d52e01c
Refactors: functions instead of imperative style!
HugoFara Nov 24, 2021
fc4f2ee
Continued refactoring to functionnal programming.
HugoFara Nov 25, 2021
6e2ea27
Official version 2.0.3-fork!
HugoFara Nov 26, 2021
e32ce9b
Improved composer integration, docs updated.
HugoFara Nov 28, 2021
b9755ae
Corrected small mistakes from last commit.
HugoFara Nov 29, 2021
3f102f4
Do no loger use frames when reading text.
HugoFara Nov 29, 2021
9bd790e
Do no longer use frames when reading text.
HugoFara Nov 29, 2021
cc0b931
Merge branch 'dev' of https://github.com/HugoFara/lwt-fork into dev
HugoFara Nov 29, 2021
5a6f8fe
Fixed critical: words could no longer be saved.
HugoFara Dec 1, 2021
07f0ddc
Fixed critical: unable to save words.
HugoFara Dec 1, 2021
fb7c269
New layer of PHP code linting.
HugoFara Dec 1, 2021
ac2c5ec
Fixed: display issue when editing word.
HugoFara Dec 3, 2021
64ebad5
Official version 2.0.4-fork!
HugoFara Dec 3, 2021
3747e50
Refactored test header.
HugoFara Dec 7, 2021
59df211
PHP/HTML rewrite for tests.
HugoFara Dec 13, 2021
13d8aad
End of PHP refactor in do_test_test.php.
HugoFara Jan 1, 2022
5afbb8a
Better CSS minification.
HugoFara Jan 1, 2022
1881fb4
First layer of psaml error fixed.
HugoFara Jan 2, 2022
8ee7859
Second layer of psalm corrections.
HugoFara Jan 4, 2022
16507f9
Fixing GHActions issues.
HugoFara Jan 4, 2022
5df5d28
Windows in GitHub Actions.
HugoFara Jan 4, 2022
5d656bd
Trying to fix actions errors.
HugoFara Jan 4, 2022
3476465
Try to fix workflows again.
HugoFara Jan 4, 2022
3653d1c
PHP composer last fix.
HugoFara Jan 4, 2022
723b42a
Effectively dropping support for PHP <=5.
HugoFara Jan 5, 2022
800c795
Auto-type documentation using psalm.
HugoFara Jan 6, 2022
0ce087a
Regenerated documentation and minified scripts.
HugoFara Jan 6, 2022
37943a9
When reading, right frames hidden by default.
HugoFara Jan 8, 2022
9099a61
Dirty-fixed the ruby not properly shown/hidden
HugoFara Jan 9, 2022
dc1e765
Tried fixing broken composer.json changelog update
HugoFara Jan 9, 2022
3e55d45
composer.json fixed?
HugoFara Jan 9, 2022
e02ff0c
composer.json should have been be fixed.
HugoFara Jan 9, 2022
d9fa4c8
Beautified feed_wizard, fixed composer.json.
HugoFara Jan 9, 2022
87bf857
Fixed the show all/show learning check boxes.
HugoFara Jan 9, 2022
f3a5772
Documentation updated and regenerated.
HugoFara Jan 9, 2022
ecb5ced
Corrected some issues in the CHANGELOG
HugoFara Jan 9, 2022
49e18a1
Install tutorial was WRONG!
HugoFara Jan 10, 2022
765b2dc
Refactors and style changes. A bit of doc review.
HugoFara Jan 12, 2022
7a693f5
Refactored do_test* without frames.
HugoFara Jan 12, 2022
a9d7982
Preparing sounds for tests.
HugoFara Jan 13, 2022
b56d956
Forgot to stage in last commit.
HugoFara Jan 13, 2022
822862d
Regenerated themes (but kept unchanged).
HugoFara Jan 13, 2022
101abe8
do_test_*.php now dependent on one-window system.
HugoFara Jan 13, 2022
ed5468e
Some image files were missing in from themes.
HugoFara Jan 13, 2022
7e084f9
Fixed test table.
HugoFara Jan 13, 2022
03ad811
Documentation reviews.
HugoFara Jan 16, 2022
9cdfe3a
Fix: It is easier to close the right frames.
HugoFara Jan 24, 2022
e753c03
Fix: JS changes were not committed.
HugoFara Jan 25, 2022
6c2b109
Reviewed/documented .gitignore.
HugoFara Jan 25, 2022
dcc8c8d
Regenerated documentation.
HugoFara Jan 25, 2022
6e5e369
Reduced mobile use. Refactored diplay_impr_text.
HugoFara Jan 26, 2022
523a220
Second layer of refactoring in display_impr_text*
HugoFara Jan 27, 2022
efdb850
Better database queries and fixes.
HugoFara Jan 29, 2022
bd7f07b
Fixed: some JS code was still using frames.
HugoFara Feb 3, 2022
12dda7d
Expanded documentation.
HugoFara Feb 3, 2022
baa83bc
Enhanced design for index.php (not finished yet)
HugoFara Feb 3, 2022
0ca8964
index.php, docs/info.* are now beautiful.
HugoFara Feb 4, 2022
f1ee8f1
Well better semantic in info.php.
HugoFara Feb 4, 2022
60a3ada
Export template integrated. Doc in index.php.
HugoFara Feb 4, 2022
3e3a91d
Fixed: impossible to read, last text not shown.
HugoFara Feb 4, 2022
e7b115b
Eliminated floating menu from everywhere.
HugoFara Feb 4, 2022
939a448
New style for Doxygen and regenerated docs.
HugoFara Feb 4, 2022
ca0e62f
Reviewing dependencies.
HugoFara Feb 5, 2022
c5176af
Style enforcement in CHANGELOG and install.md.
HugoFara Feb 5, 2022
c951458
Fixed: do_text.php?text= was errored.
HugoFara Feb 5, 2022
1774d53
Deleted component folder (unused).
HugoFara Feb 5, 2022
0d34c42
Fixed: long text were very laggy (recursive span).
HugoFara Feb 7, 2022
081699f
Expanded preface with HugoFara, fixed install.md
HugoFara Feb 7, 2022
b3e33e6
Changed Composer CI cache key, PHP 8.0 added.
HugoFara Feb 7, 2022
067e157
No testing of PHP 8.0, new attempt to clear cache.
HugoFara Feb 7, 2022
d93d7aa
jquery.tagit.css was not properly minified.
HugoFara Feb 7, 2022
f7b2d25
Replaced some deprecated jQuery functions.
HugoFara Feb 7, 2022
ee2c79b
Version 2.2.1.
HugoFara Feb 7, 2022
2a6a656
Merge pull request #15 from HugoFara/dev
HugoFara Feb 7, 2022
45284de
Adding a contribute.md file to help contributors.
HugoFara Feb 8, 2022
d074e05
Added: section for contibuting on PHP code.
HugoFara Feb 9, 2022
4e27ccd
Refactored and corrected AJAX files.
HugoFara Feb 9, 2022
f03e64f
Encapsulated and documented all AJAX PHP files.
HugoFara Feb 9, 2022
07a4e8e
Language displayed instead of [L2] was random.
HugoFara Feb 12, 2022
990d064
$fixed_tbpref undefined, PHP <7.4 compatibility.
HugoFara Feb 12, 2022
cf6e376
jQuery events changes. Fixed bulk_translate.
HugoFara Feb 13, 2022
fe19ebd
Changed last uses of deprecated jQuery functions.
HugoFara Feb 13, 2022
ec565d8
Fixed: audio player was showing at page's end.
HugoFara Feb 13, 2022
7a9f004
Repared images in themes. Some minor theme fixes.
HugoFara Feb 13, 2022
d995895
Deprecated functions in do_text_text.php
HugoFara Feb 13, 2022
6ac6418
Version 2.2.2-fork bump.
HugoFara Feb 13, 2022
a191519
Merge branch 'dev'
HugoFara Feb 13, 2022
6244c41
Composer: updated, new scripts, extensions asked.
HugoFara Feb 26, 2022
6724f39
experimental implementation of tts in text reader
chaosarium Feb 27, 2022
75f5ab3
add my theme
chaosarium Feb 27, 2022
31f7c22
fix duplicate line
chaosarium Feb 27, 2022
b104d89
oops didn't create tts button for all words
chaosarium Feb 27, 2022
4a57698
Transcripted Makefile commands to Composer.
HugoFara Mar 9, 2022
4160f60
Added Docker (clean merge).
HugoFara Mar 14, 2022
9c1329d
Better integration of Docker (unfinished).
HugoFara Mar 14, 2022
e809514
Moving Docker files (broken commit)
HugoFara Mar 14, 2022
db8a451
Repraired Docker files after renamming.
HugoFara Mar 14, 2022
f2471a3
Updated changelog for Docker.
HugoFara Mar 14, 2022
039cd42
Added Docker (Merge branch 'm-cote-mine' into dev)
HugoFara Mar 14, 2022
05b306b
Fixes regarding database creation.
HugoFara Mar 15, 2022
2e7d2a8
Fixing Windows build on GitHub.
HugoFara Mar 16, 2022
8c20af5
Merge branch 'dev': added Docker and Composer yelling for extensions.
HugoFara Mar 16, 2022
84c106e
Regenerated documentation.
HugoFara Mar 16, 2022
246e716
Merge branch 'dev' of https://github.com/chaosarium/lwt into chaosari…
HugoFara Mar 16, 2022
5f10d44
Moved the play audio icon.
HugoFara Mar 16, 2022
c5578e4
Updated minfied version of chaosarium's theme.
HugoFara Mar 16, 2022
b0ba272
JS goes in one file for caching and devs.
HugoFara Mar 20, 2022
499933c
Restauring CSS for feed wizard.
HugoFara Mar 20, 2022
0e5f569
Reformatting feed wizard functionally.
HugoFara Mar 20, 2022
24efe9f
Starting new TTS system.
HugoFara Mar 26, 2022
6208b26
Merge branch 'chaosarium-dev' into dev.
HugoFara Mar 26, 2022
c654ca5
Moved the icon to read a word.
HugoFara Apr 6, 2022
2102a67
TTS settings working on user's side, but unsaved.
HugoFara Apr 6, 2022
1c04000
Composer dependencies update.
HugoFara Apr 6, 2022
e5c3a6d
Server integration of TTS Settings in database.
HugoFara Apr 13, 2022
36d217a
TTS settings saved as cookies with PHP.
HugoFara Apr 14, 2022
e529d57
Text-to-speech settings functional with cookies.
HugoFara Apr 14, 2022
84308f4
Text-to-speech settings officially implemented.
HugoFara Apr 15, 2022
bb4d555
Renamed tts.php to text_to_speech_settings.php.
HugoFara Apr 15, 2022
48d1d4f
Fixing last commit and code linting for TTS.
HugoFara Apr 15, 2022
880bd93
Refactored all_words_wellknown and corrected it.
HugoFara Apr 15, 2022
72d3df6
Finished the all_words_wellknown refactoring.
HugoFara Apr 16, 2022
08efc10
Merge branch 'dev' (say any word + fixed "I know all" bug).
HugoFara Apr 16, 2022
f392320
Regenerated documentation.
HugoFara Apr 16, 2022
58d3d43
Refactor in edit_texts.php without behavior change
HugoFara Apr 16, 2022
5d709ae
Use of local files as videos now possible.
HugoFara Apr 19, 2022
9da2020
Switching from Make to Composer.
HugoFara Apr 19, 2022
01d669d
Merge branch 'dev': local video support.
HugoFara Apr 19, 2022
3b8c049
Regenerated documentation.
HugoFara Apr 19, 2022
aa5b0a2
Second layer of refactoring for edit_texts.php.
HugoFara Apr 20, 2022
a9f8909
Refactoring: no more globals in edit_texts.php.
HugoFara Apr 20, 2022
629bec8
Fixed the "1 word not displayed" issue.
HugoFara Apr 22, 2022
4e0b171
GitHub issues link in CHANGELOG.
HugoFara Apr 22, 2022
332242c
Merge branch 'dev': "1 word known not displayed" error fix.
HugoFara Apr 22, 2022
25e0fbf
Regenerated documentation.
HugoFara Apr 22, 2022
af7a1fa
Fixed the "tags break texts" issue (#12).
HugoFara Apr 24, 2022
0c5c504
Fixed a small bug erasing status 0 abbreviation.
HugoFara Apr 24, 2022
989bdc1
Linting and documentation in edit_texts.php.
HugoFara Apr 24, 2022
63e0692
Small code linting for IDE.
HugoFara Apr 24, 2022
e19db63
No more quirk modes in LWT.
HugoFara Apr 24, 2022
b5c97ef
Release 2.3.0.
HugoFara Apr 24, 2022
d58fd6e
Merge branch 'dev': fixed #12, no quirks mode, abbr not defined.
HugoFara Apr 24, 2022
5668058
Regenerated documentation.
HugoFara Apr 24, 2022
5f6562f
Forgot to add the version 2.3.0 to the code.
HugoFara Apr 25, 2022
8c26e70
Merge branch 'dev': forgot to push new version.
HugoFara Apr 25, 2022
fda2eb2
Merge branch 'master' into hans
HugoFara Apr 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Folder that shoud not be included in the image
.github/*
docker/*
docs/*

*.md
.dockerignore
.git
.gitignore
Doxyfile
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DB_HOSTNAME=localhost
DB_USER=root
DB_PASSWORD=abcxyz
DB_DATABASE=learning-with-texts
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
47 changes: 47 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Composer CI

on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]

jobs:
build:

runs-on: ${{ matrix.config.os }}

strategy:
fail-fast: false
matrix:
config:
- os: ubuntu-latest
- os: windows-latest
php-version: [ '7.4' ]

steps:
- uses: actions/checkout@v2

- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, mysqli

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
# restore-keys: |
# ${{ runner.os }}-php-2-

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run test suite
run: composer run-script test
17 changes: 17 additions & 0 deletions .github/workflows/security_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Psalm Static analysis

on: [ push, pull_request ]

jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Psalm
uses: docker://vimeo/psalm-github-actions
with:
composer_require_dev: true
composer_ignore_platform_reqs: true
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
connect.inc.php
# Local audio files
media/
# Text-to-Speech files
tts/
_*
# For Mac Users
.DS_Store

# PHP debugging tools
error.log
access.log
plugins

# Backup files (Doxygen)
*.bak

/vendor/
.phpunit.result.cache

composer.phar

# Editor
.vscode
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM php:7.4-apache-buster

# creating config file php.ini
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" && \
echo 'mysqli.allow_local_infile = On' >> "$PHP_INI_DIR/php.ini"

RUN docker-php-ext-install pdo pdo_mysql mysqli

COPY . /var/www/html/

# creating connect.inc.php
ARG DB_HOSTNAME
ARG DB_USER
ARG DB_PASSWORD
ARG DB_DATABASE
RUN printf '<?php\n$server = "%s";\n$userid = "%s";\n$passwd = "%s";\n$dbname = "%s";\n?>' "$DB_HOSTNAME" "$DB_USER" "$DB_PASSWORD" "$DB_DATABASE" > /var/www/html/connect.inc.php
Loading