Force UTF-8 encoding in dictionary values
Fix "Malformed encoding" with some dictionaries with json_encode in view
|1 day ago|
|dev||5 days ago|
|src||1 day ago|
|.gitignore||5 days ago|
|.htmlnanorc||5 days ago|
|.postcssrc||2 days ago|
|README.md||5 days ago|
|ads.json||5 days ago|
|advertising.html||5 days ago|
|composer.json||2 months ago|
|composer.lock||2 months ago|
|manifest.webmanifest||5 days ago|
|offline.html||5 days ago|
|package.json||1 day ago|
|template-index.html||5 days ago|
|template-passwordreset.html||5 days ago|
|template-view.html||5 days ago|
|yarn.lock||1 day ago|
This is the light-as-possible rewrite of Lexiconga.
composer installto install dependencies.
src/structure.sqlinto a database called ‘lexiconga’ on your MariaDB server to get the database structure.
src/php/api/config.phpand update the values within to enable connections to your lexiconga database.
npm start bundles and watches frontend and backend changes. Set up a junction link to
dist from the root of your php-processing web server.
It’s less useful, but
npm run serve-frontend-only will bundle and serve only the front end stuff from
localhost:1234. The bundled files all still get bundled into
npm run bundle bundles and minifies the frontend stuff and also copies the backend stuff to
dist. Be sure to run
npm run clear to delete the contents of
.cache before using
npm run bundle to make sure you don’t get old dev versions of the bundled code included in your upload.
There is a script called
src/php/api/migrate.php.changeme that can be used to help with the migration process from a
version1 Lexiconga database into a
master database. Note: Migration is intended only for migrating from an old server to a freshly-installed/empty new database. To use this, copy
migrate.php somewhere in the
version1 project (probably in
/php) and copy the same to
/api/migrate.php in your
master project, making sure that all the variables for referencing the databases are correct.
migrate.php on your
version1 server with
?outgoing=true set in order to begin the transfer. The other server’s
migrate.php will receive an “incoming” request multiple times, and your screen will display messages as it works.
migrate.php FILES IMMEDIATELY AFTER MIGRATION IS COMPLETE!.
Be sure you set up email senders/receivers for at least these 3 email addresses: