summaryrefslogtreecommitdiffstatshomepage
path: root/src/SemanticScuttle/Service
Commit message (Collapse)AuthorAgeFilesLines
* Throw an error when changes can't be committed to the ↵sqlite-fixesGravatar Tom Willemse2024-06-116-11/+86
| | | | | | | | database I was testing and another process had the database open, so it couldn't commit changes. This wasn't apparent from the UI because it would just silently assume a commit went fine.
* Throw an error if a bookmark can't be committed to the ↵Gravatar Tom Willemse2024-06-111-1/+9
| | | | database
* Fix using SQLite as a database engineGravatar Tom Willemse2024-06-105-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 falseGravatar Tom Willemse2024-06-102-6/+13
|
* Revert "Fix issue accessing an array index on a boolean"Gravatar Tom Willemse2024-06-101-18/+2
| | | | This reverts commit e1bfad3df7b41cbc8537222f211edaf9b3444edf.
* Fix issue with urls ending in ‘/’ getting normalized ↵Gravatar Tom Willemse2024-02-291-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-8Gravatar Tom Willemse2024-02-291-1/+3
| | | | having default values
* Fix issue accessing an array index on a booleanGravatar Tom Willemse2024-02-291-2/+18
|
* Update User.php for PHP 8Gravatar buckaroo-labs2023-12-201-0/+2
|
* PHP 8 updatesGravatar buckaroo-labs2023-12-201-1/+2
| | | add IF condition to avoid 'Deprecated' warning
* bug fixGravatar buckaroo-labs2023-12-201-1/+1
| | | Fatal error: Uncaught Error: [] operator not supported for strings in src/SemanticScuttle/Service/Bookmark2Tag.php:117
* PHP 7.3 compat, bug fixesGravatar querwurzelt2019-01-212-6/+10
|
* Add support for phancap website thumbnailer.Gravatar Christian Weiske2014-04-231-0/+59
| | | | Drop support for artviper, since their service is gone.
* add option to get last modified date instead of creation ↵Gravatar David Glenck2014-03-261-0/+7
| | | | date
* Fix two broken testsGravatar Christian Weiske2013-03-211-1/+1
|
* CSGravatar Christian Weiske2013-03-211-7/+15
|
* The hasTag was always returning false, which probably is ↵Gravatar Christian Weiske2013-03-211-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 ↵Gravatar Christian Weiske2013-03-211-5/+3
| | | | in header.php
* The method attachTags was raising a Notice error, fix it ↵Gravatar Ricardo Soares de Lima2013-03-211-6/+7
| | | | and adds a test for this situation.
* Using a foreach loop avoids Notice warnings when the ↵Gravatar Ricardo Soares de Lima2013-03-212-2/+2
| | | | array doesn't have sequential indexes, ex: 0, 1, 3...
* remove php4-style object reference passingGravatar Christian Weiske2013-03-179-63/+63
|
* Fix bug #3386178: "system:unfiled" secret tag does not workGravatar Christian Weiske2011-08-051-0/+1
|
* we can retrieve system tags nowGravatar Christian Weiske2011-08-051-4/+7
|
* Fix bug #3376618: Broken tag completion for private ↵Gravatar Christian Weiske2011-08-011-13/+16
| | | | bookmarks
* privatekey -> privateKey everywhereGravatar Christian Weiske2011-06-271-10/+10
|
* Fixed issue with storing RSS login in sessionGravatar Mark Pemberton2011-06-151-1/+1
|
* Fixed auth issue with private RSS feedGravatar Mark Pemberton2011-06-141-0/+1
|
* Merge branch 'master' into privatekey2Gravatar Mark Pemberton2011-06-041-2/+27
|\ | | | | | | | | | | Conflicts: data/templates/default/bookmarks.tpl.php
| * implement request #1989987: theme support. merge themes ↵Gravatar Christian Weiske2011-05-251-2/+27
| | | | | | | | branch with --squash
* | Reverted changes of date() to gdate(), added tests to ↵Gravatar Mark Pemberton2011-06-043-4/+2
| | | | | | | | confirm existence of private RSS feed, and finalized changes to the user session usage with rss.php
* | Altered tests to be more timezone friendlyGravatar Mark Pemberton2011-05-211-1/+1
| |
* | Merge branch 'master' into privatekey2Gravatar Mark Pemberton2011-05-212-3/+3
|\|
| * allow ssl client login with other authentication sourcesGravatar Christian Weiske2011-05-131-1/+1
| |
| * fix ssl client cert login processGravatar Christian Weiske2011-05-131-2/+2
| |
* | revert getBookmarks() back to originalGravatar Mark Pemberton2011-05-191-31/+19
| |
* | Updated PrivateKey to include Tag searchesGravatar Mark Pemberton2011-05-173-16/+27
| |
* | Updated 'Generate New Key' button to use ajax if ↵Gravatar Mark Pemberton2011-05-161-5/+6
| | | | | | | | javascript enabled.
* | Fixed sql commands where resources were not freedGravatar Mark Pemberton2011-05-142-4/+6
| |
* | new privatekey2 branch with privatekey changesGravatar Mark Pemberton2011-05-132-33/+180
|/
* Merge branch 'master' into ssl-client-certsGravatar Christian Weiske2011-05-121-20/+68
|\
| * do not automatically store user id in sessionGravatar Christian Weiske2011-05-121-12/+39
| |
| * reformat userservice::getWatchNamesGravatar Christian Weiske2011-05-121-8/+29
| |
* | seems I actually forget to use the methods only parameterGravatar Christian Weiske2011-05-111-0/+1
| |
* | deleting ssl client certificates from profile page works nowGravatar Christian Weiske2011-05-111-1/+33
| |
* | prepare user interface to register and delete client ↵Gravatar Christian Weiske2011-05-101-0/+38
| | | | | | | | certificates on the profile page
* | show current users certificates on profile pageGravatar Christian Weiske2011-05-091-0/+28
| |
* | automatically register SSL client cert when user registersGravatar Christian Weiske2011-05-091-2/+25
| |
* | move ssl client cert handling into separate service classGravatar Christian Weiske2011-05-092-67/+230
| |
* | also match client issuer (CA)Gravatar Christian Weiske2011-05-051-3/+11
| |
* | part of request #3163623: add support to login via ssl ↵Gravatar Christian Weiske2011-05-041-0/+50
|/ | | | client certificate. web interface to register certificates is still missing