Commit Graph

159 Commits

Author SHA1 Message Date
wn_ d376cd6142 Address upcoming string interpolation deprecation.
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
2022-11-12 16:20:59 +00:00
David Edler de1e218a83
various fixes vor php 8.1 compatibility
Cherry-picked from https://git-gitea.tt-rss.org/fox/tt-rss/pulls/56,
while excluding changes in vendor/ (causes compatiblity issues with
PHP<8 [1]) and strftime-related ones (already re-applied in
https://git-gitea.tt-rss.org/fox/tt-rss/pulls/66).

[1] https://community.tt-rss.org/t/support-for-php-8-1/5089/9
2022-03-09 00:46:15 +08:00
Andrew Dolgov a201e10ee0 Revert "various fixes vor php 8.1 compatibility"
This reverts commit 14027ae04e.
2021-12-01 13:37:35 +03:00
David Edler 14027ae04e various fixes vor php 8.1 compatibility 2021-11-30 21:50:09 +01:00
Andrew Dolgov ef1e2a8b2f update dojo/dijit to 1.16.4 2021-11-15 18:48:47 +03:00
Andrew Dolgov a22ddb2fe0 move material-icons to composer 2021-02-28 14:53:04 +03:00
Andrew Dolgov 3fd7856543 * switch to composer for qrcode and otp dependencies
* move most OTP-related stuff into userhelper
* remove old phpqrcode and otphp libraries
2021-02-26 19:16:17 +03:00
Andrew Dolgov 46e650622c floIcon: declare images property 2021-02-23 11:05:58 +03:00
wn_ 7c966b69d5 Check whether data is parsable by 'imagecreatefromstring' in jimIcon. 2021-02-22 18:03:36 +00:00
Andrew Dolgov c088e9d9d8 get rid of a few more prototype-isms 2021-02-18 22:23:06 +03:00
Andrew Dolgov 70fa423026 initial for RIP prototype/scriptaculous 2021-02-18 21:51:18 +03:00
Andrew Dolgov f2d3cba231 add HTTP_ACCEPT_LANGUAGE handling for php8 2021-02-12 21:20:04 +03:00
Andrew Dolgov 5d0f65358f revert jimIcon stuff 2021-02-08 08:33:37 +03:00
Andrew Dolgov 479da5aa86 jimIcon: hide GD warning 2021-02-08 08:30:04 +03:00
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 2021-02-05 23:41:32 +03:00
wn 75536b4790 Switch to recommended 'default_charset' to fix 'gettext' error.
'mbstring.internal-encoding' was deprecated in 5.6.

https://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding
https://www.php.net/manual/en/ini.core.php#ini.default-charset
2020-12-12 10:28:46 -06:00
Andrew Dolgov 5738e422b5 update jimIcon (https://github.com/jimparis/jimIcon/pull/4) 2020-10-30 09:49:49 +03:00
JustAMacUser c8ac9dc7ea Remove `private` scope for class constants.
This change branches from the merged patch by Sunil Mohan Adapa's for
Debian's package.
2020-09-18 18:13:18 -04:00
Andrew Dolgov 3588d5186e - gettext: merge patch from Sunil Mohan Adapa which rewrites plural parser to not use eval()
- fix typo in aforementioned patch which caused plurals to never load
- update code again to newer PHP constructor syntax
2020-09-18 14:05:34 +03:00
Andrew Dolgov 57fac84516 rename gettext.inc to gettext.inc.php (cosmetic) 2020-09-17 18:56:29 +03:00
Andrew Dolgov 61be0b215d minitemplator->writeString: print always returns 1 in PHP 2020-03-13 14:48:40 +03:00
Andrew Dolgov 491090d21b minitemplator: fix deprecations for PHP 7.4 2020-03-13 14:46:40 +03:00
Conrad Sachweh c2217f2d4b fixed gettext library deprecated constructors
https://www.php.net/manual/en/language.oop5.decon.php

was already done for parent three years ago 00b6b66827
2020-01-09 10:45:09 +01:00
Andrew Dolgov 2bd51c48d8 remove lib/mobile_detect 2018-12-26 09:07:58 +03:00
Andrew Dolgov be49b77b14 Revert "use codeflask for user css editor"
This reverts commit daa43e0572.
2018-12-11 20:48:17 +03:00
Andrew Dolgov 6c9509ebae add night_blue.css 2018-12-11 20:12:22 +03:00
Andrew Dolgov daa43e0572 use codeflask for user css editor 2018-12-11 14:25:41 +03:00
Andrew Dolgov fbc6f39472 night.css: add missing stuff, update alerts 2018-12-09 05:47:13 +03:00
Andrew Dolgov b786713560 rebuild flat theme with dark base color and rebase night.css on it 2018-12-07 08:33:28 +03:00
Andrew Dolgov 40204618bf update (and minify) flat css 2018-12-06 09:41:07 +03:00
Andrew Dolgov fa639df588 remove source files for flat theme from the tree (going to be a separate repo)
combine flat theme css
2018-12-05 14:35:14 +03:00
Andrew Dolgov 89b213b4bb initial for material-icons 2018-12-05 10:50:50 +03:00
Andrew Dolgov 2ab097b2e5 initial work for flat modern theme 2018-12-04 22:24:31 +03:00
Andrew Dolgov 88b8830a6b various CSS updates for flat theme 2018-12-04 20:17:50 +03:00
Andrew Dolgov 563a46f55a initial 2018-12-04 16:53:01 +03:00
Andrew Dolgov 6976cf8679 update tt-rss dojo layer with new dependencies 2018-12-04 16:40:26 +03:00
Andrew Dolgov f097f33836 update dojo to 1.14.2 2018-12-04 16:23:37 +03:00
Andrew Dolgov 57932e1837 remove PHPMailer and related directives from config.php-dist; add pluggable Mailer class 2018-11-22 14:45:14 +03:00
Andrew Dolgov a3e2f1a9c3 define custom dojo modules with define() instead of require(), update startup module dependencies 2018-08-23 09:56:34 +03:00
Andrew Dolgov 0cd4a88dc2 remove previous readability library (unused) 2018-06-21 08:24:58 +03:00
Andrew Dolgov 310c18e6bb move OTPHP to vendor/; additionally move Base32 class to OTPHP namespace 2018-06-20 18:27:34 +03:00
Andrew Dolgov df47100ad1 remove SWF enclosure audio player 2018-06-20 18:17:44 +03:00
Andrew Dolgov a9105e2a61 move JShrink Minifier to vendor/ 2018-06-20 15:04:59 +03:00
Andrew Dolgov 5b6ea1ef91 remove pubsubhubbub: dead 2017-05-16 10:41:20 +03:00
Anders Kaseorg 566e8574fb lib: Upgrade timezones.txt from 2010k/l/m/n/2011a to 2016j
https://www.iana.org/time-zones

The local change adding Automatic was preserved; the local change
removing Zulu was not.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00
Anders Kaseorg 4ad37eda21 lib: Upgrade script.aculo.us from 1.8.3 to 1.9.0
https://script.aculo.us/

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00
Anders Kaseorg becd215a75 lib: Upgrade php-subscriber from ??? to 1213f89 (2016-11-15)
https://github.com/pubsubhubbub/php-subscriber

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00
Anders Kaseorg 5ddc3e274d lib: Upgrade php-publisher from ??? to a5d6a0e (2016-11-15)
https://github.com/pubsubhubbub/php-publisher

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00
Anders Kaseorg e0c232b8f1 lib: Upgrade mobile-detect from svn r44 (2012-05-03) to 2.8.24 (2016-11-11)
https://github.com/serbanghita/Mobile-Detect

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00
Anders Kaseorg 22f5fdf810 lib: Upgrade JShrink from 0.5.1 to 1.1.0
https://github.com/tedivm/JShrink

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00