Commit Graph

50 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 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 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 526389b2d3 update notify_* calls to use Notify 2018-12-02 20:56:30 +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 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
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov ea4e11032a mail plugin: fix blank From: header 2013-04-16 16:36:05 +04:00
Andrew Dolgov 83b1ddafef plugins/mail: remove secretkey stuff 2013-04-03 22:55:46 +04:00
Andrew Dolgov 6ef8ec84cb Merge pull request #73 from derekmurawsky/dmChanges
Centralized mail handling per post on google + community.
2013-03-22 22:09:34 -07:00
derekmurawsky 1b2afd2bd3 Additions:
classes/trssmailer.php - Created class TTRSS mailer which extends phpmailer and sets the default mail settings upon instantiation. Class includes quickmail function that allows for a quick email send with no extra configurion necessary.

Changes:
config.php-dist - Added the smtp port option

include/digest.php - Converted it to use the new ttrrssmailer class

include/sanity_config.php - Added the smtp port option to the sanity check

plugins/mail/init.php - Modified to use ttrssmailer class. This particular configuration shows a hybrid use case.

register.php = Modified to use ttrssmailer class.

All code was tested and functioned on my local machine.
2013-03-22 16:25:12 -04:00
Andrew Dolgov 3972bf5981 db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close() 2013-03-22 09:14:55 +04:00
Joschasa 2a3b6de0ef remove deprecated theme_image() 2013-03-20 22:59:08 +01:00
Andrew Dolgov f044a0b816 undeprecate mail plugin 2013-03-19 20:39:07 +04:00
Andrew Dolgov 1d5cf085a3 implement mail plugin using mailto: links; deprecate mail plugin 2013-03-19 18:32:49 +04:00
Andrew Dolgov e938b1de11 rename plugin main class files 2012-12-30 13:36:40 +04:00
Renamed from plugins/mail/mail.php (Browse further)