Commit Graph

59 Commits (master)

Author SHA1 Message Date
Andrew Dolgov 20a844085f hide version for bundled plugins because it's meaningless; for everything else support showing version using git (if about[0] is null) 3 years ago
Andrew Dolgov e4107ac952 wip: initial for config object 3 years ago
Andrew Dolgov 660a1bbe01 * switch to xhr.post() almost everywhere
* call App.handlerpcjson() automatically on json request (if possible)
 * show net/log indicators in prefs
3 years ago
Andrew Dolgov bed36cbf9f af_psql_trgm: cleanup 3 years ago
Andrew Dolgov d8a99ce06a remove unneeded headings 3 years ago
Andrew Dolgov e4609c18ef * add (disabled) shortcut syntax for plugin methods
* add controls shortcut for pluginhandler tags
 * add similar shortcut for frontend
 * allow plugins to selectively exclude their methods from CSRF checking
3 years ago
Andrew Dolgov 4632d6cf55 fix some php8 warnings 3 years ago
Andrew Dolgov 538f87e415 af_psql_trgm: don't load dialog via http 3 years ago
Andrew Dolgov f58c49beaa replace a few more controls to new style 3 years ago
Andrew Dolgov 1f43d7916c replace print_hidden with hidden_tag 3 years ago
Andrew Dolgov 020f062a76 feeds: unify naming 3 years ago
Andrew Dolgov d466284fab * customizeCSS: client dialog
* remove hardcoded width from most dialogs (move to css)
* add helper to easily get dialog from its widget
* rework some dialog buttons to use current object instead of calling dialog by name
3 years ago
Andrew Dolgov 9de26d44da af_psql_trgm: fix warning 3 years ago
Andrew Dolgov 6d4005f984 af_psql_trgm:
1. better debugging output
2. fix incorrect default values being used sometimes
3. remove special workaround for equal titles because trgm extension
seems to be working properly for those now (tested on postgres 11)
4. code cleanup
3 years ago
Andrew Dolgov 215f388992 move timestamp-related stuff to a separate class 4 years ago
Andrew Dolgov a4525d31b2 replace FALSE with false so that static analyzer shuts up about it 4 years ago
Andrew Dolgov 19f162dbe3 css: insensitive -> text-muted 5 years ago
Andrew Dolgov abfd552962 plugins: update markup 5 years ago
Andrew Dolgov 335147e572 dialogs: use semantic markup instead of dlgsec stuff
continue unifying quoting style for html strings
5 years ago
Andrew Dolgov 4d9141d762 simplify dlgSec-related markup 5 years ago
Andrew Dolgov 0efb6e1bc2 remove pub_set.png, replace usages with iconfont 6 years ago
Andrew Dolgov 165eea32e8 af_psql_trgm: fix parameter not being quoted properly in showrelated 6 years ago
Andrew Dolgov a68b150601 remove separate classes for various panels, unify under .panel
remove a few other unnecessary css classes/ids
6 years ago
Andrew Dolgov 836a949407 af_psql_trgm: fix showrelated() layout 6 years ago
Andrew Dolgov 814e49f8f7 add icons to accordion panels in preferences
fix typo in pref-prefs closing panel tag
6 years ago
Andrew Dolgov c700345c96 trgm: use vector icon, replace recently read icon 6 years ago
Andrew Dolgov 78cc470193 remove some plugin JS code out of global context 6 years ago
Andrew Dolgov 526389b2d3 update notify_* calls to use Notify 6 years ago
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()
6 years ago
Andrew Dolgov 0a18d0b1ed Feeds: shorten some method names
finally rename "view as rss"
6 years ago
Andrew Dolgov 1e2d4410d3 move some more shared stuff to CommonDialogs, Filters, and Utils 6 years ago
Andrew Dolgov 049a37aa0e WIP reshuffling of JS global context into separate logical objects 6 years ago
Andrew Dolgov dbb4cdbe36 plugins: run eslint const/let fixes 6 years ago
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
6 years ago
Andrew Dolgov 6e4731d9f9 plugins/af_psql_trgm: use PDO 7 years ago
Andrew Dolgov da9ea57d1c checkbox to sql bool related changes, some more boolean fixes 7 years ago
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) {
7 years ago
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
7 years ago
Jérémy DECOOL ba2853caac Prevent target='_blank' vulnerability on dynamic link 7 years ago
Andrew Dolgov dc8bd8a640 add some print_checkbox/print_button calls; rename some plugin preference pane titles 7 years ago
Andrew Dolgov 328118d12e use print_hidden() for hidden dojo form fields 7 years ago
Andrew Dolgov e8a94ec7e2 af_psql_trgm: do not try to render preference pane if enabled on mysql 8 years ago
Andrew Dolgov d419aed543 trgm plugin: increase check distance to 3 days 8 years ago
Andrew Dolgov b1cefbc506 af_psql_trgm: fix min_title_length not being used while processing articles 8 years ago
Andrew Dolgov 73dfda1da6 various minor style updates, add danger buttons 9 years ago
Andrew Dolgov dcbe36b2a2 fix some remaining old-style viewfeed() calls 9 years ago
Andrew Dolgov 839d150a60 minor layout updates related to new alert styles 9 years ago
Andrew Dolgov 9264ec7055 af_psql_trgm: enable checking for similar articles in the source feed as long as guid is different 9 years ago
Andrew Dolgov f46fe83998 af_psql_trgm: add option to match all feeds 9 years ago
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 9 years ago