aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* remove p tags from li. otherwise we will get unwanted new lines in the list. ↵Mario13 days1-0/+5
| | | | add test.
* more fixes for issue #1843Mario13 days2-10/+7
|
* add bbcode support for the HTML5 del tagMario2024-05-072-1/+5
|
* apply li fixes to html2plainMario2024-05-031-1/+3
|
* make parsing of li slightly more robustMario2024-05-031-2/+2
|
* also deal with ol and ul tags earlier and add test for double nested listsMario2024-05-031-6/+3
|
* deal with li tags earlier seems to be more straight forward also add test ↵Mario2024-05-031-9/+9
| | | | for li without closing tag
* fix nested lists by parsing li before ul or ol and add a testMario2024-05-031-2/+1
|
* Merge branch 'dev' of https://framagit.org/hubzilla/core into devMario2024-04-301-197/+0
|\
| * Rework Help module + begin tests for Setup moduleHarald Eilertsen2024-04-301-197/+0
| |
* | remove loggingMario2024-04-201-2/+0
|/
* fix spacing issues in mod wall_attach and make save_chunk() deal with ↵Mario2024-04-172-5/+12
| | | | userfile and file array keys
* passing an empty filter to deliverable_abook_xchans() will return all ↵Mario2024-04-171-4/+13
| | | | deliverable abook xchans - we do not want this in this place. also add some docu
* add some docuMario2024-04-171-0/+8
|
* Merge branch 'dev' of https://framagit.org/hubzilla/core into devMario2024-03-252-5/+8
|\
| * add observer to the permissions query. this should not be necessary but it ↵Mario2024-03-251-3/+2
| | | | | | | | | | makes it clear why it should be included in the cache key (cherry picked from commit 57e32a79125072d27ebc76ca26acac64db5cb4fc)
| * add the observer hash to the cache key in categories_widget()Mario2024-03-252-4/+8
| |
* | more remove additional linebreaks after block element plus testMario2024-03-251-0/+5
|/
* make sure we preserve linefeeds in the actual content of lists and tables ↵Mario2024-03-241-9/+16
| | | | also add tests
* Merge branch 'deprecate-include-config-in-core' into 'dev'Mario2024-03-2433-252/+351
|\ | | | | | | | | Deprecate *_config() functions in core. See merge request hubzilla/core!2114
| * Deprecate *_config() functions in core.Harald Eilertsen2024-03-2433-252/+351
| |
* | use the correct tag for ordered listsMario2024-03-221-6/+6
| |
* | more whitespace fixes and some docuMario2024-03-211-6/+8
| |
* | possible fix for issue #1843Mario2024-03-201-3/+5
| |
* | deal with wihitespace issues in tables and lists and add testsMario2024-03-201-8/+39
| |
* | fix reshares from streams loosing imageMario2024-03-201-15/+15
|/
* cleanup some ancient code and fix check for $path so that it will not pass ↵Mario2024-03-171-4/+4
| | | | if theme_include() will not return anything. also add an empty zen.css file for the zen template
* adjust encrypted content representation and also add it to bb_to_markdownMario2024-03-152-9/+28
|
* refactor sodium b2b encryptionMario2024-03-151-17/+23
|
* fix shortnames replaced in html tagsMario2024-03-141-1/+1
|
* implement sodium-plus library to replace unmaintained sjclMario2024-03-101-20/+18
|
* move escape_tags() to Lib/Text.php and add testMario2024-03-101-4/+2
|
* we usually use ENT_COMPAT for content, so stick to thisMario2024-03-101-2/+2
|
* more work on emojisMario2024-03-093-8/+62
|
* fix php warningsMario2024-03-081-6/+18
|
* inbound support for custom emojisMario2024-03-082-45/+75
|
* list attachments in the original orderMario2024-03-071-4/+5
|
* fix unterminated entity reference error when dealing with domxpath and add a ↵Mario2024-03-061-2/+3
| | | | test
* we are checking for null|array union type later - false would throw an errorMario2024-03-011-2/+2
|
* Merge branch 'some-bbcode-cleanup' into 'dev'Mario2024-03-012-326/+341
|\ | | | | | | | | Add some beginning tests for bbcode, and a bit of refactoring See merge request hubzilla/core!2110
| * Add some beginning tests for bbcode, and a bit of refactoringHarald Eilertsen2024-03-012-326/+341
| |
* | Merge branch 'dba-transactions' into 'dev'Mario2024-03-011-0/+64
|\ \ | | | | | | | | | | | | include/dba: Make Dba driver transaction aware. See merge request hubzilla/core!2108
| * | include/dba: Make Dba driver transaction aware.Harald Eilertsen2024-02-261-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduced database transaction support to the Dba driver via the DbaTransaction class. The goal of this is to allow the driver control over the creation and finalization of database transactions. Until now code that has needed transaction support has done so directly by issuing "BEGIN", "ROLLBACK" and "COMMIT" commands to the underlying database directly. This has several disadvantages: - We do have no control or knowledge of whether any transactions being active. - Since transactions can not be nested, we run the risk of unrelated code trying to create a transaction when one is already active. - Code using transactions are not testable, as the test runner wraps all tests within a transaction to begin with. This patch should eliminate all these problems. A transaction is started by instantiating the DbaTransaction class: $my_transaction = new \DbaTransaction(); The transaction will automatically be _rolled back_ if it has not been committed before the instance is destroyed. (When the variable holding it goes out of scope, i.e when the containing function returns.) A transaction is committed like this: $my_transaction->commit(); This will immediately commit the changes in the transaction, and the transaction will be marked as committed, so it will not be attempted to be rolled back on destruction. I have chosen to "ignore" the problem of nested transactions by having the DbaTransaction class _not_ initiate a new transaction if one is already active. This also makes the rollback and commit actions of the DbaTransaction class into no-ops. An alternative would be to simulate nested transactions by using save points if a transaction is already active. However, I'm unsure about wether there's any safe way to avoid all potential pitfalls when doing that. In any case, nested transactions should preferably be avoided, and afaict we don't rely on that in any of the existing code. The reason we need to support it in some way is that it's needed for testing where the code under test is creating a transaction on it's own. (Since each test is run within a db transaction to begin with.) Also, I have taken the liberty to assume a PDO based db driver for this stuff. I don't think that's going to be a problem, as that's the only thing supported by the rest of the code in any case.
* | | handle imagick readImageBlob() exceptionMario2024-03-011-1/+8
| | |
* | | AS2 Follow/IgnoreMario2024-03-011-3/+2
| | |
* | | more cleanupMario2024-02-292-7/+7
| | |
* | | some cleanupMario2024-02-291-6/+10
| | |
* | | AS2 Update and implement a first draft of AS2 Profile activitiesMario2024-02-295-124/+57
| |/ |/|
* | some cloeanup after last commitMario2024-02-281-27/+1
| |
* | do away with deprecated activity typesMario2024-02-283-205/+1
|/