5da7110eb6
Use short array syntax
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
3e66e9e1dd
Fix phpstan level 6
...
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd
Add space between foreach and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
de261d6179
Added confirmation when 'edit' is clicked
2017-08-15 12:55:05 +00:00
a587b0a966
Links are not re-hashed when re-rendering the same newsletter
2017-08-15 12:55:05 +00:00
213d0e8627
Distinguishes between link TYPE and link CATEGORY NAME
...
Uses $replacement_link variable for clarity
2017-07-17 09:14:11 -04:00
fe9ae392f2
Replaces URL extraction regex with DOM parser
...
Simplifies link replacement logic
Cleans up code
2017-07-14 23:15:08 -04:00
7f509f66ff
Changes newsletter link hash generation function
2017-05-15 08:36:43 -04:00
cd5f3165c7
Uses queue ID when fetching newsletter link by hash
2017-05-14 22:02:19 -04:00
6e700b0cfa
Moves newsletter hash generating logic into Security helper class
...
Updates Links class to use Security helper's hash generating method
2017-05-14 20:15:40 -04:00
99eb72428f
Fixes reference to self in anonymous function
2017-03-31 12:51:58 -04:00
d686f75222
Swap JS actions with filters for robustness & testability, get rid of URL key hashing [PREMIUM-2]
2017-03-21 13:34:47 +03:00
16c1607850
Refactor links processing: isolate core logic for easier substitution [PREMIUM-2]
2017-03-20 12:09:58 +03:00
e2864e2243
Add hooks for GA tracking feature [PREMIUM-2]
2017-03-20 12:09:58 +03:00
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
062f849fc8
- Isolates shortcodes regex into a class method
...
- Adds a new method to create a URL data object as a numeric array instead
of associative, thus reducing the size of the object
- Adds a new method to convert numeric URL data object array into associative
array
- Preserves backward compatibility with previous MP3 Beta versions
by checking if the URL data object is already an associative array
2016-12-18 23:08:08 -05:00
59d30cc139
- Renames router URL query parameter and router class
...
- Updates other classes to use the new name
- Updates unit tests
2016-08-25 09:57:14 -04:00
05c128d12d
- Fixes errors thrown when there are no shortcodes in the newsletter body
2016-08-24 09:29:17 -04:00
b492bcecc0
- Removes requirement of passing newsletter id when tracking clicks
...
- Extracts common tracking data processing/validation code into the Track
class
- Refactors Clicks, Opens and View in Browser classes to enforce
subscriber id and token check
- Allows admin users to preview newsletters without tracking statistics
2016-08-22 09:26:25 -04:00
0b0c0f5759
- Fixes conditional statement
2016-08-05 13:03:31 -04:00
2e88d7cce0
Added API/Endpoint abstract class
...
- (re)Added Endpoints folder to both API and Router
- fixed syntax in namespaces
- xhr.responseJSON is returned to the fail()
- fixed Router endpoints (view in browser, cron,...)
2016-08-02 17:08:43 +02:00
008fdb94c5
Moved lib/API to lib/Router
...
- renamed lib/API/API.php to lib/Router/Front.php
- updated namespaces in various file to account for namespace change
2016-08-01 17:00:32 +02:00
8e4d07c658
- Updates regex to not match http/ftp links as shortcodes
...
- Updates regex to properly replace links in text version of newsletter
2016-07-27 21:57:55 -04:00
f557881462
- Updates code based on review comments
2016-07-07 09:01:59 -04:00
8dba4727c4
- Updates open/click link generation logic to utilize API's buildRequest
...
method
2016-07-06 22:57:39 -04:00
3c353e715b
- Fixes view in browser API URL
2016-07-06 19:56:26 -04:00
bd814baf28
- Fixes data not being passed to API buildRequest method
2016-07-06 10:02:47 -04:00
2db681d908
- Adds and centralizes API data encoding/decoding method
2016-07-06 09:22:34 -04:00
cb2faec8b2
- Refactors API
...
- Updates existing classes to use the refactored API methods
2016-07-05 20:17:25 -04:00
0ac701eb20
Change line endings from DOS CRLF to Unix LF
2016-06-30 18:52:07 +03:00
f32d6bb331
- Joins bulk and individual processing into one method
...
- Refactors code as per code review comments
2016-06-20 23:12:32 -04:00
6daecd6466
- Fixes URL extraction (undefined index notice)
...
- Updates link replacement in text body
- Updates links saving logic
2016-06-17 14:52:33 -04:00
f22cadd319
- Declares hash length as constant
...
- Introduces check for nonexistent values/updates loop condition
2016-06-14 09:02:08 -04:00
e69aa792c4
- Prevents URLs in link titles from being processed when tracking is enabled. Closes #519
2016-06-13 21:13:23 -04:00
422fba2835
- Updates based on code review comments
2016-05-03 18:41:57 -04:00
3f2199fd63
- Updates link tracking to use the same Public API data format as other
...
endpoints
2016-05-02 13:15:48 -04:00
52790d7bd6
- Updates code comment
2016-05-02 12:24:56 -04:00
d18f0e50b5
- Removes debug backtrace
...
- Removes uncommented queue save
2016-05-02 09:23:37 -04:00
6868a07ead
- Moves link saving logic into Links class
2016-05-01 21:55:24 -04:00
045a92c7d6
- Standardizes variable names
2016-04-30 22:21:03 -04:00
0f81a8db60
- Updates method to utilize constant value
2016-04-30 22:19:59 -04:00
5bad682879
- Merges all shortcode links under one category
...
- Adds filter hooks for custom links
- Renames old shortcodes in the editor and elsewhere
2016-04-30 22:19:59 -04:00
dd8f58e35e
- Fixes incorrect newsletter issue number display
...
- Updates newsletter 'last post title' logic
- Updates shortcode extraction regex to allow limiting extraction of only
specific categories
- Updates unit tests
- Closes #380
2016-04-21 20:04:02 -04:00
1f26079b5f
- Removes unused properties from Links class and converts methods to
...
static
2016-04-16 16:48:35 -04:00
af4d29ebe6
- Updates codes based on Taut's comments
2016-04-15 11:36:57 -04:00
599661e028
- Updates code based on Taut's comments
2016-04-14 20:35:56 -04:00
f1b955d74a
- Implements link extraction, processing, replacement and saving
2016-04-14 19:37:27 -04:00