Commit Graph

11638 Commits

Author SHA1 Message Date
Andrew Dolgov 8b72d9ab11
add phpunit integration (wip) 2023-10-29 09:14:18 +03:00
Andrew Dolgov 855695a862
add stuff necessary to run integration tests using phpunit 2023-10-28 18:45:09 +03:00
Andrew Dolgov 0ac8710ea1
add always-failing mock of api test 2023-10-28 18:08:42 +03:00
Andrew Dolgov 01c9869e2b
phpunit - skip integration tests 2023-10-28 18:07:54 +03:00
Andrew Dolgov d2424b9e4b
use python unittest for selenium tests 2023-10-28 11:11:13 +03:00
Andrew Dolgov a1a2fe40f6
add a separate interface for auth modules w/ change_password() method 2023-10-27 22:29:03 +03:00
Andrew Dolgov 925256c81f
unify test class naming 2023-10-27 22:10:28 +03:00
Andrew Dolgov 5a7c5b8249
Merge branch 'master' of gitlab.tt-rss.org:tt-rss/tt-rss 2023-10-27 22:07:41 +03:00
Andrew Dolgov 5920ac814c
replace some dirname horrors with a separate unit-tested method 2023-10-27 22:07:28 +03:00
Andrew Dolgov 2af5f73480 Merge branch 'bugfix/psr-4-renames' into 'master'
Fix class names in some more places.

See merge request tt-rss/tt-rss!10
2023-10-26 15:05:07 +00:00
wn_ c7e1caf223 Fix class names in some more places.
Related to the PSR-4 move via 865ecc8796
2023-10-26 15:01:43 +00:00
Andrew Dolgov 8c9c69921f
make phpstan happy 2023-10-25 18:04:42 +03:00
Andrew Dolgov 3181272619
add healthcheck public method, map by default to /healthz 2023-10-25 17:53:49 +03:00
Andrew Dolgov 865ecc8796
move to psr-4 autoloader 2023-10-25 12:55:09 +03:00
Andrew Dolgov 0a5507d3bd
Revert "api: escape newlines in headline content HTML object"
This reverts commit ed43a73369.
2023-10-24 22:58:10 +03:00
Andrew Dolgov 69c1c62992
add a workaround for make_self_url() when invoked off /api/ endpoint, add unit tests for this method 2023-10-24 22:27:27 +03:00
Andrew Dolgov de2830b241
disable xdebug tracing 2023-10-24 21:55:59 +03:00
Andrew Dolgov ed43a73369
api: escape newlines in headline content HTML object 2023-10-24 21:35:48 +03:00
Andrew Dolgov e31636bf97
Merge branch 'master' of gitlab.tt-rss.org:tt-rss/tt-rss 2023-10-24 17:50:30 +03:00
Andrew Dolgov 3d5308a6e5
add stub opentelemetry classes in case it is disabled 2023-10-24 17:50:00 +03:00
Andrew Dolgov 30b36e0034 Update docker-compose.yml 2023-10-24 14:22:09 +00:00
Andrew Dolgov 1e3b7f7a43
Revert "add a self url path hack to strip request path directories (needed for /api/index.php)"
This reverts commit 9826d2f075.
2023-10-23 23:39:28 +03:00
Andrew Dolgov 994f376f42
Revert "make phpstan happy"
This reverts commit deb441e9e3.
2023-10-23 23:39:21 +03:00
Andrew Dolgov deb441e9e3
make phpstan happy 2023-10-23 23:16:54 +03:00
Andrew Dolgov 9826d2f075
add a self url path hack to strip request path directories (needed for /api/index.php) 2023-10-23 23:10:17 +03:00
Andrew Dolgov e956632c5c
set demo webroot values 2023-10-23 09:43:25 +03:00
Andrew Dolgov 7af2938aea
demo - enable auto restart 2023-10-22 22:02:52 +03:00
Andrew Dolgov c28955c8ba
remove helm debug, hide demo job behind CI var 2023-10-22 19:27:42 +03:00
Andrew Dolgov a7f3543516
we don't need a separate demo stage now 2023-10-22 19:26:31 +03:00
Andrew Dolgov 761c3826d1
set imageTag 2023-10-22 19:24:19 +03:00
Andrew Dolgov de39d97e1f
move demo to later stage 2023-10-22 19:20:48 +03:00
Andrew Dolgov 1bfae41e6d
add demo k8s job 2023-10-22 19:18:27 +03:00
Andrew Dolgov efd5d79dde
make sure we fail properly 2023-10-22 13:51:24 +03:00
Andrew Dolgov db05575b2d
add configurable ns 2023-10-22 13:42:41 +03:00
Andrew Dolgov ce3eb32076
un-mock test, use SELENIUM_IMAGE 2023-10-22 13:35:01 +03:00
Andrew Dolgov 752c692170
use CI_COMMIT_SHORT_SHA for selenium test mock 2023-10-22 12:46:39 +03:00
Andrew Dolgov 8d3f570ee9
Merge branch 'master' into protected/selenium 2023-10-22 12:20:38 +03:00
Andrew Dolgov 7bba4ae558
remove startup checks for SELF_URL_PATH, rely on auto-detection instead 2023-10-22 12:19:05 +03:00
Andrew Dolgov 382d01e8db
update test filename 2023-10-22 11:19:56 +03:00
Andrew Dolgov 487635ca28
add integration branch job 2023-10-22 10:59:39 +03:00
Andrew Dolgov bde94dbf4b
add selenium mock 2023-10-22 10:57:58 +03:00
Andrew Dolgov 322296d6a0
fix local compose file typo, wait a bit before curling login page 2023-10-22 10:35:35 +03:00
Andrew Dolgov ccb4a4d337
fix previous 2023-10-22 10:24:14 +03:00
Andrew Dolgov b0f96dbb5a
force create cache directories on app startup 2023-10-22 10:22:47 +03:00
Andrew Dolgov aec8cdd0c8
enable updater by default 2023-10-22 10:11:24 +03:00
Andrew Dolgov cb90393a7e
compose tweaks 2023-10-22 09:55:07 +03:00
Andrew Dolgov 028afdd7d5
add simple dev compose 2023-10-22 09:40:08 +03:00
Andrew Dolgov 6b1b496248
test: run curl to get login page 2023-10-21 20:59:26 +03:00
Andrew Dolgov d744209df7
move phpdoc to publish stage 2023-10-21 20:32:31 +03:00
Andrew Dolgov eac076fcd6
set phpdoc to always run 2023-10-21 20:22:59 +03:00