aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Highlight_mark_button3Rocky2025-02-141-0/+1
|
* Merge branch 'dba_pdo-insert-and-update' into 'dev'Mario2025-02-011-2/+110
|\ | | | | | | | | Add an insert and update methods to dba_pdo See merge request hubzilla/core!2181
| * Add an dba_pdo::update methodHarald Eilertsen2025-01-291-0/+37
| | | | | | | | | | This is a convenience funcition to make it easier to update an existing row in a database table.
| * Use returning clause on dba_pdo::insert where supportedHarald Eilertsen2025-01-291-3/+12
| | | | | | | | | | | | | | | | | | By using the returning clause when inserting a new record, we get back the inserted record right away; thus saving us an extra roundtrip to the database. Both PostgreSQL and MariaDB supports this clause, but MySQL don't. In that case we fall back to manually fetching the last inserted row.
| * Fetch the server version on dba_pdo::connect.Harald Eilertsen2025-01-291-0/+3
| | | | | | | | | | | | | | The server version string is useful to among other things check whether we are running on a real MySQL system, or MariaDB. Instead of fetching it every time we need it, cache it in the dba_pdo object when we connect to the db.
| * Fix return value from dba_pdo::q()Harald Eilertsen2025-01-291-5/+1
| | | | | | | | | | | | | | According to the documentation, this function should never return null. Still that's what it did if a non-select query raised a PDOException. This patch fixes this, so that it so that the function conforms to the docs.
| * Add an insert method to dba_pdoHarald Eilertsen2025-01-291-1/+64
| | | | | | | | | | | | | | | | | | | | | | A common use case is to insert a record into a database table, but also instantiate an object from the inserted data. This requires that we know the value of any default or calculated columns that is filled in by the database when the row is inserter. This patch adds a `insert` method to pda_dbo that will insert a row, and immediately fetch the row back from the database – including the default and calculated values not specified by the insert itself.
* | calling fetch_post_tags() will add duplicate items hereMario Vavti2025-02-011-1/+2
|/
* return if $furl is empty for some reasonMario Vavti2025-01-241-0/+4
|
* add target and tgt_type tou sourced rss items if we rewrite them to our ownMario Vavti2025-01-241-11/+9
|
* unescape_tags() on URLs before we start messing with themMario Vavti2025-01-231-1/+4
|
* make sure to provide uid to drop_item() where applicable and check ownership ↵Mario Vavti2025-01-222-9/+18
| | | | when imporing feed items
* fix another possible loopMario2024-12-261-1/+1
|
* this should fix the infinite loop caused by a regression in Daemon/ExpireMario2024-12-251-1/+1
|
* remove jquery.timeago.js in favor of a native js implementationMario2024-12-121-23/+0
|
* introduce item_forwardable() and check it before we call the notifier to ↵Mario2024-12-101-0/+19
| | | | possibly safe some processes - test will follow, also add some other possibly blocking flags to the add item
* fix delayed post handling in cron, always set item_delayed if we select a ↵Mario2024-12-081-10/+0
| | | | create date
* add test for relative_time()Mario Vavti2024-12-071-6/+9
|
* add more indicators and a new function to return relative time in the past ↵Mario2024-12-071-0/+34
| | | | and the future
* an attempt to fix some comments on/off anomaliesMario2024-12-061-2/+2
|
* wrong classMario2024-12-051-1/+1
|
* fix more issues reported by phpstanMario Vavti2024-11-275-8/+8
|
* Merge branch 'module-admin-accounts-enhancements' into 'dev'Mario2024-11-271-55/+39
|\ | | | | | | | | Fix and refactor module Admin\Accounts part I See merge request hubzilla/core!2173
| * Fix and refactor module Admin\Accounts part IHarald Eilertsen2024-11-272-103/+43
| |
* | fix superfluous slash in some casesMario2024-11-251-4/+6
| |
* | remove loggingMario2024-11-221-3/+0
| |
* | Add Zotlabs\Lib\Mailer class to replace z_mail function.Harald Eilertsen2024-11-221-48/+4
|/
* some cleanup for mod magicMario Vavti2024-11-181-4/+2
|
* more phpstan errorsMario Vavti2024-11-171-1/+1
|
* fix some errors detected by phpstanMario Vavti2024-11-171-2/+4
|
* Fix #1879: Emails with + in local part was rejected.Harald Eilertsen2024-11-161-1/+1
|
* Merge branch 'various-phpstan-issues' into 'dev'Mario2024-11-146-14/+9
|\ | | | | | | | | Several issues discovered by PHPStan See merge request hubzilla/core!2168
| * Several issues discovered by PHPStanHarald Eilertsen2024-11-146-14/+9
| |
* | this is not true anymore - check owner permsMario2024-11-131-2/+1
| |
* | containers: poll testingMario2024-11-111-1/+2
| |
* | containers: testing sourced itemsMario Vavti2024-11-101-90/+119
| |
* | Merge branch 'dev' into containersMario Vavti2024-11-101-2/+2
|\|
| * Do not filter deleted hublocs in xchan_query because it will result in empty ↵Mario Vavti2024-11-091-2/+2
| | | | | | | | profile info in conversations if the hubloc was deleted. Deleting a hublocation does not neccesarily delete its content and the author could appear again from another location.
* | make sure to notify the drop if necessaryMario Vavti2024-11-101-0/+4
| |
* | fix encoding and attributionMario Vavti2024-11-101-5/+5
| |
* | container fixes for photo and file uploadMario Vavti2024-11-102-11/+39
| |
* | remove extensiv logging to syslogMario Vavti2024-11-092-5/+0
| |
* | fix regression propagating deletesMario Vavti2024-11-091-3/+3
| |
* | Merge branch 'dev' into containersMario Vavti2024-11-092-4/+4
|\|
| * Fix incorrect module imports.Harald Eilertsen2024-11-092-4/+4
| | | | | | | | | | | | | | | | When importing modules with use statements, they always require the fully qualified module name. Iow, there's no need to prefix them with an extra backslash. Ref: https://www.php.net/manual/en/language.namespaces.importing.php
* | port to containers item_store() continuedMario Vavti2024-11-084-12/+17
| |
* | refactor drop_item[s]() for containersMario Vavti2024-11-084-62/+126
| |
* | Merge branch 'dev' into containersMario Vavti2024-11-031-1/+1
|\|
| * explicit check for channel_addressMario2024-11-031-1/+1
| |
* | Merge branch 'dev' into containersMario Vavti2024-10-231-9/+4
|\|