aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tests: Clean up default phpunit config a bit.Harald Eilertsen2023-09-111-12/+2
|
* tests: Add some db defaults in the UnitTestCase classHarald Eilertsen2023-09-111-7/+9
|
* tests: Test for get_account_by_idHarald Eilertsen2023-08-131-0/+12
| | | | First test that relies on the test db and fixtures.
* tests: Populate test db with fixtures before test run.Harald Eilertsen2023-08-131-1/+36
| | | | | This probably needs to be optimized a bit to avoid loading large amounts of db fixtures before each test. But it's getting somewhere!
* tests: Fix transactions handling in UnitTestCase.Harald Eilertsen2023-08-131-4/+14
|
* WIP: begin integrating DB testing.Harald Eilertsen2023-08-124-8/+115
|
* Merge branch 'DM42-Manifest-Typo-20230725' into 'dev'Mario2023-08-111-1/+1
|\ | | | | | | | | Fix Typo See merge request hubzilla/core!2055
| * Fix TypoDM42.Net Hubzilla Development2023-07-251-1/+1
| |
* | remove unused variableMario2023-08-091-6/+0
| |
* | now all acl fields are checked. if they are not complete the check will failMario2023-08-091-4/+13
|/
* Merge branch 'dev' of https://framagit.org/hubzilla/core into devMario2023-07-211-1/+2
|\
| * Merge branch 'DM42-20230718-fixjsonldrawfile' into 'dev'Mario2023-07-211-1/+2
| |\ | | | | | | | | | | | | add .jsonld to the list of allowed file suffixes for direct download. Fixes... See merge request hubzilla/core!2053
| | * add .jsonld to the list of allowed file suffixes for direct download. Fixes ↵DM42.Net Hubzilla Development2023-07-181-1/+2
| | | | | | | | | | | | 404 error when trying to get /library/w3org/security-v1.jsonld and /library/w3org/activitystreams.jsonld
* | | fix cached jsonld files fetched via networkMario2023-07-211-33/+50
|/ /
* | more performance improvementsMario2023-07-211-3/+3
| |
* | move trigger out of the loop for better performance and some var -> letMario2023-07-202-10/+15
| |
* | fix accesslist in two casesMario2023-07-202-2/+2
| |
* | Merge branch 'zotlabs/improve-access-list-type-safety' into 'dev'Mario2023-07-202-21/+71
|\ \ | | | | | | | | | | | | Zotlabs: Improve type safety for AccessList class. See merge request hubzilla/core!2052
| * | Zotlabs: More type safety for AccessList class.Harald Eilertsen2023-07-191-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add more type declarations to class attributes and functions. This should ensure that only strings and null values can be assigned to the various access list members. This is still a bit loose, as we should probably aim for lists of channel or group id's instead of a generic type like a string. I'll leave that for later, though.
| * | Zotlabs: Improve type safety for AccessList class.Harald Eilertsen2023-07-182-13/+63
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Add type annotations for constructor and set* methods, and throw an exception if the passed in arrays are missing required keys. This means that both invalid input types and missing keys will throw and exception rather than just die with a runtime error. There's not checks to verify that the contents of the required array keys are valid or make sense, though. They are just assigned, and returned as is by the get method when requested. Also, the set_from_array method is not well tested at the moment.
* / ignore internal follow activityMario2023-07-192-13/+17
|/
* changelogMario2023-07-181-0/+4
|
* Merge branch 'DM42-20230717-fixfatalerron304' into 'dev'Mario2023-07-182-6/+7
|\ | | | | | | | | Skip logging when DB functions are not yet loaded (logging requires db lookup). See merge request hubzilla/core!2051
| * Skip logging when DB functions are not yet loaded (logging requires db lookup).DM42.Net Hubzilla Development2023-07-172-6/+7
| |
* | fix admin table highlight by adding the correct classesMario2023-07-184-36/+24
| |
* | fix hcard addon regressionMario2023-07-181-1/+1
|/
* Merge branch 'tests/cleanup-unit-tests' into 'dev'Mario2023-07-175-276/+245
|\ | | | | | | | | Cleanup unit tests See merge request hubzilla/core!2049
| * tests: AccessListTest expand is_private test.Harald Eilertsen2023-07-121-1/+21
| |
| * tests: AccessListTest move type annotation to codeHarald Eilertsen2023-07-121-3/+2
| | | | | | | | | | This cleans up the doc comment. Should probably try to do this everywhere.
| * tests: AccessListTests nitpicking on doc comment.Harald Eilertsen2023-07-121-1/+3
| |
| * tests: AccessListTest collect defaults in one testcase.Harald Eilertsen2023-07-121-10/+8
| | | | | | | | Just no need to have them spread around in various other tests cases.
| * test: Enable and cleanup GetTagsTest.Harald Eilertsen2023-07-121-206/+170
| | | | | | | | | | | | | | | | | | | | | | | | These tests actually tests both the get_tags() function, and the handle_tags() function. The latter don't work, and should probably be split into it's own test cases. There's also some stubs here that we may want to deal with in another way. Also removed meaningless "test" of intval() builtin function. It behaves as documented, no need for us to test it.
| * tests: Cleanup ContainsAttribute test.Harald Eilertsen2023-07-121-10/+7
| | | | | | | | Mostly cosmetic to satisfy phpcs + remove explicit require.
| * tests: Cleanup Autoname test.Harald Eilertsen2023-07-121-10/+7
| | | | | | | | Not sure if this test is actually useful, but leave it for now.
| * tests: Don't explicitly require CUT in AntiXSSTest.Harald Eilertsen2023-07-121-2/+0
| | | | | | | | Rely on PHPUnit config to load the app and the code under test.
| * unit-tests: There's no need to test builtin func hex2binHarald Eilertsen2023-07-121-10/+0
| |
| * unit tests: Cosmetic fixes in AntiXSSTest.phpHarald Eilertsen2023-07-121-25/+29
| | | | | | | | | | | | - Start comments with capital letter - Fix indentation - Add missing doc comments
* | basic per item rtl language support - issue ##1780Mario2023-07-135-4/+22
|/
* update dateMario2023-07-111-1/+1
|
* changelogMario2023-07-051-0/+39
|
* fix regression after recent changesMario2023-07-051-1/+1
|
* bump dev versionMario2023-07-041-1/+1
|
* version and stringsMario2023-07-042-466/+497
|
* css fixMario2023-07-041-1/+1
|
* css fixesMario2023-07-041-4/+1
|
* also filter deleted hublocsMario2023-07-041-1/+1
|
* update fullcalendarMario2023-07-04208-1546/+3301
|
* do not linkify in nobb and noparse tags - issue #1776Mario2023-07-041-0/+2
|
* fix issue #1771Mario2023-07-031-2/+10
|
* fix php warningMario2023-07-031-2/+6
|