summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2023-02-25Merge branch 'master' of git.tt-rss.org:tt-rss/tt-rssAndrew Dolgov
2023-02-25require PHP to have support for flock()Andrew Dolgov
2023-02-10Fix calculating average color for *.icoChih-Hsuan Yen
Currently colorPalette() always fails for *.ico due to a logic error. It's a regression from 8f749fe61b038833069c4e2d0dec4749643b4371.
2022-12-30deal with type errors in batch feed editor properly, un-deprecate PDO ↵Andrew Dolgov
wrapper functions and document them for posterity
2022-12-30batch feed editor:Andrew Dolgov
- fix some field changes not applying because of DB type errors - rework to use bound vars instead of sql query concatenation deprecate: checkbox_to_sql_bool(), bool_to_sql_bool()
2022-10-10Return true in custom error handler for proper suppressionjmechnich
2022-10-01Fix handling of suppressed errorsjmechnich
2022-08-22update gl translation label (2)Andrew Dolgov
2022-08-22update gl translation labelAndrew Dolgov
2022-08-21enable gl translation (Galician)Andrew Dolgov
2022-08-12Use the null coalescing assignment operator in various places.wn_
2022-07-24 * add HOOK_LOGINFORM_ADDITIONAL_BUTTONSAndrew Dolgov
* allow plugins to inject JS code into login form
2022-04-18fix be locale labelAndrew Dolgov
2022-04-18enable Belarusian translation (proper UI label pending)Andrew Dolgov
2022-02-20 * Feeds::_get_counters - fix retrieving unread for tagsAndrew Dolgov
* mark several symbols as @deprecated properly * replace uses of (deprecated) getFeedUnread() with Feeds::_get_counters()
2021-11-23mark clean() return value as nullableAndrew Dolgov
2021-11-20format_backtrace: revise previous to only try truncating/adding actual stringsAndrew Dolgov
2021-11-20 * sql_bool_to_bool: make parameter nullableAndrew Dolgov
* errorhandler: don't try to truncate null strings * UrlHelper::rewrite_relative: fix undefined offset warnings for URLs that lack schema/host (data: etc)
2021-11-14Address PHPStan warnings in 'include/colors.php'.wn_
Also some formatting for readability.
2021-11-14Address PHPStan warning in 'classes/pref/prefs.php'.wn_
Also update 'select_hash' and 'select_tag' values param, which can have int or string keys.
2021-11-11Address PHPStan warnings in 'include/functions.php'.wn_
2021-11-11Address PHPStan warnings in 'include/errorhandler.php'.wn_
2021-11-11Address PHPStan warnings in 'include/controls_compat.php'.wn_
2021-11-11Address PHPStan warnings in 'include/controls.php'.wn_
2021-11-11Address PHPStan warnings in 'classes/timehelper.php'.wn_
2021-11-11Address PHPStan warnings in 'classes/sanitizer.php'.wn_
This also includes some minor tweaks to things that call 'Sanitizer::sanitize()'.
2021-11-11Address PHPStan warnings in 'include/sessions.php'.wn_
2021-11-10add two helper account access levels:Andrew Dolgov
- read only - can't subscribe to more feeds, feed updates are skipped - disabled - can't login define used access levels as UserHelper constants and refactor code to use them instead of hardcoded numbers
2021-11-01Address PHPStan warnings in 'include/colors.php'.wn_
------ ------------------------------------------------------------------ Line include/colors.php ------ ------------------------------------------------------------------ 215 Variable $out might not be defined. 223 Parameter #3 $pad_string of function str_pad expects string, int given. 255 Variable $h might not be defined. 317 Variable $img might not be defined. ------ ------------------------------------------------------------------
2021-09-08OPML: multiple fixesAndrew Dolgov
- remove unused integer indexes when exporting filters as JSON - fix warning when importing filters without rules - properly assign category IDs for category filter rules - fix warning: check if outline attributes like xmlUrl are set before trying to use them - fix warning: don't try to use libxml_disable_entity_loader on PHP 8
2021-08-23remove SELF_USER_AGENT custom constant, replaced with configurable ↵Andrew Dolgov
Config::HTTP_USER_AGENT / Config::get_user_agent()
2021-06-25prolong PHP session cookie automatically to stop hard logouts after ↵Andrew Dolgov
SESSION_COOKIE_LIFETIME expires
2021-06-17clarify some @deprecation noticesAndrew Dolgov
2021-05-21feeditem_atom: support xml:base for enclosures and entry contentAndrew Dolgov
UrlHelper::rewrite_relative: use base URL path if relative url path is not absolute (experimental)
2021-05-11use database-backed sessions in single user modeAndrew Dolgov
2021-03-11add Config::LOCAL_OVERRIDE_JSAndrew Dolgov
2021-03-08cleanup javascript_tag and stylesheet_tagAndrew Dolgov
2021-03-07hide event log accordion pane if LOG_DESTINATION is not sqlAndrew Dolgov
2021-03-05login page: fix a warning if return is unsetAndrew Dolgov
2021-03-05sessions: stop validating against hash of user agent because chromium is sendingAndrew Dolgov
different agent headers for whatever reason, example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36 Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36 seems to be related, at least, to App.postOpenWindow() hack.
2021-03-04fix a bunch of bookmarklets login forms not leading backAndrew Dolgov
2021-03-04bring back web dbupdate using new migrations systemAndrew Dolgov
2021-03-04sessions: don't check schema versionAndrew Dolgov
2021-03-02move dbupdater to db/updater; move base SCHEMA_VERSION constant inside ↵Andrew Dolgov
db/updater class
2021-03-02* sanitize: never rewrite relative links to our own prefixAndrew Dolgov
* use Config::get_self_url() instead of get_self_url_prefix() in a bunch of places
2021-03-01userhelper: use orm for a few more user-related thingsAndrew Dolgov
2021-03-01simplify internal authentication code and bump default algo to SSHA-512Andrew Dolgov
2021-03-01move version-related stuff to Config; fix conditional feed requestsAndrew Dolgov
2021-03-01we don't need to initialize urlhelper propertiesAndrew Dolgov
2021-03-01move startup checks to Config, set a bunch of @deprecated annotationsAndrew Dolgov