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. | ||||
* | Fix initial database import for sqlite | Tom Willemse | 2024-06-10 | 1 | -11/+15 |
| | | | | | My understanding of the ‘KEY’ keyword in the ‘tables.sql’ was incomplete. I didn't realize that it made indexes. | ||||
* | Make sure to check users for being false | Tom Willemse | 2024-06-10 | 16 | -32/+85 |
| | |||||
* | Revert "Fix issue accessing an array index on a boolean" | Tom Willemse | 2024-06-10 | 1 | -18/+2 |
| | | | | This reverts commit e1bfad3df7b41cbc8537222f211edaf9b3444edf. | ||||
* | Add initial sqlite tables file | Tom Willemse | 2024-06-10 | 1 | -0/+203 |
| | |||||
* | 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 'noreferrer-noopener-newwindow' into oni | Tom Willemse | 2024-04-21 | 2 | -2/+29 |
|\ | |||||
| * | feat: Add option to make all links open in a new windownoreferrer-noopener-newwindow | Tom Willemse | 2024-04-21 | 2 | -0/+6 |
| | | |||||
| * | feat: Add options to include noreferrer and noopener in ↵ | Tom Willemse | 2024-04-21 | 2 | -2/+23 |
| | | | | | | | | | | | | | | | | | | | | links - ‘noreferrer’ prevents the Referer header from being sent to the server the link points at when the link is clicked on. - ‘noopener’ prevents the ‘window.opener’ property from being set when the link is clicked on. | ||||
* | | Merge branch 'debug-fixes' into oni | Tom Willemse | 2024-04-21 | 4 | -15/+8 |
|\ \ | |||||
| * | | 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(scuttlizr): No named entity for non-breaking space ↵ | Tom Willemse | 2024-04-19 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | in XHTML While running in Debug mode XHTML is rendered instead of HTML, and XHTML doesn't have a named entity for non-breaking space (‘ ’ in HTML), so the numeric one must be used instead. | ||||
| * | | fix(scuttlizr): Unclosed div | Tom Willemse | 2024-04-19 | 1 | -0/+1 |
| |/ | | | | | | | This ‘div’ is opened on line 461. | ||||
* | | 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 where constructors aren't called | Tom Willemse | 2024-02-29 | 2 | -4/+4 |
| | | | | | | | | | | | | | | The documentation says that defining a constructor as a function with the same name as the class is deprecated as of PHP 8, but should still work. However it seems that this isn't true. Running on my machine these constructors didn't get called. Renaming them to ‘__construct’ fixed that. | ||||
* | | Fix issue accessing an array index on a boolean | Tom Willemse | 2024-02-29 | 1 | -2/+18 |
| | | |||||
* | | Fix error: Using ${var} in strings is deprecated | Tom Willemse | 2024-02-29 | 1 | -6/+6 |
|/ | |||||
* | Update README.mdmaster | buckaroo-labs | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-21 | 1 | -1/+1 |
| | | | fix typo | ||||
* | Update README.md | buckaroo-labs | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-21 | 1 | -1/+6 |
| | | | Yikes, This code does not look secure, | ||||
* | Update about.tpl.php | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| | | | update repo name | ||||
* | Update README.md | buckaroo-labs | 2023-12-20 | 1 | -0/+4 |
| | |||||
* | Add files via upload | buckaroo-labs | 2023-12-20 | 2 | -0/+0 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ↵ | buckaroo-labs | 2023-12-20 | 2 | -3/+3 |
|\ | | | | | | | https://github.com/buckaroo-labs/semantic-scuttle | ||||
| * | Update toolbar.inc.php | buckaroo-labs | 2023-12-20 | 1 | -2/+2 |
| | | | | | | Rename toolbar items | ||||
| * | Update about.tpl.php | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| | | | | | | update app repo link | ||||
* | | Create icon.png | buckaroo-labs | 2023-12-20 | 1 | -0/+0 |
|/ | |||||
* | Merge branch 'master' of ↵ | buckaroo-labs | 2023-12-20 | 4 | -12/+17 |
|\ | | | | | | | https://github.com/buckaroo-labs/semantic-scuttle | ||||
| * | Update bookmarks.tpl.php | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| | | | | | | change × to * | ||||
| * | Update top.inc.php | buckaroo-labs | 2023-12-20 | 1 | -9/+9 |
| | | |||||
| * | Update bottom.inc.php | buckaroo-labs | 2023-12-20 | 1 | -1/+3 |
| | | | | | | avoid warning | ||||
| * | Update bookmarks-thumbnail.inc.tpl.php | buckaroo-labs | 2023-12-20 | 1 | -1/+4 |
| | | | | | | avoid warning | ||||
* | | add 'minimal' theme | buckaroo-labs | 2023-12-20 | 85 | -0/+17785 |
|/ | |||||
* | bundle sscuttlizr theme | buckaroo-labs | 2023-12-20 | 83 | -0/+17787 |
| | |||||
* | 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 |
| | |||||
* | Update README.md | buckaroo-labs | 2023-12-20 | 1 | -1/+1 |
| |