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

Patch 6 #4

Merged
merged 45 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
62de4d4
Code clean-up with the audio controller.
HugoFara Dec 27, 2023
ca0e899
Refactor audio_controller in object namespace style.
HugoFara Dec 27, 2023
6775029
Fixes #138: changing audio speed was partially broken.
HugoFara Dec 27, 2023
92c48c7
Replaces calls to global audio functions by the new object.
HugoFara Dec 27, 2023
7aaddd4
Avoid unnecessary function return type.
HugoFara Dec 27, 2023
70ce2a4
Partially solves #168: playback speed setting is back.
HugoFara Dec 27, 2023
cd261c9
Fixes "text_id is unkown" on text opening.
HugoFara Dec 27, 2023
06ae857
Fixes warning on step 2 of feed wizard (related to #129)
HugoFara Dec 27, 2023
cfc8513
Reorders functions to be in logical declaration order.
HugoFara Dec 27, 2023
8bed160
Code cleaning.
HugoFara Dec 27, 2023
d80f1a0
Refactoring jq_feedwizard as object namespace.
HugoFara Dec 27, 2023
085576f
Synctactic sugar on jq_feedwizard.js.
HugoFara Dec 27, 2023
7c557f3
Adds an helper object to avoid one-line JS.
HugoFara Dec 27, 2023
dc1d9c0
Prettyfies JS code.
HugoFara Dec 27, 2023
4951a79
Isolates JS code in feed wizard step 3.
HugoFara Dec 27, 2023
e7c12d3
Use json_encode to avoid PHP incursion in JS code.
HugoFara Dec 27, 2023
2af5b81
Beautify JS and avoid calls to deprecated functions.
HugoFara Dec 28, 2023
6350a90
Fixes JS errors on feeds: xPath was not set, and it was sometimes lea…
HugoFara Dec 28, 2023
0a36899
Fixes "unkown text_id" on opening a text to read, JS fixes to feed wi…
HugoFara Dec 28, 2023
ea73eea
Beautifies demo DB as the users has the right to see what they install.
HugoFara Dec 28, 2023
c84dfdf
Fix: the demo database was unreadable since last commit.
HugoFara Dec 28, 2023
b28b5e0
Stop reading demo on errors, syntactic suger.
HugoFara Dec 28, 2023
bc0d798
Better detection of file end not read.
HugoFara Dec 28, 2023
da0af44
Changes WoStatusChange to a value that doesn't need configuration cha…
HugoFara Dec 28, 2023
34c246e
Implementes #148: removes dead feeds from demo database.
HugoFara Dec 28, 2023
d246f05
Demo database fixes: beautify SQL file, stricter application of #78, …
HugoFara Dec 28, 2023
66401ac
Fixes a bug introduced in a previous commit.
HugoFara Dec 28, 2023
05afb1b
Fixes #151: click delete on a language deletes the language.
HugoFara Dec 28, 2023
16ea995
Terms review were broken in a preivous commit, fixes #151.
HugoFara Dec 28, 2023
b34a3fa
Multi-image docker
ProgramComputer Dec 29, 2023
f38ce34
Update docker-image.yml
ProgramComputer Dec 29, 2023
b9e1ab4
Update docker-image.yml
ProgramComputer Dec 29, 2023
604e97e
Update docker-image.yml
ProgramComputer Dec 29, 2023
129a8dc
Update docker-image.yml
ProgramComputer Dec 29, 2023
7758554
Update docker-image.yml
ProgramComputer Dec 29, 2023
73426f2
Update docker-image.yml
ProgramComputer Dec 29, 2023
a590abf
Update docker-image.yml
ProgramComputer Dec 29, 2023
e27d703
Update docker-image.yml
ProgramComputer Dec 29, 2023
f84a66c
Update docker-image.yml
ProgramComputer Dec 29, 2023
2fc5fab
Update docker-image.yml
ProgramComputer Dec 29, 2023
6c059dd
future php platforms
ProgramComputer Dec 30, 2023
e8af23b
less vulnerabilities for larger size
ProgramComputer Dec 30, 2023
f4db398
Lwt is accessed at /lwt/
ProgramComputer Dec 30, 2023
2167511
Merge branch 'master' into patch-6
ProgramComputer Dec 30, 2023
4040e83
Update Dockerfile
ProgramComputer Dec 30, 2023
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
4 changes: 4 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
platform:
- linux/amd64
- linux/386
- linux/arm/v5
- linux/arm/v7
- linux/arm64
- linux/mips64le
- linux/ppc64le
- linux/s390x
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM php:8.1-apache-buster
FROM php:8.1-apache-bullseye

# 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/
COPY . /var/www/html/lwt

# creating connect.inc.php
ARG DB_HOSTNAME=db
ARG DB_USER=root
ARG DB_PASSWORD=root
ARG DB_DATABASE=learning-with-texts
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
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/lwt/connect.inc.php
Loading