|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -For a _much_ more detailed version, see the [commit history](https://github.com/GwynethLlewelyn/post-local-storage/commits/master/) on GitHub. |
| 3 | +For a _much_ more detailed version of this changelog, see the [commit history](https://github.com/GwynethLlewelyn/post-local-storage/commits/master/) on GitHub. |
4 | 4 |
|
5 | 5 | ## 1.1.0 |
6 | | -- Bug: when user clicks on Preview, local storage gets cleared by mistake. Reported & fixed by @kylesands (see https://www.phpbb.com/customise/db/extension/postlocalstorage/support/topic/246115?p=877342#p877342) |
7 | | -- Added some checks to deal with stale local storage. This is an extreme case when people just happen to completely forget that they still have a message waiting for them for that particular URL. While this is an edge case, it has been pointed out by the validators. Note that old objects (without timestamps) will still be dealt with. |
| 6 | + |
| 7 | +- Bug: when user clicks on Preview, local storage gets cleared by mistake. Reported & fixed by @kylesands (see https://www.phpbb.com/customise/db/extension/postlocalstorage/support/topic/246115?p=877342#p877342) |
| 8 | +- Added some checks to deal with stale local storage. This is an extreme case when people just happen to completely forget that they still have a message waiting for them for that particular URL. While this is an edge case, it has been pointed out by the validators. Note that old objects (without timestamps) will still be dealt with. |
| 9 | +- Save subject field as well as the textarea content (as suggested by @TrekRed). |
| 10 | +- Fixed DOM transversal in order to catch text written on a Quick Reply as well (it uses a different class). |
| 11 | +- Added a _very simple_ test suite (not on the plugin, just on the GitHub package) with a mock phpBB3 HTML/CSS layout, just to test the actual functionality of the local storage facility. Just point a browser to the local file `./tests/test.html` and open the Development Tools on your browser. Debug messages are also sent to the console, if you enable it to see them (regular messages are very sparsely used, while debug messages are chatty). |
| 12 | +- Refactored the code to use the 'new' operators `?.` and `??`, making the overall code much easier to follow & understand (and possibly more bug-proof as well). |
8 | 13 |
|
9 | 14 | ## 1.0.5 |
10 | | -- Renamed `custom_functions.js` to `postlocalstorage_functions.js` as per validation suggestion |
11 | | -- Fix bad JSON indentation on `version_check.json` which prevented version checking from working at all |
| 15 | + |
| 16 | +- Renamed `custom_functions.js` to `postlocalstorage_functions.js` as per validation suggestion |
| 17 | +- Fix bad JSON indentation on `version_check.json` which prevented version checking from working at all |
12 | 18 |
|
13 | 19 | ## 1.0.4 |
14 | 20 |
|
15 | | -- Fix the weirdest bug found on Firefox. Kudos to @gvp9000 for the fix! |
| 21 | +- Fix the weirdest bug found on Firefox. Kudos to @gvp9000 for the fix! |
16 | 22 |
|
17 | 23 | ## 1.0.3 |
18 | 24 |
|
|
0 commit comments