Andrew Dolgov
78cc470193
remove some plugin JS code out of global context
2018-12-03 10:51:14 +03:00
Andrew Dolgov
526389b2d3
update notify_* calls to use Notify
2018-12-02 20:56:30 +03:00
Andrew Dolgov
d9c5c93cef
move some more stuff out of common.js
...
rework client-side cookie functions a bit
limit dojo cachebust based on server scripts modification time
remove param_escape()
2018-12-02 20:07:57 +03:00
Andrew Dolgov
0a18d0b1ed
Feeds: shorten some method names
...
finally rename "view as rss"
2018-12-02 08:57:22 +03:00
Andrew Dolgov
1e2d4410d3
move some more shared stuff to CommonDialogs, Filters, and Utils
2018-12-01 22:39:29 +03:00
Andrew Dolgov
049a37aa0e
WIP reshuffling of JS global context into separate logical objects
2018-12-01 17:05:35 +03:00
Andrew Dolgov
dbb4cdbe36
plugins: run eslint const/let fixes
2018-11-30 08:39:45 +03:00
Andrew Dolgov
c10a43069e
debug logging system rework:
...
* support various logging levels per-message
* remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
* _debug() is kept as a compatibility shim for plugins
2018-11-30 08:34:29 +03:00
Andrew Dolgov
6e4731d9f9
plugins/af_psql_trgm: use PDO
2017-12-03 10:26:38 +03:00
Andrew Dolgov
da9ea57d1c
checkbox to sql bool related changes, some more boolean fixes
2017-12-02 14:07:48 +03:00
Andrew Dolgov
86a8351ca2
move the following to Feeds:
...
+ static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+ static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+ static function subscribe_to_feed($url, $cat_id = 0,
+ static function getFeedIcon($id) {
+ static function getFeedTitle($id, $cat = false) {
+ static function getCategoryUnread($cat, $owner_uid = false) {
+ static function getCategoryChildrenUnread($cat, $owner_uid = false) {
2017-05-04 14:50:56 +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
Jérémy DECOOL
ba2853caac
Prevent target='_blank' vulnerability on dynamic link
2017-02-12 11:01:36 +01:00
Andrew Dolgov
dc8bd8a640
add some print_checkbox/print_button calls; rename some plugin preference pane titles
2017-02-10 14:57:25 +03:00
Andrew Dolgov
328118d12e
use print_hidden() for hidden dojo form fields
2017-02-10 14:36:21 +03:00
Andrew Dolgov
e8a94ec7e2
af_psql_trgm: do not try to render preference pane if enabled on mysql
2016-08-25 09:47:02 +03:00
Andrew Dolgov
d419aed543
trgm plugin: increase check distance to 3 days
2016-08-01 08:26:11 +03:00
Andrew Dolgov
b1cefbc506
af_psql_trgm: fix min_title_length not being used while processing articles
2016-01-17 11:32:10 +03:00
Andrew Dolgov
73dfda1da6
various minor style updates, add danger buttons
2015-08-13 13:06:03 +03:00
Andrew Dolgov
dcbe36b2a2
fix some remaining old-style viewfeed() calls
2015-08-13 09:51:39 +03:00
Andrew Dolgov
839d150a60
minor layout updates related to new alert styles
2015-08-12 12:23:18 +03:00
Andrew Dolgov
9264ec7055
af_psql_trgm: enable checking for similar articles in the source feed as long as guid is different
2015-07-15 13:15:07 +03:00
Andrew Dolgov
f46fe83998
af_psql_trgm: add option to match all feeds
2015-06-22 21:36:25 -07:00
Andrew Dolgov
4cbca7b28e
af_psql_trgm: match equal strings correctly, remove score checking from show related because filter plugin does not take it into account
2015-06-22 18:35:24 -07:00
Andrew Dolgov
53df80c43f
af_psql_trgm: clear no longer existing feeds from stored list of enabled ids
2015-06-11 17:17:19 +03:00
Andrew Dolgov
94238b143a
related: do not consider negative scored headlines
2015-01-19 18:18:03 +03:00
Andrew Dolgov
d806953471
trgm: extend relative articles search interval
2015-01-19 16:42:10 +03:00
Andrew Dolgov
f52879fed5
trgm: add basic related stories dialog
2015-01-19 15:46:15 +03:00
Andrew Dolgov
7ebb2daf91
trgm: add disabled for now button part (add missing files)
2015-01-19 15:12:40 +03:00
Andrew Dolgov
167fb03f3e
trgm: add disabled for now button part
2015-01-19 14:59:33 +03:00
Andrew Dolgov
9a121298e1
add some stuff to the trgm plugin
2015-01-19 14:22:41 +03:00
Andrew Dolgov
97600ddd97
af_psql_trgm: allow dupe checking within one feed
2015-01-19 12:56:36 +03:00
Andrew Dolgov
117efb6fa4
add trgm plugin for postgresql
2015-01-19 12:52:15 +03:00