Skip to content

Commit 4c087ad

Browse files
Docs: pretty-print Markdown, add new operators
Codacity hates un-pretty-printed Markdown and always complains
1 parent e1fb6d5 commit 4c087ad

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
# Changelog
22

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.
44

55
## 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).
813

914
## 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
1218

1319
## 1.0.4
1420

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!
1622

1723
## 1.0.3
1824

0 commit comments

Comments
 (0)