Commit Graph

66 Commits

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) 2021-03-01 12:11:42 +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 39c0fe3697 shorten many invocations of Ajax.Request in inline form methods 2021-02-18 12:27:26 +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 ea37d05a83 delete unused mail .pngs 2021-02-17 15:53:58 +03:00
Andrew Dolgov 2ac6508fe6 mail, mailto: cleanup markup 2021-02-17 15:53:00 +03:00
Andrew Dolgov 2b2833bb4f plugins: load dialogs via xhr instead of http 2021-02-17 14:56:36 +03:00
Andrew Dolgov bdbbdbb0ed rework controls to accept parameters as array 2021-02-16 16:59:21 +03:00
Andrew Dolgov 1f43d7916c replace print_hidden with hidden_tag 2021-02-16 14:32:06 +03:00
Andrew Dolgov 26d6b84a57 add namespaced controls with unified naming; deprecated old-style control shortcuts 2021-02-16 14:23:00 +03:00
Andrew Dolgov a2e688fcb2 render headline-specific toolbar on the client 2021-02-14 22:17:13 +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 1f2a721905 allow overriding built-in templates via templates.local 2020-03-13 14:40:35 +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 bc2d40009b plugins/mail, mailto: update icons 2018-12-06 08:59:15 +03:00
Andrew Dolgov 814e49f8f7 add icons to accordion panels in preferences
fix typo in pref-prefs closing panel tag
2018-12-06 08:56:28 +03:00
Andrew Dolgov e76d1fb995 plugins: mail, mailto: remove code from global context 2018-12-03 14:21:50 +03:00
Andrew Dolgov 71fc6d45bd refactor error reporting to AppBase; keep exception_error() for now as a shim 2018-12-03 13:38:13 +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 35ded4bc84 edit phrasing of some alert()s 2018-12-02 16:30:32 +03:00
Andrew Dolgov 3678315bea Article, Headlines: shorten several method names 2018-12-02 08:32:13 +03:00
Andrew Dolgov 642c37ea61 further effocts to wrap JS stuff into objects 2018-12-01 21:01:53 +03:00
Andrew Dolgov 2f961ee830 plugins: add some xhrPost refactoring 2018-11-30 15:23:48 +03:00
Andrew Dolgov 55bf4bc1d3 mailer: split to/from name/addresses 2018-11-22 16:36:10 +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 3a0292303e php: remove trailing whitespaces 2018-11-03 15:08:43 +03:00
Dave Z 12bfce5e66 Fix missing parenthesis. 2018-01-01 18:59:28 -05:00
Dave Z 33c850f5ab Fix PDO query in mail plugin. 2018-01-01 13:33:58 -05:00
Andrew Dolgov 2179332acd plugins/mail: use PDO 2017-12-03 10:38:17 +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
Andrew Dolgov 328118d12e use print_hidden() for hidden dojo form fields 2017-02-10 14:36:21 +03:00
Andrew Dolgov 8de58e1798 mail plugin: i guess rows= on dijit text areas doesn't work now 2017-01-04 10:37:44 +03:00
Andrew Dolgov fb8a032a6b minor textarea fixes 2015-08-11 18:44:07 +03:00
Andrew Dolgov 38bc9dad22 mail plugin: use dijit.form.ComboBox to allow random email input instead of only predefined ones 2014-08-26 18:11:32 +04:00
Andrew Dolgov a6626ebd4c mail plugin: fix typo 2014-08-06 10:47:09 +04:00
Andrew Dolgov 6d194d8541 mail plugin: use system from address 2014-08-06 09:36:55 +04:00
Andrew Dolgov 2d3ff64360 mail plugin: destination dropdown css fix 2014-07-02 10:39:53 +04:00
Andrew Dolgov 3e0f2090bf mail plugin: cleanup disabled completion, add configurable destination email list 2014-07-02 10:38:59 +04:00
Andrew Dolgov d7482a503a mail plugin: only mail unique articles 2014-07-02 09:53:58 +04:00
Andrew Dolgov 2f20dd58d2 integrate silk icons by Mark James 2013-07-10 13:09:12 +04:00
Andrew Dolgov a9358e1d4e Revert "added a personalized email template. if the file:"
This reverts commit f766373271.
2013-05-30 08:36:51 +04:00
justauser f766373271 added a personalized email template. if the file:
my_email_article_template.txt

exists it will be used, otherwise the default will be used
2013-05-29 16:23:04 -04:00
justauser ed7dd4bf6c changed the preg_split to explode per fox. fixed the template to
have a block for note and only include if there is a note
2013-05-29 08:06:05 -04:00
justauser 2e937560df Added the note text to the body of the email sending articles 2013-05-27 12:07:56 -04:00
justauser 6dd01fcea2 Changes to support a new version of the phpmailer. Adds a new setting SMTP_SECURE,
which cna have a value of tls, ssl or be empty.  This is used for secure SMTP servers.
Also added the ability to have multiple email addresses in the to field.  Addresses are
separated by semicolons (;)
2013-05-26 11:27:42 -04:00
Andrew Dolgov 106a3de91c plugins: bump API version 2013-04-19 17:31:56 +04:00
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 2013-04-17 18:34:18 +04:00