Andrew Dolgov
fe5ada7250
set some annotations on Plugin hook methods
2021-11-13 20:07:13 +03:00
Andrew Dolgov
03d0692268
no need to duplicate annotations
2021-11-13 19:52:47 +03:00
Andrew Dolgov
68d7cf44f9
phpstan: deal with plugins/share
2021-11-13 19:49:37 +03:00
wn_
03495c11ed
Address PHPStan warnings in 'classes/sanitizer.php'.
...
This also includes some minor tweaks to things that call 'Sanitizer::sanitize()'.
2021-11-11 19:59:25 +00:00
linkai
983655165e
Fix:Plugins-share:init.php - site_url is NULL when share article by URL from archived
2021-05-12 09:46:52 +08:00
linkai
acf0e0d266
Fix:Plugins-share:init.php - site_url is NULL when share article by URL from archived
2021-05-11 16:03:18 +08:00
linkai
0574675ed6
Fix:Plugins-share:init.php - site_url is NULL when share atircle by URL form archived
2021-04-26 12:17:29 +08:00
Andrew Dolgov
68299c914b
share: move og:image back to head
2021-03-21 09:35:43 +03:00
Andrew Dolgov
6e0474a7c8
update zoom layout a bit
2021-03-11 22:08:40 +03:00
Andrew Dolgov
ac6a59914b
nsfw: support API clients
2021-03-07 13:22:38 +03:00
Andrew Dolgov
d6fd0d5462
add some icons, remove some words
2021-03-06 23:51:48 +03:00
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)
2021-03-01 12:11:42 +03:00
Andrew Dolgov
cf249d7e8c
modify classname helpers to use element.classList; fix feed debugger & share--get
2021-02-19 19:29:43 +03:00
Andrew Dolgov
660a1bbe01
* switch to xhr.post() almost everywhere
...
* call App.handlerpcjson() automatically on json request (if possible)
* show net/log indicators in prefs
2021-02-19 13:44:56 +03:00
Andrew Dolgov
6b43b788d9
migrate xhrJson invocations to the new helper
2021-02-19 10:22:00 +03: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
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
2021-02-17 21:44:21 +03:00
Andrew Dolgov
4325c30a3f
share: markup cleanup
2021-02-17 12:10:19 +03:00
Andrew Dolgov
273ada7353
* implement shortcut syntax for exposed plugin methods
...
* move shared article rendering code to share plugin
2021-02-17 09:59:14 +03:00
Andrew Dolgov
7adcada324
share plugin: cleanup, fix icon not highlighting properly
2021-02-17 08:52:39 +03:00
Andrew Dolgov
0fc783e2b3
cleanup markup in some plugins, make nsfw generate dijit widgets
2021-02-16 22:07:37 +03:00
Andrew Dolgov
17413078a7
pref feeds: index cleanup, split into several methods, use tabs to maximize space for feed tree, persist feed tree state
2021-02-13 18:32:02 +03:00
Andrew Dolgov
3d11c61f32
* OPML import: don't reload everything, just feed tree
...
* dialogs: use auto-destroying dialog for almost all dialogs instead of destroying them manually
* some general dialog-related cleanup
2021-02-12 15:22:10 +03:00
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
2021-02-12 09:02:44 +03:00
Andrew Dolgov
335147e572
dialogs: use semantic markup instead of dlgsec stuff
...
continue unifying quoting style for html strings
2019-02-22 10:48:56 +03:00
Andrew Dolgov
55b032a6bd
plugins/share: update layout
2019-02-22 06:35:14 +03:00
Andrew Dolgov
4e253add8c
UI: add some more info links to relevant wiki pages; minor layout updates
2019-02-21 16:21:16 +03:00
Andrew Dolgov
607ede512f
center previously centered text on single line dialog panels
2018-12-09 16:27:29 +03:00
Andrew Dolgov
4036b479f9
share plugin: fix unshare()
2018-12-09 11:48:29 +03:00
Andrew Dolgov
a68b150601
remove separate classes for various panels, unify under .panel
...
remove a few other unnecessary css classes/ids
2018-12-07 14:03:33 +03:00
Andrew Dolgov
94bc24ff31
share by url stuff: use link icon instead of share
2018-12-05 22:33:09 +03:00
Andrew Dolgov
37205321d9
remove share.png
2018-12-05 22:28:09 +03:00
Andrew Dolgov
9703162f57
plugins: note,shared - move to iconfont
2018-12-05 22:19:46 +03:00
Andrew Dolgov
6befff30d7
updates for flat theme (mostly disable old dijit overrides)
2018-12-04 19:03:42 +03:00
Andrew Dolgov
31e79317b3
normalize various font sizes and families between prefs & main UI
...
change some dialogs layout a bit to maybe become more readable
2018-12-04 15:22:22 +03:00
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
2f961ee830
plugins: add some xhrPost refactoring
2018-11-30 15:23:48 +03:00
Andrew Dolgov
da1a3c2cc5
remove ok = confirm() thing
2018-11-30 13:05:59 +03:00
Andrew Dolgov
6fb5ce5e35
add some primary dialog actions; update css
2017-12-11 18:36:36 +03:00
Andrew Dolgov
b6f3562d1e
plugin base class: init pdo object
...
plugins/share: use PDO
2017-12-03 09:43:18 +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
73dfda1da6
various minor style updates, add danger buttons
2015-08-13 13:06:03 +03:00
Andrew Dolgov
3ceb893f66
add one catchall function to make uniqids/keyhashes/etc used by tt-rss
2015-08-03 19:21:06 +03:00
Andrew Dolgov
4c63934bac
increase randomness of shared url keys a bit
2014-01-17 13:41:27 +04:00
Andrew Dolgov
76d78eb2e7
remove unnecessary wrapping from share uniqid() keys
2013-12-24 13:27:57 +04:00
Andrew Dolgov
abb04b76a5
share: indicate whether article is shared or not using the icon
2013-07-11 16:20:24 +04:00