aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* update string to match with the autotime stringMario2025-03-051-1/+1
|
* Merge branch 'dev' of https://framagit.org/hubzilla/core into devMario Vavti2025-02-261-6/+10
|\
| * Merge branch 'dev' of https://framagit.org/hubzilla/core into devMario2025-02-261-14/+52
| |\
| * | calculate observer.baseurl from xchan_url since xchan_connurl is only set ↵Mario2025-02-261-6/+10
| | | | | | | | | | | | for zot xchans
* | | fix docuMario Vavti2025-02-261-2/+2
| |/ |/|
* | refactor unparse_url() to allow to return a custom field set only and add testsMario Vavti2025-02-261-14/+52
|/
* refine textMario2025-02-261-1/+1
|
* fix an issue where some participants could not post to forumsMario2025-02-261-1/+3
|
* slightly improve event object renderingMario2025-02-221-9/+10
|
* feedutils: fix php warnings and styleMario2025-02-211-7/+19
|
* 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
| |