Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Throw an error if a bookmark can't be committed to the ↵ | Tom Willemse | 2024-06-11 | 1 | -1/+9 |
| | | | | database | ||||
* | Fix using SQLite as a database engine | Tom Willemse | 2024-06-10 | 17 | -61/+196 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The ‘sqlite_*’ functions don't exist anymore in PHP 8. They have been replaced with several ‘SQLite3*’ classes. - There are some differences between MySQL and SQLite queries that showed up while doing this work. These differences have been pushed into a QueryBuilder class so that the other database engines don't have to be modified. This is done in an ad-hoc basis for now, just to get things working. - SQLite doesn't support the ‘!’ negation operator used as ‘!ISNULL(...)’, instead I use ‘IIF(...)’. - SQLite doesn't support a ‘LEFT(...)’ function, instead I use ‘SUBSTRING(..., 0, ...)’. - The SQLite3 module doesn't provide a connection identifier, instead you use an object that represents the connection. - SQLite doesn't support the ‘ALL’ keyword (or at least doesn't support it in the same way MySQL does). Instead of ‘<> ALL <subquery>’ I use ‘NOT IN <subquery>’. - The ‘SQLite3*’ classes don't provide any way to determine how many rows have been returned without iterating through all of them, so any place that tries to figure out the rows beforehand just doesn't anymore. - All the database engine classes require a ‘QueryBuilder’ instance. The sqlite one uses a specialized one. I can't test most of these database engines, so I'm focusing on SQLite and MySQL/MariaDB for now. | ||||
* | Make sure to check users for being false | Tom Willemse | 2024-06-10 | 3 | -12/+34 |
| | |||||
* | Revert "Fix issue accessing an array index on a boolean" | Tom Willemse | 2024-06-10 | 1 | -18/+2 |
| | | | | This reverts commit e1bfad3df7b41cbc8537222f211edaf9b3444edf. | ||||
* | Clean up configuration file finding | Tom Willemse | 2024-06-05 | 1 | -17/+14 |
| | | | | Don't make finding the default files dependent on finding regular files. | ||||
* | Gracefully handle being unable to find any config files | Tom Willemse | 2024-06-05 | 1 | -8/+12 |
| | |||||
* | Merge branch 'debug-fixes' into oni | Tom Willemse | 2024-04-21 | 1 | -9/+1 |
|\ | |||||
| * | fix(debug): Don't serve application/xhtml+xml in debug modedebug-fixes | Tom Willemse | 2024-04-19 | 1 | -9/+1 |
| | | | | | | | | | | | | | | There are quite a few big differences between running HTML and XHTML that are more than just validation errors. Running a different parser in debug mode seems unhelpful, and the goal probably won't be to generate XHTML always anyway anymore. | ||||
* | | Fix issue with urls ending in ‘/’ getting normalized ↵ | Tom Willemse | 2024-02-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | wrong Normalizing them this way ruins the url by cutting off a character too many and making the url invalid. | ||||
* | | Fix issue about ‘bVotes’ and ‘bVoting’ not ↵fix-for-php-8 | Tom Willemse | 2024-02-29 | 1 | -1/+3 |
| | | | | | | | | having default values | ||||
* | | Fix issue accessing an array index on a boolean | Tom Willemse | 2024-02-29 | 1 | -2/+18 |
|/ | |||||
* | Update User.php for PHP 8 | buckaroo-labs | 2023-12-20 | 1 | -0/+3 |
| | |||||
* | Update User.php for PHP 8 | buckaroo-labs | 2023-12-20 | 1 | -0/+2 |
| | |||||
* | Update functions.php | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| | |||||
* | Update functions.php | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| | |||||
* | Update functions.php for PHP 8 | buckaroo-labs | 2023-12-20 | 1 | -1/+2 |
| | |||||
* | PHP 8 updates | buckaroo-labs | 2023-12-20 | 1 | -1/+2 |
| | | | add IF condition to avoid 'Deprecated' warning | ||||
* | Update mysqli.php comments | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| | |||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -4/+16 |
| | | | changes to $cur_index variable | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -1/+7 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -1/+7 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -1/+7 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -1/+7 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -1/+7 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -1/+7 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -2/+7 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -1/+8 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -2/+7 |
| | | | modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | PHP 8 modifications | buckaroo-labs | 2023-12-20 | 1 | -1/+7 |
| | | | Modifications to avoid "Deprecated" warnings in sql_connect function | ||||
* | bug fix | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| | | | Fatal error: Uncaught Error: [] operator not supported for strings in src/SemanticScuttle/Service/Bookmark2Tag.php:117 | ||||
* | bug fix | buckaroo-labs | 2023-12-20 | 1 | -31/+31 |
| | | | Fatal error: Array and string offset access syntax with curly braces is no longer supported in src/SemanticScuttle/utf8.php on line 51 | ||||
* | PHP 7.3 compat, bug fixes | querwurzelt | 2019-01-21 | 2 | -6/+10 |
| | |||||
* | script to use with errbot's exec plugin | Christian Weiske | 2016-05-09 | 1 | -0/+1 |
| | |||||
* | Move URL title method to dedicated class | Christian Weiske | 2016-05-09 | 1 | -0/+65 |
| | |||||
* | Add support for phancap website thumbnailer. | Christian Weiske | 2014-04-23 | 4 | -1/+204 |
| | | | | Drop support for artviper, since their service is gone. | ||||
* | add option to get last modified date instead of creation ↵ | David Glenck | 2014-03-26 | 1 | -0/+7 |
| | | | | date | ||||
* | Fix bug #161: URLs broken on 1&1 server | Christian Weiske | 2013-08-20 | 2 | -17/+13 |
| | |||||
* | Fix two broken tests | Christian Weiske | 2013-03-21 | 1 | -1/+1 |
| | |||||
* | CS | Christian Weiske | 2013-03-21 | 1 | -7/+15 |
| | |||||
* | The hasTag was always returning false, which probably is ↵ | Christian Weiske | 2013-03-21 | 1 | -1/+2 |
| | | | | a bug. Fixed it and added a test to catch it. Thanks for Ricardo Soares de Lima for the first patch version | ||||
* | fix some CS, remove unneeded include - file is included ↵ | Christian Weiske | 2013-03-21 | 1 | -5/+3 |
| | | | | in header.php | ||||
* | The method attachTags was raising a Notice error, fix it ↵ | Ricardo Soares de Lima | 2013-03-21 | 1 | -6/+7 |
| | | | | and adds a test for this situation. | ||||
* | Using a foreach loop avoids Notice warnings when the ↵ | Ricardo Soares de Lima | 2013-03-21 | 2 | -2/+2 |
| | | | | array doesn't have sequential indexes, ex: 0, 1, 3... | ||||
* | remove php4-style object reference passing | Christian Weiske | 2013-03-17 | 10 | -63/+76 |
| | |||||
* | set proper exit status when config file does not exist | Christian Weiske | 2012-01-25 | 1 | -9/+7 |
| | |||||
* | Fix bug #3111254: getIdFromUser() always returns an ↵ | Christian Weiske | 2012-01-21 | 1 | -1/+1 |
| | | | | integer now (part 2) | ||||
* | Part of bug #3463481: Add HTTP protocol to self URL in feed | Christian Weiske | 2012-01-20 | 1 | -0/+25 |
| | |||||
* | Fix bug #3431742: open_basedir problems with /etc/ ↵ | Christian Weiske | 2011-11-02 | 1 | -6/+20 |
| | | | | config files | ||||
* | Fix bug #3386178: "system:unfiled" secret tag does not work | Christian Weiske | 2011-08-05 | 1 | -0/+1 |
| | |||||
* | we can retrieve system tags now | Christian Weiske | 2011-08-05 | 1 | -4/+7 |
| |