Commit Graph

99 Commits

Author SHA1 Message Date
Andrew Dolgov 14ad8b21d5
bump CI jobs & utility scripts to php83 2023-12-10 09:36:09 +03:00
Andrew Dolgov cfcab96e18
pass API_URL to phpunit-integration CLI 2023-10-29 10:01:14 +03:00
Andrew Dolgov 855695a862
add stuff necessary to run integration tests using phpunit 2023-10-28 18:45:09 +03:00
Andrew Dolgov 01c9869e2b
phpunit - skip integration tests 2023-10-28 18:07:54 +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 3d5308a6e5
add stub opentelemetry classes in case it is disabled 2023-10-24 17:50:00 +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 93bb473bce
make phpstan happy, run phpstan on all files on task startup 2023-10-21 10:02:49 +03:00
Andrew Dolgov 62ca093b75
make phpstan & watcher happy, stop running phpstan on vendor/ 2023-10-20 21:22:03 +03:00
Andrew Dolgov 152545b3c9
phpstan task: analyze only modified files 2023-04-06 20:25:48 +03:00
Andrew Dolgov d5c043e846
rework phpstan task to use inotifywait 2022-07-31 11:13:17 +03:00
Andrew Dolgov ea25c49eb9 update messages.pot 2021-03-08 19:07:05 +03:00
Andrew Dolgov bf9033beb6 rebase-translations: disable everything except for messages.pot 2021-02-26 14:50:12 +03:00
Andrew Dolgov fa7c6a6129 we need to compile .mo files after all 2021-02-26 13:26:31 +03:00
Andrew Dolgov cb512d653c match a few more translated strings 2021-02-26 13:07:31 +03:00
Andrew Dolgov 2a0b3a161c rebase-translations: try only dealing with messages.pot, let weblate rebuild .po files 2021-02-26 13:03:33 +03:00
Andrew Dolgov c21fbb2d13 rebase translations, fixing a few JS strings not mached; remove obsolete scripts (2) 2021-02-26 12:59:13 +03:00
Andrew Dolgov 15cad4a9c0 rebase translations, fixing a few JS strings not mached; remove obsolete scripts 2021-02-26 12:58:33 +03:00
Andrew Dolgov e4107ac952 wip: initial for config object 2021-02-22 21:47:48 +03:00
Andrew Dolgov add6242e51 do not use define_default() because it screws with static analyzers 2021-02-22 17:35:52 +03:00
fox 3f00502305 Merge pull request 'Let 'RSSUtils::check_feed_favicon' update existing favicons.' (#6) from wn/tt-rss:check-feed-favicon into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/6
2021-02-22 17:25:02 +03:00
Andrew Dolgov be4e7b1340 fix several issues reported by phpstan 2021-02-22 14:41:09 +03:00
wn_ 02a9485966 Try to limit max favicon size, don't store current/old in a var. 2021-02-21 23:30:31 +00:00
Andrew Dolgov 43abc183ab add phpstan dummy file 2021-02-08 10:31:44 +03:00
Andrew Dolgov dcad60284c translations: rebase, add T_nsprintf 2021-01-07 18:18:22 +03:00
Andrew Dolgov 65254f5db4 - move sphinx plugin to a separate repo
- regenerate config checks without sphinx-related variables
2020-12-11 09:48:34 +03:00
Andrew Dolgov 1aeeed930a remove a bunch of obsolete files 2019-12-08 09:44:05 +03:00
Andrew Dolgov 526389b2d3 update notify_* calls to use Notify 2018-12-02 20:56:30 +03:00
Andrew Dolgov b2f0858060 sanity config: fix typo 2018-11-22 22:15:27 +03:00
Andrew Dolgov c2744831cd phpmd ci: add plugins 2017-04-26 21:15:43 +03:00
Andrew Dolgov 87267ce355 ci scripts: exit properly on failure 2017-04-26 21:15:23 +03:00
Andrew Dolgov 42b37a0f90 phpmd: disable cleancode for the time being 2017-04-26 21:07:02 +03:00
Andrew Dolgov 21ce7d9ec0 update phpmd ruleset to use (subset) of cleancode
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files
2017-04-26 20:57:36 +03:00
Andrew Dolgov cffe1d5151 enable phpmd for all components 2017-04-26 16:29:50 +03:00
Andrew Dolgov 3923815580 ci: check syntax via php first 2017-04-26 16:26:53 +03:00
Andrew Dolgov 897804cef2 add back stuff for selenium tests 2017-04-26 16:07:35 +03:00
Andrew Dolgov b3b2782358 add basic schema test back to CI 2017-04-26 16:00:03 +03:00
Andrew Dolgov 9b666d2aa1 fix phpmd.sh 2017-04-26 15:38:40 +03:00
Andrew Dolgov 2f3bce5960 move phpmd stuff to a script 2017-04-26 15:33:01 +03:00
Andrew Dolgov 6d89543f1d add utils/gitlab-ci 2017-04-26 14:07:11 +03:00
Andrew Dolgov 833636bbd0 limit CI to phpmd for the time being 2017-04-26 14:01:25 +03:00
Andrew Dolgov 94eedc29c0 add initial gitlab-ci and selenium stuff 2017-04-25 13:44:41 +03:00
Andrew Dolgov aa4ab8e0bc remove .htaccess files 2016-05-13 09:10:54 +03:00
Andrew Dolgov ec5ac2ec30 rebase translations, update script to maybe extract more translations from js files (fuck you xgettext you piece of shit) 2014-12-18 18:27:30 +03:00
Andrew Dolgov f8eb8d78ac use Perl instead of Java as a base language for JS files; rebase translations 2014-09-06 15:11:06 +04:00
Andrew Dolgov d3b0e3487e fix xgettext extraction of plural forms, replace wrong ngettext() calls with _ngettext(), rebase translations 2013-09-02 13:09:32 +04:00
Andrew Dolgov e1f76af006 block listing of several util directories; deny access to config.php 2013-04-11 22:01:10 +04:00
Andrew Dolgov dfad9d7a36 pref-prefs: don't use schema-defined help/desc/section names 2013-04-02 16:20:43 +04:00
Andrew Dolgov be8612c438 remove release deb/tarball scripts 2013-03-26 13:03:30 +04:00