Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | apply li fixes to html2plain | Mario | 2024-05-03 | 1 | -1/+3 |
| | |||||
* | make parsing of li slightly more robust | Mario | 2024-05-03 | 1 | -2/+2 |
| | |||||
* | also deal with ol and ul tags earlier and add test for double nested lists | Mario | 2024-05-03 | 1 | -6/+3 |
| | |||||
* | deal with li tags earlier seems to be more straight forward also add test ↵ | Mario | 2024-05-03 | 1 | -9/+9 |
| | | | | for li without closing tag | ||||
* | fix nested lists by parsing li before ul or ol and add a test | Mario | 2024-05-03 | 1 | -2/+1 |
| | |||||
* | Merge branch 'dev' of https://framagit.org/hubzilla/core into dev | Mario | 2024-04-30 | 1 | -197/+0 |
|\ | |||||
| * | Rework Help module + begin tests for Setup module | Harald Eilertsen | 2024-04-30 | 1 | -197/+0 |
| | | |||||
* | | remove logging | Mario | 2024-04-20 | 1 | -2/+0 |
|/ | |||||
* | fix spacing issues in mod wall_attach and make save_chunk() deal with ↵ | Mario | 2024-04-17 | 2 | -5/+12 |
| | | | | userfile and file array keys | ||||
* | passing an empty filter to deliverable_abook_xchans() will return all ↵ | Mario | 2024-04-17 | 1 | -4/+13 |
| | | | | deliverable abook xchans - we do not want this in this place. also add some docu | ||||
* | add some docu | Mario | 2024-04-17 | 1 | -0/+8 |
| | |||||
* | Merge branch 'dev' of https://framagit.org/hubzilla/core into dev | Mario | 2024-03-25 | 2 | -5/+8 |
|\ | |||||
| * | add observer to the permissions query. this should not be necessary but it ↵ | Mario | 2024-03-25 | 1 | -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() | Mario | 2024-03-25 | 2 | -4/+8 |
| | | |||||
* | | more remove additional linebreaks after block element plus test | Mario | 2024-03-25 | 1 | -0/+5 |
|/ | |||||
* | make sure we preserve linefeeds in the actual content of lists and tables ↵ | Mario | 2024-03-24 | 1 | -9/+16 |
| | | | | also add tests | ||||
* | Merge branch 'deprecate-include-config-in-core' into 'dev' | Mario | 2024-03-24 | 33 | -252/+351 |
|\ | | | | | | | | | Deprecate *_config() functions in core. See merge request hubzilla/core!2114 | ||||
| * | Deprecate *_config() functions in core. | Harald Eilertsen | 2024-03-24 | 33 | -252/+351 |
| | | |||||
* | | use the correct tag for ordered lists | Mario | 2024-03-22 | 1 | -6/+6 |
| | | |||||
* | | more whitespace fixes and some docu | Mario | 2024-03-21 | 1 | -6/+8 |
| | | |||||
* | | possible fix for issue #1843 | Mario | 2024-03-20 | 1 | -3/+5 |
| | | |||||
* | | deal with wihitespace issues in tables and lists and add tests | Mario | 2024-03-20 | 1 | -8/+39 |
| | | |||||
* | | fix reshares from streams loosing image | Mario | 2024-03-20 | 1 | -15/+15 |
|/ | |||||
* | cleanup some ancient code and fix check for $path so that it will not pass ↵ | Mario | 2024-03-17 | 1 | -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_markdown | Mario | 2024-03-15 | 2 | -9/+28 |
| | |||||
* | refactor sodium b2b encryption | Mario | 2024-03-15 | 1 | -17/+23 |
| | |||||
* | fix shortnames replaced in html tags | Mario | 2024-03-14 | 1 | -1/+1 |
| | |||||
* | implement sodium-plus library to replace unmaintained sjcl | Mario | 2024-03-10 | 1 | -20/+18 |
| | |||||
* | move escape_tags() to Lib/Text.php and add test | Mario | 2024-03-10 | 1 | -4/+2 |
| | |||||
* | we usually use ENT_COMPAT for content, so stick to this | Mario | 2024-03-10 | 1 | -2/+2 |
| | |||||
* | more work on emojis | Mario | 2024-03-09 | 3 | -8/+62 |
| | |||||
* | fix php warnings | Mario | 2024-03-08 | 1 | -6/+18 |
| | |||||
* | inbound support for custom emojis | Mario | 2024-03-08 | 2 | -45/+75 |
| | |||||
* | list attachments in the original order | Mario | 2024-03-07 | 1 | -4/+5 |
| | |||||
* | fix unterminated entity reference error when dealing with domxpath and add a ↵ | Mario | 2024-03-06 | 1 | -2/+3 |
| | | | | test | ||||
* | we are checking for null|array union type later - false would throw an error | Mario | 2024-03-01 | 1 | -2/+2 |
| | |||||
* | Merge branch 'some-bbcode-cleanup' into 'dev' | Mario | 2024-03-01 | 2 | -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 refactoring | Harald Eilertsen | 2024-03-01 | 2 | -326/+341 |
| | | |||||
* | | Merge branch 'dba-transactions' into 'dev' | Mario | 2024-03-01 | 1 | -0/+64 |
|\ \ | | | | | | | | | | | | | include/dba: Make Dba driver transaction aware. See merge request hubzilla/core!2108 | ||||
| * | | include/dba: Make Dba driver transaction aware. | Harald Eilertsen | 2024-02-26 | 1 | -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() exception | Mario | 2024-03-01 | 1 | -1/+8 |
| | | | |||||
* | | | AS2 Follow/Ignore | Mario | 2024-03-01 | 1 | -3/+2 |
| | | | |||||
* | | | more cleanup | Mario | 2024-02-29 | 2 | -7/+7 |
| | | | |||||
* | | | some cleanup | Mario | 2024-02-29 | 1 | -6/+10 |
| | | | |||||
* | | | AS2 Update and implement a first draft of AS2 Profile activities | Mario | 2024-02-29 | 5 | -124/+57 |
| |/ |/| | |||||
* | | some cloeanup after last commit | Mario | 2024-02-28 | 1 | -27/+1 |
| | | |||||
* | | do away with deprecated activity types | Mario | 2024-02-28 | 3 | -205/+1 |
|/ | |||||
* | AS2 | Mario | 2024-02-25 | 11 | -477/+67 |
| | |||||
* | make sure to decode html special chars before sending over the wire and | Mario | 2024-02-21 | 1 | -0/+7 |
| | |||||
* | update to Bootstrap 5 | Rocky | 2024-02-14 | 1 | -25/+35 |
| |