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)
4 years ago
Andrew Dolgov
afc7142250
move all $fetch globals to UrlHelper
4 years ago
Andrew Dolgov
c521e26a19
use absolute namespace for readability
4 years ago
Andrew Dolgov
bc4475b669
add missing composer files
4 years ago
Andrew Dolgov
cf1ede0ba8
pull latest readability-php via composer
4 years ago
Andrew Dolgov
5cec4eb015
af_readability: fix selector
4 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
4 years ago
Andrew Dolgov
6b43b788d9
migrate xhrJson invocations to the new helper
4 years ago
Andrew Dolgov
70fa423026
initial for RIP prototype/scriptaculous
4 years ago
Andrew Dolgov
d8a99ce06a
remove unneeded headings
4 years ago
Andrew Dolgov
39c0fe3697
shorten many invocations of Ajax.Request in inline form methods
4 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
4 years ago
Andrew Dolgov
00b31c3f53
af_readability: cleanup markup
4 years ago
Andrew Dolgov
91049335eb
af_readability: cleanup markup
4 years ago
Andrew Dolgov
f58c49beaa
replace a few more controls to new style
4 years ago
Andrew Dolgov
1f43d7916c
replace print_hidden with hidden_tag
4 years ago
Andrew Dolgov
020f062a76
feeds: unify naming
4 years ago
Andrew Dolgov
7874f6ac58
remove PHPMD.UnusedFormalParameter
4 years ago
Andrew Dolgov
d293cbd5a9
fix several warnings related to feed editor
4 years ago
Andrew Dolgov
8479421da4
af_readability: allow appending to original summary instead of always
...
replacing it, some minor code cleanup
4 years ago
Andrew Dolgov
74568df4ff
remove a lot of stuff from global context (functions.php), add a few helper classes instead
4 years ago
Andrew Dolgov
a4525d31b2
replace FALSE with false so that static analyzer shuts up about it
4 years ago
Andrew Dolgov
a802649d53
rename cdmScrollToId to cdmMoveToId
...
prevent smooth scrolling when going directly to an article
5 years ago
Andrew Dolgov
4e74da590e
af_readability: allow get full text button to work as a toggle; in cdm, scroll to article after embedding
5 years ago
Andrew Dolgov
b159bbe55d
af_readability: sanitize content requested for embedding
5 years ago
Andrew Dolgov
3b635c7557
fix plugins/note javascript part broken by previous changeset
5 years ago
Andrew Dolgov
71ff485fbf
af_readability: add article button to embed content of a specific article
5 years ago
Aleksandr Beliaev
7a4d5cc724
Fix error "mb_convert_encoding(): Illegal character encoding specified"
...
modified: plugins/af_readability/init.php
5 years ago
Andrew Dolgov
e887d68f21
af_readability: require php 7.0
5 years ago
Andrew Dolgov
3e4701116d
af_readability: add missing file
5 years ago
Andrew Dolgov
967cccb7c5
af_readability: relax non-unicode hack to apply to HTML4 meta element markup
6 years ago
Andrew Dolgov
fda475bd93
af_readability: fix HOOK_GET_FULL_TEXT not being installed because plugin init() is called before load_data()
6 years ago
Andrew Dolgov
adc2a51695
update plugin readability-related option names
6 years ago
Andrew Dolgov
d0a9aeaf80
move readability library to af_readability/vendor out of global vendor directory
...
af_redditimgur: use HOOK_GET_FULL_TEXT instead of invoking readability directly
6 years ago
Andrew Dolgov
6955b2e02d
plugins: add HOOK_GET_FULL_TEXT which may be used to provide full text extraction to core code and other plugins, instead of trying to invoke af_readability specifically
6 years ago
Andrew Dolgov
671f4cee65
domdocument: remove old meta charset unicode hacks, replace with shorter xml preamble utf8 hack (on loadhtml where it makes sense)
...
af_readability: better (?) charset hack for non-unicode pages
6 years ago
Andrew Dolgov
abfd552962
plugins: update markup
6 years ago
Andrew Dolgov
335147e572
dialogs: use semantic markup instead of dlgsec stuff
...
continue unifying quoting style for html strings
6 years ago
Andrew Dolgov
fd8f8c7b3e
af_readability: construct readability object inside try-catch block
6 years ago
Andrew Dolgov
4d9141d762
simplify dlgSec-related markup
6 years ago
Andrew Dolgov
a5517fe857
fetch_file_contents: decompress gzipped data
...
af_readability: remove utf8 preamble hack
6 years ago
Andrew Dolgov
0efb6e1bc2
remove pub_set.png, replace usages with iconfont
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
814e49f8f7
add icons to accordion panels in preferences
...
fix typo in pref-prefs closing panel tag
6 years ago
Andrew Dolgov
526389b2d3
update notify_* calls to use Notify
6 years ago
Andrew Dolgov
1e2d4410d3
move some more shared stuff to CommonDialogs, Filters, and Utils
6 years ago
Andrew Dolgov
c925f4e3fd
use catchall exception handler for readability
6 years ago
Andrew Dolgov
6d95e53524
af_readability: check if sanitized content has anything before replacing
...
original excerpt
af_readability, af_redditimgur: check php version before using Readability
6 years ago
Andrew Dolgov
acf155cf8f
remove old-style readability loading
7 years ago
Andrew Dolgov
2aaefbfa54
update autoloader to consider namespaces for third party libraries: placed and loaded from vendor/namespace/classpath.php
...
update readability to a newer implementation based on Readability.js (https://github.com/andreskrey/readability.php )
add vendor/Psr/Log interface required for the above
7 years ago