Skip to content

Commit

Permalink
Patch 6 (#3)
Browse files Browse the repository at this point in the history
* Code clean-up with the audio controller.
Remove the unitended declaration of global variables.

* Refactor audio_controller in  object  namespace style.
Backward compatibility is kept.

* Fixes HugoFara#138: changing audio speed was partially broken.

* Replaces calls to global audio functions by the new object.
Removes the undocumented audio functions.

* Avoid unnecessary function return type.

* Fixes "text_id is unkown" on text opening.

* Fixes warning on step 2 of feed wizard (related to HugoFara#129)

* Reorders functions to be in logical declaration order.

* Code cleaning.

* Refactoring jq_feedwizard as object namespace.

* Synctactic sugar on jq_feedwizard.js.

* Adds an helper object to avoid one-line JS.

* Prettyfies JS code.

* Isolates JS code in feed wizard step 3.

* Use json_encode to avoid PHP incursion in JS code.
Code prettyfying.

* Beautify JS and avoid calls to deprecated functions.

* Fixes JS errors on feeds: xPath was not set, and it was sometimes leave step 2.

* Beautifies demo DB as the users has the right to see what they install.

* Fix: the demo database was unreadable since last commit.
restore_file is much better at parsing SQL.

* Stop reading demo on errors, syntactic suger.

* Better detection of file end not read.

* Changes WoStatusChange to a value that doesn't need configuration change (HugoFara#78).

* Implementes HugoFara#148: removes dead feeds from demo database.

* Fixes a bug introduced in a previous commit.
Signalled by  @ProgramComputer.

* Fixes HugoFara#151: click delete on a language deletes the language.

* Multi-image docker

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* Update docker-image.yml

* future php platforms

* less vulnerabilities for larger size

* Lwt is accessed at /lwt/

https://hugofara.github.io/lwt/docs/info.html#install

---------

Co-authored-by: HugoFara <[email protected]>
  • Loading branch information
ProgramComputer and HugoFara authored Dec 30, 2023
1 parent 803250b commit 23db881
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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
Expand Down

0 comments on commit 23db881

Please sign in to comment.