Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Highlight_mark_button3 | Rocky | 2025-02-14 | 1 | -0/+1 |
| | |||||
* | Merge branch 'dba_pdo-insert-and-update' into 'dev' | Mario | 2025-02-01 | 1 | -2/+110 |
|\ | | | | | | | | | Add an insert and update methods to dba_pdo See merge request hubzilla/core!2181 | ||||
| * | Add an dba_pdo::update method | Harald Eilertsen | 2025-01-29 | 1 | -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 supported | Harald Eilertsen | 2025-01-29 | 1 | -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 Eilertsen | 2025-01-29 | 1 | -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 Eilertsen | 2025-01-29 | 1 | -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_pdo | Harald Eilertsen | 2025-01-29 | 1 | -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 here | Mario Vavti | 2025-02-01 | 1 | -1/+2 |
|/ | |||||
* | return if $furl is empty for some reason | Mario Vavti | 2025-01-24 | 1 | -0/+4 |
| | |||||
* | add target and tgt_type tou sourced rss items if we rewrite them to our own | Mario Vavti | 2025-01-24 | 1 | -11/+9 |
| | |||||
* | unescape_tags() on URLs before we start messing with them | Mario Vavti | 2025-01-23 | 1 | -1/+4 |
| | |||||
* | make sure to provide uid to drop_item() where applicable and check ownership ↵ | Mario Vavti | 2025-01-22 | 2 | -9/+18 |
| | | | | when imporing feed items | ||||
* | fix another possible loop | Mario | 2024-12-26 | 1 | -1/+1 |
| | |||||
* | this should fix the infinite loop caused by a regression in Daemon/Expire | Mario | 2024-12-25 | 1 | -1/+1 |
| | |||||
* | remove jquery.timeago.js in favor of a native js implementation | Mario | 2024-12-12 | 1 | -23/+0 |
| | |||||
* | introduce item_forwardable() and check it before we call the notifier to ↵ | Mario | 2024-12-10 | 1 | -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 ↵ | Mario | 2024-12-08 | 1 | -10/+0 |
| | | | | create date | ||||
* | add test for relative_time() | Mario Vavti | 2024-12-07 | 1 | -6/+9 |
| | |||||
* | add more indicators and a new function to return relative time in the past ↵ | Mario | 2024-12-07 | 1 | -0/+34 |
| | | | | and the future | ||||
* | an attempt to fix some comments on/off anomalies | Mario | 2024-12-06 | 1 | -2/+2 |
| | |||||
* | wrong class | Mario | 2024-12-05 | 1 | -1/+1 |
| | |||||
* | fix more issues reported by phpstan | Mario Vavti | 2024-11-27 | 5 | -8/+8 |
| | |||||
* | Merge branch 'module-admin-accounts-enhancements' into 'dev' | Mario | 2024-11-27 | 1 | -55/+39 |
|\ | | | | | | | | | Fix and refactor module Admin\Accounts part I See merge request hubzilla/core!2173 | ||||
| * | Fix and refactor module Admin\Accounts part I | Harald Eilertsen | 2024-11-27 | 2 | -103/+43 |
| | | |||||
* | | fix superfluous slash in some cases | Mario | 2024-11-25 | 1 | -4/+6 |
| | | |||||
* | | remove logging | Mario | 2024-11-22 | 1 | -3/+0 |
| | | |||||
* | | Add Zotlabs\Lib\Mailer class to replace z_mail function. | Harald Eilertsen | 2024-11-22 | 1 | -48/+4 |
|/ | |||||
* | some cleanup for mod magic | Mario Vavti | 2024-11-18 | 1 | -4/+2 |
| | |||||
* | more phpstan errors | Mario Vavti | 2024-11-17 | 1 | -1/+1 |
| | |||||
* | fix some errors detected by phpstan | Mario Vavti | 2024-11-17 | 1 | -2/+4 |
| | |||||
* | Fix #1879: Emails with + in local part was rejected. | Harald Eilertsen | 2024-11-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'various-phpstan-issues' into 'dev' | Mario | 2024-11-14 | 6 | -14/+9 |
|\ | | | | | | | | | Several issues discovered by PHPStan See merge request hubzilla/core!2168 | ||||
| * | Several issues discovered by PHPStan | Harald Eilertsen | 2024-11-14 | 6 | -14/+9 |
| | | |||||
* | | this is not true anymore - check owner perms | Mario | 2024-11-13 | 1 | -2/+1 |
| | | |||||
* | | containers: poll testing | Mario | 2024-11-11 | 1 | -1/+2 |
| | | |||||
* | | containers: testing sourced items | Mario Vavti | 2024-11-10 | 1 | -90/+119 |
| | | |||||
* | | Merge branch 'dev' into containers | Mario Vavti | 2024-11-10 | 1 | -2/+2 |
|\| | |||||
| * | Do not filter deleted hublocs in xchan_query because it will result in empty ↵ | Mario Vavti | 2024-11-09 | 1 | -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 necessary | Mario Vavti | 2024-11-10 | 1 | -0/+4 |
| | | |||||
* | | fix encoding and attribution | Mario Vavti | 2024-11-10 | 1 | -5/+5 |
| | | |||||
* | | container fixes for photo and file upload | Mario Vavti | 2024-11-10 | 2 | -11/+39 |
| | | |||||
* | | remove extensiv logging to syslog | Mario Vavti | 2024-11-09 | 2 | -5/+0 |
| | | |||||
* | | fix regression propagating deletes | Mario Vavti | 2024-11-09 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'dev' into containers | Mario Vavti | 2024-11-09 | 2 | -4/+4 |
|\| | |||||
| * | Fix incorrect module imports. | Harald Eilertsen | 2024-11-09 | 2 | -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() continued | Mario Vavti | 2024-11-08 | 4 | -12/+17 |
| | | |||||
* | | refactor drop_item[s]() for containers | Mario Vavti | 2024-11-08 | 4 | -62/+126 |
| | | |||||
* | | Merge branch 'dev' into containers | Mario Vavti | 2024-11-03 | 1 | -1/+1 |
|\| | |||||
| * | explicit check for channel_address | Mario | 2024-11-03 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'dev' into containers | Mario Vavti | 2024-10-23 | 1 | -9/+4 |
|\| |