Commit Graph

39 Commits

Author SHA1 Message Date
Rodrigo Primo
ffa91da869 Create a proxy method to get the processed date from within NewsletterEntity
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
2e354173db Deprecated old archive filters and add new ones
Using new filters is needed as the parameters passed to the filters
changed. If we continued using the same filters, users might run into
fatal errors.

[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
0c44e4dbd2 Replace $newsletter->getQueues()->first() with $newsletter->getLatestQueue()
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
97d177013f Refactor \MailPoet\Models\Newsletter::getArchives() to Doctrine
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Jan Lysý
aeeceeeb8d Use Newsletter\Url as service
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
dffaab10a2 Use getCurrentWPUser from SubscribersRepository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Jan Lysý
fb68f1a7d8 Fix count returned from shortcode mailpoet_subscribers_count
[MAILPOET-3424]
2021-03-08 10:24:59 +01:00
Jan Jakeš
e5fcf5819d Remove 'type' parameter for view-in-browser, always include hash
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
wxa
a2df2cc7bd Refactor subscription pages and config shortcodes to DI [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
Pavel Dohnal
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Amine Ben hammou
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Amine Ben hammou
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
Rostislav Wolny
5c8e99dcf3 Fix namespace classname conflict
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
Vlad
e731b261ab Conditionally initializes shortcodes/filters 2017-12-05 10:34:03 -05:00
Vlad
7864e08900 Enables [mailpoet_manage] shortcode
Updates code
2017-12-04 19:58:30 -05:00
Vlad
63ed835d64 Allows using manage_subscription shortcode outside of newsletters 2017-11-28 22:02:29 -05:00
Vlad
4e378484ea Formats number as per locale's convention 2017-10-22 21:56:33 -04:00
Amine Ben hammou
42e3a97616 Fixing Shortcodes issue 2017-09-20 12:34:27 +00:00
stoletniy
510cacf2fd Don't process the wysija_form shortcode to allow MP2 forms to work [MAILPOET-1067] 2017-08-24 08:22:10 +03:00
Pavel Dohnal
fb059f585e Print rendered subject in archive
[MAILPOET-826]
2017-06-21 10:25:40 +01:00
Alexey Stoletniy
b7ef191641 Remove leading slashes in imports [MAILPOET-764] 2017-01-25 10:22:27 +03:00
Vlad
9698cf2d2e - Optimizes ViewInBrowser router endpoint
- Optimizes ViewInBrowser class
- Optimizes and updates shortcode link category to use the refactored
  getViewInBrowserUrl() method
- Updates Shortcodes to use the refactored getViewInBrowserUrl() method
2016-12-18 23:24:57 -05:00
Vlad
eee22227b3 - Removes unused class import
- Fixes newsletter URL generation in archive shortcode
- Disables generation of subscription management/unsubscribe/view in
  browser shortcodes when newsletter is previewed
2016-12-18 23:08:07 -05:00
Jonathan Labreuille
7fbf84db1f converted text domain to string instead of constant 2016-09-30 09:58:26 +02:00
Jonathan Labreuille
42202f676a updated Env::plugin_name to constant for text domain 2016-09-27 14:54:23 +02:00
Jonathan Labreuille
ba6198f956 added textdomain to __() calls 2016-09-27 14:53:44 +02:00
Jonathan Labreuille
641ba04685 Added Newsletter::getArchives() in order to return proper archives
- Archives page: replaced created_at by processed_at as the issue date
2016-07-28 11:52:56 +02:00
Tautvidas Sipavičius
456deede14 Change newsletter archive to link to "View in brower" newsletter
versions
2016-07-12 17:55:36 +03:00
Kiefer Covia
08e6430c7d June 8 2016 Copy review 2016-06-08 17:02:50 +02:00
Jonathan Labreuille
2cbd2d54f3 Subscription pages 2016-04-15 11:56:33 -04:00
Jonathan Labreuille
bb77134224 Unit tests for Settings getValue/setValue
- fixed typo in Shortcodes
- changed for -> foreach
2016-01-15 15:50:23 +01:00
Jonathan Labreuille
a574733217 archives page 2016-01-14 20:00:15 +01:00
Jonathan Labreuille
9fb04bc3c0 first round of fixes #255 2015-12-07 16:54:08 +01:00