27b676b7b2
The issue occurs because boolean/tinyint values are retrieved from mysql as strings, and in php/js all non-empty strings are cast as boolean true. Current PDO mysql driver doesn't support `PDO::ATTR_STRINGIFY_FETCHES = false`, and if I disable prepare-emulation so it uses the native MySQL driver instead which supposedly does support it, prepare statements no longer play nice with named parameters. Every remaining clean solution that comes to mind that can cover all cases, just for MySQL, adds an annoying amount of additional code / overhead. As long as the `App.FormFields.checkbox_tag()` JS function is the only one suffering from the lack of conversion, I'll go with easy ugly over here. |
||
---|---|---|
.vscode | ||
api | ||
cache | ||
classes | ||
feed-icons | ||
images | ||
include | ||
js | ||
lib | ||
locale | ||
lock | ||
plugins | ||
plugins.local | ||
schema | ||
templates | ||
templates.local | ||
themes | ||
themes.local | ||
utils | ||
vendor | ||
.editorconfig | ||
.eslintrc.js | ||
.gitignore | ||
CONTRIBUTING.md | ||
COPYING | ||
README.md | ||
backend.php | ||
config.php-dist | ||
gulpfile.js | ||
index.php | ||
jsconfig.json | ||
messages.pot | ||
package.json | ||
phpstan.neon | ||
prefs.php | ||
public.php | ||
update.php | ||
update_daemon2.php |
README.md
Tiny Tiny RSS
Web-based news feed aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Copyright (c) 2005 Andrew Dolgov (unless explicitly stated otherwise).
Uses Silk icons by Mark James: http://www.famfamfam.com/lab/icons/silk/