Commit Graph

142 Commits

Author SHA1 Message Date
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
Anders Kaseorg 8eaad18b8c lib: Upgrade accept-to-gettext.php from 2003-08-14 to 2007-04-01
http://grep.be/data/accept-to-gettext.inc

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00
Anders Kaseorg 526096f06a lib: Upgrade php-gettext from 1.0.11 to 1.0.12
https://launchpad.net/php-gettext

The local change to rename the gettext_reader function to
__construct (commit 00b6b66827) has been
preserved.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00
Anders Kaseorg e3cfa33ba9 lib: Upgrade Prototype from 1.7 to 1.7.3
http://prototypejs.org/

The local change from ‘on’ to ‘p_on’ for Dojo compatibility has been
preserved.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 14:35:26 -05:00
Anders Kaseorg 6887a0f573 lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 13:22:14 -05:00
Anders Kaseorg 9f539be3c2 Replace deprecated dojo.place with domConstruct.place
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 13:22:13 -05:00
Anders Kaseorg 6a11634c93 dojo: Build dojo/dom-construct
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 13:22:13 -05:00
Andrew Dolgov db92edd1aa update phpmailer 2017-01-16 16:30:01 +03:00
Andrew Dolgov 832aa24943 update phpmailer (again) 2016-12-29 07:37:10 +03:00
Andrew Dolgov d518096b83 update phpmailer 2016-12-26 22:26:16 +03:00
Andrew Dolgov d39a2f8005 switch modules to new dojo definition format 2016-08-10 13:40:24 +03:00
Andrew Dolgov 00b6b66827 lib/gettext: use proper constructor 2016-03-30 09:56:11 +03:00
Andrew Dolgov 1003f71e04 minitemplator: use proper constructor 2016-02-17 12:29:42 +03:00
Andrew Dolgov 1bd552ee31 compat patches for php7 2015-12-04 09:29:58 +03:00
Andrew Dolgov 8b08d9d740 move readability libs to system location 2015-07-08 13:44:45 +03:00
Andrew Dolgov 3318d32410 move language detection to a plugin, remove config.php constant 2015-06-19 10:12:47 +03:00
Rob Hoelz baaf4c3043 Make search mechanism pluggable
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching.  It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged.  This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active.  The Sphinx search behavior has been
broken out into a plugin.
2014-04-23 04:49:54 +00:00
Andrew Dolgov 5a801bd6f0 load stylesheets/scripts using helper functions in a few more places 2014-01-28 15:32:19 +04:00